Bläddra i källkod

global input examples

sampieters 1 år sedan
förälder
incheckning
df7c7108d8

tests/GlobalUI/PyDEVS/faulty_log.txt → examples/GlobalUI/PyDEVS/faulty_log.txt


+ 7 - 7
tests/GlobalUI/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 0x104821880>}
+		New State: {0: <target.MainAppInstance object at 0x1042641d0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1048216a0>
+		New State: <target.ObjectManagerState object at 0x104264110>
 		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 0x1048216a0>
+		New State: <target.ObjectManagerState object at 0x104264110>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104821880>}
+		New State: {0: <target.MainAppInstance object at 0x1042641d0>}
 		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_0_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104821880>}
+		New State: {0: <target.MainAppInstance object at 0x1042641d0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1048216a0>
+		New State: <target.ObjectManagerState object at 0x104264110>
 		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 0x104821880>}
+		New State: {0: <target.MainAppInstance object at 0x1042641d0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 24 - 0
examples/GlobalUI/PyDEVS/runner.py

@@ -0,0 +1,24 @@
+import target as target
+from sccd.runtime.DEVS_loop import DEVSSimulator
+from sccd.runtime.statecharts_core import Event
+
+class OutputListener:
+	def __init__(self, controller) -> None:
+		self.controller = controller
+		
+	def add(self, events):
+		for event in events:
+			if event.name == "generate_input":
+			    self.controller.addInput(Event("test", "ui"))
+
+if __name__ == '__main__':
+	model = target.Controller(name="controller")
+	refs = {
+		"ui": model.in_ui,  
+	}
+
+	sim = DEVSSimulator(model, refs)
+	sim.setVerbose(None)
+	listener = OutputListener(sim)
+	sim.setListenPorts(model.out_ui, listener.add)
+	sim.simulate()

tests/GlobalUI/PyDEVS/target.py → examples/GlobalUI/PyDEVS/target.py


tests/GlobalUI/Python/log.txt → examples/GlobalUI/Python/log.txt


+ 33 - 0
examples/GlobalUI/Python/runner.py

@@ -0,0 +1,33 @@
+import os
+import subprocess
+import importlib.util
+import re
+from sccd.runtime.DEVS_loop import DEVSSimulator
+
+
+
+
+import target as target
+from sccd.runtime.statecharts_core import Event
+import threading
+
+if __name__ == '__main__':
+    controller = target.Controller()
+
+    def raw_inputter():
+        while 1:
+            if controller.simulated_time is not None and controller.simulated_time > 1:
+                controller.addInput(Event(input(), "ui", []))
+    input_thread = threading.Thread(target=raw_inputter)
+    input_thread.daemon = True
+    input_thread.start()
+
+    output_listener = controller.addOutputListener(["ui"])
+    def outputter():
+        while 1:
+            print(str(controller.simulated_time) + " " + str(output_listener.fetch(-1)))
+    output_thread = threading.Thread(target=outputter)
+    output_thread.daemon = True
+    output_thread.start()
+
+    controller.start()

tests/GlobalUI/Python/target.py → examples/GlobalUI/Python/target.py


tests/GlobalUI/sccd.xml → examples/GlobalUI/sccd.xml


+ 1 - 0
examples/Inputter/PyDEVS/faulty_log.txt

@@ -0,0 +1 @@
+0.00 (event name: generate_input; port: ui)

+ 87 - 0
examples/Inputter/PyDEVS/log.txt

@@ -0,0 +1,87 @@
+
+__  Current Time:   0.000000 __________________________________________ 
+
+
+	INITIAL CONDITIONS in model <controller.MainApp>
+		Initial State: None
+		Next scheduled internal transition at time inf
+
+
+	INITIAL CONDITIONS in model <controller.ObjectManager>
+		Initial State: None
+		Next scheduled internal transition at time 0.000000
+
+
+__  Current Time:   0.000000 __________________________________________ 
+
+
+	EXTERNAL TRANSITION in model <controller.MainApp>
+		Input Port Configuration:
+			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 0x1042641d0>}
+		Next scheduled internal transition at time 0.000000
+
+
+	INTERNAL TRANSITION in model <controller.ObjectManager>
+		New State: <target.ObjectManagerState object at 0x104264110>
+		Output Port Configuration:
+			port <port1>:
+				('MainApp', 'MainApp', (event name: start_instance; port: None; parameters: ['MainApp[0]']))
+		Next scheduled internal transition at time inf
+
+
+__  Current Time:   0.000000 __________________________________________ 
+
+
+	EXTERNAL TRANSITION in model <controller.ObjectManager>
+		Input Port Configuration:
+			port <input>:
+				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
+		New State: <target.ObjectManagerState object at 0x104264110>
+		Next scheduled internal transition at time 0.000000
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x1042641d0>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
+			port <ui>:
+				(event name: generate_input; port: ui)
+		Next scheduled internal transition at time inf
+
+
+__  Current Time:   0.000000 __________________________________________ 
+
+
+	EXTERNAL TRANSITION in model <controller.MainApp>
+		Input Port Configuration:
+			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 0x1042641d0>}
+		Next scheduled internal transition at time 0.000000
+
+
+	INTERNAL TRANSITION in model <controller.ObjectManager>
+		New State: <target.ObjectManagerState object at 0x104264110>
+		Output Port Configuration:
+			port <port1>:
+				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
+		Next scheduled internal transition at time inf
+
+
+__  Current Time:   0.000000 __________________________________________ 
+
+
+	INTERNAL TRANSITION in model <controller.MainApp>
+		New State: {0: <target.MainAppInstance object at 0x1042641d0>}
+		Output Port Configuration:
+			port <obj_manager_out>:
+			port <ui>:
+		Next scheduled internal transition at time inf
+

