How to Solve this problem as the picture Shows

Only do the exp()-substitution once the model works. You may want to go for auxiliary variables, see option 3 in
Question about understanding irfs in dynare