Quellcode durchsuchen

Finished first version of testing (only test on output)

sampieters vor 1 Jahr
Ursprung
Commit
37cb751d9e

+ 60 - 1
TraceComparison/process_tests.py

@@ -72,7 +72,7 @@ def run_pydevs_sccd(full_directory):
     model = target.Controller(name="controller")
     refs = {"ui": model.in_ui}
     sim = DEVSSimulator(model, refs)
-    sim.setRealTime(True)
+    sim.setRealTime(False)
 
 	# Create the full path for the log file
     log_file_path = os.path.join(full_directory, "PyDEVS", "log.txt")
@@ -86,11 +86,70 @@ def natural_sort_key(s):
     # Split the string into a list of strings and numbers
     return [int(text) if text.isdigit() else text.lower() for text in re.split(r'(\d+)', s)]
 
+def extract_pattern(log_file_path, pattern):
+    """
+    Extract lines from a log file that match a given pattern.
+
+    Args:
+        log_file_path (str): Path to the log file.
+        pattern (str): Regular expression pattern to match lines.
+
+    Returns:
+        list: List of matched lines.
+    """
+    with open(log_file_path, 'r') as log_file:
+        lines = log_file.readlines()
+
+    matched_lines = [line.strip() for line in lines if re.search(pattern, line)]
+    return matched_lines
+
+def extract_devs_output_events(log_file_path):
+    pattern = r'^\s*\(event name:.*\)$'
+    return extract_pattern(log_file_path, pattern)
+
+def extract_python_output_events(log_file_path):
+    pattern = r'^\s*\\Event: \(event name:.*\)$'
+    events = extract_pattern(log_file_path, pattern)
+    # Remove everything before '(' in each string
+    return [event[event.index('('):] for event in events]
+
+
+
 def check_traces(full_directory):
+    # ANSI color escape codes
+    RED = '\033[91m'    # Red color
+    GREEN = '\033[92m'  # Green color
+    YELLOW = '\033[93m' # Yellow color
+    ENDC = '\033[0m'   # Reset color to default
+
     pydevs_log = os.path.join(full_directory, "PyDEVS", "log.txt")
     python_log = os.path.join(full_directory, "Python", "log.txt")
 
+    pydevs_output_events = extract_devs_output_events(pydevs_log)
+    python_output_events = extract_python_output_events(python_log)
+
+
+    if len(pydevs_output_events) != len(python_output_events):
+        print(f"Difference in length: {len(pydevs_output_events)} vs {len(python_output_events)}")
+        return
     
+    if len(pydevs_output_events) == 0 and len(python_output_events) == 0:
+        print(YELLOW + "No trace events of current type(s) are found! Do more detailed tests" + ENDC)
+        return
+
+
+    differences_found = False
+    for index, (item1, item2) in enumerate(zip(pydevs_output_events, python_output_events)):
+        if item1 != item2:
+            print(f"Difference at index {index}:")
+            print(f"   List 1 ({len(pydevs_output_events)} elements): {item1}")
+            print(f"   List 2 ({len(python_output_events)} elements): {item2}")
+            differences_found = True
+
+    if differences_found:
+        print(RED  + "Failed" + ENDC)
+    else:
+        print(GREEN + "Passed" + ENDC)
 
 
 

Datei-Diff unterdrückt, da er zu groß ist
+ 1826 - 0
examples/BouncingBalls/Python/trace.txt


+ 16 - 4
examples/BouncingBallsCollision/Python/target.py

@@ -215,7 +215,7 @@ class Field(RuntimeClassBase):
         Field.user_defined_constructor(self)
     
     def user_defined_constructor(self):
-        pass
+        self.balls = []
     
     def user_defined_destructor(self):
         pass
@@ -338,10 +338,14 @@ class Field(RuntimeClassBase):
         self.states["/root/running/main_behaviour/running"].addTransition(_root_running_main_behaviour_running_0)
         
         # transition /root/running/main_behaviour/creating_ball
