Error using ==> lnsrch1

I get this error (Error using ==> lnsrch1) after trying to run a model based on Furceri, D. and A. Mourougane (2010), “The Effects of Fiscal Policy on Output: A DSGE Analysis” (just section 2.1, firms). Any ideas on what the error might be? (I attached the file), i´m quite new at this, thanks.
firms2_120207.mod (903 Bytes)

There is a problem with the steady state. Put

before steady. One of the problems is the last equation:

In steady state P(+1)=P. Thus, the righthand side is 0 and cannot be 0.03.