+ 110 - 0
examples/Inputter/PyDEVS/target.py

@@ -0,0 +1,110 @@
+"""
+Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration) and Sam Pieters (DEVS)
+
+Model author: Sam Pieters
+Model name:   Global inport
+Model description:
+Test X: Test if global inport works
+"""
+
+from sccd.runtime.DEVS_statecharts_core import *
+
+# package "Global inport"
+
+class MainAppInstance(RuntimeClassBase):
+    def __init__(self, atomdevs):
+        RuntimeClassBase.__init__(self, atomdevs)
+        self.associations = {}
+        
+        self.semantics.big_step_maximality = StatechartSemantics.TakeMany
+        self.semantics.internal_event_lifeline = StatechartSemantics.Queue
+        self.semantics.input_event_lifeline = StatechartSemantics.FirstComboStep
+        self.semantics.priority = StatechartSemantics.SourceParent
+        self.semantics.concurrency = StatechartSemantics.Single
+        
+        # build Statechart structure
+        self.build_statechart_structure()
+        
+        # call user defined constructor
+        MainAppInstance.user_defined_constructor(self)
+        port_name = Ports.addInputPort("<narrow_cast>", self)
+        atomdevs.addInPort(port_name)
+    
+    def user_defined_constructor(self):
+        pass
+    
+    def user_defined_destructor(self):
+        pass
+    
+    
+    # builds Statechart structure
+    def build_statechart_structure(self):
+        
+        # state <root>
+        self.states[""] = State(0, "", self)
+        
+        # state /state1
+        self.states["/state1"] = State(1, "/state1", self)
+        self.states["/state1"].setEnter(self._state1_enter)
+        
+        # state /state2
+        self.states["/state2"] = State(2, "/state2", self)
+        
+        # add children
+        self.states[""].addChild(self.states["/state1"])
+        self.states[""].addChild(self.states["/state2"])
+        self.states[""].fixTree()
+        self.states[""].default_state = self.states["/state1"]
+        
+        # transition /state1
+        _state1_0 = Transition(self, self.states["/state1"], [self.states["/state2"]])
+        _state1_0.setAction(self._state1_0_exec)
+        _state1_0.setTrigger(Event("test", None))
+        self.states["/state1"].addTransition(_state1_0)
+    
+    def _state1_enter(self):
+        self.big_step.outputEvent(Event("generate_input", self.getOutPortName("ui"), []))
+    
+    def _state1_0_exec(self, parameters):
+        self.big_step.outputEvent(Event("received", self.getOutPortName("ui"), []))
+    
+    def initializeStatechart(self):
+        # enter default state
+        self.default_targets = self.states["/state1"].getEffectiveTargetStates()
+        RuntimeClassBase.initializeStatechart(self)
+
+class MainApp(ObjectManagerBase):
+    def __init__(self, name):
+        ObjectManagerBase.__init__(self, name)
+        self.input = self.addInPort("input")
+        self.output = self.addOutPort("ui")
+        self.instances[self.next_instance] = MainAppInstance(self)
+        self.next_instance = self.next_instance + 1
+    
+    def constructObject(self, parameters):
+        new_instance = MainAppInstance(self)
+        return new_instance
+
+class ObjectManagerState:
+    def __init__(self):
+        self.to_send = [("MainApp", "MainApp", Event("start_instance", None, ["MainApp[0]"], 0))]
+
+class ObjectManager(TheObjectManager):
+    def __init__(self, name):
+        TheObjectManager.__init__(self, name)
+        self.State = ObjectManagerState()
+        self.input = self.addInPort("input")
+        self.output["MainApp"] = self.addOutPort()
+
+class Controller(CoupledDEVS):
+    def __init__(self, name):
+        CoupledDEVS.__init__(self, name)
+        self.in_ui = self.addInPort("ui")
+        Ports.addInputPort("ui")
+        self.out_ui = self.addOutPort("ui")
+        Ports.addOutputPort("ui")
+        self.objectmanager = self.addSubModel(ObjectManager("ObjectManager"))
+        self.atomic0 = self.addSubModel(MainApp("MainApp"))
+        self.connectPorts(self.atomic0.obj_manager_out, self.objectmanager.input)
+        self.connectPorts(self.objectmanager.output["MainApp"], self.atomic0.obj_manager_in)
+        self.connectPorts(self.atomic0.output, self.out_ui)

