Nonzero residuals of static equations

Your equations above are impossible to read, because some multiplication signs must be missing.

It is usually better to work with auxiliary equations to get a log-linearization. See Question about understanding irfs in dynare