''The steadystate file did not compute the steady state'' and resid(1) questions

As a first step, please see Residuals of SS equations in Bayesian estimation