+ 5 - 0
examples/Inputter/Python/log.txt

@@ -0,0 +1,5 @@
+__  Current Time:   0.000000 __________________________________________ 
+
+OUTPUT EVENT to port <ui>
+	\Event: (event name: generate_input; port: ui)
+

+ 33 - 0
examples/Inputter/Python/runner.py

@@ -0,0 +1,33 @@
+import os
+import subprocess
+import importlib.util
+import re
+from sccd.runtime.DEVS_loop import DEVSSimulator
+
+
+
+
+import target as target
+from sccd.runtime.statecharts_core import Event
+import threading
+
+if __name__ == '__main__':
+    controller = target.Controller()
+
+    def raw_inputter():
+        while 1:
+            if controller.simulated_time is not None and controller.simulated_time > 1:
+                controller.addInput(Event(input(), "ui", []))
+    input_thread = threading.Thread(target=raw_inputter)
+    input_thread.daemon = True
+    input_thread.start()
+
+    output_listener = controller.addOutputListener(["ui"])
+    def outputter():
+        while 1:
+            print(str(controller.simulated_time) + " " + str(output_listener.fetch(-1)))
+    output_thread = threading.Thread(target=outputter)
+    output_thread.daemon = True
+    output_thread.start()
+
+    controller.start()

+ 93 - 0
examples/Inputter/Python/target.py

