Refs #9516. Create models in the constructor
Refs #9516. Use static casts instead of dynamic

We are sure those will succeed and were not checking the result anyway
Merge remote-tracking branch 'origin/bugfix/9516_alc_coverity_issues'