Model expression generation method, apparatus and program