From 3af44f3af7e1daeb8ba54627c94034a0f859e43e Mon Sep 17 00:00:00 2001
From: Sophie Coudert <sophie.coudert@telecom-paris.fr>
Date: Thu, 28 Nov 2024 17:14:31 +0100
Subject: [PATCH] To update : errFrom (with test files)

---
 .../cli/models/avSysML_datatypes.xml          |  574 +++++++
 .../cli/models/avSysML_original.sysml         |  320 ++++
 .../resources/cli/models/avSysML_original.xml | 1480 +++++++++++++++++
 .../models/avSysML_originalRealNames.sysml    |  320 ++++
 .../resources/cli/models/avSysML_timer.sysml  |  303 ++++
 .../resources/cli/models/avSysML_timer.xml    | 1181 +++++++++++++
 6 files changed, 4178 insertions(+)
 create mode 100644 ttool/src/test/resources/cli/models/avSysML_datatypes.xml
 create mode 100644 ttool/src/test/resources/cli/models/avSysML_original.sysml
 create mode 100644 ttool/src/test/resources/cli/models/avSysML_original.xml
 create mode 100644 ttool/src/test/resources/cli/models/avSysML_originalRealNames.sysml
 create mode 100644 ttool/src/test/resources/cli/models/avSysML_timer.sysml
 create mode 100644 ttool/src/test/resources/cli/models/avSysML_timer.xml