-        _root_running_main_behaviour_creating_ball_0 = Transition(self, self.states["/root/running/main_behaviour/creating_ball"], [self.states["/root/running/main_behaviour/running"]])
+        _root_running_main_behaviour_creating_ball_0 = Transition(self, self.states["/root/running/main_behaviour/creating_ball"], [self.states["/root/running/main_behaviour/creating_ball"]])
         _root_running_main_behaviour_creating_ball_0.setAction(self._root_running_main_behaviour_creating_ball_0_exec)
         _root_running_main_behaviour_creating_ball_0.setTrigger(Event("instance_created", None))
         self.states["/root/running/main_behaviour/creating_ball"].addTransition(_root_running_main_behaviour_creating_ball_0)
+        _root_running_main_behaviour_creating_ball_1 = Transition(self, self.states["/root/running/main_behaviour/creating_ball"], [self.states["/root/running/main_behaviour/running"]])
+        _root_running_main_behaviour_creating_ball_1.setAction(self._root_running_main_behaviour_creating_ball_1_exec)
+        _root_running_main_behaviour_creating_ball_1.setTrigger(Event("init_params", None))
+        self.states["/root/running/main_behaviour/creating_ball"].addTransition(_root_running_main_behaviour_creating_ball_1)
         
         # transition /root/running/deleting_behaviour/running
         _root_running_deleting_behaviour_running_0 = Transition(self, self.states["/root/running/deleting_behaviour/running"], [self.states["/root/running/deleting_behaviour/running"]])
@@ -417,7 +421,14 @@ class Field(RuntimeClassBase):
     def _root_running_main_behaviour_creating_ball_0_exec(self, parameters):
         association_name = parameters[0]
         self.big_step.outputEventOM(Event("start_instance", None, [self, association_name]))
-        self.big_step.outputEventOM(Event("narrow_cast", None, [self, association_name, Event("set_association_name", None, [association_name])]))
+        self.big_step.outputEventOM(Event("narrow_cast", None, [self, association_name, Event("get_init_params", None, [association_name])]))
+    
+    def _root_running_main_behaviour_creating_ball_1_exec(self, parameters):
+        link_id = parameters[0]
+        ball_r = parameters[1]
+        ball_vel = parameters[2]
+        ball_pos = parameters[3]
+        self.balls.append({'id': link_id, 'r': ball_r, 'vel': ball_vel, 'pos': ball_pos})
     
     def _root_running_deleting_behaviour_running_0_exec(self, parameters):
         association_name = parameters[0]
@@ -610,7 +621,7 @@ class Ball(RuntimeClassBase):
         # transition /main_behaviour/initializing
         _main_behaviour_initializing_0 = Transition(self, self.states["/main_behaviour/initializing"], [self.states["/main_behaviour/creating_circle"]])
         _main_behaviour_initializing_0.setAction(self._main_behaviour_initializing_0_exec)
-        _main_behaviour_initializing_0.setTrigger(Event("set_association_name", None))
+        _main_behaviour_initializing_0.setTrigger(Event("get_init_params", None))
         self.states["/main_behaviour/initializing"].addTransition(_main_behaviour_initializing_0)
         
         # transition /main_behaviour/creating_circle
@@ -663,6 +674,7 @@ class Ball(RuntimeClassBase):
     def _main_behaviour_initializing_0_exec(self, parameters):
         association_name = parameters[0]
         self.association_name = association_name
+        self.big_step.outputEventOM(Event("narrow_cast", None, [self, 'parent', Event("init_params", None, [self.association_name, self.r, self.vel, self.pos])]))
     
     def _main_behaviour_creating_circle_0_exec(self, parameters):
         canvas_id = parameters[0]

+ 33 - 4
examples/BouncingBallsCollision/sccd.xml

