RBC model with distortionary taxes

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

Also, are you sure your model is well-defined. It seems you are setting target levels for lump sum taxes and the bonds. Usually, lump-sum taxes balance the budget.