Need help: The steady state contains NaN or Inf

Dear professor Pfeifer,

I found that there are no impulse responses for the terms of trade §, and I cannot figure out why this is the case. Could you help me take a look at the codes? It seems that p does not respond to shocks at all.

Look forward to your reply. Thanks!

attempt2.mod (2.6 KB)