@@ -93,6 +93,11 @@
             <association name="buttons" class="Button" />
             <association name="parent" class="MainApp" min="1" max="1" />
         </relationships>
+        <constructor>
+            <body>
+                self.balls = []
+            </body>
+        </constructor>
         <scxml initial="root">
             <state id="root" initial="waiting">
                 <state id="waiting">
@@ -208,15 +213,24 @@
                             </transition>
                         </state>
                         <state id="creating_ball">
-                            <transition event="instance_created" target="../running">
+                            <transition event="instance_created" target=".">
                                 <parameter name="association_name" type="string"/>
                                 <raise scope="cd" event="start_instance">
                                     <parameter expr="association_name" />
                                 </raise>
-                                <raise scope="narrow" event="set_association_name" target="association_name">
+                                <raise scope="narrow" event="get_init_params" target="association_name">
                                     <parameter expr="association_name" />
                                 </raise>
                             </transition>
+                            <transition event="init_params" target='../running'>
+                                <parameter name="link_id" />
+                                <parameter name="ball_r" />
+                                <parameter name="ball_vel" />
+                                <parameter name="ball_pos" />
+                                <script>
+                                    self.balls.append({'id': link_id, 'r': ball_r, 'vel': ball_vel, 'pos': ball_pos})
+                                </script>
+                            </transition>
                         </state>
                     </state>
                     <state id="deleting_behaviour" initial="running">
@@ -227,6 +241,11 @@
                                     <parameter expr='association_name' />
                                 </raise>
                             </transition>
+                            <transition event="move_ball" target='.'>
+                                <parameter name="association_name"/>
+                                <parameter name="ball_pos"/>
+                                <parameter name="ball_vel"/>
+                            </transition>
                         </state>
                     </state>
                     <state id="child_behaviour" initial="listening">
@@ -340,11 +359,17 @@
         <scxml initial="main_behaviour">
             <state id="main_behaviour" initial="initializing">
                 <state id="initializing">
-                    <transition event="set_association_name" target="../creating_circle">
+                    <transition event="get_init_params" target="../creating_circle">
                         <parameter name="association_name" type="str" />
                         <script>
                             self.association_name = association_name
                         </script>
+                        <raise event="init_params" scope="narrow" target="'parent'">
+                            <parameter expr="self.association_name" />
+                            <parameter expr="self.r" />
+                            <parameter expr="self.vel" />
+                            <parameter expr="self.pos" />
+                        </raise>
                     </transition>
                 </state>
                 <state id="creating_circle">
@@ -388,7 +413,6 @@
                     </transition>
                 </state>
                 <state id="bouncing">