@@ -0,0 +1,93 @@
+"""
+Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
+
+Model author: Sam Pieters
+Model name:   Global inport
+Model description:
+Test X: Test if global inport works
+"""
+
+from sccd.runtime.statecharts_core import *
+
+# package "Global inport"
+
+class MainApp(RuntimeClassBase):
+    def __init__(self, controller):
+        RuntimeClassBase.__init__(self, controller)
+        
+        
+        self.semantics.big_step_maximality = StatechartSemantics.TakeMany
+        self.semantics.internal_event_lifeline = StatechartSemantics.Queue
+        self.semantics.input_event_lifeline = StatechartSemantics.FirstComboStep
+        self.semantics.priority = StatechartSemantics.SourceParent
+        self.semantics.concurrency = StatechartSemantics.Single
+        
+        # build Statechart structure
+        self.build_statechart_structure()
+        
+        # call user defined constructor
+        MainApp.user_defined_constructor(self)
+    
+    def user_defined_constructor(self):
+        pass
+    
+    def user_defined_destructor(self):
+        pass
+    
+    
+    # builds Statechart structure
+    def build_statechart_structure(self):
+        
+        # state <root>
+        self.states[""] = State(0, "", self)
+        
+        # state /state1
+        self.states["/state1"] = State(1, "/state1", self)
+        self.states["/state1"].setEnter(self._state1_enter)
+        
+        # state /state2
+        self.states["/state2"] = State(2, "/state2", self)
+        
+        # add children
+        self.states[""].addChild(self.states["/state1"])
+        self.states[""].addChild(self.states["/state2"])
+        self.states[""].fixTree()
+        self.states[""].default_state = self.states["/state1"]
+        
+        # transition /state1
+        _state1_0 = Transition(self, self.states["/state1"], [self.states["/state2"]])
+        _state1_0.setAction(self._state1_0_exec)
+        _state1_0.setTrigger(Event("test", None))
+        self.states["/state1"].addTransition(_state1_0)
+    
+    def _state1_enter(self):
+        self.big_step.outputEvent(Event("generate_input", self.getOutPortName("ui"), []))
+    
+    def _state1_0_exec(self, parameters):
+        self.big_step.outputEvent(Event("received", self.getOutPortName("ui"), []))
+    
+    def initializeStatechart(self):
+        # enter default state
+        self.default_targets = self.states["/state1"].getEffectiveTargetStates()
+        RuntimeClassBase.initializeStatechart(self)
+
+class ObjectManager(ObjectManagerBase):
+    def __init__(self, controller):
+        ObjectManagerBase.__init__(self, controller)
+    
+    def instantiate(self, class_name, construct_params):
+        if class_name == "MainApp":
+            instance = MainApp(self.controller)
+            instance.associations = {}
+        else:
+            raise Exception("Cannot instantiate class " + class_name)
+        return instance
+
+class Controller(ThreadsControllerBase):
+    def __init__(self, keep_running = None, behind_schedule_callback = None):
+        if keep_running == None: keep_running = True
+        if behind_schedule_callback == None: behind_schedule_callback = None
+        ThreadsControllerBase.__init__(self, ObjectManager(self), keep_running, behind_schedule_callback)
+        self.addInputPort("ui")
+        self.addOutputPort("ui")
+        self.object_manager.createInstance("MainApp", [])

+ 21 - 0
examples/Inputter/sccd.xml

@@ -0,0 +1,21 @@
+<?xml version="1.1" ?>
+<diagram author="Sam Pieters" name="Inputter that traverses an input file and gets an input on the defined time.">
+    <description>
+        Test X: Test if global inport works
+    </description>
+    <inport name="ui"/>
+    <outport name="ui"/>
+    <class name="MainApp" default="true">
+        <scxml initial="state1">
+            <state id="state1">
+                <onentry>
+                    <raise port="ui" event="generate_input" />
+                </onentry>
+                <transition event='test' target='../state2'>
+                    <raise port="ui" event="received" />
+                </transition>
+            </state>
+            <state id="state2" />
+        </scxml>
+    </class>
+</diagram>

+ 0 - 0
examples/Inputter/test.xml


+ 8 - 8
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_1_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104867800>}
+		New State: {0: <target.MainAppInstance object at 0x10426da00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102b5aa20>
+		New State: <target.ObjectManagerState object at 0x1041f3140>
 		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 0x102b5aa20>
+		New State: <target.ObjectManagerState object at 0x1041f3140>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104867800>}
+		New State: {0: <target.MainAppInstance object at 0x10426da00>}
 		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 0x104867800>}
+		New State: {0: <target.MainAppInstance object at 0x10426da00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102b5aa20>
+		New State: <target.ObjectManagerState object at 0x1041f3140>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -78,7 +78,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104867800>}
+		New State: {0: <target.MainAppInstance object at 0x10426da00>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -89,7 +89,7 @@ __  Current Time:   1.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104867800>}
+		New State: {0: <target.MainAppInstance object at 0x10426da00>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 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_23_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		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 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		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_23_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		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 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		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_24_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104901550>}
+		New State: {0: <target.AInstance object at 0x10424c6b0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		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 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		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 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104901550>}
+		New State: {0: <target.AInstance object at 0x10424c6b0>}
 		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_23_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		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 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		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 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		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 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		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_24_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104901550>}
+		New State: {0: <target.AInstance object at 0x10424c6b0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		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 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104901550>}
+		New State: {0: <target.AInstance object at 0x10424c6b0>}
 		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_23_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1048fe4b0>
