Computing steady state

Hello,

I am trying to solve my DSGE model, code attached. Nevertheless, still obtaining

Error in print_info (line 80)error('The steady state contains NaN or Inf'). 

Command resid gives me following:

Equation number 1 : NaN
Equation number 2 : NaN
Equation number 3 : 0
Equation number 4 : 0
Equation number 5 : 0
Equation number 6 : 0
Equation number 7 : 0
Equation number 8 : 0
Equation number 9 : 0
Equation number 10 : 0
Equation number 11 : NaN
Equation number 12 : NaN
Equation number 13 : 0
Equation number 14 : 0
Equation number 15 : 0
Equation number 16 : 0
Equation number 17 : 0
Equation number 18 : 0
Equation number 19 : NaN
Equation number 20 : NaN
Equation number 21 : NaN
Equation number 22 : NaN
Equation number 23 : 0
Equation number 24 : NaN
Equation number 25 : 0
Equation number 26 : -16813.8272
Equation number 27 : NaN
Equation number 28 : 0
Equation number 29 : 0
Equation number 30 : 0
Equation number 31 : 0
Equation number 32 : 0
Equation number 33 : 0
Equation number 34 : 0
Equation number 35 : 0
Equation number 36 : 0
Equation number 37 : 0
Equation number 38 : 0
Equation number 39 : 0
Equation number 40 : 0
Equation number 41 : 0
Equation number 42 : 0
Equation number 43 : 0
Equation number 44 : 0
Equation number 45 : 0
Equation number 46 : 0
Equation number 47 : 0
Equation number 48 : NaN
Equation number 49 : NaN
Equation number 50 : 0
Equation number 51 : 0
Equation number 52 : 0
Equation number 53 : 0
Equation number 54 : 0
Equation number 55 : 0
Equation number 56 : 0
Equation number 57 : 0
Equation number 58 : NaN
Equation number 59 : NaN

Thank you all for any suggestions.

xuhan.mod (10.8 KB)

Dear Xuhan,

Your mod file is not working. multiplication operators are missing (maybe a copy paste issue).

Best,
Stéphane.

PS You should attach the new mod file and not copy/past in a post (mod files where blocked on the forum, but they are now allowed, sorry for that).

Thanks Stepan, I would like to attach my current mod file, but having this error: Sorry, new users can not upload attachments.

Dear Xuhan,

I have just granted you the Basic badge, so normally you can upload files now. We have moved to this new forum this week-end, we also have a lot to learn on our side… My understanding, is that if you spend enough time on the forum you are automatically granted this badge (which gives you permissions). This would have been the case if you had read more than 30 posts for instance… The more you are active on the forum, the more you acquire permissions (some detailed explanations are given here).

Can you try to upload the file now ?

Best,
Stéphane.

Thanks a lot.
Here is my mod file, that is working but with the error as I have described before.

Thank you all for any suggestions.model1.mod (12.3 KB)

Please use Dynare 4.5. It will tell you

ERROR: If the model is declared linear the second derivatives must be equal to zero.
The following equations had non-zero second derivatives:
* Eq # 25
* Eq # 26
* Eq # 27