Create genmodel and ecorediag