Updated code generation of actors, to use a different FSM. With the earlier FSM, though simulation works fine, TTA simulation has a problem. That is because more than one action could potentially fire. Now changed the code generation such that only one action is active