+		New State: <target.ObjectManagerState object at 0x1041f2e70>
 		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 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		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 0x1048fd7c0>}
+		New State: {0: <target.MainAppInstance object at 0x104301310>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 23 - 23
tests/Test12/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_25_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		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 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		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_25_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		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 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		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_26_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x10484c590>}
+		New State: {0: <target.AInstance object at 0x10424e540>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		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 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		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 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10484c590>}
+		New State: {0: <target.AInstance object at 0x10424e540>}
 		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_25_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		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 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		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 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		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: delete_instance; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[0]', [0]]))
@@ -223,7 +223,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -238,7 +238,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		Next scheduled internal transition at time 0.000000
 
 
@@ -260,12 +260,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
 			port <input>:
 			port <private_25_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486e780>
+		New State: <target.ObjectManagerState object at 0x1042ff860>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
@@ -277,7 +277,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -289,7 +289,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104901ee0>}
+		New State: {0: <target.MainAppInstance object at 0x104301340>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 33 - 33
tests/Test13/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_27_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		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 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		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_27_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		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 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		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_28_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104902720>}
+		New State: {0: <target.AInstance object at 0x1042fdf10>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		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 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		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 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104902720>}
+		New State: {0: <target.AInstance object at 0x1042fdf10>}
 		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_27_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		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 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		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 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		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: create_instance; port: None; parameters: ['linkA', 'A']))
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: create_instance; port: None; parameters: ['linkA', 'A']))
@@ -219,12 +219,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 			port <private_28_<narrow_cast>>:
 			port <private_29_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104902720>, 1: <target.AInstance object at 0x1049003b0>}
+		New State: {0: <target.AInstance object at 0x1042fdf10>, 1: <target.AInstance object at 0x1042fe690>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -239,12 +239,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[1]']))
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104902720>, 1: <target.AInstance object at 0x1049003b0>}
+		New State: {0: <target.AInstance object at 0x1042fdf10>, 1: <target.AInstance object at 0x1042fe690>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[1]']))
@@ -261,12 +261,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[1]']))
 			port <input>:
 			port <private_27_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_created; port: None; parameters: ['linkA[1]']))
@@ -278,7 +278,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		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 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -307,12 +307,12 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[1]', [1]]))
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[1]', [1]]))
@@ -338,7 +338,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -355,7 +355,7 @@ __  Current Time:   0.000000 __________________________________________
 			port <input>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[1]', [1]]))
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Next scheduled internal transition at time 0.000000
 
 
@@ -379,12 +379,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
 			port <input>:
 			port <private_27_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10484d2b0>
+		New State: <target.ObjectManagerState object at 0x1042fca40>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[1]', [1]]))
@@ -397,7 +397,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -409,7 +409,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10484d340>}
+		New State: {0: <target.MainAppInstance object at 0x1042fc890>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 33 - 33
tests/Test14/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_30_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		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 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		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_30_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		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 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		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_31_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104876270>}
+		New State: {0: <target.AInstance object at 0x10424d820>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		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 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		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 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104876270>}
+		New State: {0: <target.AInstance object at 0x10424d820>}
 		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_30_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		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 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		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 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		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 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		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_31_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104876270>}
+		New State: {0: <target.AInstance object at 0x10424d820>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		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 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104876270>}
+		New State: {0: <target.AInstance object at 0x10424d820>}
 		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_30_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		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 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		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 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -306,12 +306,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[0]', [0]]))
@@ -334,7 +334,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -349,7 +349,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Next scheduled internal transition at time 0.000000
 
 
@@ -371,12 +371,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
 			port <input>:
 			port <private_30_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102d2ef60>
+		New State: <target.ObjectManagerState object at 0x10272ef60>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
@@ -388,7 +388,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -400,7 +400,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fcc20>}
+		New State: {0: <target.MainAppInstance object at 0x104303ef0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 33 - 33
tests/Test15/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_32_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		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 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		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_32_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		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 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		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_33_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048779e0>}
+		New State: {0: <target.AInstance object at 0x10424e120>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		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 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		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 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048779e0>}
+		New State: {0: <target.AInstance object at 0x10424e120>}
 		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_32_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		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 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		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 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		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 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		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_33_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048779e0>}
