Create StateTree when simulator is initialized with model.