Simple ramsey policy

Have you tried different starting values for the instruments. Sometimes there are different steady states and you converge to one where the BK conditions are not satisfied.