-                    <!-- <transition after="(20 - self.getSimulatedTime() % 20) / 1000.0" target="."> -->
                     <transition after="0.02" target=".">
                         <script>
                             <![CDATA[
@@ -405,6 +429,11 @@
                             <parameter expr="self.vel['x']"/>
                             <parameter expr="self.vel['y']"/>
                         </raise>
+                        <raise event="move_ball" scope="narrow" target="'parent'">
+                            <parameter expr="self.association_name"/>
+                            <parameter expr="self.pos"/>
+                            <parameter expr="self.vel"/>
+                        </raise>
                         <script>
                             self.pos['x'] += self.vel['x']
                             self.pos['y'] += self.vel['y']

+ 18 - 7
tests/Test1/PyDEVS/log.txt

@@ -21,12 +21,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_0_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10282b800>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8170>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x101e2ec00>
+		New State: <target.ObjectManagerState object at 0x10628ac00>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -40,12 +40,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x101e2ec00>
+		New State: <target.ObjectManagerState object at 0x10628ac00>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10282b800>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8170>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -62,12 +62,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_0_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10282b800>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8170>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x101e2ec00>
+		New State: <target.ObjectManagerState object at 0x10628ac00>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -78,9 +78,20 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10282b800>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8170>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
 		Next scheduled internal transition at time 1.000000
 
+
+__  Current Time:   1.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cc8170>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+		Next scheduled internal transition at time inf
+

+ 25 - 25
tests/Test10/PyDEVS/log.txt

@@ -31,12 +31,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_22_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -52,12 +52,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -76,7 +76,7 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>: 
 			port <private_22_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
@@ -90,7 +90,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>: 
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -108,12 +108,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
 			port <input>:
 			port <private_23_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071d1730>}
+		New State: {0: <target.AInstance object at 0x106d68ad0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -123,7 +123,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -139,12 +139,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071d1730>}
+		New State: {0: <target.AInstance object at 0x106d68ad0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -161,12 +161,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_22_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -179,7 +179,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -192,7 +192,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -209,12 +209,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
@@ -233,12 +233,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_23_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071d1730>}
+		New State: {0: <target.AInstance object at 0x106d68ad0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -254,12 +254,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071d1730>}
+		New State: {0: <target.AInstance object at 0x106d68ad0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -278,12 +278,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_22_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10718e420>
+		New State: <target.ObjectManagerState object at 0x106ccdac0>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -296,7 +296,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -309,7 +309,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107234620>}
+		New State: {0: <target.MainAppInstance object at 0x106d655e0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 30 - 7
tests/Test2/PyDEVS/log.txt

@@ -21,12 +21,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_1_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x102856e40>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8110>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102857200>
+		New State: <target.ObjectManagerState object at 0x106cc8380>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -40,12 +40,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x102857200>
+		New State: <target.ObjectManagerState object at 0x106cc8380>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x102856e40>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8110>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -62,12 +62,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_1_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x102856e40>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8110>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102857200>
+		New State: <target.ObjectManagerState object at 0x106cc8380>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -78,9 +78,32 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x102856e40>}
+		New State: {0: <target.MainAppInstance object at 0x106cc8110>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
 		Next scheduled internal transition at time 1.000000
 
+
+__  Current Time:   1.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cc8110>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+		Next scheduled internal transition at time 1.000000
+
+
+__  Current Time:   1.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cc8110>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+				(event name: test_event; port: ui; parameters: ['1.00'])
+		Next scheduled internal transition at time inf
+

+ 80 - 9
tests/Test3/PyDEVS/log.txt

@@ -20,13 +20,13 @@ __  Current Time:   0.000000 __________________________________________
 			port <obj_manager_in>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
-			port <private_0_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x102d613d0>}
+			port <private_2_<narrow_cast>>:
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d63020>
+		New State: <target.ObjectManagerState object at 0x106cd6f90>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -40,12 +40,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x102d63020>
+		New State: <target.ObjectManagerState object at 0x106cd6f90>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x102d613d0>}
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -61,13 +61,13 @@ __  Current Time:   0.000000 __________________________________________
 			port <obj_manager_in>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>:
-			port <private_0_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x102d613d0>}
+			port <private_2_<narrow_cast>>:
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d63020>
+		New State: <target.ObjectManagerState object at 0x106cd6f90>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -78,9 +78,80 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x102d613d0>}
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
 		Next scheduled internal transition at time 1.000000
 
+
+__  Current Time:   1.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+		Next scheduled internal transition at time 2.000000
+
+
+__  Current Time:   2.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+				(event name: test_event; port: ui; parameters: ['1', '1.00'])
+		Next scheduled internal transition at time 3.000000
+
+
+__  Current Time:   3.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+				(event name: test_event; port: ui; parameters: ['2', '2.00'])
+		Next scheduled internal transition at time 4.000000
+
+
+__  Current Time:   4.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+				(event name: test_event; port: ui; parameters: ['3', '3.00'])
+		Next scheduled internal transition at time 5.000000
+
+
+__  Current Time:   5.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+				(event name: test_event; port: ui; parameters: ['4', '4.00'])
+		Next scheduled internal transition at time 5.000000
+
+
+__  Current Time:   5.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x106cd6750>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+				(event name: test_event; port: ui; parameters: ['5', '5.00'])
+		Next scheduled internal transition at time inf
+