+		New State: {0: <target.AInstance object at 0x10424e120>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		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 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048779e0>}
+		New State: {0: <target.AInstance object at 0x10424e120>}
 		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_32_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		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 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		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 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -306,12 +306,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: delete_instance; port: None; parameters: ['linkA[0]', [0]]))
@@ -334,7 +334,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -349,7 +349,7 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Next scheduled internal transition at time 0.000000
 
 
@@ -371,12 +371,12 @@ __  Current Time:   0.000000 __________________________________________
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
 			port <input>:
 			port <private_32_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104876ea0>
+		New State: <target.ObjectManagerState object at 0x104273080>
 		Output Port Configuration:
 			port <port1>:
 				('A', 'MainApp', (event name: instance_deleted; port: None; parameters: ['linkA[0]', [0]]))
@@ -388,7 +388,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -400,7 +400,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104876b40>}
+		New State: {0: <target.MainAppInstance object at 0x10424ec90>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 9 - 9
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_2_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10486b7d0>}
+		New State: {0: <target.MainAppInstance object at 0x10426e8a0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486c770>
+		New State: <target.ObjectManagerState object at 0x10426e030>
 		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 0x10486c770>
+		New State: <target.ObjectManagerState object at 0x10426e030>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486b7d0>}
+		New State: {0: <target.MainAppInstance object at 0x10426e8a0>}
 		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_2_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10486b7d0>}
+		New State: {0: <target.MainAppInstance object at 0x10426e8a0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486c770>
+		New State: <target.ObjectManagerState object at 0x10426e030>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -78,7 +78,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486b7d0>}
+		New State: {0: <target.MainAppInstance object at 0x10426e8a0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -89,7 +89,7 @@ __  Current Time:   1.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486b7d0>}
+		New State: {0: <target.MainAppInstance object at 0x10426e8a0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -100,7 +100,7 @@ __  Current Time:   1.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486b7d0>}
+		New State: {0: <target.MainAppInstance object at 0x10426e8a0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 31 - 31
tests/Test22/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_34_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		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 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		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_34_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		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 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		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_35_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x10484fa10>}
+		New State: {0: <target.AInstance object at 0x104539af0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		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 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		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 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10484fa10>}
+		New State: {0: <target.AInstance object at 0x104539af0>}
 		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_34_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		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 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		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 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		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 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		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_35_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x10484fa10>}
+		New State: {0: <target.AInstance object at 0x104539af0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		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 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10484fa10>}
+		New State: {0: <target.AInstance object at 0x104539af0>}
 		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_34_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		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 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		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 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -306,12 +306,12 @@ __  Current Time:   0.000000 __________________________________________
 		Input Port Configuration:
 			port <input>:
 				('MainApp', 'A', (event name: link_check; port: None; parameters: ['linkA[0]']))
-		New State: <target.ObjectManagerState object at 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048ff7a0>}
+		New State: {0: <target.MainAppInstance object at 0x10424eff0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 				('MainApp', 'A', (event name: link_check; port: None; parameters: ['linkA[0]']))
@@ -330,12 +330,12 @@ __  Current Time:   0.000000 __________________________________________
 				('MainApp', 'A', (event name: link_check; port: None; parameters: ['linkA[0]']))
 			port <input>:
 			port <private_35_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x10484fa10>}
+		New State: {0: <target.AInstance object at 0x104539af0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104820710>
+		New State: <target.ObjectManagerState object at 0x10424d9d0>
 		Output Port Configuration:
 			port <port1>:
 			port <port2>:
@@ -347,7 +347,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10484fa10>}
+		New State: {0: <target.AInstance object at 0x104539af0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -358,7 +358,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10484fa10>}
+		New State: {0: <target.AInstance object at 0x104539af0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 13 - 13
tests/Test3/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 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486ce90>
+		New State: <target.ObjectManagerState object at 0x10426dd00>
 		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 0x10486ce90>
+		New State: <target.ObjectManagerState object at 0x10426dd00>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		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_3_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486ce90>
+		New State: <target.ObjectManagerState object at 0x10426dd00>
 		Output Port Configuration:
 			port <port1>:
 				('MainApp', 'MainApp', (event name: instance_started; port: None; parameters: ['MainApp[0]']))
@@ -78,7 +78,7 @@ __  Current Time:   0.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -89,7 +89,7 @@ __  Current Time:   1.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -100,7 +100,7 @@ __  Current Time:   2.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -112,7 +112,7 @@ __  Current Time:   3.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -124,7 +124,7 @@ __  Current Time:   4.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -136,7 +136,7 @@ __  Current Time:   5.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:
@@ -148,7 +148,7 @@ __  Current Time:   5.000000 __________________________________________
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486cec0>}
+		New State: {0: <target.MainAppInstance object at 0x10426f5c0>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>:

+ 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_4_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10486df40>}
+		New State: {0: <target.MainAppInstance object at 0x104269f70>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10481f2f0>
+		New State: <target.ObjectManagerState object at 0x1041cc620>
 		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 0x10481f2f0>
+		New State: <target.ObjectManagerState object at 0x1041cc620>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486df40>}
+		New State: {0: <target.MainAppInstance object at 0x104269f70>}
 		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 0x10486df40>}
