parsing smt model