+ 87 - 0
tests/Test3/Python/log.txt

@@ -0,0 +1,87 @@
+__  Current Time:   0.000000 __________________________________________ 
+
+__  Current Time:   1.000000 __________________________________________ 
+
+EXIT STATE in model <MainApp>
+		State: /state1
+
+ENTER STATE in model <MainApp>
+		State: /state2
+
+EXIT STATE in model <MainApp>
+		State: /state2
+
+ENTER STATE in model <MainApp>
+		State: /state1
+
+OUTPUT EVENT to port <ui>
+	\Event: (event name: test_event; port: ui; parameters: ['1', '1.00'])
+
+__  Current Time:   2.000000 __________________________________________ 
+
+EXIT STATE in model <MainApp>
+		State: /state1
+
+ENTER STATE in model <MainApp>
+		State: /state2
+
+EXIT STATE in model <MainApp>
+		State: /state2
+
+ENTER STATE in model <MainApp>
+		State: /state1
+
+OUTPUT EVENT to port <ui>
+	\Event: (event name: test_event; port: ui; parameters: ['2', '2.00'])
+
+__  Current Time:   3.000000 __________________________________________ 
+
+EXIT STATE in model <MainApp>
+		State: /state1
+
+ENTER STATE in model <MainApp>
+		State: /state2
+
+EXIT STATE in model <MainApp>
+		State: /state2
+
+ENTER STATE in model <MainApp>
+		State: /state1
+
+OUTPUT EVENT to port <ui>
+	\Event: (event name: test_event; port: ui; parameters: ['3', '3.00'])
+
+__  Current Time:   4.000000 __________________________________________ 
+
+EXIT STATE in model <MainApp>
+		State: /state1
+
+ENTER STATE in model <MainApp>
+		State: /state2
+
+EXIT STATE in model <MainApp>
+		State: /state2
+
+ENTER STATE in model <MainApp>
+		State: /state1
+
+OUTPUT EVENT to port <ui>
+	\Event: (event name: test_event; port: ui; parameters: ['4', '4.00'])
+
+__  Current Time:   5.000000 __________________________________________ 
+
+EXIT STATE in model <MainApp>
+		State: /state1
+
+ENTER STATE in model <MainApp>
+		State: /state2
+
+EXIT STATE in model <MainApp>
+		State: /state2
+
+ENTER STATE in model <MainApp>
+		State: /end
+
+OUTPUT EVENT to port <ui>
+	\Event: (event name: test_event; port: ui; parameters: ['5', '5.00'])
+

+ 7 - 7
tests/Test4/PyDEVS/log.txt

@@ -21,12 +21,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_3_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107107f20>}
+		New State: {0: <target.MainAppInstance object at 0x106cd6030>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107107e60>
+		New State: <target.ObjectManagerState object at 0x1058d8f50>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -40,12 +40,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x107107e60>
+		New State: <target.ObjectManagerState object at 0x1058d8f50>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107107f20>}
+		New State: {0: <target.MainAppInstance object at 0x106cd6030>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -63,12 +63,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_3_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107107f20>}
+		New State: {0: <target.MainAppInstance object at 0x106cd6030>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107107e60>
+		New State: <target.ObjectManagerState object at 0x1058d8f50>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -79,7 +79,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107107f20>}
+		New State: {0: <target.MainAppInstance object at 0x106cd6030>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 7 - 7
tests/Test5/PyDEVS/log.txt

@@ -21,12 +21,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_4_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107125700>}
+		New State: {0: <target.MainAppInstance object at 0x106ccd220>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107125610>
+		New State: <target.ObjectManagerState object at 0x10626a1e0>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -40,12 +40,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x107125610>
+		New State: <target.ObjectManagerState object at 0x10626a1e0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107125700>}
+		New State: {0: <target.MainAppInstance object at 0x106ccd220>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -63,12 +63,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_4_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107125700>}
+		New State: {0: <target.MainAppInstance object at 0x106ccd220>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107125610>
+		New State: <target.ObjectManagerState object at 0x10626a1e0>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -79,7 +79,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107125700>}
+		New State: {0: <target.MainAppInstance object at 0x106ccd220>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 15 - 15
tests/Test6/PyDEVS/log.txt

@@ -26,12 +26,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_5_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107127590>}
+		New State: {0: <target.MainAppInstance object at 0x106cd7080>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10529e9f0>
+		New State: <target.ObjectManagerState object at 0x106cd7050>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -46,12 +46,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x10529e9f0>
+		New State: <target.ObjectManagerState object at 0x106cd7050>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107127590>}
+		New State: {0: <target.MainAppInstance object at 0x106cd7080>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -69,7 +69,7 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>: 
 			port <private_5_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x107127590>}