+		New State: {0: <target.MainAppInstance object at 0x104269f70>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10481f2f0>
+		New State: <target.ObjectManagerState object at 0x1041cc620>
 		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 0x10486df40>}
+		New State: {0: <target.MainAppInstance object at 0x104269f70>}
 		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_5_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10486d160>}
+		New State: {0: <target.MainAppInstance object at 0x10426a180>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486e840>
+		New State: <target.ObjectManagerState object at 0x10426fb60>
 		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 0x10486e840>
+		New State: <target.ObjectManagerState object at 0x10426fb60>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x10486d160>}
+		New State: {0: <target.MainAppInstance object at 0x10426a180>}
 		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_5_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x10486d160>}
+		New State: {0: <target.MainAppInstance object at 0x10426a180>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x10486e840>
+		New State: <target.ObjectManagerState object at 0x10426fb60>
 		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 0x10486d160>}
+		New State: {0: <target.MainAppInstance object at 0x10426a180>}
 		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_6_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104867b30>}
+		New State: {0: <target.MainAppInstance object at 0x104270d10>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104867d70>
+		New State: <target.ObjectManagerState object at 0x1042711c0>
 		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 0x104867d70>
+		New State: <target.ObjectManagerState object at 0x1042711c0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104867b30>}
+		New State: {0: <target.MainAppInstance object at 0x104270d10>}
 		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_6_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x104867b30>}
+		New State: {0: <target.MainAppInstance object at 0x104270d10>}
 		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 0x104867d70>
+		New State: <target.ObjectManagerState object at 0x1042711c0>
 		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_7_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x10486fc20>}
+		New State: {0: <target.AInstance object at 0x104272ae0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x104867b30>}
+		New State: {0: <target.MainAppInstance object at 0x104270d10>}
 		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 0x104867d70>
+		New State: <target.ObjectManagerState object at 0x1042711c0>
 		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 0x104867d70>
+		New State: <target.ObjectManagerState object at 0x1042711c0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x10486fc20>}
+		New State: {0: <target.AInstance object at 0x104272ae0>}
 		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_6_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x104867b30>}
+		New State: {0: <target.MainAppInstance object at 0x104270d10>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104867d70>
+		New State: <target.ObjectManagerState object at 0x1042711c0>
 		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 0x104867b30>}
+		New State: {0: <target.MainAppInstance object at 0x104270d10>}
 		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 0x104867b30>}
+		New State: {0: <target.MainAppInstance object at 0x104270d10>}
 		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_8_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		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 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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_8_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		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_9_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104872ab0>}
+		New State: {0: <target.AInstance object at 0x104274b30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		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 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104872ab0>}
+		New State: {0: <target.AInstance object at 0x104274b30>}
 		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_8_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		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 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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_9_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104872ab0>}
+		New State: {0: <target.AInstance object at 0x104274b30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		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 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104872ab0>}
+		New State: {0: <target.AInstance object at 0x104274b30>}
 		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_8_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x1032ab200>
+		New State: <target.ObjectManagerState object at 0x1042214f0>
 		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 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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 0x1033da1b0>}
+		New State: {0: <target.MainAppInstance object at 0x104272ed0>}
 		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_10_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		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 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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_10_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		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_11_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104875880>}
+		New State: {0: <target.AInstance object at 0x1042752e0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		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 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104875880>}
+		New State: {0: <target.AInstance object at 0x1042752e0>}
 		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_10_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		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 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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_11_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x104875880>}
