Finish model generation