public static InstanceStateMachine_c getOneSM_ISMOnR517(
     StateMachine_c target, ClassQueryInterface_c test) {
   if (target != null) {
     return getOneSM_ISMOnR517(target.getModelRoot(), target, test);
   }
   return null;
 }
 public static InstanceStateMachine_c getOneSM_ISMOnR517(
     StateMachine_c target, boolean loadComponent) {
   return getOneSM_ISMOnR517(target.getModelRoot(), target, null, loadComponent);
 }