+		New State: {0: <target.MainAppInstance object at 0x106cd7080>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
@@ -82,7 +82,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>: 
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
-		New State: <target.ObjectManagerState object at 0x10529e9f0>
+		New State: <target.ObjectManagerState object at 0x106cd7050>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -99,12 +99,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
 			port <input>:
 			port <private_6_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x107154860>}
+		New State: {0: <target.AInstance object at 0x106cd84a0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107127590>}
+		New State: {0: <target.MainAppInstance object at 0x106cd7080>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -113,7 +113,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10529e9f0>
+		New State: <target.ObjectManagerState object at 0x106cd7050>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -128,12 +128,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x10529e9f0>
+		New State: <target.ObjectManagerState object at 0x106cd7050>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x107154860>}
+		New State: {0: <target.AInstance object at 0x106cd84a0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -150,12 +150,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_5_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107127590>}
+		New State: {0: <target.MainAppInstance object at 0x106cd7080>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10529e9f0>
+		New State: <target.ObjectManagerState object at 0x106cd7050>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -167,7 +167,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107127590>}
+		New State: {0: <target.MainAppInstance object at 0x106cd7080>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -179,7 +179,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107127590>}
+		New State: {0: <target.MainAppInstance object at 0x106cd7080>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 25 - 25
tests/Test7/PyDEVS/log.txt

@@ -26,12 +26,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_7_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -46,12 +46,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -69,7 +69,7 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>: 
 			port <private_7_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
@@ -82,7 +82,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>: 
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -99,12 +99,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
 			port <input>:
 			port <private_8_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071575f0>}
+		New State: {0: <target.AInstance object at 0x106cdaea0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -113,7 +113,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -128,12 +128,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071575f0>}
+		New State: {0: <target.AInstance object at 0x106cdaea0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -150,12 +150,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_7_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -167,7 +167,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -179,7 +179,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -195,12 +195,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
@@ -218,12 +218,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_8_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071575f0>}
+		New State: {0: <target.AInstance object at 0x106cdaea0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -238,12 +238,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071575f0>}
+		New State: {0: <target.AInstance object at 0x106cdaea0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -261,12 +261,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_7_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107155fa0>
+		New State: <target.ObjectManagerState object at 0x106cd8ad0>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -278,7 +278,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -290,7 +290,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x107156060>}
+		New State: {0: <target.MainAppInstance object at 0x106cd8830>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 25 - 25
tests/Test8/PyDEVS/log.txt

@@ -26,12 +26,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_9_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -46,12 +46,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -69,7 +69,7 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>: 
 			port <private_9_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 1, 3.14, 'test', [1, 2, 3], {'1': 1, '2': 2, '3': 3}]))
@@ -82,7 +82,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>: 
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 1, 3.14, 'test', [1, 2, 3], {'1': 1, '2': 2, '3': 3}]))
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -99,12 +99,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 1, 3.14, 'test', [1, 2, 3], {'1': 1, '2': 2, '3': 3}]))
 			port <input>:
 			port <private_10_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x10718e7e0>}
