Output gap Help

hello, I'm trying to calculate the output gap with the model presented by Hirose 2007. But when I run my output gap has a positive trend. I do not know what I'm doing wrong. I would be grateful if someone could help me.
Forums for asking questions, posting comments and uploading examples related to Dynare
http://www.dynare.org/phpBB3/