Hi, the following error occured after running my model;

ERROR: There are 42 equations but 43 endogenous variables!

Error using dynare (line 174)

DYNARE: preprocessing failed

But I have 42 variable in var block.

thank you for your help

[attachment=0]kholase.mod[/attachment]

It seems you have not uploaded the same file. For the attached file, I rather get with the unstable version:

[quote]ERROR: If the model is declared linear the second derivatives must be equal to zero.

The following equations had non-zero second derivatives:

* Eq # 37

* Eq # 38[/quote]