diff --git a/ttool/src/test/resources/cli/models/avSysML_datatypes.xml b/ttool/src/test/resources/cli/models/avSysML_datatypes.xml
new file mode 100644
index 000000000..8fcc61eda
--- /dev/null
+++ b/ttool/src/test/resources/cli/models/avSysML_datatypes.xml
@@ -0,0 +1,574 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<TURTLEGMODELING version="3.0 beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="0" LAST_SELECTED_SUB_TAB="0">
+
+<Modeling type="AVATAR Design" nameTab="Design" tabs="Block Diagram$B0$B1" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
+<MainCode value="void __user_init() {"/>
+<MainCode value="}"/>
+<Optimized value="true" />
+<considerTimingOperators value="true" />
+<Validated value="B0;B1;" />
+<Ignored value="" />
+
+<CONNECTOR type="5002" id="2" index="0" uid="e2d900d2-9cd1-419a-a79e-03081de16bf0" >
+<cdparam x="316" y="251" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="1" />
+<P1  x="402" y="305" id="16" />
+<P2  x="430" y="305" id="56" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+<extraparam>
+<iso value="in in0(int x, Point p, bool b)" />
+<osd value="out out1(int x, Point p, bool b)" />
+<isd value="in in1(int x, Point p, bool b)" />
+<oso value="out out0(int x, Point p, bool b)" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<COMPONENT type="5003" id="11" index="1" uid="8aa452d0-d94c-4687-872a-d8da736a353a" >
+<cdparam x="799" y="100" />
+<sizeparam width="93" height="88" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="DataType" value="Point" />
+<new d="false" />
+<TGConnectingPoint num="0" id="3" />
+<TGConnectingPoint num="1" id="4" />
+<TGConnectingPoint num="2" id="5" />
+<TGConnectingPoint num="3" id="6" />
+<TGConnectingPoint num="4" id="7" />
+<TGConnectingPoint num="5" id="8" />
+<TGConnectingPoint num="6" id="9" />
+<TGConnectingPoint num="7" id="10" />
+<extraparam>
+<Attribute access="0" var="0" id="x" value="0" type="8" typeOther="" />
+<Attribute access="0" var="0" id="y" value="0" type="8" typeOther="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="52" index="2" uid="06d9b9cf-d5f5-46a8-ba3d-befc1c5aff9f" >
+<cdparam x="184" y="200" />
+<sizeparam width="218" height="210" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block" value="B0" />
+<new d="false" />
+<TGConnectingPoint num="0" id="12" />
+<TGConnectingPoint num="1" id="13" />
+<TGConnectingPoint num="2" id="14" />
+<TGConnectingPoint num="3" id="15" />
+<TGConnectingPoint num="4" id="16" />
+<TGConnectingPoint num="5" id="17" />
+<TGConnectingPoint num="6" id="18" />
+<TGConnectingPoint num="7" id="19" />
+<TGConnectingPoint num="8" id="20" />
+<TGConnectingPoint num="9" id="21" />
+<TGConnectingPoint num="10" id="22" />
+<TGConnectingPoint num="11" id="23" />
+<TGConnectingPoint num="12" id="24" />
+<TGConnectingPoint num="13" id="25" />
+<TGConnectingPoint num="14" id="26" />
+<TGConnectingPoint num="15" id="27" />
+<TGConnectingPoint num="16" id="28" />
+<TGConnectingPoint num="17" id="29" />
+<TGConnectingPoint num="18" id="30" />
+<TGConnectingPoint num="19" id="31" />
+<TGConnectingPoint num="20" id="32" />
+<TGConnectingPoint num="21" id="33" />
+<TGConnectingPoint num="22" id="34" />
+<TGConnectingPoint num="23" id="35" />
+<TGConnectingPoint num="24" id="36" />
+<TGConnectingPoint num="25" id="37" />
+<TGConnectingPoint num="26" id="38" />
+<TGConnectingPoint num="27" id="39" />
+<TGConnectingPoint num="28" id="40" />
+<TGConnectingPoint num="29" id="41" />
+<TGConnectingPoint num="30" id="42" />
+<TGConnectingPoint num="31" id="43" />
+<TGConnectingPoint num="32" id="44" />
+<TGConnectingPoint num="33" id="45" />
+<TGConnectingPoint num="34" id="46" />
+<TGConnectingPoint num="35" id="47" />
+<TGConnectingPoint num="36" id="48" />
+<TGConnectingPoint num="37" id="49" />
+<TGConnectingPoint num="38" id="50" />
+<TGConnectingPoint num="39" id="51" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" var="0" id="x" value="" type="8" typeOther="" />
+<Attribute access="0" var="0" id="b" value="" type="4" typeOther="" />
+<Attribute access="0" var="0" id="p" value="" type="5" typeOther="Point" />
+<Attribute access="0" var="0" id="y" value="" type="8" typeOther="" />
+<Method value="Point make(int x, int y)" />
+<Method value="int getx(Point p)" />
+<Method value="foo(int x, Point p, bool b)" />
+<Signal value="in in0(int x, Point p, bool b)" attached="true" />
+<Signal value="out out0(int x, Point p, bool b)" attached="true" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="93" index="3" uid="3450d894-ffd1-447d-9b4c-0b8b54221a01" >
+<cdparam x="430" y="202" />
+<sizeparam width="281" height="206" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block" value="B1" />
+<new d="false" />
+<TGConnectingPoint num="0" id="53" />
+<TGConnectingPoint num="1" id="54" />
+<TGConnectingPoint num="2" id="55" />
+<TGConnectingPoint num="3" id="56" />
+<TGConnectingPoint num="4" id="57" />
+<TGConnectingPoint num="5" id="58" />
+<TGConnectingPoint num="6" id="59" />
+<TGConnectingPoint num="7" id="60" />
+<TGConnectingPoint num="8" id="61" />
+<TGConnectingPoint num="9" id="62" />
+<TGConnectingPoint num="10" id="63" />
+<TGConnectingPoint num="11" id="64" />
+<TGConnectingPoint num="12" id="65" />
+<TGConnectingPoint num="13" id="66" />
+<TGConnectingPoint num="14" id="67" />
+<TGConnectingPoint num="15" id="68" />
+<TGConnectingPoint num="16" id="69" />
+<TGConnectingPoint num="17" id="70" />
+<TGConnectingPoint num="18" id="71" />
+<TGConnectingPoint num="19" id="72" />
+<TGConnectingPoint num="20" id="73" />
+<TGConnectingPoint num="21" id="74" />
+<TGConnectingPoint num="22" id="75" />
+<TGConnectingPoint num="23" id="76" />
+<TGConnectingPoint num="24" id="77" />
+<TGConnectingPoint num="25" id="78" />
+<TGConnectingPoint num="26" id="79" />
+<TGConnectingPoint num="27" id="80" />
+<TGConnectingPoint num="28" id="81" />
+<TGConnectingPoint num="29" id="82" />
+<TGConnectingPoint num="30" id="83" />
+<TGConnectingPoint num="31" id="84" />
+<TGConnectingPoint num="32" id="85" />
+<TGConnectingPoint num="33" id="86" />
+<TGConnectingPoint num="34" id="87" />
+<TGConnectingPoint num="35" id="88" />
+<TGConnectingPoint num="36" id="89" />
+<TGConnectingPoint num="37" id="90" />
+<TGConnectingPoint num="38" id="91" />
+<TGConnectingPoint num="39" id="92" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" var="0" id="x" value="0" type="8" typeOther="" />
+<Attribute access="0" var="0" id="b" value="false" type="4" typeOther="" />
+<Attribute access="0" var="0" id="p" value="" type="5" typeOther="Point" />
+<Signal value="in in1(int x, Point p, bool b)" attached="true" />
+<Signal value="out out1(int x, Point p, bool b)" attached="true" />
+</extraparam>
+</COMPONENT>
+
+
+</AVATARBlockDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B0" minX="16" maxX="3906" minY="16" maxY="2344" zoom="1.5625" >
+<CONNECTOR type="5102" id="100" index="0" uid="1146a1cf-2f3c-4f6a-9b58-131f269eed11" >
+<cdparam x="359" y="240" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="99" />
+<P1  x="359" y="240" id="134" />
+<P2  x="359" y="309" id="146" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="98" index="9" uid="c3a05878-d247-4b3b-b344-d32b2ad13ad7" >
+<father id="100" num="0" />
+<cdparam x="379" y="240" />
+<sizeparam width="119" height="48" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="94" />
+<TGConnectingPoint num="1" id="95" />
+<TGConnectingPoint num="2" id="96" />
+<TGConnectingPoint num="3" id="97" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="p = make(x,y)" enabled="true"/>
+<actions value="x = getx(p)" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="107" index="1" uid="1f01956e-7a84-47df-9fd9-f7a45d1e5f4c" >
+<cdparam x="172" y="610" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="106" />
+<P1  x="359" y="446" id="123" />
+<P2  x="359" y="493" id="144" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="105" index="10" uid="de96ca94-86cb-4bf3-b63e-421a93ccfc67" >
+<father id="107" num="0" />
+<cdparam x="172" y="668" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="101" />
+<TGConnectingPoint num="1" id="102" />
+<TGConnectingPoint num="2" id="103" />
+<TGConnectingPoint num="3" id="104" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="114" index="2" uid="1a1f75f0-3055-4d7a-aa5a-4a70634e3484" >
+<cdparam x="278" y="537" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="113" />
+<P1  x="359" y="354" id="147" />
+<P2  x="359" y="401" id="122" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="112" index="11" uid="14ed42f2-4c94-4e0a-9a05-d5bc511d1aa5" >
+<father id="114" num="0" />
+<cdparam x="378" y="350" />
+<sizeparam width="107" height="48" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="108" />
+<TGConnectingPoint num="1" id="109" />
+<TGConnectingPoint num="2" id="110" />
+<TGConnectingPoint num="3" id="111" />
+<extraparam>
+<guard value="[p.x&gt;4 ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="foo(x,p,b)" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="121" index="3" uid="833ce51f-ce8d-402a-819a-526a0071f83a" >
+<cdparam x="356" y="181" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="120" />
+<P1  x="359" y="74" id="149" />
+<P2  x="359" y="195" id="133" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="119" index="12" uid="dd687934-2033-4ae7-a9a0-36d732978073" >
+<father id="121" num="0" />
+<cdparam x="380" y="75" />
+<sizeparam width="112" height="94" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="115" />
+<TGConnectingPoint num="1" id="116" />
+<TGConnectingPoint num="2" id="117" />
+<TGConnectingPoint num="3" id="118" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="1" enabled="true"/>
+<afterMax value="p.x" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="x = 1" enabled="true"/>
+<actions value="b = true" enabled="true"/>
+<actions value="p.x = x" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5104" id="132" index="4" uid="507ab36b-12af-40a9-b4d3-d1687f4ee635" >
+<cdparam x="303" y="408" />
+<sizeparam width="113" height="31" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="in0(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="122" />
+<TGConnectingPoint num="1" id="123" />
+<TGConnectingPoint num="2" id="124" />
+<TGConnectingPoint num="3" id="125" />
+<TGConnectingPoint num="4" id="126" />
+<TGConnectingPoint num="5" id="127" />
+<TGConnectingPoint num="6" id="128" />
+<TGConnectingPoint num="7" id="129" />
+<TGConnectingPoint num="8" id="130" />
+<TGConnectingPoint num="9" id="131" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="143" index="5" uid="83bfdfcd-2185-424c-ad19-260ec86acd32" >
+<cdparam x="301" y="202" />
+<sizeparam width="116" height="31" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="out0(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="133" />
+<TGConnectingPoint num="1" id="134" />
+<TGConnectingPoint num="2" id="135" />
+<TGConnectingPoint num="3" id="136" />
+<TGConnectingPoint num="4" id="137" />
+<TGConnectingPoint num="5" id="138" />
+<TGConnectingPoint num="6" id="139" />
+<TGConnectingPoint num="7" id="140" />
+<TGConnectingPoint num="8" id="141" />
+<TGConnectingPoint num="9" id="142" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="145" index="6" uid="4c83d303-bd2a-4705-9638-d3da5a6d30ba" >
+<cdparam x="344" y="500" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="144" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="148" index="7" uid="c8fc7cc9-d99c-4e2d-b466-4e440c0ba0d7" >
+<cdparam x="261" y="316" />
+<sizeparam width="196" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="TGComponent" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="146" />
+<TGConnectingPoint num="1" id="147" />
+<extraparam>
+<Data variable="x" minValue="0" maxValue="p.y" functionId="0" extraAttribute1="" extraAttribute2="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="150" index="8" uid="02d7e1f1-28a4-4403-9e64-d6a4786cea7d" >
+<cdparam x="348" y="44" />
+<sizeparam width="23" height="23" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="149" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B1" minX="16" maxX="3906" minY="16" maxY="2344" zoom="1.5625" >
+<CONNECTOR type="5102" id="157" index="0" uid="a0af56f3-cbc4-4baa-9658-ccc1f3610e44" >
+<cdparam x="337" y="129" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="156" />
+<P1  x="337" y="129" id="196" />
+<P2  x="337" y="184" id="185" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="155" index="7" uid="49bb771b-b868-499b-b3e4-b327aa38b806" >
+<father id="157" num="0" />
+<cdparam x="341" y="159" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="151" />
+<TGConnectingPoint num="1" id="152" />
+<TGConnectingPoint num="2" id="153" />
+<TGConnectingPoint num="3" id="154" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="164" index="1" uid="a3a98968-b583-4832-b24d-9fd4a3cd1015" >
+<cdparam x="346" y="320" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="163" />
+<P1  x="337" y="323" id="173" />
+<P2  x="337" y="380" id="183" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="162" index="8" uid="8931d008-82d0-4db0-8510-f7d524f99bfa" >
+<father id="164" num="0" />
+<cdparam x="345" y="352" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="158" />
+<TGConnectingPoint num="1" id="159" />
+<TGConnectingPoint num="2" id="160" />
+<TGConnectingPoint num="3" id="161" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="171" index="2" uid="999f7782-37c8-46f8-ab41-0400edd91e81" >
+<cdparam x="338" y="472" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="170" />
+<P1  x="337" y="229" id="186" />
+<P2  x="337" y="278" id="172" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="169" index="9" uid="d87c8524-0033-46d8-bb08-eb37f3912b7f" >
+<father id="171" num="0" />
+<cdparam x="343" y="493" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="165" />
+<TGConnectingPoint num="1" id="166" />
+<TGConnectingPoint num="2" id="167" />
+<TGConnectingPoint num="3" id="168" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5103" id="182" index="3" uid="b16aa68c-e788-4fb4-bb98-9c9fb7146c96" >
+<cdparam x="279" y="285" />
+<sizeparam width="116" height="31" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="out1(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="172" />
+<TGConnectingPoint num="1" id="173" />
+<TGConnectingPoint num="2" id="174" />
+<TGConnectingPoint num="3" id="175" />
+<TGConnectingPoint num="4" id="176" />
+<TGConnectingPoint num="5" id="177" />
+<TGConnectingPoint num="6" id="178" />
+<TGConnectingPoint num="7" id="179" />
+<TGConnectingPoint num="8" id="180" />
+<TGConnectingPoint num="9" id="181" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="184" index="4" uid="e7f9abbc-7202-46f6-b337-2a40cdd98e61" >
+<cdparam x="322" y="387" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="183" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="195" index="5" uid="fbf3b6d1-bad9-4be2-a1d7-0e73bb04d183" >
+<cdparam x="281" y="191" />
+<sizeparam width="113" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="in1(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="185" />
+<TGConnectingPoint num="1" id="186" />
+<TGConnectingPoint num="2" id="187" />
+<TGConnectingPoint num="3" id="188" />
+<TGConnectingPoint num="4" id="189" />
+<TGConnectingPoint num="5" id="190" />
+<TGConnectingPoint num="6" id="191" />
+<TGConnectingPoint num="7" id="192" />
+<TGConnectingPoint num="8" id="193" />
+<TGConnectingPoint num="9" id="194" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="197" index="6" uid="c0809962-4811-4e90-8f8c-eda0a2a91b53" >
+<cdparam x="326" y="99" />
+<sizeparam width="23" height="23" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="196" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+</Modeling>
+
+
+
+
+</TURTLEGMODELING>
\ No newline at end of file
diff --git a/ttool/src/test/resources/cli/models/avSysML_original.sysml b/ttool/src/test/resources/cli/models/avSysML_original.sysml
new file mode 100644
index 000000000..6abc952ab
--- /dev/null
+++ b/ttool/src/test/resources/cli/models/avSysML_original.sysml
@@ -0,0 +1,320 @@
+package AvatarInstance {
+    private import AvatarGeneral::*;
+    private import AvatarBlockTypes::*;
+    private import AvatarCommunication::*;
+    private import AvatarTransitionServer::*;
+
+    // COMMUNICATIONS $$$$$$$$$$$$$$$$$$$$$$$$
+
+    // Relation '@NBF0:B0-B2'=============
+    part '@NBF0:B0-B2': '#NBfifo_Rel' = '#NBfifo_Rel'('@block1' = '@blk:B0', '@block2' = '@blk:B2', '@private'=true, '@max_size'=2);
+
+    // Channel '@nbf:B0.in0<B2.out2'-------------
+    part '@nbf:B0.in0<B2.out2' : '#NBfifo' = '#NBfifo'('@relation' = '@NBF0:B0-B2');
+    binding : '#InSignalBinding' bind '@blk:B0'.'@sig:in0' = '@nbf:B0.in0<B2.out2';
+    binding : '#OutSignalBinding' bind '@blk:B2'.'@sig:out2' = '@nbf:B0.in0<B2.out2';
+
+    // Message of signal '@blk:B0'.'@sig:in0'............
+    part def '@MSG:B0.in0' :> '#InMessage' {
+        private part '@channel' : '#Channel' = '@nbf:B0.in0<B2.out2';
+        attribute 'x' : Integer;
+        attribute 'b' : Boolean;
+    }
+
+    // Message of signal '@blk:B2'.'@sig:out2'............
+    part def '@MSG:B2.out2' :> '#OutMessage', '@MSG:B0.in0' {
+        attribute 'x' redefines 'x';
+        attribute 'b' redefines 'b';
+    }
+
+    // Relation '@SYN0:B0-B1'=============
+    part '@SYN0:B0-B1': '#Sync_Rel' = '#Sync_Rel'('@block1' = '@blk:B0', '@block2' = '@blk:B1', '@private'=true);
+
+    // Channel '@syn:B0.out0>B1.in1'-------------
+    part '@syn:B0.out0>B1.in1' : '#Sync' = '#Sync'('@relation' = '@SYN0:B0-B1');
+    binding : '#OutSignalBinding' bind '@blk:B0'.'@sig:out0' = '@syn:B0.out0>B1.in1';
+    binding : '#InSignalBinding' bind '@blk:B1'.'@sig:in1' = '@syn:B0.out0>B1.in1';
+
+    // Message of signal '@blk:B1'.'@sig:in1'............
+    part def '@MSG:B1.in1' :> '#InMessage' {
+        private part '@channel' : '#Channel' = '@syn:B0.out0>B1.in1';
+        attribute 'x' : Integer;
+        attribute 'b' : Boolean;
+    }
+
+    // Message of signal '@blk:B0'.'@sig:out0'............
+    part def '@MSG:B0.out0' :> '#OutMessage', '@MSG:B1.in1' {
+        attribute 'x' redefines 'x';
+        attribute 'b' redefines 'b';
+    }
+
+    // BLOCKS $$$$$$$$$$$$$$$$$$$$$$$$
+
+    // Block '@blk:B0'=============
+    part '@blk:B0' : '#AvatarBlock' {
+
+        // Attributes ---------------------
+        attribute '$x' : Integer := 0;
+        attribute '$b' : Boolean := false;
+
+        // Methods ---------------------
+        action '$m0v': '#AvatarVoidMethod' {
+            attribute 'x' : Integer;
+            attribute 'b' : Boolean;
+        }
+        calc '$m0i': '#AvatarCalcMethod' {
+            attribute 'x' : Integer;
+            attribute 'b' : Boolean;
+            return : Integer;
+        }
+
+        // Signals ---------------------
+        part '@sig:in0' : '#Fifo';
+        part '@sig:out0' : '#Channel';
+
+        // state-machine -------------------
+        exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+            entry action '@st:start' :'#AvatarStartState' {
+                '@request' redefines '@request' = {
+                    '#TrivialRequest'('@delay' = '#bound_random'(1, 5))
+                };
+            }
+
+            transition : '#AvatarTransition' first '@st:start'
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign '$x':= 1;
+                    then assign '$b':= true;
+                    then done;
+                } then '@st:random.0';
+
+            state '@st:count.in0.0' : '#AvatarCountState' {
+                '@state_action' : '#Assignment'  redefines '@state_action' {
+                    '@target' redefines '@target' = '$x';
+                    '@value' redefines '@value' = '@sig:in0'.'@amount'();
+                }
+            }
+
+            transition : '#AvatarTransition' first '@st:count.in0.0'
+                then '@st:stop';
+
+            state '@st:receive.in0.0' : '#AvatarReceiveState';
+
+            transition : '#AvatarTransition' first '@st:receive.in0.0'
+                then '@st:stop';
+
+            exit action '@st:stop' :'#AvatarStopState';
+
+            state '@st:send.out0.0' : '#AvatarSendState';
+
+            transition : '#AvatarTransition' first '@st:send.out0.0'
+                then '@st:stop';
+
+            state '@st:standard.st1' : '#AvatarStandardState' {
+                '@pool' redefines '@pool' = {(
+                    '#immediate_request',
+                    '#TrivialRequest'('@index' =  2, '@delay' = 3),
+                    if '$x' > 4 ?
+                        '#TrivialRequest'('@index' =  3)
+                    else '#NOKrequest'(3)
+                )};
+            }
+
+            transition : '#AvatarTransition' first '@st:standard.st1' if '@index' == 1
+                do action : '#TransitionAction' {
+                    first start;
+                    then action = '$m0v'('$x', '$b');
+                    then done;
+                } then '@st:prereceive.in0.0';
+
+            transition : '#AvatarTransition' first '@st:standard.st1' if '@index' == 2
+                then '@st:count.in0.0';
+
+            transition : '#AvatarTransition' first '@st:standard.st1' if '@index' == 3
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign '$x':= '$m0i'('$x', '$b');
+                    then done;
+                } then '@st:presend.out0.0';
+
+            state '@st:prereceive.in0.0' : '#AvatarPreReceiveState' {
+                '@request' redefines  '@request' = {
+                    '#ReceiveRequest'(
+                        '@channel'= '@sig:in0'
+                    )
+                };
+            }
+
+            transition : '#AvatarTransition' first '@st:prereceive.in0.0'
+                do action : '#ReceiveAction' {
+                    item '@msg' : '@MSG:B0.in0' = '@payload' as '@MSG:B0.in0';
+                    first start;
+                    then assign '$x' := '@msg'.'x';
+                    then assign '$b' := '@msg'.'b';
+                    then done;
+                } then '@st:receive.in0.0';
+
+            state '@st:presend.out0.0' : '#AvatarPreSendState' {
+                '@request' redefines  '@request' = {
+                    '#SendRequest'(
+                        '@channel'= '@sig:out0',
+                        '@payload' = '@MSG:B0.out0'(
+                            '$x',
+                            '$b' )
+                    )
+                };
+            }
+
+            transition : '#AvatarTransition' first '@st:presend.out0.0' then '@st:send.out0.0';
+
+            state '@st:random.0' : '#AvatarRandomState' {
+                '@state_action' : '#Assignment' redefines '@state_action' {
+                    '@target' redefines '@target' = '$x';
+                    '@value' redefines '@value' = '#bound_random'(0, 10);
+                }
+            }
+
+            transition : '#AvatarTransition' first '@st:random.0'
+                then '@st:standard.st1';
+        }
+    }
+
+    // Block '@blk:B1'=============
+    part '@blk:B1' : '#AvatarBlock' {
+
+        // Attributes ---------------------
+        attribute '$x' : Integer default := 0;
+        attribute '$b' : Boolean default := false;
+
+        // Signals ---------------------
+        part '@sig:in1' : '#Channel';
+
+        // state-machine -------------------
+        exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+            exit action '@st:stop' :'#AvatarStopState';
+
+            entry action '@st:start' :'#AvatarStartState';
+
+            transition : '#AvatarTransition' first '@st:start'
+                then '@st:standard.st1';
+
+            state '@st:receive.in1.0' : '#AvatarReceiveState';
+
+            transition : '#AvatarTransition' first '@st:receive.in1.0'
+                then '@st:stop';
+
+            state '@st:standard.st2' : '#AvatarStandardState' {
+                '@pool' redefines '@pool' = {(
+                    '#ReceiveRequest'(
+                        '@channel'= '@sig:in1'
+                    ),
+                    '#TrivialRequest'('@index' =  2, '@delay' = 5)
+                )};
+            }
+
+            transition : '#AvatarTransition' first '@st:standard.st2' if '@index' == 1
+                do action : '#ReceiveAction' {
+                    item '@msg' : '@MSG:B1.in1' = '@payload' as '@MSG:B1.in1';
+                    first start;
+                    then assign '$x' := '@msg'.'x';
+                    then assign '$b' := '@msg'.'b';
+                    then done;
+                } then '@st:receive.in1.0';
+
+            transition : '#AvatarTransition' first '@st:standard.st2' if '@index' == 2
+                then '@st:standard.st1';
+
+            state '@st:standard.st1' : '#AvatarStandardState';
+
+            transition : '#AvatarTransition' first '@st:standard.st1'
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign '$b':= not '$b';
+                    then done;
+                } then '@st:standard.st2';
+        }
+
+        // Sub-Blocks øøøøøøøøøøøøøøøøøøøøøøø
+
+        // Block '@blk:B2'=============
+        part '@blk:B2' : '#AvatarBlock' {
+
+            // Attributes ---------------------
+            attribute '$x' : Integer default := 0;
+            attribute '$b' : Boolean default := false;
+
+            // Signals ---------------------
+            part '@sig:out2' : '#Channel';
+
+            // state-machine -------------------
+            exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+                exit action '@st:stop' :'#AvatarStopState';
+
+                state '@st:receive.in1.0' : '#AvatarReceiveState';
+
+                transition : '#AvatarTransition' first '@st:receive.in1.0'
+                    then '@st:stop';
+
+                state '@st:send.out2.0' : '#AvatarSendState' {
+                    '@request' redefines '@request' = {
+                        '#TrivialRequest'('@delay' = 5)
+                    };
+                }
+
+                transition : '#AvatarTransition' first '@st:send.out2.0'
+                    then '@st:standard.st1';
+
+                state '@st:standard.st1' : '#AvatarStandardState' {
+                    '@pool' redefines '@pool' = {(
+                        '#immediate_request',
+                        '#SendRequest'(
+                            '@index' =  2,
+                            '@channel'= '@sig:out2',
+                            '@delay' = '#bound_random'(1, 4),
+                            '@payload' = '@MSG:B2.out2'(
+                                '$x',
+                                '$b' )
+                        )
+                    )};
+                }
+
+                transition : '#AvatarTransition' first '@st:standard.st1' if '@index' == 1
+                    do action : '#TransitionAction' {
+                        first start;
+                        then assign '$x':= '$x' + 1;
+                        then done;
+                    } then '@st:prereceive.in1.0';
+
+                transition : '#AvatarTransition' first '@st:standard.st1' if '@index' == 2
+                    then '@st:send.out2.0';
+
+                state '@st:prereceive.in1.0' : '#AvatarPreReceiveState' {
+                    '@request' redefines  '@request' = {
+                        '#ReceiveRequest'(
+                            '@channel'= '@sig:in1'
+                        )
+                    };
+                }
+
+                transition : '#AvatarTransition' first '@st:prereceive.in1.0'
+                    do action : '#ReceiveAction' {
+                        item '@msg' : '@MSG:B1.in1' = '@payload' as '@MSG:B1.in1';
+                        first start;
+                        then assign '$x' := '@msg'.'x';
+                        then assign '$b' := '@msg'.'b';
+                        then done;
+                    } then '@st:receive.in1.0';
+
+                entry action '@st:start' :'#AvatarStartState';
+
+                transition : '#AvatarTransition' first '@st:start'
+                    then '@st:standard.st1';
+            }
+        }
+    }
+    // Block Shortcut Links $$$$$$$$$$$$
+    part '@blk:B2' : '#AvatarBlock' :> '@blk:B1'.'@blk:B2' = '@blk:B1'.'@blk:B2';
+}
diff --git a/ttool/src/test/resources/cli/models/avSysML_original.xml b/ttool/src/test/resources/cli/models/avSysML_original.xml
new file mode 100644
index 000000000..c51c398ad
--- /dev/null
+++ b/ttool/src/test/resources/cli/models/avSysML_original.xml
@@ -0,0 +1,1480 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<TURTLEGMODELING version="3.0 beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="0" LAST_SELECTED_SUB_TAB="0">
+
+<Modeling type="AVATAR Design" nameTab="Design" tabs="Block Diagram$B0$B1$B2" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
+<MainCode value="void __user_init() {"/>
+<MainCode value="}"/>
+<Optimized value="true" />
+<considerTimingOperators value="true" />
+<Validated value="" />
+<Ignored value="" />
+
+<CONNECTOR type="5002" id="2" index="0" uid="01f60e1b-1ff9-4af9-bb6c-e410bd24b25a" >
+<cdparam x="316" y="301" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="1" />
+<P1  x="337" y="314" id="18" />
+<P2  x="513" y="294" id="49" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+<extraparam>
+<iso value="in in0(int x, bool b)" />
+<osd value="out out2(int x, bool b)" />
+<FIFOType asynchronous="true" synchronousCH="false" size="2" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="5002" id="4" index="1" uid="e2d900d2-9cd1-419a-a79e-03081de16bf0" >
+<cdparam x="316" y="251" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="3" />
+<P1  x="337" y="276" id="9" />
+<P2  x="388" y="202" id="97" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+<extraparam>
+<isd value="in in1(int x, bool b)" />
+<oso value="out out0(int x, bool b)" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<COMPONENT type="5000" id="45" index="2" uid="06d9b9cf-d5f5-46a8-ba3d-befc1c5aff9f" >
+<cdparam x="184" y="200" />
+<sizeparam width="153" height="153" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block" value="B0" />
+<new d="false" />
+<TGConnectingPoint num="0" id="5" />
+<TGConnectingPoint num="1" id="6" />
+<TGConnectingPoint num="2" id="7" />
+<TGConnectingPoint num="3" id="8" />
+<TGConnectingPoint num="4" id="9" />
+<TGConnectingPoint num="5" id="10" />
+<TGConnectingPoint num="6" id="11" />
+<TGConnectingPoint num="7" id="12" />
+<TGConnectingPoint num="8" id="13" />
+<TGConnectingPoint num="9" id="14" />
+<TGConnectingPoint num="10" id="15" />
+<TGConnectingPoint num="11" id="16" />
+<TGConnectingPoint num="12" id="17" />
+<TGConnectingPoint num="13" id="18" />
+<TGConnectingPoint num="14" id="19" />
+<TGConnectingPoint num="15" id="20" />
+<TGConnectingPoint num="16" id="21" />
+<TGConnectingPoint num="17" id="22" />
+<TGConnectingPoint num="18" id="23" />
+<TGConnectingPoint num="19" id="24" />
+<TGConnectingPoint num="20" id="25" />
+<TGConnectingPoint num="21" id="26" />
+<TGConnectingPoint num="22" id="27" />
+<TGConnectingPoint num="23" id="28" />
+<TGConnectingPoint num="24" id="29" />
+<TGConnectingPoint num="25" id="30" />
+<TGConnectingPoint num="26" id="31" />
+<TGConnectingPoint num="27" id="32" />
+<TGConnectingPoint num="28" id="33" />
+<TGConnectingPoint num="29" id="34" />
+<TGConnectingPoint num="30" id="35" />
+<TGConnectingPoint num="31" id="36" />
+<TGConnectingPoint num="32" id="37" />
+<TGConnectingPoint num="33" id="38" />
+<TGConnectingPoint num="34" id="39" />
+<TGConnectingPoint num="35" id="40" />
+<TGConnectingPoint num="36" id="41" />
+<TGConnectingPoint num="37" id="42" />
+<TGConnectingPoint num="38" id="43" />
+<TGConnectingPoint num="39" id="44" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" var="0" id="x" value="0" type="8" typeOther="" />
+<Attribute access="0" var="0" id="b" value="false" type="4" typeOther="" />
+<Method value="m0v(int x, bool b)" />
+<Method value="int m0i(int x, bool b)" />
+<Signal value="in in0(int x, bool b)" attached="true" />
+<Signal value="out out0(int x, bool b)" attached="true" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="127" index="3" uid="3450d894-ffd1-447d-9b4c-0b8b54221a01" >
+<cdparam x="388" y="151" />
+<sizeparam width="281" height="206" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block" value="B1" />
+<new d="false" />
+<TGConnectingPoint num="0" id="87" />
+<TGConnectingPoint num="1" id="88" />
+<TGConnectingPoint num="2" id="89" />
+<TGConnectingPoint num="3" id="90" />
+<TGConnectingPoint num="4" id="91" />
+<TGConnectingPoint num="5" id="92" />
+<TGConnectingPoint num="6" id="93" />
+<TGConnectingPoint num="7" id="94" />
+<TGConnectingPoint num="8" id="95" />
+<TGConnectingPoint num="9" id="96" />
+<TGConnectingPoint num="10" id="97" />
+<TGConnectingPoint num="11" id="98" />
+<TGConnectingPoint num="12" id="99" />
+<TGConnectingPoint num="13" id="100" />
+<TGConnectingPoint num="14" id="101" />
+<TGConnectingPoint num="15" id="102" />
+<TGConnectingPoint num="16" id="103" />
+<TGConnectingPoint num="17" id="104" />
+<TGConnectingPoint num="18" id="105" />
+<TGConnectingPoint num="19" id="106" />
+<TGConnectingPoint num="20" id="107" />
+<TGConnectingPoint num="21" id="108" />
+<TGConnectingPoint num="22" id="109" />
+<TGConnectingPoint num="23" id="110" />
+<TGConnectingPoint num="24" id="111" />
+<TGConnectingPoint num="25" id="112" />
+<TGConnectingPoint num="26" id="113" />
+<TGConnectingPoint num="27" id="114" />
+<TGConnectingPoint num="28" id="115" />
+<TGConnectingPoint num="29" id="116" />
+<TGConnectingPoint num="30" id="117" />
+<TGConnectingPoint num="31" id="118" />
+<TGConnectingPoint num="32" id="119" />
+<TGConnectingPoint num="33" id="120" />
+<TGConnectingPoint num="34" id="121" />
+<TGConnectingPoint num="35" id="122" />
+<TGConnectingPoint num="36" id="123" />
+<TGConnectingPoint num="37" id="124" />
+<TGConnectingPoint num="38" id="125" />
+<TGConnectingPoint num="39" id="126" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" var="0" id="x" value="" type="8" typeOther="" />
+<Attribute access="0" var="0" id="b" value="" type="4" typeOther="" />
+<Signal value="in in1(int x, bool b)" attached="true" />
+</extraparam>
+</COMPONENT>
+<SUBCOMPONENT type="5000" id="86" index="4" uid="ed264519-75ad-4415-a6c4-13087de50b10" >
+<father id="127" num="0" />
+<cdparam x="513" y="239" />
+<sizeparam width="147" height="110" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="134" minY="0" maxY="96" />
+<infoparam name="Block" value="B2" />
+<new d="false" />
+<TGConnectingPoint num="0" id="46" />
+<TGConnectingPoint num="1" id="47" />
+<TGConnectingPoint num="2" id="48" />
+<TGConnectingPoint num="3" id="49" />
+<TGConnectingPoint num="4" id="50" />
+<TGConnectingPoint num="5" id="51" />
+<TGConnectingPoint num="6" id="52" />
+<TGConnectingPoint num="7" id="53" />
+<TGConnectingPoint num="8" id="54" />
+<TGConnectingPoint num="9" id="55" />
+<TGConnectingPoint num="10" id="56" />
+<TGConnectingPoint num="11" id="57" />
+<TGConnectingPoint num="12" id="58" />
+<TGConnectingPoint num="13" id="59" />
+<TGConnectingPoint num="14" id="60" />
+<TGConnectingPoint num="15" id="61" />
+<TGConnectingPoint num="16" id="62" />
+<TGConnectingPoint num="17" id="63" />
+<TGConnectingPoint num="18" id="64" />
+<TGConnectingPoint num="19" id="65" />
+<TGConnectingPoint num="20" id="66" />
+<TGConnectingPoint num="21" id="67" />
+<TGConnectingPoint num="22" id="68" />
+<TGConnectingPoint num="23" id="69" />
+<TGConnectingPoint num="24" id="70" />
+<TGConnectingPoint num="25" id="71" />
+<TGConnectingPoint num="26" id="72" />
+<TGConnectingPoint num="27" id="73" />
+<TGConnectingPoint num="28" id="74" />
+<TGConnectingPoint num="29" id="75" />
+<TGConnectingPoint num="30" id="76" />
+<TGConnectingPoint num="31" id="77" />
+<TGConnectingPoint num="32" id="78" />
+<TGConnectingPoint num="33" id="79" />
+<TGConnectingPoint num="34" id="80" />
+<TGConnectingPoint num="35" id="81" />
+<TGConnectingPoint num="36" id="82" />
+<TGConnectingPoint num="37" id="83" />
+<TGConnectingPoint num="38" id="84" />
+<TGConnectingPoint num="39" id="85" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" var="0" id="x" value="" type="8" typeOther="" />
+<Attribute access="0" var="0" id="b" value="" type="4" typeOther="" />
+<Signal value="out out2(int x, bool b)" attached="true" />
+</extraparam>
+</SUBCOMPONENT>
+
+
+</AVATARBlockDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B0" minX="16" maxX="3906" minY="16" maxY="2344" zoom="1.5625" >
+<CONNECTOR type="5102" id="134" index="0" uid="cbb76a40-c53b-4a4a-ab78-bc16ee1cfb52" >
+<cdparam x="431" y="331" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="133" />
+<P1  x="431" y="293" id="228" />
+<P2  x="492" y="344" id="210" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="132" index="17" uid="ba3ba248-7fc2-4f8b-9433-03e9ae818314" >
+<father id="134" num="0" />
+<cdparam x="448" y="281" />
+<sizeparam width="82" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="128" />
+<TGConnectingPoint num="1" id="129" />
+<TGConnectingPoint num="2" id="130" />
+<TGConnectingPoint num="3" id="131" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="m0v(x,b)" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="141" index="1" uid="1f01956e-7a84-47df-9fd9-f7a45d1e5f4c" >
+<cdparam x="168" y="404" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="140" />
+<P1  x="223" y="390" id="198" />
+<P2  x="223" y="416" id="195" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="139" index="18" uid="de96ca94-86cb-4bf3-b63e-421a93ccfc67" >
+<father id="141" num="0" />
+<cdparam x="168" y="462" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="135" />
+<TGConnectingPoint num="1" id="136" />
+<TGConnectingPoint num="2" id="137" />
+<TGConnectingPoint num="3" id="138" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="148" index="2" uid="6210f187-d65b-4106-92a7-cf7a4c30b972" >
+<cdparam x="359" y="453" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="147" />
+<P1  x="353" y="389" id="185" />
+<P2  x="353" y="416" id="297" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="146" index="19" uid="d9e635f4-f320-43a3-8a83-3b46ddddc793" >
+<father id="148" num="0" />
+<cdparam x="349" y="506" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="142" />
+<TGConnectingPoint num="1" id="143" />
+<TGConnectingPoint num="2" id="144" />
+<TGConnectingPoint num="3" id="145" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="155" index="3" uid="8bb45ad0-8646-4f10-8655-bcca1b44a085" >
+<cdparam x="371" y="331" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="154" />
+<P1  x="353" y="293" id="227" />
+<P2  x="353" y="344" id="184" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="153" index="20" uid="5ef2f9cc-e190-49cb-b5b1-c1110a111ff5" >
+<father id="155" num="0" />
+<cdparam x="356" y="299" />
+<sizeparam width="78" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="149" />
+<TGConnectingPoint num="1" id="150" />
+<TGConnectingPoint num="2" id="151" />
+<TGConnectingPoint num="3" id="152" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="3" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<userResized />
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="162" index="4" uid="1a1f75f0-3055-4d7a-aa5a-4a70634e3484" >
+<cdparam x="274" y="331" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="161" />
+<P1  x="275" y="293" id="258" />
+<P2  x="223" y="345" id="197" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="160" index="21" uid="14ed42f2-4c94-4e0a-9a05-d5bc511d1aa5" >
+<father id="162" num="0" />
+<cdparam x="162" y="281" />
+<sizeparam width="107" height="48" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="156" />
+<TGConnectingPoint num="1" id="157" />
+<TGConnectingPoint num="2" id="158" />
+<TGConnectingPoint num="3" id="159" />
+<extraparam>
+<guard value="[x&gt;4 ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="x = m0i(x,b)" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="169" index="5" uid="21e4c90d-6743-4d98-8354-5feaa8ad5eac" >
+<cdparam x="796" y="606" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="168" />
+<P1  x="492" y="389" id="211" />
+<P2  x="492" y="419" id="208" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="167" index="22" uid="6e615c50-016b-4c05-8b55-1753be25a3f8" >
+<father id="169" num="0" />
+<cdparam x="803" y="625" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="163" />
+<TGConnectingPoint num="1" id="164" />
+<TGConnectingPoint num="2" id="165" />
+<TGConnectingPoint num="3" id="166" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="176" index="6" uid="50e7bb99-ea8b-4f74-b2df-22ab50cbf786" >
+<cdparam x="352" y="190" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="175" />
+<P1  x="353" y="185" id="295" />
+<P2  x="353" y="215" id="222" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="174" index="23" uid="e67b86d8-648e-4750-b569-80f012c7f453" >
+<father id="176" num="0" />
+<cdparam x="351" y="226" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="170" />
+<TGConnectingPoint num="1" id="171" />
+<TGConnectingPoint num="2" id="172" />
+<TGConnectingPoint num="3" id="173" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="183" index="7" uid="833ce51f-ce8d-402a-819a-526a0071f83a" >
+<cdparam x="352" y="70" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="182" />
+<P1  x="353" y="77" id="299" />
+<P2  x="353" y="140" id="294" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="181" index="24" uid="dd687934-2033-4ae7-a9a0-36d732978073" >
+<father id="183" num="0" />
+<cdparam x="367" y="61" />
+<sizeparam width="98" height="71" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="177" />
+<TGConnectingPoint num="1" id="178" />
+<TGConnectingPoint num="2" id="179" />
+<TGConnectingPoint num="3" id="180" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="1" enabled="true"/>
+<afterMax value="5" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="x = 1" enabled="true"/>
+<actions value="b = true" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5105" id="194" index="8" uid="c6f491c2-cb2b-413b-9b9e-59848c6f7141" >
+<cdparam x="292" y="351" />
+<sizeparam width="122" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="x=?in0(x, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="184" />
+<TGConnectingPoint num="1" id="185" />
+<TGConnectingPoint num="2" id="186" />
+<TGConnectingPoint num="3" id="187" />
+<TGConnectingPoint num="4" id="188" />
+<TGConnectingPoint num="5" id="189" />
+<TGConnectingPoint num="6" id="190" />
+<TGConnectingPoint num="7" id="191" />
+<TGConnectingPoint num="8" id="192" />
+<TGConnectingPoint num="9" id="193" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="196" index="9" uid="4c83d303-bd2a-4705-9638-d3da5a6d30ba" >
+<cdparam x="208" y="423" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="195" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="207" index="10" uid="21f614bb-8e47-4f3c-aaa4-d994546b999d" >
+<cdparam x="175" y="352" />
+<sizeparam width="96" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="out0(x, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="197" />
+<TGConnectingPoint num="1" id="198" />
+<TGConnectingPoint num="2" id="199" />
+<TGConnectingPoint num="3" id="200" />
+<TGConnectingPoint num="4" id="201" />
+<TGConnectingPoint num="5" id="202" />
+<TGConnectingPoint num="6" id="203" />
+<TGConnectingPoint num="7" id="204" />
+<TGConnectingPoint num="8" id="205" />
+<TGConnectingPoint num="9" id="206" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="209" index="11" uid="10e451fb-2a49-429e-9fff-ec440736a553" >
+<cdparam x="477" y="426" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="208" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="220" index="12" uid="860d3f8f-101e-4fd3-8c8b-cff8de039804" >
+<cdparam x="446" y="351" />
+<sizeparam width="93" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="in0(x, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="210" />
+<TGConnectingPoint num="1" id="211" />
+<TGConnectingPoint num="2" id="212" />
+<TGConnectingPoint num="3" id="213" />
+<TGConnectingPoint num="4" id="214" />
+<TGConnectingPoint num="5" id="215" />
+<TGConnectingPoint num="6" id="216" />
+<TGConnectingPoint num="7" id="217" />
+<TGConnectingPoint num="8" id="218" />
+<TGConnectingPoint num="9" id="219" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="293" index="13" uid="7b438d40-cf4a-411a-ad3b-8087ed5f368c" >
+<cdparam x="275" y="215" />
+<sizeparam width="156" height="78" minWidth="62" minHeight="46" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="state" value="st1" />
+<new d="false" />
+<TGConnectingPoint num="0" id="221" />
+<TGConnectingPoint num="1" id="222" />
+<TGConnectingPoint num="2" id="223" />
+<TGConnectingPoint num="3" id="224" />
+<TGConnectingPoint num="4" id="225" />
+<TGConnectingPoint num="5" id="226" />
+<TGConnectingPoint num="6" id="227" />
+<TGConnectingPoint num="7" id="228" />
+<TGConnectingPoint num="8" id="229" />
+<TGConnectingPoint num="9" id="230" />
+<TGConnectingPoint num="10" id="231" />
+<TGConnectingPoint num="11" id="232" />
+<TGConnectingPoint num="12" id="233" />
+<TGConnectingPoint num="13" id="234" />
+<TGConnectingPoint num="14" id="235" />
+<TGConnectingPoint num="15" id="236" />
+<TGConnectingPoint num="16" id="237" />
+<TGConnectingPoint num="17" id="238" />
+<TGConnectingPoint num="18" id="239" />
+<TGConnectingPoint num="19" id="240" />
+<TGConnectingPoint num="20" id="241" />
+<TGConnectingPoint num="21" id="242" />
+<TGConnectingPoint num="22" id="243" />
+<TGConnectingPoint num="23" id="244" />
+<TGConnectingPoint num="24" id="245" />
+<TGConnectingPoint num="25" id="246" />
+<TGConnectingPoint num="26" id="247" />
+<TGConnectingPoint num="27" id="248" />
+<TGConnectingPoint num="28" id="249" />
+<TGConnectingPoint num="29" id="250" />
+<TGConnectingPoint num="30" id="251" />
+<TGConnectingPoint num="31" id="252" />
+<TGConnectingPoint num="32" id="253" />
+<TGConnectingPoint num="33" id="254" />
+<TGConnectingPoint num="34" id="255" />
+<TGConnectingPoint num="35" id="256" />
+<TGConnectingPoint num="36" id="257" />
+<TGConnectingPoint num="37" id="258" />
+<TGConnectingPoint num="38" id="259" />
+<TGConnectingPoint num="39" id="260" />
+<TGConnectingPoint num="40" id="261" />
+<TGConnectingPoint num="41" id="262" />
+<TGConnectingPoint num="42" id="263" />
+<TGConnectingPoint num="43" id="264" />
+<TGConnectingPoint num="44" id="265" />
+<TGConnectingPoint num="45" id="266" />
+<TGConnectingPoint num="46" id="267" />
+<TGConnectingPoint num="47" id="268" />
+<TGConnectingPoint num="48" id="269" />
+<TGConnectingPoint num="49" id="270" />
+<TGConnectingPoint num="50" id="271" />
+<TGConnectingPoint num="51" id="272" />
+<TGConnectingPoint num="52" id="273" />
+<TGConnectingPoint num="53" id="274" />
+<TGConnectingPoint num="54" id="275" />
+<TGConnectingPoint num="55" id="276" />
+<TGConnectingPoint num="56" id="277" />
+<TGConnectingPoint num="57" id="278" />
+<TGConnectingPoint num="58" id="279" />
+<TGConnectingPoint num="59" id="280" />
+<TGConnectingPoint num="60" id="281" />
+<TGConnectingPoint num="61" id="282" />
+<TGConnectingPoint num="62" id="283" />
+<TGConnectingPoint num="63" id="284" />
+<TGConnectingPoint num="64" id="285" />
+<TGConnectingPoint num="65" id="286" />
+<TGConnectingPoint num="66" id="287" />
+<TGConnectingPoint num="67" id="288" />
+<TGConnectingPoint num="68" id="289" />
+<TGConnectingPoint num="69" id="290" />
+<TGConnectingPoint num="70" id="291" />
+<TGConnectingPoint num="71" id="292" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5108" id="296" index="14" uid="c8fc7cc9-d99c-4e2d-b466-4e440c0ba0d7" >
+<cdparam x="257" y="147" />
+<sizeparam width="193" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="TGComponent" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="294" />
+<TGConnectingPoint num="1" id="295" />
+<extraparam>
+<Data variable="x" minValue="0" maxValue="10" functionId="0" extraAttribute1="" extraAttribute2="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5101" id="298" index="15" uid="f88b8f5d-be3d-4e7a-9363-2d956e08f081" >
+<cdparam x="338" y="423" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="297" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="300" index="16" uid="02d7e1f1-28a4-4403-9e64-d6a4786cea7d" >
+<cdparam x="342" y="47" />
+<sizeparam width="23" height="23" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="299" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B1" minX="16" maxX="3906" minY="16" maxY="2344" zoom="1.5625" >
+<CONNECTOR type="5102" id="307" index="0" uid="999f7782-37c8-46f8-ab41-0400edd91e81" >
+<cdparam x="338" y="472" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="306" />
+<P1  x="337" y="447" id="343" />
+<P2  x="337" y="481" id="340" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="305" index="10" uid="d87c8524-0033-46d8-bb08-eb37f3912b7f" >
+<father id="307" num="0" />
+<cdparam x="343" y="493" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="301" />
+<TGConnectingPoint num="1" id="302" />
+<TGConnectingPoint num="2" id="303" />
+<TGConnectingPoint num="3" id="304" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="314" index="1" uid="6538a52c-b6a9-47a5-a1f9-983a3fdf7ab6" >
+<cdparam x="357" y="362" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="313" />
+<P1  x="337" y="356" id="359" />
+<P2  x="337" y="402" id="342" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="312" index="11" uid="c569ea2f-cdc0-4fdd-a016-4eb7d3a15d60" >
+<father id="314" num="0" />
+<cdparam x="342" y="363" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="308" />
+<TGConnectingPoint num="1" id="309" />
+<TGConnectingPoint num="2" id="310" />
+<TGConnectingPoint num="3" id="311" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="325" index="2" uid="a936ea9a-6b92-4f75-8f11-42cba1799ed6" >
+<cdparam x="487" y="468" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="322" />
+<TGConnectingPoint num="1" id="323" />
+<TGConnectingPoint num="2" id="324" />
+<P1  x="417" y="331" id="379" />
+<P2  x="415" y="196" id="430" />
+<Point x="454" y="331" />
+<Point x="454" y="196" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="315" index="12" uid="5548d778-5134-4d2d-a6e1-3332b7cc1188" >
+<father id="325" num="0" />
+<cdparam x="454" y="331" />
+<sizeparam width="12" height="12" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="316" index="13" uid="090e0f55-cd62-475d-a364-d1cf8b8f0db3" >
+<father id="325" num="1" />
+<cdparam x="454" y="196" />
+<sizeparam width="12" height="12" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="321" index="14" uid="81ede7cc-ff6e-4cab-999e-f536cdc4cb9a" >
+<father id="325" num="2" />
+<cdparam x="459" y="246" />
+<sizeparam width="78" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="317" />
+<TGConnectingPoint num="1" id="318" />
+<TGConnectingPoint num="2" id="319" />
+<TGConnectingPoint num="3" id="320" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="5" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="332" index="3" uid="aba45861-b9a7-4c5b-b3d4-b1937213afda" >
+<cdparam x="395" y="235" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="331" />
+<P1  x="337" y="235" id="432" />
+<P2  x="337" y="292" id="386" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="330" index="15" uid="cf9d8ab4-30a2-470c-bbbe-3010cea442b2" >
+<father id="332" num="0" />
+<cdparam x="345" y="246" />
+<sizeparam width="84" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="326" />
+<TGConnectingPoint num="1" id="327" />
+<TGConnectingPoint num="2" id="328" />
+<TGConnectingPoint num="3" id="329" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="b = ! b" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="339" index="4" uid="eea9471b-9992-4e68-874e-a7cec810b21d" >
+<cdparam x="338" y="71" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="338" />
+<P1  x="337" y="129" id="499" />
+<P2  x="337" y="157" id="427" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="337" index="16" uid="d198a16d-83d3-4c70-929f-c978c0ad6994" >
+<father id="339" num="0" />
+<cdparam x="346" y="85" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="333" />
+<TGConnectingPoint num="1" id="334" />
+<TGConnectingPoint num="2" id="335" />
+<TGConnectingPoint num="3" id="336" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5101" id="341" index="5" uid="e7f9abbc-7202-46f6-b337-2a40cdd98e61" >
+<cdparam x="322" y="488" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="340" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="352" index="6" uid="fbf3b6d1-bad9-4be2-a1d7-0e73bb04d183" >
+<cdparam x="291" y="409" />
+<sizeparam width="93" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="in1(x, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="342" />
+<TGConnectingPoint num="1" id="343" />
+<TGConnectingPoint num="2" id="344" />
+<TGConnectingPoint num="3" id="345" />
+<TGConnectingPoint num="4" id="346" />
+<TGConnectingPoint num="5" id="347" />
+<TGConnectingPoint num="6" id="348" />
+<TGConnectingPoint num="7" id="349" />
+<TGConnectingPoint num="8" id="350" />
+<TGConnectingPoint num="9" id="351" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="425" index="7" uid="dd625958-5634-40cc-97e1-26510b90af1b" >
+<cdparam x="257" y="292" />
+<sizeparam width="160" height="64" minWidth="62" minHeight="46" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="state0" value="st2" />
+<new d="false" />
+<TGConnectingPoint num="0" id="353" />
+<TGConnectingPoint num="1" id="354" />
+<TGConnectingPoint num="2" id="355" />
+<TGConnectingPoint num="3" id="356" />
+<TGConnectingPoint num="4" id="357" />
+<TGConnectingPoint num="5" id="358" />
+<TGConnectingPoint num="6" id="359" />
+<TGConnectingPoint num="7" id="360" />
+<TGConnectingPoint num="8" id="361" />
+<TGConnectingPoint num="9" id="362" />
+<TGConnectingPoint num="10" id="363" />
+<TGConnectingPoint num="11" id="364" />
+<TGConnectingPoint num="12" id="365" />
+<TGConnectingPoint num="13" id="366" />
+<TGConnectingPoint num="14" id="367" />
+<TGConnectingPoint num="15" id="368" />
+<TGConnectingPoint num="16" id="369" />
+<TGConnectingPoint num="17" id="370" />
+<TGConnectingPoint num="18" id="371" />
+<TGConnectingPoint num="19" id="372" />
+<TGConnectingPoint num="20" id="373" />
+<TGConnectingPoint num="21" id="374" />
+<TGConnectingPoint num="22" id="375" />
+<TGConnectingPoint num="23" id="376" />
+<TGConnectingPoint num="24" id="377" />
+<TGConnectingPoint num="25" id="378" />
+<TGConnectingPoint num="26" id="379" />
+<TGConnectingPoint num="27" id="380" />
+<TGConnectingPoint num="28" id="381" />
+<TGConnectingPoint num="29" id="382" />
+<TGConnectingPoint num="30" id="383" />
+<TGConnectingPoint num="31" id="384" />
+<TGConnectingPoint num="32" id="385" />
+<TGConnectingPoint num="33" id="386" />
+<TGConnectingPoint num="34" id="387" />
+<TGConnectingPoint num="35" id="388" />
+<TGConnectingPoint num="36" id="389" />
+<TGConnectingPoint num="37" id="390" />
+<TGConnectingPoint num="38" id="391" />
+<TGConnectingPoint num="39" id="392" />
+<TGConnectingPoint num="40" id="393" />
+<TGConnectingPoint num="41" id="394" />
+<TGConnectingPoint num="42" id="395" />
+<TGConnectingPoint num="43" id="396" />
+<TGConnectingPoint num="44" id="397" />
+<TGConnectingPoint num="45" id="398" />
+<TGConnectingPoint num="46" id="399" />
+<TGConnectingPoint num="47" id="400" />
+<TGConnectingPoint num="48" id="401" />
+<TGConnectingPoint num="49" id="402" />
+<TGConnectingPoint num="50" id="403" />
+<TGConnectingPoint num="51" id="404" />
+<TGConnectingPoint num="52" id="405" />
+<TGConnectingPoint num="53" id="406" />
+<TGConnectingPoint num="54" id="407" />
+<TGConnectingPoint num="55" id="408" />
+<TGConnectingPoint num="56" id="409" />
+<TGConnectingPoint num="57" id="410" />
+<TGConnectingPoint num="58" id="411" />
+<TGConnectingPoint num="59" id="412" />
+<TGConnectingPoint num="60" id="413" />
+<TGConnectingPoint num="61" id="414" />
+<TGConnectingPoint num="62" id="415" />
+<TGConnectingPoint num="63" id="416" />
+<TGConnectingPoint num="64" id="417" />
+<TGConnectingPoint num="65" id="418" />
+<TGConnectingPoint num="66" id="419" />
+<TGConnectingPoint num="67" id="420" />
+<TGConnectingPoint num="68" id="421" />
+<TGConnectingPoint num="69" id="422" />
+<TGConnectingPoint num="70" id="423" />
+<TGConnectingPoint num="71" id="424" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="498" index="8" uid="189b089c-ad2c-4210-8271-e94b5a2d1acf" >
+<cdparam x="259" y="157" />
+<sizeparam width="156" height="78" minWidth="62" minHeight="46" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="state" value="st1" />
+<new d="false" />
+<TGConnectingPoint num="0" id="426" />
+<TGConnectingPoint num="1" id="427" />
+<TGConnectingPoint num="2" id="428" />
+<TGConnectingPoint num="3" id="429" />
+<TGConnectingPoint num="4" id="430" />
+<TGConnectingPoint num="5" id="431" />
+<TGConnectingPoint num="6" id="432" />
+<TGConnectingPoint num="7" id="433" />
+<TGConnectingPoint num="8" id="434" />
+<TGConnectingPoint num="9" id="435" />
+<TGConnectingPoint num="10" id="436" />
+<TGConnectingPoint num="11" id="437" />
+<TGConnectingPoint num="12" id="438" />
+<TGConnectingPoint num="13" id="439" />
+<TGConnectingPoint num="14" id="440" />
+<TGConnectingPoint num="15" id="441" />
+<TGConnectingPoint num="16" id="442" />
+<TGConnectingPoint num="17" id="443" />
+<TGConnectingPoint num="18" id="444" />
+<TGConnectingPoint num="19" id="445" />
+<TGConnectingPoint num="20" id="446" />
+<TGConnectingPoint num="21" id="447" />
+<TGConnectingPoint num="22" id="448" />
+<TGConnectingPoint num="23" id="449" />
+<TGConnectingPoint num="24" id="450" />
+<TGConnectingPoint num="25" id="451" />
+<TGConnectingPoint num="26" id="452" />
+<TGConnectingPoint num="27" id="453" />
+<TGConnectingPoint num="28" id="454" />
+<TGConnectingPoint num="29" id="455" />
+<TGConnectingPoint num="30" id="456" />
+<TGConnectingPoint num="31" id="457" />
+<TGConnectingPoint num="32" id="458" />
+<TGConnectingPoint num="33" id="459" />
+<TGConnectingPoint num="34" id="460" />
+<TGConnectingPoint num="35" id="461" />
+<TGConnectingPoint num="36" id="462" />
+<TGConnectingPoint num="37" id="463" />
+<TGConnectingPoint num="38" id="464" />
+<TGConnectingPoint num="39" id="465" />
+<TGConnectingPoint num="40" id="466" />
+<TGConnectingPoint num="41" id="467" />
+<TGConnectingPoint num="42" id="468" />
+<TGConnectingPoint num="43" id="469" />
+<TGConnectingPoint num="44" id="470" />
+<TGConnectingPoint num="45" id="471" />
+<TGConnectingPoint num="46" id="472" />
+<TGConnectingPoint num="47" id="473" />
+<TGConnectingPoint num="48" id="474" />
+<TGConnectingPoint num="49" id="475" />
+<TGConnectingPoint num="50" id="476" />
+<TGConnectingPoint num="51" id="477" />
+<TGConnectingPoint num="52" id="478" />
+<TGConnectingPoint num="53" id="479" />
+<TGConnectingPoint num="54" id="480" />
+<TGConnectingPoint num="55" id="481" />
+<TGConnectingPoint num="56" id="482" />
+<TGConnectingPoint num="57" id="483" />
+<TGConnectingPoint num="58" id="484" />
+<TGConnectingPoint num="59" id="485" />
+<TGConnectingPoint num="60" id="486" />
+<TGConnectingPoint num="61" id="487" />
+<TGConnectingPoint num="62" id="488" />
+<TGConnectingPoint num="63" id="489" />
+<TGConnectingPoint num="64" id="490" />
+<TGConnectingPoint num="65" id="491" />
+<TGConnectingPoint num="66" id="492" />
+<TGConnectingPoint num="67" id="493" />
+<TGConnectingPoint num="68" id="494" />
+<TGConnectingPoint num="69" id="495" />
+<TGConnectingPoint num="70" id="496" />
+<TGConnectingPoint num="71" id="497" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="500" index="9" uid="c0809962-4811-4e90-8f8c-eda0a2a91b53" >
+<cdparam x="326" y="99" />
+<sizeparam width="23" height="23" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="499" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B2" minX="16" maxX="3906" minY="16" maxY="2344" zoom="1.5625" >
+<CONNECTOR type="5102" id="507" index="0" uid="05000cb6-cd79-4371-bc06-c93704db9dee" >
+<cdparam x="340" y="320" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="506" />
+<P1  x="430" y="334" id="556" />
+<P2  x="430" y="389" id="553" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="505" index="10" uid="4aa5b8bd-21e0-4380-a38b-3fcdb6d20554" >
+<father id="507" num="0" />
+<cdparam x="345" y="340" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="501" />
+<TGConnectingPoint num="1" id="502" />
+<TGConnectingPoint num="2" id="503" />
+<TGConnectingPoint num="3" id="504" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="514" index="1" uid="d8597eb1-0ee1-4357-8c81-eafedd835c59" >
+<cdparam x="573" y="378" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="513" />
+<P1  x="475" y="251" id="571" />
+<P2  x="430" y="289" id="555" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="512" index="11" uid="ad82f7fd-b999-476b-b4fa-401d7fccded4" >
+<father id="514" num="0" />
+<cdparam x="395" y="235" />
+<sizeparam width="78" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="508" />
+<TGConnectingPoint num="1" id="509" />
+<TGConnectingPoint num="2" id="510" />
+<TGConnectingPoint num="3" id="511" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="x = x+1" enabled="true"/>
+<userResized />
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="527" index="2" uid="bb2527dd-d20f-40e0-84a4-d8b187d29bba" >
+<cdparam x="703" y="484" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="523" />
+<TGConnectingPoint num="1" id="524" />
+<TGConnectingPoint num="2" id="525" />
+<TGConnectingPoint num="3" id="526" />
+<P1  x="553" y="369" id="543" />
+<P2  x="631" y="212" id="570" />
+<Point x="553" y="385" />
+<Point x="670" y="385" />
+<Point x="670" y="212" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="515" index="12" uid="c21fa87a-35f4-414f-aa9e-df328db7afcf" >
+<father id="527" num="0" />
+<cdparam x="553" y="385" />
+<sizeparam width="12" height="12" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="516" index="13" uid="89b12d01-2232-4e8f-bf82-15e9ad57603f" >
+<father id="527" num="1" />
+<cdparam x="670" y="385" />
+<sizeparam width="12" height="12" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="517" index="14" uid="e88ecd71-0777-49a4-b4c6-a24188fe12f9" >
+<father id="527" num="2" />
+<cdparam x="670" y="212" />
+<sizeparam width="12" height="12" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="522" index="15" uid="02e28a6c-a129-4e3d-bc40-f0068210a312" >
+<father id="527" num="3" />
+<cdparam x="676" y="281" />
+<sizeparam width="97" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="518" />
+<TGConnectingPoint num="1" id="519" />
+<TGConnectingPoint num="2" id="520" />
+<TGConnectingPoint num="3" id="521" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="5" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="534" index="3" uid="d25fb32a-e256-4097-bae7-2defb63337ae" >
+<cdparam x="610" y="251" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="533" />
+<P1  x="553" y="251" id="572" />
+<P2  x="553" y="324" id="542" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="532" index="16" uid="a692e63d-8dd9-4395-bac3-87738d64c32d" >
+<father id="534" num="0" />
+<cdparam x="559" y="256" />
+<sizeparam width="108" height="48" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="528" />
+<TGConnectingPoint num="1" id="529" />
+<TGConnectingPoint num="2" id="530" />
+<TGConnectingPoint num="3" id="531" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="1" enabled="true"/>
+<afterMax value="4" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="541" index="4" uid="97ac02ba-61b6-4ccc-b349-99a472f0576d" >
+<cdparam x="554" y="87" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="540" />
+<P1  x="553" y="122" id="639" />
+<P2  x="553" y="173" id="567" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="539" index="17" uid="cddae30a-0948-4226-b27f-6b97d4f6b06a" >
+<father id="541" num="0" />
+<cdparam x="562" y="101" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="535" />
+<TGConnectingPoint num="1" id="536" />
+<TGConnectingPoint num="2" id="537" />
+<TGConnectingPoint num="3" id="538" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5103" id="552" index="5" uid="9ecb3ff6-b251-4efe-93f2-0db6bae43822" >
+<cdparam x="505" y="331" />
+<sizeparam width="96" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="out2(x, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="542" />
+<TGConnectingPoint num="1" id="543" />
+<TGConnectingPoint num="2" id="544" />
+<TGConnectingPoint num="3" id="545" />
+<TGConnectingPoint num="4" id="546" />
+<TGConnectingPoint num="5" id="547" />
+<TGConnectingPoint num="6" id="548" />
+<TGConnectingPoint num="7" id="549" />
+<TGConnectingPoint num="8" id="550" />
+<TGConnectingPoint num="9" id="551" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="554" index="6" uid="2783e40c-6ece-4ceb-9b6f-e5aed8785ee5" >
+<cdparam x="415" y="396" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="553" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="565" index="7" uid="632402fd-c5b7-4a46-8191-c6d4821c36a8" >
+<cdparam x="384" y="296" />
+<sizeparam width="93" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="in1(x, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="555" />
+<TGConnectingPoint num="1" id="556" />
+<TGConnectingPoint num="2" id="557" />
+<TGConnectingPoint num="3" id="558" />
+<TGConnectingPoint num="4" id="559" />
+<TGConnectingPoint num="5" id="560" />
+<TGConnectingPoint num="6" id="561" />
+<TGConnectingPoint num="7" id="562" />
+<TGConnectingPoint num="8" id="563" />
+<TGConnectingPoint num="9" id="564" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="638" index="8" uid="514a5e77-73ed-4aaf-b350-5ac79de16e5f" >
+<cdparam x="475" y="173" />
+<sizeparam width="156" height="78" minWidth="62" minHeight="46" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="state" value="st1" />
+<new d="false" />
+<TGConnectingPoint num="0" id="566" />
+<TGConnectingPoint num="1" id="567" />
+<TGConnectingPoint num="2" id="568" />
+<TGConnectingPoint num="3" id="569" />
+<TGConnectingPoint num="4" id="570" />
+<TGConnectingPoint num="5" id="571" />
+<TGConnectingPoint num="6" id="572" />
+<TGConnectingPoint num="7" id="573" />
+<TGConnectingPoint num="8" id="574" />
+<TGConnectingPoint num="9" id="575" />
+<TGConnectingPoint num="10" id="576" />
+<TGConnectingPoint num="11" id="577" />
+<TGConnectingPoint num="12" id="578" />
+<TGConnectingPoint num="13" id="579" />
+<TGConnectingPoint num="14" id="580" />
+<TGConnectingPoint num="15" id="581" />
+<TGConnectingPoint num="16" id="582" />
+<TGConnectingPoint num="17" id="583" />
+<TGConnectingPoint num="18" id="584" />
+<TGConnectingPoint num="19" id="585" />
+<TGConnectingPoint num="20" id="586" />
+<TGConnectingPoint num="21" id="587" />
+<TGConnectingPoint num="22" id="588" />
+<TGConnectingPoint num="23" id="589" />
+<TGConnectingPoint num="24" id="590" />
+<TGConnectingPoint num="25" id="591" />
+<TGConnectingPoint num="26" id="592" />
+<TGConnectingPoint num="27" id="593" />
+<TGConnectingPoint num="28" id="594" />
+<TGConnectingPoint num="29" id="595" />
+<TGConnectingPoint num="30" id="596" />
+<TGConnectingPoint num="31" id="597" />
+<TGConnectingPoint num="32" id="598" />
+<TGConnectingPoint num="33" id="599" />
+<TGConnectingPoint num="34" id="600" />
+<TGConnectingPoint num="35" id="601" />
+<TGConnectingPoint num="36" id="602" />
+<TGConnectingPoint num="37" id="603" />
+<TGConnectingPoint num="38" id="604" />
+<TGConnectingPoint num="39" id="605" />
+<TGConnectingPoint num="40" id="606" />
+<TGConnectingPoint num="41" id="607" />
+<TGConnectingPoint num="42" id="608" />
+<TGConnectingPoint num="43" id="609" />
+<TGConnectingPoint num="44" id="610" />
+<TGConnectingPoint num="45" id="611" />
+<TGConnectingPoint num="46" id="612" />
+<TGConnectingPoint num="47" id="613" />
+<TGConnectingPoint num="48" id="614" />
+<TGConnectingPoint num="49" id="615" />
+<TGConnectingPoint num="50" id="616" />
+<TGConnectingPoint num="51" id="617" />
+<TGConnectingPoint num="52" id="618" />
+<TGConnectingPoint num="53" id="619" />
+<TGConnectingPoint num="54" id="620" />
+<TGConnectingPoint num="55" id="621" />
+<TGConnectingPoint num="56" id="622" />
+<TGConnectingPoint num="57" id="623" />
+<TGConnectingPoint num="58" id="624" />
+<TGConnectingPoint num="59" id="625" />
+<TGConnectingPoint num="60" id="626" />
+<TGConnectingPoint num="61" id="627" />
+<TGConnectingPoint num="62" id="628" />
+<TGConnectingPoint num="63" id="629" />
+<TGConnectingPoint num="64" id="630" />
+<TGConnectingPoint num="65" id="631" />
+<TGConnectingPoint num="66" id="632" />
+<TGConnectingPoint num="67" id="633" />
+<TGConnectingPoint num="68" id="634" />
+<TGConnectingPoint num="69" id="635" />
+<TGConnectingPoint num="70" id="636" />
+<TGConnectingPoint num="71" id="637" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="640" index="9" uid="72406952-60e3-427c-bc1a-e29c6464e929" >
+<cdparam x="542" y="92" />
+<sizeparam width="23" height="23" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="639" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+</Modeling>
+
+
+
+
+</TURTLEGMODELING>
\ No newline at end of file
diff --git a/ttool/src/test/resources/cli/models/avSysML_originalRealNames.sysml b/ttool/src/test/resources/cli/models/avSysML_originalRealNames.sysml
new file mode 100644
index 000000000..58276b6bb
--- /dev/null
+++ b/ttool/src/test/resources/cli/models/avSysML_originalRealNames.sysml
@@ -0,0 +1,320 @@
+package AvatarInstance {
+    private import AvatarGeneral::*;
+    private import AvatarBlockTypes::*;
+    private import AvatarCommunication::*;
+    private import AvatarTransitionServer::*;
+
+    // COMMUNICATIONS $$$$$$$$$$$$$$$$$$$$$$$$
+
+    // Relation FIFO_B0_B2=============
+    part FIFO_B0_B2: '#NBfifo_Rel' = '#NBfifo_Rel'('@block1' = B0, '@block2' = B2, '@private'=true, '@max_size'=2);
+
+    // Channel fifo_in0_out2-------------
+    part fifo_in0_out2 : '#NBfifo' = '#NBfifo'('@relation' = FIFO_B0_B2);
+    binding : '#InSignalBinding' bind B0.in0 = fifo_in0_out2;
+    binding : '#OutSignalBinding' bind B2.out2 = fifo_in0_out2;
+
+    // Message of signal B0.in0............
+    part def msg_in0 :> '#InMessage' {
+        private part '@channel' : '#Channel' = fifo_in0_out2;
+        attribute x : Integer;
+        attribute b : Boolean;
+    }
+
+    // Message of signal B2.out2............
+    part def msg_out2 :> '#OutMessage', msg_in0 {
+        attribute x redefines x;
+        attribute b redefines b;
+    }
+
+    // Relation SYNC_B0_B1=============
+    part SYNC_B0_B1: '#Sync_Rel' = '#Sync_Rel'('@block1' = B0, '@block2' = B1, '@private'=true);
+
+    // Channel sync_out0_in1-------------
+    part sync_out0_in1 : '#Sync' = '#Sync'('@relation' = SYNC_B0_B1);
+    binding : '#OutSignalBinding' bind B0.out0 = sync_out0_in1;
+    binding : '#InSignalBinding' bind B1.in1 = sync_out0_in1;
+
+    // Message of signal B1.in1............
+    part def msg_in1 :> '#InMessage' {
+        private part '@channel' : '#Channel' = sync_out0_in1;
+        attribute x : Integer;
+        attribute b : Boolean;
+    }
+
+    // Message of signal B0.out0............
+    part def msg_out0 :> '#OutMessage', msg_in1 {
+        attribute x redefines x;
+        attribute b redefines b;
+    }
+
+    // BLOCKS $$$$$$$$$$$$$$$$$$$$$$$$
+
+    // Block B0=============
+    part B0 : '#AvatarBlock' {
+
+        // Attributes ---------------------
+        attribute x : Integer := 0;
+        attribute b : Boolean := false;
+
+        // Methods ---------------------
+        action m0v: '#AvatarVoidMethod' {
+            attribute x : Integer;
+            attribute b : Boolean;
+        }
+        calc m0i: '#AvatarCalcMethod' {
+            attribute x : Integer;
+            attribute b : Boolean;
+            return : Integer;
+        }
+
+        // Signals ---------------------
+        part in0 : '#Fifo';
+        part out0 : '#Channel';
+
+        // state-machine -------------------
+        exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+            entry action startstate :'#AvatarStartState' {
+                '@request' redefines '@request' = {
+                    '#TrivialRequest'('@delay' = '#bound_random'(1, 5))
+                };
+            }
+
+            transition : '#AvatarTransition' first startstate
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign x:= 1;
+                    then assign b:= true;
+                    then done;
+                } then random_0;
+
+            state count_in0_0 : '#AvatarCountState' {
+                '@state_action' : '#Assignment'  redefines '@state_action' {
+                    '@target' redefines '@target' = x;
+                    '@value' redefines '@value' = in0.'@amount'();
+                }
+            }
+
+            transition : '#AvatarTransition' first count_in0_0
+                then stopstate;
+
+            state receive_in0_0 : '#AvatarReceiveState';
+
+            transition : '#AvatarTransition' first receive_in0_0
+                then stopstate;
+
+            exit action stopstate :'#AvatarStopState';
+
+            state send_out0_0 : '#AvatarSendState';
+
+            transition : '#AvatarTransition' first send_out0_0
+                then stopstate;
+
+            state st1 : '#AvatarStandardState' {
+                '@pool' redefines '@pool' = {(
+                    '#immediate_request',
+                    '#TrivialRequest'('@index' =  2, '@delay' = 3),
+                    if x > 4 ?
+                        '#TrivialRequest'('@index' =  3)
+                    else '#NOKrequest'(3)
+                )};
+            }
+
+            transition : '#AvatarTransition' first st1 if '@index' == 1
+                do action : '#TransitionAction' {
+                    first start;
+                    then action = m0v(x, b);
+                    then done;
+                } then prercv_in0_0;
+
+            transition : '#AvatarTransition' first st1 if '@index' == 2
+                then count_in0_0;
+
+            transition : '#AvatarTransition' first st1 if '@index' == 3
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign x:= m0i(x, b);
+                    then done;
+                } then presnd_out0_0;
+
+            state prercv_in0_0 : '#AvatarPreReceiveState' {
+                '@request' redefines  '@request' = {
+                    '#ReceiveRequest'(
+                        '@channel'= in0
+                    )
+                };
+            }
+
+            transition : '#AvatarTransition' first prercv_in0_0
+                do action : '#ReceiveAction' {
+                    item '@msg' : msg_in0 = '@payload' as msg_in0;
+                    first start;
+                    then assign x := '@msg'.x;
+                    then assign b := '@msg'.b;
+                    then done;
+                } then receive_in0_0;
+
+            state presnd_out0_0 : '#AvatarPreSendState' {
+                '@request' redefines  '@request' = {
+                    '#SendRequest'(
+                        '@channel'= out0,
+                        '@payload' = msg_out0(
+                            x,
+                            b )
+                    )
+                };
+            }
+
+            transition : '#AvatarTransition' first presnd_out0_0 then send_out0_0;
+
+            state random_0 : '#AvatarRandomState' {
+                '@state_action' : '#Assignment' redefines '@state_action' {
+                    '@target' redefines '@target' = x;
+                    '@value' redefines '@value' = '#bound_random'(0, 10);
+                }
+            }
+
+            transition : '#AvatarTransition' first random_0
+                then st1;
+        }
+    }
+
+    // Block B1=============
+    part B1 : '#AvatarBlock' {
+
+        // Attributes ---------------------
+        attribute x : Integer default := 0;
+        attribute b : Boolean default := false;
+
+        // Signals ---------------------
+        part in1 : '#Channel';
+
+        // state-machine -------------------
+        exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+            exit action stopstate :'#AvatarStopState';
+
+            entry action startstate :'#AvatarStartState';
+
+            transition : '#AvatarTransition' first startstate
+                then st1;
+
+            state receive_in1_0 : '#AvatarReceiveState';
+
+            transition : '#AvatarTransition' first receive_in1_0
+                then stopstate;
+
+            state st2 : '#AvatarStandardState' {
+                '@pool' redefines '@pool' = {(
+                    '#ReceiveRequest'(
+                        '@channel'= in1
+                    ),
+                    '#TrivialRequest'('@index' =  2, '@delay' = 5)
+                )};
+            }
+
+            transition : '#AvatarTransition' first st2 if '@index' == 1
+                do action : '#ReceiveAction' {
+                    item '@msg' : msg_in1 = '@payload' as msg_in1;
+                    first start;
+                    then assign x := '@msg'.x;
+                    then assign b := '@msg'.b;
+                    then done;
+                } then receive_in1_0;
+
+            transition : '#AvatarTransition' first st2 if '@index' == 2
+                then st1;
+
+            state st1 : '#AvatarStandardState';
+
+            transition : '#AvatarTransition' first st1
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign b:= not b;
+                    then done;
+                } then st2;
+        }
+
+        // Sub-Blocks øøøøøøøøøøøøøøøøøøøøøøø
+
+        // Block B2=============
+        part B2 : '#AvatarBlock' {
+
+            // Attributes ---------------------
+            attribute x : Integer default := 0;
+            attribute b : Boolean default := false;
+
+            // Signals ---------------------
+            part out2 : '#Channel';
+
+            // state-machine -------------------
+            exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+                exit action stopstate :'#AvatarStopState';
+
+                state receive_in1_0 : '#AvatarReceiveState';
+
+                transition : '#AvatarTransition' first receive_in1_0
+                    then stopstate;
+
+                state send_out2_0 : '#AvatarSendState' {
+                    '@request' redefines '@request' = {
+                        '#TrivialRequest'('@delay' = 5)
+                    };
+                }
+
+                transition : '#AvatarTransition' first send_out2_0
+                    then st1;
+
+                state st1 : '#AvatarStandardState' {
+                    '@pool' redefines '@pool' = {(
+                        '#immediate_request',
+                        '#SendRequest'(
+                            '@index' =  2,
+                            '@channel'= out2,
+                            '@delay' = '#bound_random'(1, 4),
+                            '@payload' = msg_out2(
+                                x,
+                                b )
+                        )
+                    )};
+                }
+
+                transition : '#AvatarTransition' first st1 if '@index' == 1
+                    do action : '#TransitionAction' {
+                        first start;
+                        then assign x:= x + 1;
+                        then done;
+                    } then prercv_in1_0;
+
+                transition : '#AvatarTransition' first st1 if '@index' == 2
+                    then send_out2_0;
+
+                state prercv_in1_0 : '#AvatarPreReceiveState' {
+                    '@request' redefines  '@request' = {
+                        '#ReceiveRequest'(
+                            '@channel'= in1
+                        )
+                    };
+                }
+
+                transition : '#AvatarTransition' first prercv_in1_0
+                    do action : '#ReceiveAction' {
+                        item '@msg' : msg_in1 = '@payload' as msg_in1;
+                        first start;
+                        then assign x := '@msg'.x;
+                        then assign b := '@msg'.b;
+                        then done;
+                    } then receive_in1_0;
+
+                entry action startstate :'#AvatarStartState';
+
+                transition : '#AvatarTransition' first startstate
+                    then st1;
+            }
+        }
+    }
+    // Block Shortcut Links $$$$$$$$$$$$
+    part B2 : '#AvatarBlock' :> B1.B2 = B1.B2;
+}
diff --git a/ttool/src/test/resources/cli/models/avSysML_timer.sysml b/ttool/src/test/resources/cli/models/avSysML_timer.sysml
new file mode 100644
index 000000000..8a085e2ba
--- /dev/null
+++ b/ttool/src/test/resources/cli/models/avSysML_timer.sysml
@@ -0,0 +1,303 @@
+package AvatarInstance {
+    private import AvatarGeneral::*;
+    private import AvatarBlockTypes::*;
+    private import AvatarCommunication::*;
+    private import AvatarTransitionServer::*;
+
+    // DATATYPES $$$$$$$$$$$$$$$$$$$$$$$$
+
+    attribute def '@dt:Point' :> '#AvatarDataType' {
+        attribute 'x' : Integer default := 0;
+        attribute 'y' : Integer default := 0;
+    }
+
+    // COMMUNICATIONS $$$$$$$$$$$$$$$$$$$$$$$$
+
+    // Relation '@SYN0:B0-B1_0'=============
+    part '@SYN0:B0-B1_0': '#Sync_Rel' = '#Sync_Rel'('@block1' = '@blk:B0', '@block2' = '@blk:B1_0', '@private'=true);
+
+    // Channel '@syn:B0.in0<B1_0.out1'-------------
+    part '@syn:B0.in0<B1_0.out1' : '#Sync' = '#Sync'('@relation' = '@SYN0:B0-B1_0');
+    binding : '#InSignalBinding' bind '@blk:B0'.'@sig:in0' = '@syn:B0.in0<B1_0.out1';
+    binding : '#OutSignalBinding' bind '@blk:B1_0'.'@sig:out1' = '@syn:B0.in0<B1_0.out1';
+
+    // Message of signal '@blk:B0'.'@sig:in0'............
+    part def '@MSG:B0.in0' :> '#InMessage' {
+        private part '@channel' : '#Channel' = '@syn:B0.in0<B1_0.out1';
+        attribute 'x' : Integer;
+        attribute 'p' : '@dt:Point';
+        attribute 'b' : Boolean;
+    }
+
+    // Message of signal '@blk:B1_0'.'@sig:out1'............
+    part def '@MSG:B1_0.out1' :> '#OutMessage', '@MSG:B0.in0' {
+        attribute 'x' redefines 'x';
+        attribute 'p' redefines 'p';
+        attribute 'b' redefines 'b';
+    }
+
+    // Channel '@syn:B0.out0>B1_0.in1'-------------
+    part '@syn:B0.out0>B1_0.in1' : '#Sync' = '#Sync'('@relation' = '@SYN0:B0-B1_0');
+    binding : '#OutSignalBinding' bind '@blk:B0'.'@sig:out0' = '@syn:B0.out0>B1_0.in1';
+    binding : '#InSignalBinding' bind '@blk:B1_0'.'@sig:in1' = '@syn:B0.out0>B1_0.in1';
+
+    // Message of signal '@blk:B1_0'.'@sig:in1'............
+    part def '@MSG:B1_0.in1' :> '#InMessage' {
+        private part '@channel' : '#Channel' = '@syn:B0.out0>B1_0.in1';
+        attribute 'x' : Integer;
+        attribute 'p' : '@dt:Point';
+        attribute 'b' : Boolean;
+    }
+
+    // Message of signal '@blk:B0'.'@sig:out0'............
+    part def '@MSG:B0.out0' :> '#OutMessage', '@MSG:B1_0.in1' {
+        attribute 'x' redefines 'x';
+        attribute 'p' redefines 'p';
+        attribute 'b' redefines 'b';
+    }
+
+    // BLOCKS $$$$$$$$$$$$$$$$$$$$$$$$
+
+    // Block '@blk:B1'=============
+    part '@blk:B1' : '#AvatarBlock' {
+
+        // state-machine -------------------
+        exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+            exit action '@st:stop' :'#AvatarStopState';
+
+            entry action '@st:start' :'#AvatarStartState';
+
+            transition : '#AvatarTransition' first '@st:start'
+                then '@st:stop';
+        }
+
+        // Sub-Blocks øøøøøøøøøøøøøøøøøøøøøøø
+
+        // Block '@blk:B1_0'=============
+        part '@blk:B1_0' : '#AvatarBlock' {
+
+            // Attributes ---------------------
+            attribute '$x' : Integer := 0;
+            attribute '$b' : Boolean := false;
+            attribute '$p' : '@dt:Point';
+
+            // Signals ---------------------
+            part '@sig:in1' : '#Channel';
+            part '@sig:out1' : '#Channel';
+
+            // Timers ---------------------
+            part '@tmr:t': '#AvatarTimer' = '#AvatarTimer'();
+
+            // state-machine -------------------
+            exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+                state '@st:standard.state2' : '#AvatarStandardState' {
+                    '@pool' redefines '@pool' = {(
+                        '#AvatarExpireTimerRequest'(
+                            '@channel'= '@tmr:t'.'@expire'
+                        ),
+                        '#AvatarResetTimerRequest'(
+                            '@index' =  2,
+                            '@channel'= '@tmr:t'.'@reset',
+                            '@payload' = '#TimerResetMsg'()
+                        )
+                    )};
+                }
+
+                transition : '#AvatarTransition' first '@st:standard.state2' if '@index' == 1
+                    then '@st:expire.t.0';
+
+                transition : '#AvatarTransition' first '@st:standard.state2' if '@index' == 2
+                    then '@st:reset.t.0';
+
+                state '@st:send.out1.0' : '#AvatarSendState';
+
+                transition : '#AvatarTransition' first '@st:send.out1.0'
+                    then '@st:stop';
+
+                state '@st:expire.t.0' : '#AvatarExpireTimerState';
+
+                transition : '#AvatarTransition' first '@st:expire.t.0'
+                    then '@st:standard.state1';
+
+                state '@st:set.t.0' : '#AvatarSetTimerState';
+
+                transition : '#AvatarTransition' first '@st:set.t.0'
+                    then '@st:standard.state2';
+
+                entry action '@st:start' :'#AvatarStartState';
+
+                transition : '#AvatarTransition' first '@st:start'
+                    then '@st:standard.state1';
+
+                exit action '@st:stop' :'#AvatarStopState';
+
+                state '@st:reset.t.0' : '#AvatarResetTimerState';
+
+                transition : '#AvatarTransition' first '@st:reset.t.0'
+                    then '@st:standard.state2';
+
+                state '@st:standard.state1' : '#AvatarStandardState' {
+                    '@pool' redefines '@pool' = {(
+                        '#AvatarSetTimerRequest'(
+                            '@channel'= '@tmr:t'.'@set',
+                            '@payload' = '#TimerSetMsg'(10)
+                        ),
+                        '#ReceiveRequest'(
+                            '@index' =  2,
+                            '@channel'= '@sig:in1'
+                        )
+                    )};
+                }
+
+                transition : '#AvatarTransition' first '@st:standard.state1' if '@index' == 1
+                    then '@st:set.t.0';
+
+                transition : '#AvatarTransition' first '@st:standard.state1' if '@index' == 2
+                    do action : '#ReceiveAction' {
+                        item '@msg' : '@MSG:B1_0.in1' = '@payload' as '@MSG:B1_0.in1';
+                        first start;
+                        then assign '$x' := '@msg'.'x';
+                        then assign '$p' := '@msg'.'p';
+                        then assign '$b' := '@msg'.'b';
+                        then done;
+                    } then '@st:receive.in1.0';
+
+                state '@st:receive.in1.0' : '#AvatarReceiveState' {
+                    '@request' redefines '@request' = {
+                        '#SendRequest'(
+                            '@channel'= '@sig:out1',
+                            '@payload' = '@MSG:B1_0.out1'(
+                                '$x',
+                                '$p',
+                                '$b' )
+                        )
+                    };
+                }
+
+                transition : '#AvatarTransition' first '@st:receive.in1.0'
+                    then '@st:send.out1.0';
+            }
+        }
+    }
+
+    // Block '@blk:B0'=============
+    part '@blk:B0' : '#AvatarBlock' {
+
+        // Attributes ---------------------
+        attribute '$x' : Integer default := 0;
+        attribute '$b' : Boolean default := false;
+        attribute '$p' : '@dt:Point';
+        attribute '$y' : Integer default := 0;
+
+        // Methods ---------------------
+        calc '$make': '#AvatarCalcMethod' {
+            attribute 'x' : Integer;
+            attribute 'y' : Integer;
+            return : '@dt:Point';
+        }
+        calc '$getx': '#AvatarCalcMethod' {
+            attribute 'p' : '@dt:Point';
+            return : Integer;
+        }
+        action '$foo': '#AvatarVoidMethod' {
+            attribute 'b' : Boolean;
+            attribute 'p' : '@dt:Point';
+            attribute 'x' : Integer;
+        }
+
+        // Signals ---------------------
+        part '@sig:in0' : '#Channel';
+        part '@sig:out0' : '#Channel';
+
+        // state-machine -------------------
+        exhibit state '@statemachine' : '#AvatarStateMachine' {
+
+            state '@st:random.0' : '#AvatarRandomState' {
+                '@request' redefines '@request' = {
+                    if '$p'.'x' > 4 ?
+                        '#immediate_request'
+                    else '#NOKrequest'(1)
+                };
+                '@state_action' : '#Assignment' redefines '@state_action' {
+                    '@target' redefines '@target' = '$x';
+                    '@value' redefines '@value' = '#bound_random'(0, '$p'.'y');
+                }
+            }
+
+            transition : '#AvatarTransition' first '@st:random.0'
+                do action : '#TransitionAction' {
+                    first start;
+                    then action = '$foo'('$b', '$p', '$x');
+                    then done;
+                } then '@st:prereceive.in0.0';
+
+            state '@st:prereceive.in0.0' : '#AvatarPreReceiveState' {
+                '@request' redefines  '@request' = {
+                    '#ReceiveRequest'(
+                        '@channel'= '@sig:in0'
+                    )
+                };
+            }
+
+            transition : '#AvatarTransition' first '@st:prereceive.in0.0'
+                do action : '#ReceiveAction' {
+                    item '@msg' : '@MSG:B0.in0' = '@payload' as '@MSG:B0.in0';
+                    first start;
+                    then assign '$x' := '@msg'.'x';
+                    then assign '$p' := '@msg'.'p';
+                    then assign '$b' := '@msg'.'b';
+                    then done;
+                } then '@st:receive.in0.0';
+
+            entry action '@st:start' :'#AvatarStartState' {
+                '@request' redefines '@request' = {
+                    '#TrivialRequest'('@delay' = '#bound_random'(1, '$p'.'x'))
+                };
+            }
+
+            transition : '#AvatarTransition' first '@st:start'
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign '$x':= 1;
+                    then assign '$b':= true;
+                    then assign '$p'::'x':= '$x';
+                    then done;
+                } then '@st:presend.out0.0';
+
+            state '@st:presend.out0.0' : '#AvatarPreSendState' {
+                '@request' redefines  '@request' = {
+                    '#SendRequest'(
+                        '@channel'= '@sig:out0',
+                        '@payload' = '@MSG:B0.out0'(
+                            '$x',
+                            '$p',
+                            '$b' )
+                    )
+                };
+            }
+
+            transition : '#AvatarTransition' first '@st:presend.out0.0' then '@st:send.out0.0';
+
+            state '@st:receive.in0.0' : '#AvatarReceiveState';
+
+            transition : '#AvatarTransition' first '@st:receive.in0.0'
+                then '@st:stop';
+
+            exit action '@st:stop' :'#AvatarStopState';
+
+            state '@st:send.out0.0' : '#AvatarSendState';
+
+            transition : '#AvatarTransition' first '@st:send.out0.0'
+                do action : '#TransitionAction' {
+                    first start;
+                    then assign '$p':= '$make'('$x', '$y');
+                    then assign '$x':= '$getx'('$p');
+                    then done;
+                } then '@st:random.0';
+        }
+    }
+    // Block Shortcut Links $$$$$$$$$$$$
+    part '@blk:B1_0' : '#AvatarBlock' :> '@blk:B1'.'@blk:B1_0' = '@blk:B1'.'@blk:B1_0';
+}
diff --git a/ttool/src/test/resources/cli/models/avSysML_timer.xml b/ttool/src/test/resources/cli/models/avSysML_timer.xml
new file mode 100644
index 000000000..593a3d0e7
--- /dev/null
+++ b/ttool/src/test/resources/cli/models/avSysML_timer.xml
@@ -0,0 +1,1181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<TURTLEGMODELING version="3.0 beta" ANIMATE_INTERACTIVE_SIMULATION="true" ACTIVATE_PENALTIES="true" UPDATE_INFORMATION_DIPLO_SIM="false" ANIMATE_WITH_INFO_DIPLO_SIM="true" OPEN_DIAG_DIPLO_SIM="false" LAST_SELECTED_MAIN_TAB="0" LAST_SELECTED_SUB_TAB="1">
+
+<Modeling type="AVATAR Design" nameTab="Design" tabs="Block Diagram$B0$B1$B1_0" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
+<MainCode value="void __user_init() {"/>
+<MainCode value="}"/>
+<Optimized value="true" />
+<considerTimingOperators value="true" />
+<Validated value="B1;B1_0;B0;" />
+<Ignored value="" />
+
+<CONNECTOR type="5002" id="2" index="0" uid="e2d900d2-9cd1-419a-a79e-03081de16bf0" >
+<cdparam x="338" y="230" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="" />
+<TGConnectingPoint num="0" id="1" />
+<P1  x="315" y="285" id="98" />
+<P2  x="384" y="277" id="13" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+<extraparam>
+<iso value="in in0(int x, Point p, bool b)" />
+<osd value="out out1(int x, Point p, bool b)" />
+<isd value="in in1(int x, Point p, bool b)" />
+<oso value="out out0(int x, Point p, bool b)" />
+<FIFOType asynchronous="false" synchronousCH="true" size="1" blocking="false" private="true" broadcast="false" lossy="false" ams="false" />
+</extraparam>
+</CONNECTOR>
+<COMPONENT type="5000" id="84" index="1" uid="94fc245f-ba93-486c-a741-c888fb20658d" >
+<cdparam x="356" y="175" />
+<sizeparam width="229" height="228" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block" value="B1" />
+<new d="false" />
+<TGConnectingPoint num="0" id="44" />
+<TGConnectingPoint num="1" id="45" />
+<TGConnectingPoint num="2" id="46" />
+<TGConnectingPoint num="3" id="47" />
+<TGConnectingPoint num="4" id="48" />
+<TGConnectingPoint num="5" id="49" />
+<TGConnectingPoint num="6" id="50" />
+<TGConnectingPoint num="7" id="51" />
+<TGConnectingPoint num="8" id="52" />
+<TGConnectingPoint num="9" id="53" />
+<TGConnectingPoint num="10" id="54" />
+<TGConnectingPoint num="11" id="55" />
+<TGConnectingPoint num="12" id="56" />
+<TGConnectingPoint num="13" id="57" />
+<TGConnectingPoint num="14" id="58" />
+<TGConnectingPoint num="15" id="59" />
+<TGConnectingPoint num="16" id="60" />
+<TGConnectingPoint num="17" id="61" />
+<TGConnectingPoint num="18" id="62" />
+<TGConnectingPoint num="19" id="63" />
+<TGConnectingPoint num="20" id="64" />
+<TGConnectingPoint num="21" id="65" />
+<TGConnectingPoint num="22" id="66" />
+<TGConnectingPoint num="23" id="67" />
+<TGConnectingPoint num="24" id="68" />
+<TGConnectingPoint num="25" id="69" />
+<TGConnectingPoint num="26" id="70" />
+<TGConnectingPoint num="27" id="71" />
+<TGConnectingPoint num="28" id="72" />
+<TGConnectingPoint num="29" id="73" />
+<TGConnectingPoint num="30" id="74" />
+<TGConnectingPoint num="31" id="75" />
+<TGConnectingPoint num="32" id="76" />
+<TGConnectingPoint num="33" id="77" />
+<TGConnectingPoint num="34" id="78" />
+<TGConnectingPoint num="35" id="79" />
+<TGConnectingPoint num="36" id="80" />
+<TGConnectingPoint num="37" id="81" />
+<TGConnectingPoint num="38" id="82" />
+<TGConnectingPoint num="39" id="83" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+</extraparam>
+</COMPONENT>
+<SUBCOMPONENT type="5000" id="43" index="4" uid="2b8839f5-8a46-4ef8-b202-68d15fae0cbb" >
+<father id="84" num="0" />
+<cdparam x="384" y="239" />
+<sizeparam width="183" height="154" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="46" minY="0" maxY="74" />
+<infoparam name="Block0" value="B1_0" />
+<new d="false" />
+<TGConnectingPoint num="0" id="3" />
+<TGConnectingPoint num="1" id="4" />
+<TGConnectingPoint num="2" id="5" />
+<TGConnectingPoint num="3" id="6" />
+<TGConnectingPoint num="4" id="7" />
+<TGConnectingPoint num="5" id="8" />
+<TGConnectingPoint num="6" id="9" />
+<TGConnectingPoint num="7" id="10" />
+<TGConnectingPoint num="8" id="11" />
+<TGConnectingPoint num="9" id="12" />
+<TGConnectingPoint num="10" id="13" />
+<TGConnectingPoint num="11" id="14" />
+<TGConnectingPoint num="12" id="15" />
+<TGConnectingPoint num="13" id="16" />
+<TGConnectingPoint num="14" id="17" />
+<TGConnectingPoint num="15" id="18" />
+<TGConnectingPoint num="16" id="19" />
+<TGConnectingPoint num="17" id="20" />
+<TGConnectingPoint num="18" id="21" />
+<TGConnectingPoint num="19" id="22" />
+<TGConnectingPoint num="20" id="23" />
+<TGConnectingPoint num="21" id="24" />
+<TGConnectingPoint num="22" id="25" />
+<TGConnectingPoint num="23" id="26" />
+<TGConnectingPoint num="24" id="27" />
+<TGConnectingPoint num="25" id="28" />
+<TGConnectingPoint num="26" id="29" />
+<TGConnectingPoint num="27" id="30" />
+<TGConnectingPoint num="28" id="31" />
+<TGConnectingPoint num="29" id="32" />
+<TGConnectingPoint num="30" id="33" />
+<TGConnectingPoint num="31" id="34" />
+<TGConnectingPoint num="32" id="35" />
+<TGConnectingPoint num="33" id="36" />
+<TGConnectingPoint num="34" id="37" />
+<TGConnectingPoint num="35" id="38" />
+<TGConnectingPoint num="36" id="39" />
+<TGConnectingPoint num="37" id="40" />
+<TGConnectingPoint num="38" id="41" />
+<TGConnectingPoint num="39" id="42" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" var="0" id="x" value="0" type="8" typeOther="" />
+<Attribute access="0" var="0" id="b" value="false" type="4" typeOther="" />
+<Attribute access="0" var="0" id="p" value="" type="5" typeOther="Point" />
+<Attribute access="0" var="0" id="t" value="" type="9" typeOther="" />
+<Signal value="in in1(int x, Point p, bool b)" attached="true" />
+<Signal value="out out1(int x, Point p, bool b)" attached="true" />
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5003" id="93" index="2" uid="8aa452d0-d94c-4687-872a-d8da736a353a" >
+<cdparam x="235" y="77" />
+<sizeparam width="93" height="88" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="DataType" value="Point" />
+<new d="false" />
+<TGConnectingPoint num="0" id="85" />
+<TGConnectingPoint num="1" id="86" />
+<TGConnectingPoint num="2" id="87" />
+<TGConnectingPoint num="3" id="88" />
+<TGConnectingPoint num="4" id="89" />
+<TGConnectingPoint num="5" id="90" />
+<TGConnectingPoint num="6" id="91" />
+<TGConnectingPoint num="7" id="92" />
+<extraparam>
+<Attribute access="0" var="0" id="x" value="0" type="8" typeOther="" />
+<Attribute access="0" var="0" id="y" value="0" type="8" typeOther="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5000" id="134" index="3" uid="06d9b9cf-d5f5-46a8-ba3d-befc1c5aff9f" >
+<cdparam x="97" y="180" />
+<sizeparam width="218" height="210" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Block" value="B0" />
+<new d="false" />
+<TGConnectingPoint num="0" id="94" />
+<TGConnectingPoint num="1" id="95" />
+<TGConnectingPoint num="2" id="96" />
+<TGConnectingPoint num="3" id="97" />
+<TGConnectingPoint num="4" id="98" />
+<TGConnectingPoint num="5" id="99" />
+<TGConnectingPoint num="6" id="100" />
+<TGConnectingPoint num="7" id="101" />
+<TGConnectingPoint num="8" id="102" />
+<TGConnectingPoint num="9" id="103" />
+<TGConnectingPoint num="10" id="104" />
+<TGConnectingPoint num="11" id="105" />
+<TGConnectingPoint num="12" id="106" />
+<TGConnectingPoint num="13" id="107" />
+<TGConnectingPoint num="14" id="108" />
+<TGConnectingPoint num="15" id="109" />
+<TGConnectingPoint num="16" id="110" />
+<TGConnectingPoint num="17" id="111" />
+<TGConnectingPoint num="18" id="112" />
+<TGConnectingPoint num="19" id="113" />
+<TGConnectingPoint num="20" id="114" />
+<TGConnectingPoint num="21" id="115" />
+<TGConnectingPoint num="22" id="116" />
+<TGConnectingPoint num="23" id="117" />
+<TGConnectingPoint num="24" id="118" />
+<TGConnectingPoint num="25" id="119" />
+<TGConnectingPoint num="26" id="120" />
+<TGConnectingPoint num="27" id="121" />
+<TGConnectingPoint num="28" id="122" />
+<TGConnectingPoint num="29" id="123" />
+<TGConnectingPoint num="30" id="124" />
+<TGConnectingPoint num="31" id="125" />
+<TGConnectingPoint num="32" id="126" />
+<TGConnectingPoint num="33" id="127" />
+<TGConnectingPoint num="34" id="128" />
+<TGConnectingPoint num="35" id="129" />
+<TGConnectingPoint num="36" id="130" />
+<TGConnectingPoint num="37" id="131" />
+<TGConnectingPoint num="38" id="132" />
+<TGConnectingPoint num="39" id="133" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Attribute access="0" var="0" id="x" value="" type="8" typeOther="" />
+<Attribute access="0" var="0" id="b" value="" type="4" typeOther="" />
+<Attribute access="0" var="0" id="p" value="" type="5" typeOther="Point" />
+<Attribute access="0" var="0" id="y" value="" type="8" typeOther="" />
+<Method value="Point make(int x, int y)" />
+<Method value="int getx(Point p)" />
+<Method value="foo(bool b, Point p, int x)" />
+<Signal value="in in0(int x, Point p, bool b)" attached="true" />
+<Signal value="out out0(int x, Point p, bool b)" attached="true" />
+</extraparam>
+</COMPONENT>
+
+
+</AVATARBlockDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B0" minX="16" maxX="3906" minY="16" maxY="2344" zoom="1.5625" >
+<CONNECTOR type="5102" id="141" index="0" uid="1146a1cf-2f3c-4f6a-9b58-131f269eed11" >
+<cdparam x="359" y="240" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="140" />
+<P1  x="359" y="240" id="175" />
+<P2  x="359" y="309" id="187" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="139" index="9" uid="c3a05878-d247-4b3b-b344-d32b2ad13ad7" >
+<father id="141" num="0" />
+<cdparam x="379" y="240" />
+<sizeparam width="119" height="48" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="135" />
+<TGConnectingPoint num="1" id="136" />
+<TGConnectingPoint num="2" id="137" />
+<TGConnectingPoint num="3" id="138" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="p = make(x,y)" enabled="true"/>
+<actions value="x = getx(p)" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="148" index="1" uid="1f01956e-7a84-47df-9fd9-f7a45d1e5f4c" >
+<cdparam x="172" y="610" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="147" />
+<P1  x="359" y="446" id="164" />
+<P2  x="359" y="493" id="185" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="146" index="10" uid="de96ca94-86cb-4bf3-b63e-421a93ccfc67" >
+<father id="148" num="0" />
+<cdparam x="172" y="668" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="142" />
+<TGConnectingPoint num="1" id="143" />
+<TGConnectingPoint num="2" id="144" />
+<TGConnectingPoint num="3" id="145" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="155" index="2" uid="1a1f75f0-3055-4d7a-aa5a-4a70634e3484" >
+<cdparam x="278" y="537" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="154" />
+<P1  x="359" y="354" id="188" />
+<P2  x="359" y="401" id="163" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="153" index="11" uid="14ed42f2-4c94-4e0a-9a05-d5bc511d1aa5" >
+<father id="155" num="0" />
+<cdparam x="378" y="350" />
+<sizeparam width="107" height="48" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="149" />
+<TGConnectingPoint num="1" id="150" />
+<TGConnectingPoint num="2" id="151" />
+<TGConnectingPoint num="3" id="152" />
+<extraparam>
+<guard value="[p.x&gt;4 ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="foo(b,p,x)" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="162" index="3" uid="833ce51f-ce8d-402a-819a-526a0071f83a" >
+<cdparam x="356" y="181" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="3125" maxHeight="3125" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="161" />
+<P1  x="359" y="74" id="190" />
+<P2  x="359" y="195" id="174" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="160" index="12" uid="dd687934-2033-4ae7-a9a0-36d732978073" >
+<father id="162" num="0" />
+<cdparam x="380" y="75" />
+<sizeparam width="112" height="94" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="3906" minY="10" maxY="2343" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="156" />
+<TGConnectingPoint num="1" id="157" />
+<TGConnectingPoint num="2" id="158" />
+<TGConnectingPoint num="3" id="159" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="1" enabled="true"/>
+<afterMax value="p.x" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="x = 1" enabled="true"/>
+<actions value="b = true" enabled="true"/>
+<actions value="p.x = x" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5104" id="173" index="4" uid="507ab36b-12af-40a9-b4d3-d1687f4ee635" >
+<cdparam x="303" y="408" />
+<sizeparam width="113" height="31" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="in0(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="163" />
+<TGConnectingPoint num="1" id="164" />
+<TGConnectingPoint num="2" id="165" />
+<TGConnectingPoint num="3" id="166" />
+<TGConnectingPoint num="4" id="167" />
+<TGConnectingPoint num="5" id="168" />
+<TGConnectingPoint num="6" id="169" />
+<TGConnectingPoint num="7" id="170" />
+<TGConnectingPoint num="8" id="171" />
+<TGConnectingPoint num="9" id="172" />
+</COMPONENT>
+
+<COMPONENT type="5103" id="184" index="5" uid="83bfdfcd-2185-424c-ad19-260ec86acd32" >
+<cdparam x="301" y="202" />
+<sizeparam width="116" height="31" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="out0(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="174" />
+<TGConnectingPoint num="1" id="175" />
+<TGConnectingPoint num="2" id="176" />
+<TGConnectingPoint num="3" id="177" />
+<TGConnectingPoint num="4" id="178" />
+<TGConnectingPoint num="5" id="179" />
+<TGConnectingPoint num="6" id="180" />
+<TGConnectingPoint num="7" id="181" />
+<TGConnectingPoint num="8" id="182" />
+<TGConnectingPoint num="9" id="183" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="186" index="6" uid="4c83d303-bd2a-4705-9638-d3da5a6d30ba" >
+<cdparam x="344" y="500" />
+<sizeparam width="31" height="31" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="3906" minY="16" maxY="2344" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="185" />
+</COMPONENT>
+
+<COMPONENT type="5108" id="189" index="7" uid="c8fc7cc9-d99c-4e2d-b466-4e440c0ba0d7" >
+<cdparam x="261" y="316" />
+<sizeparam width="196" height="31" minWidth="46" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="TGComponent" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="187" />
+<TGConnectingPoint num="1" id="188" />
+<extraparam>
+<Data variable="x" minValue="0" maxValue="p.y" functionId="0" extraAttribute1="" extraAttribute2="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="191" index="8" uid="02d7e1f1-28a4-4403-9e64-d6a4786cea7d" >
+<cdparam x="348" y="44" />
+<sizeparam width="23" height="23" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="190" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B1" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
+<COMPONENT type="5100" id="193" index="0" uid="5ee8db59-2cb6-4210-9cac-0363ba606b88" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="192" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="B1_0" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
+<CONNECTOR type="5102" id="206" index="0" uid="74d4d087-22e6-4735-a473-2b777a473eee" >
+<cdparam x="519" y="439" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1280" maxHeight="1280" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="202" />
+<TGConnectingPoint num="1" id="203" />
+<TGConnectingPoint num="2" id="204" />
+<TGConnectingPoint num="3" id="205" />
+<P1  x="484" y="427" id="277" />
+<P2  x="404" y="223" id="386" />
+<Point x="484" y="439" />
+<Point x="535" y="439" />
+<Point x="535" y="223" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="194" index="19" uid="36a4768a-9652-43bb-845d-209be2c965da" >
+<father id="206" num="0" />
+<cdparam x="484" y="439" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="2499" minY="16" maxY="1500" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="195" index="20" uid="39ef4810-055d-4eaf-a409-784ef6b1a786" >
+<father id="206" num="1" />
+<cdparam x="535" y="439" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="2499" minY="16" maxY="1500" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="196" index="21" uid="026cf268-175f-4163-a255-750c9c778d1d" >
+<father id="206" num="2" />
+<cdparam x="535" y="223" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="16" maxX="2499" minY="16" maxY="1500" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="201" index="22" uid="7270605d-c970-425f-8bf8-b5065cf75ec2" >
+<father id="206" num="3" />
+<cdparam x="438" y="311" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="2499" minY="16" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="197" />
+<TGConnectingPoint num="1" id="198" />
+<TGConnectingPoint num="2" id="199" />
+<TGConnectingPoint num="3" id="200" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="213" index="1" uid="928bb940-f1ee-436c-9f17-4857b6f782aa" >
+<cdparam x="484" y="373" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1280" maxHeight="1280" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="212" />
+<P1  x="485" y="373" id="329" />
+<P2  x="484" y="397" id="276" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="211" index="23" uid="0213b0ca-9329-414a-80ad-7921a4d9583b" >
+<father id="213" num="0" />
+<cdparam x="501" y="391" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="2499" minY="16" maxY="1500" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="207" />
+<TGConnectingPoint num="1" id="208" />
+<TGConnectingPoint num="2" id="209" />
+<TGConnectingPoint num="3" id="210" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="226" index="2" uid="bc2e2186-ed41-4917-b20c-6144ac1bf4d7" >
+<cdparam x="429" y="424" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="222" />
+<TGConnectingPoint num="1" id="223" />
+<TGConnectingPoint num="2" id="224" />
+<TGConnectingPoint num="3" id="225" />
+<P1  x="410" y="428" id="288" />
+<P2  x="398" y="348" id="301" />
+<Point x="409" y="441" />
+<Point x="366" y="441" />
+<Point x="366" y="348" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="214" index="24" uid="0de4328e-37e4-435d-81e5-d1d840c7b967" >
+<father id="226" num="0" />
+<cdparam x="409" y="441" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="215" index="25" uid="4cdf03f5-ab6b-4197-961f-5725ef18f4c2" >
+<father id="226" num="1" />
+<cdparam x="366" y="441" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="216" index="26" uid="c81192a6-0500-4f55-b09a-6458263194a2" >
+<father id="226" num="2" />
+<cdparam x="366" y="348" />
+<sizeparam width="8" height="8" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="point " value="null" />
+<new d="false" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="221" index="27" uid="fe9df050-f3a4-40b9-be8f-2206708a7e69" >
+<father id="226" num="3" />
+<cdparam x="413" y="386" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="217" />
+<TGConnectingPoint num="1" id="218" />
+<TGConnectingPoint num="2" id="219" />
+<TGConnectingPoint num="3" id="220" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="233" index="3" uid="fbada9ae-ff5e-4412-920c-379b7fa44bea" >
+<cdparam x="422" y="373" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="232" />
+<P1  x="410" y="373" id="326" />
+<P2  x="410" y="398" id="287" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="231" index="28" uid="7a339b9b-cfe9-41af-9206-3daa79b45745" >
+<father id="233" num="0" />
+<cdparam x="425" y="384" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="227" />
+<TGConnectingPoint num="1" id="228" />
+<TGConnectingPoint num="2" id="229" />
+<TGConnectingPoint num="3" id="230" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="240" index="4" uid="90c7cded-4725-4883-8841-04e2104531d6" >
+<cdparam x="397" y="278" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="239" />
+<P1  x="409" y="301" id="372" />
+<P2  x="410" y="323" id="314" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="238" index="29" uid="2b987670-9d6b-4c27-96f4-d6b309ccfb2e" >
+<father id="240" num="0" />
+<cdparam x="396" y="295" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="234" />
+<TGConnectingPoint num="1" id="235" />
+<TGConnectingPoint num="2" id="236" />
+<TGConnectingPoint num="3" id="237" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="247" index="5" uid="6fa3f361-9845-4556-8ba4-a3a14d3111d5" >
+<cdparam x="358" y="209" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="246" />
+<P1  x="391" y="248" id="413" />
+<P2  x="409" y="271" id="371" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="245" index="30" uid="3df7dee5-1456-4a30-9e72-50704be7af2b" >
+<father id="247" num="0" />
+<cdparam x="377" y="228" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="241" />
+<TGConnectingPoint num="1" id="242" />
+<TGConnectingPoint num="2" id="243" />
+<TGConnectingPoint num="3" id="244" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="254" index="6" uid="08f30cae-8315-4af1-ba7e-c7b1d755e30f" >
+<cdparam x="295" y="209" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="253" />
+<P1  x="316" y="248" id="410" />
+<P2  x="298" y="271" id="468" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="252" index="31" uid="50d6509f-dd5f-4b32-9fa5-cf9bf9197a97" >
+<father id="254" num="0" />
+<cdparam x="216" y="227" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="248" />
+<TGConnectingPoint num="1" id="249" />
+<TGConnectingPoint num="2" id="250" />
+<TGConnectingPoint num="3" id="251" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="261" index="7" uid="5c51932f-46f4-459a-9797-88581a319459" >
+<cdparam x="292" y="226" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="260" />
+<P1  x="298" y="299" id="469" />
+<P2  x="298" y="345" id="455" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="259" index="32" uid="ea67405d-8c98-415c-9bf0-24fdf4cb37c4" >
+<father id="261" num="0" />
+<cdparam x="292" y="242" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2499" minY="10" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="255" />
+<TGConnectingPoint num="1" id="256" />
+<TGConnectingPoint num="2" id="257" />
+<TGConnectingPoint num="3" id="258" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="268" index="8" uid="9fbaf0a3-016c-40cc-952d-2d93b5149e83" >
+<cdparam x="292" y="163" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1280" maxHeight="1280" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="267" />
+<P1  x="353" y="178" id="479" />
+<P2  x="354" y="198" id="383" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="266" index="33" uid="ad8b960b-ba33-44a2-9bb8-9ea351468048" >
+<father id="268" num="0" />
+<cdparam x="288" y="112" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="2497" minY="16" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="262" />
+<TGConnectingPoint num="1" id="263" />
+<TGConnectingPoint num="2" id="264" />
+<TGConnectingPoint num="3" id="265" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="275" index="9" uid="fd4f056d-39b0-4db4-b956-fe6fd3013328" >
+<cdparam x="298" y="285" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1280" maxHeight="1280" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<TGConnectingPoint num="0" id="274" />
+<P1  x="298" y="373" id="456" />
+<P2  x="298" y="423" id="466" />
+<AutomaticDrawing  data="true" />
+<new d="false" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="273" index="34" uid="80004114-d230-4100-8abd-0089257c3b74" >
+<father id="275" num="0" />
+<cdparam x="297" y="305" />
+<sizeparam width="50" height="25" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="16" maxX="2497" minY="16" maxY="1499" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<new d="false" />
+<TGConnectingPoint num="0" id="269" />
+<TGConnectingPoint num="1" id="270" />
+<TGConnectingPoint num="2" id="271" />
+<TGConnectingPoint num="3" id="272" />
+<extraparam>
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<extraDelay1 value="" enabled="true"/>
+<extraDelay2 value="" enabled="true"/>
+<delayDistributionLaw value="0" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="5111" id="286" index="10" uid="62c92403-5ee8-445e-bf96-3e600f59a4b9" >
+<cdparam x="451" y="402" />
+<sizeparam width="66" height="20" minWidth="30" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Reset timer" value="expire(t)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="276" />
+<TGConnectingPoint num="1" id="277" />
+<TGConnectingPoint num="2" id="278" />
+<TGConnectingPoint num="3" id="279" />
+<TGConnectingPoint num="4" id="280" />
+<TGConnectingPoint num="5" id="281" />
+<TGConnectingPoint num="6" id="282" />
+<TGConnectingPoint num="7" id="283" />
+<TGConnectingPoint num="8" id="284" />
+<TGConnectingPoint num="9" id="285" />
+</COMPONENT>
+
+<COMPONENT type="5110" id="297" index="11" uid="491c316f-9dd9-4849-979f-c56b1fd77a3c" >
+<cdparam x="385" y="403" />
+<sizeparam width="51" height="20" minWidth="40" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Reset timer" value="reset(t)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="287" />
+<TGConnectingPoint num="1" id="288" />
+<TGConnectingPoint num="2" id="289" />
+<TGConnectingPoint num="3" id="290" />
+<TGConnectingPoint num="4" id="291" />
+<TGConnectingPoint num="5" id="292" />
+<TGConnectingPoint num="6" id="293" />
+<TGConnectingPoint num="7" id="294" />
+<TGConnectingPoint num="8" id="295" />
+<TGConnectingPoint num="9" id="296" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="370" index="12" uid="153cbc7a-51c9-4403-b1fa-af4ed8ae661e" >
+<cdparam x="398" y="323" />
+<sizeparam width="100" height="50" minWidth="54" minHeight="40" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state" value="state2" />
+<new d="false" />
+<TGConnectingPoint num="0" id="298" />
+<TGConnectingPoint num="1" id="299" />
+<TGConnectingPoint num="2" id="300" />
+<TGConnectingPoint num="3" id="301" />
+<TGConnectingPoint num="4" id="302" />
+<TGConnectingPoint num="5" id="303" />
+<TGConnectingPoint num="6" id="304" />
+<TGConnectingPoint num="7" id="305" />
+<TGConnectingPoint num="8" id="306" />
+<TGConnectingPoint num="9" id="307" />
+<TGConnectingPoint num="10" id="308" />
+<TGConnectingPoint num="11" id="309" />
+<TGConnectingPoint num="12" id="310" />
+<TGConnectingPoint num="13" id="311" />
+<TGConnectingPoint num="14" id="312" />
+<TGConnectingPoint num="15" id="313" />
+<TGConnectingPoint num="16" id="314" />
+<TGConnectingPoint num="17" id="315" />
+<TGConnectingPoint num="18" id="316" />
+<TGConnectingPoint num="19" id="317" />
+<TGConnectingPoint num="20" id="318" />
+<TGConnectingPoint num="21" id="319" />
+<TGConnectingPoint num="22" id="320" />
+<TGConnectingPoint num="23" id="321" />
+<TGConnectingPoint num="24" id="322" />
+<TGConnectingPoint num="25" id="323" />
+<TGConnectingPoint num="26" id="324" />
+<TGConnectingPoint num="27" id="325" />
+<TGConnectingPoint num="28" id="326" />
+<TGConnectingPoint num="29" id="327" />
+<TGConnectingPoint num="30" id="328" />
+<TGConnectingPoint num="31" id="329" />
+<TGConnectingPoint num="32" id="330" />
+<TGConnectingPoint num="33" id="331" />
+<TGConnectingPoint num="34" id="332" />
+<TGConnectingPoint num="35" id="333" />
+<TGConnectingPoint num="36" id="334" />
+<TGConnectingPoint num="37" id="335" />
+<TGConnectingPoint num="38" id="336" />
+<TGConnectingPoint num="39" id="337" />
+<TGConnectingPoint num="40" id="338" />
+<TGConnectingPoint num="41" id="339" />
+<TGConnectingPoint num="42" id="340" />
+<TGConnectingPoint num="43" id="341" />
+<TGConnectingPoint num="44" id="342" />
+<TGConnectingPoint num="45" id="343" />
+<TGConnectingPoint num="46" id="344" />
+<TGConnectingPoint num="47" id="345" />
+<TGConnectingPoint num="48" id="346" />
+<TGConnectingPoint num="49" id="347" />
+<TGConnectingPoint num="50" id="348" />
+<TGConnectingPoint num="51" id="349" />
+<TGConnectingPoint num="52" id="350" />
+<TGConnectingPoint num="53" id="351" />
+<TGConnectingPoint num="54" id="352" />
+<TGConnectingPoint num="55" id="353" />
+<TGConnectingPoint num="56" id="354" />
+<TGConnectingPoint num="57" id="355" />
+<TGConnectingPoint num="58" id="356" />
+<TGConnectingPoint num="59" id="357" />
+<TGConnectingPoint num="60" id="358" />
+<TGConnectingPoint num="61" id="359" />
+<TGConnectingPoint num="62" id="360" />
+<TGConnectingPoint num="63" id="361" />
+<TGConnectingPoint num="64" id="362" />
+<TGConnectingPoint num="65" id="363" />
+<TGConnectingPoint num="66" id="364" />
+<TGConnectingPoint num="67" id="365" />
+<TGConnectingPoint num="68" id="366" />
+<TGConnectingPoint num="69" id="367" />
+<TGConnectingPoint num="70" id="368" />
+<TGConnectingPoint num="71" id="369" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5109" id="381" index="13" uid="83cdd050-a535-466f-a3bc-8910fe1b1c16" >
+<cdparam x="364" y="276" />
+<sizeparam width="91" height="20" minWidth="40" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Set timer" value="setTimer(t,10)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="371" />
+<TGConnectingPoint num="1" id="372" />
+<TGConnectingPoint num="2" id="373" />
+<TGConnectingPoint num="3" id="374" />
+<TGConnectingPoint num="4" id="375" />
+<TGConnectingPoint num="5" id="376" />
+<TGConnectingPoint num="6" id="377" />
+<TGConnectingPoint num="7" id="378" />
+<TGConnectingPoint num="8" id="379" />
+<TGConnectingPoint num="9" id="380" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="454" index="14" uid="2d76bc2d-5cb6-43ee-8143-f800f7bc2c0f" >
+<cdparam x="304" y="198" />
+<sizeparam width="100" height="50" minWidth="54" minHeight="40" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="state" value="state1" />
+<new d="false" />
+<TGConnectingPoint num="0" id="382" />
+<TGConnectingPoint num="1" id="383" />
+<TGConnectingPoint num="2" id="384" />
+<TGConnectingPoint num="3" id="385" />
+<TGConnectingPoint num="4" id="386" />
+<TGConnectingPoint num="5" id="387" />
+<TGConnectingPoint num="6" id="388" />
+<TGConnectingPoint num="7" id="389" />
+<TGConnectingPoint num="8" id="390" />
+<TGConnectingPoint num="9" id="391" />
+<TGConnectingPoint num="10" id="392" />
+<TGConnectingPoint num="11" id="393" />
+<TGConnectingPoint num="12" id="394" />
+<TGConnectingPoint num="13" id="395" />
+<TGConnectingPoint num="14" id="396" />
+<TGConnectingPoint num="15" id="397" />
+<TGConnectingPoint num="16" id="398" />
+<TGConnectingPoint num="17" id="399" />
+<TGConnectingPoint num="18" id="400" />
+<TGConnectingPoint num="19" id="401" />
+<TGConnectingPoint num="20" id="402" />
+<TGConnectingPoint num="21" id="403" />
+<TGConnectingPoint num="22" id="404" />
+<TGConnectingPoint num="23" id="405" />
+<TGConnectingPoint num="24" id="406" />
+<TGConnectingPoint num="25" id="407" />
+<TGConnectingPoint num="26" id="408" />
+<TGConnectingPoint num="27" id="409" />
+<TGConnectingPoint num="28" id="410" />
+<TGConnectingPoint num="29" id="411" />
+<TGConnectingPoint num="30" id="412" />
+<TGConnectingPoint num="31" id="413" />
+<TGConnectingPoint num="32" id="414" />
+<TGConnectingPoint num="33" id="415" />
+<TGConnectingPoint num="34" id="416" />
+<TGConnectingPoint num="35" id="417" />
+<TGConnectingPoint num="36" id="418" />
+<TGConnectingPoint num="37" id="419" />
+<TGConnectingPoint num="38" id="420" />
+<TGConnectingPoint num="39" id="421" />
+<TGConnectingPoint num="40" id="422" />
+<TGConnectingPoint num="41" id="423" />
+<TGConnectingPoint num="42" id="424" />
+<TGConnectingPoint num="43" id="425" />
+<TGConnectingPoint num="44" id="426" />
+<TGConnectingPoint num="45" id="427" />
+<TGConnectingPoint num="46" id="428" />
+<TGConnectingPoint num="47" id="429" />
+<TGConnectingPoint num="48" id="430" />
+<TGConnectingPoint num="49" id="431" />
+<TGConnectingPoint num="50" id="432" />
+<TGConnectingPoint num="51" id="433" />
+<TGConnectingPoint num="52" id="434" />
+<TGConnectingPoint num="53" id="435" />
+<TGConnectingPoint num="54" id="436" />
+<TGConnectingPoint num="55" id="437" />
+<TGConnectingPoint num="56" id="438" />
+<TGConnectingPoint num="57" id="439" />
+<TGConnectingPoint num="58" id="440" />
+<TGConnectingPoint num="59" id="441" />
+<TGConnectingPoint num="60" id="442" />
+<TGConnectingPoint num="61" id="443" />
+<TGConnectingPoint num="62" id="444" />
+<TGConnectingPoint num="63" id="445" />
+<TGConnectingPoint num="64" id="446" />
+<TGConnectingPoint num="65" id="447" />
+<TGConnectingPoint num="66" id="448" />
+<TGConnectingPoint num="67" id="449" />
+<TGConnectingPoint num="68" id="450" />
+<TGConnectingPoint num="69" id="451" />
+<TGConnectingPoint num="70" id="452" />
+<TGConnectingPoint num="71" id="453" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="465" index="15" uid="2defadde-3ad2-4986-8807-b8bca2d42df1" >
+<cdparam x="260" y="350" />
+<sizeparam width="76" height="18" minWidth="29" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Send signal" value="out1(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="455" />
+<TGConnectingPoint num="1" id="456" />
+<TGConnectingPoint num="2" id="457" />
+<TGConnectingPoint num="3" id="458" />
+<TGConnectingPoint num="4" id="459" />
+<TGConnectingPoint num="5" id="460" />
+<TGConnectingPoint num="6" id="461" />
+<TGConnectingPoint num="7" id="462" />
+<TGConnectingPoint num="8" id="463" />
+<TGConnectingPoint num="9" id="464" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="467" index="16" uid="3320dfa8-dc96-4387-a94f-25c3a07759ae" >
+<cdparam x="289" y="428" />
+<sizeparam width="18" height="18" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="stop state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="466" />
+</COMPONENT>
+
+<COMPONENT type="5104" id="478" index="17" uid="6223a7dd-5783-455b-b937-fbe533f02445" >
+<cdparam x="261" y="276" />
+<sizeparam width="74" height="18" minWidth="39" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="Receive signal" value="in1(x, p, b)" />
+<new d="false" />
+<TGConnectingPoint num="0" id="468" />
+<TGConnectingPoint num="1" id="469" />
+<TGConnectingPoint num="2" id="470" />
+<TGConnectingPoint num="3" id="471" />
+<TGConnectingPoint num="4" id="472" />
+<TGConnectingPoint num="5" id="473" />
+<TGConnectingPoint num="6" id="474" />
+<TGConnectingPoint num="7" id="475" />
+<TGConnectingPoint num="8" id="476" />
+<TGConnectingPoint num="9" id="477" />
+</COMPONENT>
+
+<COMPONENT type="5100" id="480" index="18" uid="29fdf48a-fe0e-45e1-b3e2-a04dbeaf94de" >
+<cdparam x="347" y="160" />
+<sizeparam width="13" height="13" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<new d="false" />
+<TGConnectingPoint num="0" id="479" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+</Modeling>
+
+
+
+
+</TURTLEGMODELING>
\ No newline at end of file
-- 
GitLab