Pound (#) line again

How does Dynare 4 handle # signs?

It doesn’t seem to like any operations beyond simple addition, subtraction, multiplication, etc. I have a log-linearized model which requires me to compute steady state values in the model step. Some of the steady state values need to be computed using a numerical solver which Dynare does not like.

Has anyone encountered this problem? How did you get around it?

Thanks!