+		New State: {0: <target.AInstance object at 0x106cde2d0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -113,7 +113,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -128,12 +128,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10718e7e0>}
+		New State: {0: <target.AInstance object at 0x106cde2d0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -150,12 +150,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_9_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -167,7 +167,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -179,7 +179,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -195,12 +195,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
@@ -218,12 +218,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_10_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x10718e7e0>}
+		New State: {0: <target.AInstance object at 0x106cde2d0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -238,12 +238,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10718e7e0>}
+		New State: {0: <target.AInstance object at 0x106cde2d0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -262,12 +262,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_9_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x107157da0>
+		New State: <target.ObjectManagerState object at 0x106cdbf50>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -279,7 +279,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -291,7 +291,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10718d6a0>}
+		New State: {0: <target.MainAppInstance object at 0x106cdbc50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 123 - 123
tests/Test9/PyDEVS/log.txt

@@ -26,12 +26,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
@@ -46,12 +46,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -69,7 +69,7 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
 			port <input>: 
 			port <private_11_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 10]))
@@ -82,7 +82,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>: 
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 10]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -99,12 +99,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 10]))
 			port <input>:
 			port <private_12_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>}
+		New State: {0: <target.AInstance object at 0x106d65df0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -113,7 +113,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -128,12 +128,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>}
+		New State: {0: <target.AInstance object at 0x106d65df0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -150,12 +150,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[0]']))
@@ -167,7 +167,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -179,7 +179,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -196,12 +196,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 9]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[0]']))
@@ -222,12 +222,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 			port <private_12_<narrow_cast>>:
 			port <private_13_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -244,12 +244,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[1]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -270,12 +270,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[1]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[0]']))
@@ -288,7 +288,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -300,7 +300,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -312,7 +312,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -329,12 +329,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[1]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 8]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[1]']))
@@ -356,12 +356,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_12_<narrow_cast>>:
 			port <private_13_<narrow_cast>>:
 			port <private_14_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -378,12 +378,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[1]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[2]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[1]']))
@@ -404,12 +404,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[2]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[1]']))
@@ -422,7 +422,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -434,7 +434,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -446,7 +446,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -463,12 +463,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[2]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 7]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[2]']))
@@ -491,12 +491,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_13_<narrow_cast>>:
 			port <private_14_<narrow_cast>>:
 			port <private_15_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -513,12 +513,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[2]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[3]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[2]']))
@@ -539,12 +539,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[3]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[2]']))
@@ -557,7 +557,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -569,7 +569,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -581,7 +581,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -598,12 +598,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[3]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 6]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[3]']))
@@ -627,12 +627,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_14_<narrow_cast>>:
 			port <private_15_<narrow_cast>>:
 			port <private_16_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -649,12 +649,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[3]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[4]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[3]']))
@@ -675,12 +675,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[4]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[3]']))
@@ -693,7 +693,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -705,7 +705,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -717,7 +717,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -734,12 +734,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[4]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 5]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[4]']))
@@ -764,12 +764,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_15_<narrow_cast>>:
 			port <private_16_<narrow_cast>>:
 			port <private_17_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -786,12 +786,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[4]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[5]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[4]']))
@@ -812,12 +812,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[5]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[4]']))
@@ -830,7 +830,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -842,7 +842,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -854,7 +854,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -871,12 +871,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[5]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 4]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[5]']))
@@ -902,12 +902,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_16_<narrow_cast>>:
 			port <private_17_<narrow_cast>>:
 			port <private_18_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -924,12 +924,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[5]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[6]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[5]']))
@@ -950,12 +950,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[6]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[5]']))
@@ -968,7 +968,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -980,7 +980,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -992,7 +992,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1009,12 +1009,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[6]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 3]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[6]']))
@@ -1041,12 +1041,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_17_<narrow_cast>>:
 			port <private_18_<narrow_cast>>:
 			port <private_19_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -1063,12 +1063,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[6]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[7]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[6]']))
