System.out.println( "1" ); System.out.println( s.getEvent() );
    public boolean init() throws LemRuntimeException {        metamodel.Class c = instance.getInstanceClass() ;        metamodel.StateMachine m = c.getStateMachine() ;        int tCount = m.getInitialisingTransitionCount();                if ( tCount == 0 )            return false;                while ( true ) {            System.out.println(Thread.currentThread().getName() + " [init] InstanceInterpreter getting a next signal");            Signal s = instance.getNextSignal();                        System.out.println(Thread.currentThread().getName() + " [init] InstanceInterpreter got a next signal");            Iterator i = m.getTransitionList().iterator();                        System.out.println(Thread.currentThread().getName() + " [init] InstanceInterpreter looking for an initial transition");            while ( i.hasNext() ) {                Transition t = ( Transition ) i.next();                                System.out.println( "1" );                System.out.println( s.getEvent() );                                /* Skip non-initialising transition */                if ( t.getFromState() != null )                    continue;                                if ( s.getEvent() == t.getEvent() ) {                    metamodel.State newState = t.getToState() ;                    instance.currentState = newState ;                    System.out.println( Thread.currentThread().getName() + " [init] InstanceInterpreter transitioning state to " + newState.getName() );                    if ( newState instanceof NonDeletionState ) {                        Procedure p = newState.getProcedure() ;                        System.out.println( Thread.currentThread().getName()                        + " [init] executing state procedure" );                        interpreter.interpret( p , context ) ;                        System.out.println( Thread.currentThread().getName()                        + " [init] finished executing state procedure" );                        return true;                    } else {                        return false;                    }                }            }        }    }