Problems with steady state

Dear all,

I am running the Gertler and Karadi model11, it works well for a closed economy, however when I extend it for an open economy and include a couple of equations more. It seems there is a problem with the Jacobian matrix and I got this message:

Error using print_info (line 51)
The Jacobian matrix evaluated at the steady state contains elements that are not real or are infinite

Error in check (line 76)
print_info(info, 0, options);

Error in GKOPEN1feb9 (line 490)
oo_.dr.eigval = check(M_,options_,oo_);

Error in dynare (line 180)
evalin(‘base’,fname) ;

Could you help me with some advice, I have been looking in the M_.params but I can see any parameter with NAN. I have read a couple of cases in the forum, but I cannot figure out which equation is making a mess in my model. Any help you can give will be really grateful.

GKOPEN1feb9.mod (17.3 KB)