@@ -1089,12 +1089,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[7]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[6]']))
@@ -1107,7 +1107,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1119,7 +1119,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1131,7 +1131,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1148,12 +1148,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[7]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 2]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[7]']))
@@ -1181,12 +1181,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_18_<narrow_cast>>:
 			port <private_19_<narrow_cast>>:
 			port <private_20_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>, 8: <target.AInstance object at 0x1071fa150>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>, 8: <target.AInstance object at 0x106d66960>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -1203,12 +1203,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[7]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[8]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>, 8: <target.AInstance object at 0x1071fa150>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>, 8: <target.AInstance object at 0x106d66960>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[7]']))
@@ -1229,12 +1229,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[8]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[7]']))
@@ -1247,7 +1247,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1259,7 +1259,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1271,7 +1271,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1288,12 +1288,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[8]']))
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A', 1]))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[8]']))
@@ -1322,12 +1322,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_19_<narrow_cast>>:
 			port <private_20_<narrow_cast>>:
 			port <private_21_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>, 8: <target.AInstance object at 0x1071fa150>, 9: <target.AInstance object at 0x1071fa600>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>, 8: <target.AInstance object at 0x106d66960>, 9: <target.AInstance object at 0x106d6b620>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -1344,12 +1344,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[8]']))
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[9]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>, 8: <target.AInstance object at 0x1071fa150>, 9: <target.AInstance object at 0x1071fa600>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>, 8: <target.AInstance object at 0x106d66960>, 9: <target.AInstance object at 0x106d6b620>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[8]']))
@@ -1370,12 +1370,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[9]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[8]']))
@@ -1388,7 +1388,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1400,7 +1400,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1412,7 +1412,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -1428,12 +1428,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[9]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: start_instance; port: None; parameters: ['linkA[9]']))
@@ -1460,12 +1460,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <private_19_<narrow_cast>>:
 			port <private_20_<narrow_cast>>:
 			port <private_21_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>, 8: <target.AInstance object at 0x1071fa150>, 9: <target.AInstance object at 0x1071fa600>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>, 8: <target.AInstance object at 0x106d66960>, 9: <target.AInstance object at 0x106d6b620>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -1480,12 +1480,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[9]']))
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1071f8260>, 1: <target.AInstance object at 0x1071f8830>, 2: <target.AInstance object at 0x1071f95e0>, 3: <target.AInstance object at 0x1071f9160>, 4: <target.AInstance object at 0x1071f99d0>, 5: <target.AInstance object at 0x1071f95b0>, 6: <target.AInstance object at 0x1071fa5a0>, 7: <target.AInstance object at 0x1071f8800>, 8: <target.AInstance object at 0x1071fa150>, 9: <target.AInstance object at 0x1071fa600>}
+		New State: {0: <target.AInstance object at 0x106d65df0>, 1: <target.AInstance object at 0x106d663f0>, 2: <target.AInstance object at 0x106d66840>, 3: <target.AInstance object at 0x106d66090>, 4: <target.AInstance object at 0x106d664b0>, 5: <target.AInstance object at 0x106d67a70>, 6: <target.AInstance object at 0x106d66510>, 7: <target.AInstance object at 0x106d67f50>, 8: <target.AInstance object at 0x106d66960>, 9: <target.AInstance object at 0x106d6b620>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[9]']))
@@ -1504,12 +1504,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[9]']))
 			port <input>:
 			port <private_11_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1071d2360>
+		New State: <target.ObjectManagerState object at 0x106cdba70>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_started; port: None; parameters: ['linkA[9]']))
@@ -1521,7 +1521,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1071d23f0>}
+		New State: {0: <target.MainAppInstance object at 0x106d65a30>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>: