smooth model runs
lib: generate: support stock initial's referring to constants
lib: generate: don't fail codegen on abstract models