Fix control view crash due to uninitialized SPM
Merge pull request #1314 from NREL/fix_spm_crash

Fix control view crash due to uninitialized SPM