+		New State: {0: <target.AInstance object at 0x1042752e0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		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 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x104875880>}
+		New State: {0: <target.AInstance object at 0x1042752e0>}
 		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_10_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x102bae4b0>
+		New State: <target.ObjectManagerState object at 0x102a27b90>
 		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 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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 0x1048733b0>}
+		New State: {0: <target.MainAppInstance object at 0x104275340>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_12_<narrow_cast>>: 
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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_13_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_13_<narrow_cast>>:
 			port <private_14_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_13_<narrow_cast>>:
 			port <private_14_<narrow_cast>>:
 			port <private_15_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_14_<narrow_cast>>:
 			port <private_15_<narrow_cast>>:
 			port <private_16_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_15_<narrow_cast>>:
 			port <private_16_<narrow_cast>>:
 			port <private_17_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_16_<narrow_cast>>:
 			port <private_17_<narrow_cast>>:
 			port <private_18_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_17_<narrow_cast>>:
 			port <private_18_<narrow_cast>>:
 			port <private_19_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_18_<narrow_cast>>:
 			port <private_19_<narrow_cast>>:
 			port <private_20_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_19_<narrow_cast>>:
 			port <private_20_<narrow_cast>>:
 			port <private_21_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>, 8: <target.AInstance object at 0x1048fdb20>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>, 8: <target.AInstance object at 0x1043033b0>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>, 8: <target.AInstance object at 0x1048fdb20>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>, 8: <target.AInstance object at 0x1043033b0>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_20_<narrow_cast>>:
 			port <private_21_<narrow_cast>>:
 			port <private_22_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>, 8: <target.AInstance object at 0x1048fdb20>, 9: <target.AInstance object at 0x1048ff6e0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>, 8: <target.AInstance object at 0x1043033b0>, 9: <target.AInstance object at 0x104303290>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>, 8: <target.AInstance object at 0x1048fdb20>, 9: <target.AInstance object at 0x1048ff6e0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>, 8: <target.AInstance object at 0x1043033b0>, 9: <target.AInstance object at 0x104303290>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.MainApp>
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		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_20_<narrow_cast>>:
 			port <private_21_<narrow_cast>>:
 			port <private_22_<narrow_cast>>:
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>, 8: <target.AInstance object at 0x1048fdb20>, 9: <target.AInstance object at 0x1048ff6e0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>, 8: <target.AInstance object at 0x1043033b0>, 9: <target.AInstance object at 0x104303290>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.A>
-		New State: {0: <target.AInstance object at 0x1048fd7f0>, 1: <target.AInstance object at 0x1048fddc0>, 2: <target.AInstance object at 0x1048fe5d0>, 3: <target.AInstance object at 0x1048fef00>, 4: <target.AInstance object at 0x1048fdb80>, 5: <target.AInstance object at 0x1048fde20>, 6: <target.AInstance object at 0x1048ff620>, 7: <target.AInstance object at 0x1048fe750>, 8: <target.AInstance object at 0x1048fdb20>, 9: <target.AInstance object at 0x1048ff6e0>}
+		New State: {0: <target.AInstance object at 0x1042fef00>, 1: <target.AInstance object at 0x1042ff4a0>, 2: <target.AInstance object at 0x1042ff8c0>, 3: <target.AInstance object at 0x1042fec30>, 4: <target.AInstance object at 0x1042ff260>, 5: <target.AInstance object at 0x1042feed0>, 6: <target.AInstance object at 0x1043032f0>, 7: <target.AInstance object at 0x104303860>, 8: <target.AInstance object at 0x1043033b0>, 9: <target.AInstance object at 0x104303290>}
 		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_12_<narrow_cast>>:
-		New State: {0: <target.MainAppInstance object at 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Next scheduled internal transition at time 0.000000
 
 
 	INTERNAL TRANSITION in model <controller.ObjectManager>
-		New State: <target.ObjectManagerState object at 0x104872660>
+		New State: <target.ObjectManagerState object at 0x1042fc770>
 		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 0x1048fd430>}
+		New State: {0: <target.MainAppInstance object at 0x1042fcb00>}
 		Output Port Configuration:
 			port <obj_manager_out>:
 			port <ui>: