Fix bug in SimFile object that was killing the Model object