Problem Steady state NK model

Hi everyone,
I am sorry for the trivial question I am going to ask.

I have built a simple RBC model with government debt, distortionary taxes and habits which worked well.

Since few days I am trying to switch to a NK model. But since I have tried to implement price stickyness (calvo) Dynare is not able to find the steady state of some variables.

I realy don’t kmow where I did a mistake. Could someone look at my code and explain me what I did wrong?

nk2.mod (3.4 KB)

Thanks In advance.

You are using Ym_ss although you never set it.

Thanks a lot, and sorry for this stupid question.