From 4dc5c64396411d22d95262ada9e8f7fd86f71d11 Mon Sep 17 00:00:00 2001
From: apvrille <ludovic.apvrille@eurecom.fr>
Date: Fri, 13 Jul 2018 10:21:53 +0200
Subject: [PATCH] Correcting bug: exception when stopping the diplodocus
 compilation process

---
 .idea/misc.xml                                |     2 +-
 modeling/AVATAR/testReq.xml                   |     6 +-
 modeling/DIPLODOCUS/SmartCardProtocol_sec.xml | 25670 ++++++++--------
 src/main/java/ui/MainGUI.java                 |     9 +-
 .../ui/window/JDialogSystemCGeneration.java   |     6 +-
 5 files changed, 12857 insertions(+), 12836 deletions(-)

diff --git a/.idea/misc.xml b/.idea/misc.xml
index 51e5191ed4..b755d8ca46 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -38,7 +38,7 @@
       <property name="caretWidth" class="java.lang.Integer" />
     </properties>
   </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="false" project-jdk-name="1.7" project-jdk-type="JavaSDK">
     <output url="file://$PROJECT_DIR$/build" />
   </component>
 </project>
\ No newline at end of file
diff --git a/modeling/AVATAR/testReq.xml b/modeling/AVATAR/testReq.xml
index 49014db7fc..0cdaa88b05 100644
--- a/modeling/AVATAR/testReq.xml
+++ b/modeling/AVATAR/testReq.xml
@@ -3282,7 +3282,7 @@
 </CONNECTOR><SUBCOMPONENT type="-1" id="1696" >
 <father id="1698" num="0" />
 <cdparam x="380" y="228" />
-<sizeparam width="135" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<sizeparam width="149" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
@@ -3359,8 +3359,8 @@
 </SUBCOMPONENT>
 
 <COMPONENT type="5103" id="1723" >
-<cdparam x="340" y="179" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="338" y="179" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="push()" />
diff --git a/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml b/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
index 1676feaf83..6b6979b24c 100644
--- a/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
+++ b/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
@@ -314,7 +314,7 @@
 <textline data="and its Interface shall be confidential" />
 <kind data="Confidentiality" />
 <criticality data="High" />
-<reqType data="SecurityRequirement" />
+<reqType data="SecurityRequirement" color="-1773070" />
 <id data="0" />
 <satisfied data="false" />
 <verified data="false" />
@@ -347,16 +347,16 @@
 <cdparam x="535" y="347" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="556" y="347" id="299" />
-<P2  x="547" y="382" id="254" />
+<P1  x="556" y="321" id="355" />
+<P2  x="534" y="395" id="402" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="189" >
 <cdparam x="820" y="398" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="1025" y="497" id="396" />
-<P2  x="761" y="574" id="284" />
+<P1  x="1025" y="471" id="249" />
+<P2  x="761" y="548" id="370" />
 <Point x="887" y="577" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR><SUBCOMPONENT type="-1" id="188" >
@@ -372,192 +372,192 @@
 <cdparam x="568" y="323" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="710" y="403" id="282" />
-<P2  x="693" y="347" id="321" />
+<P1  x="710" y="403" id="372" />
+<P2  x="693" y="321" id="333" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="191" >
 <cdparam x="522" y="390" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="382" id="249" />
-<P2  x="466" y="335" id="228" />
+<P1  x="534" y="369" id="397" />
+<P2  x="453" y="322" id="236" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="192" >
 <cdparam x="409" y="124" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="401" y="83" id="226" />
-<P2  x="593" y="84" id="297" />
+<P1  x="401" y="83" id="238" />
+<P2  x="593" y="84" id="357" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="193" >
 <cdparam x="656" y="426" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="552" id="278" />
-<P2  x="969" y="495" id="382" />
+<P1  x="805" y="542" id="376" />
+<P2  x="969" y="474" id="263" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="194" >
 <cdparam x="656" y="400" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="519" id="276" />
-<P2  x="921" y="476" id="384" />
+<P1  x="805" y="509" id="378" />
+<P2  x="931" y="466" id="261" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="195" >
 <cdparam x="602" y="327" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="750" y="406" id="268" />
-<P2  x="828" y="375" id="348" />
+<P1  x="750" y="406" id="386" />
+<P2  x="841" y="362" id="291" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="196" >
 <cdparam x="689" y="292" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="854" y="375" id="352" />
-<P2  x="921" y="362" id="374" />
+<P1  x="841" y="388" id="295" />
+<P2  x="931" y="352" id="271" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="197" >
 <cdparam x="656" y="377" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="491" id="272" />
-<P2  x="921" y="453" id="376" />
+<P1  x="805" y="481" id="382" />
+<P2  x="931" y="443" id="269" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="198" >
 <cdparam x="656" y="351" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="458" id="274" />
-<P2  x="921" y="426" id="378" />
+<P1  x="805" y="448" id="380" />
+<P2  x="931" y="416" id="267" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="199" >
 <cdparam x="741" y="296" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="921" y="397" id="380" />
-<P2  x="816" y="429" id="270" />
+<P1  x="931" y="387" id="265" />
+<P2  x="805" y="419" id="384" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="200" >
 <cdparam x="735" y="260" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="918" y="330" id="372" />
-<P2  x="747" y="282" id="309" />
+<P1  x="931" y="317" id="273" />
+<P2  x="734" y="269" id="345" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="201" >
 <cdparam x="641" y="230" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="747" y="248" id="311" />
-<P2  x="918" y="291" id="370" />
+<P1  x="734" y="235" id="343" />
+<P2  x="931" y="278" id="275" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="202" >
 <cdparam x="641" y="195" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="747" y="203" id="313" />
-<P2  x="918" y="248" id="368" />
+<P1  x="734" y="190" id="341" />
+<P2  x="931" y="235" id="277" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="203" >
 <cdparam x="740" y="353" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="828" y="375" id="347" />
-<P2  x="747" y="314" id="315" />
+<P1  x="841" y="362" id="290" />
+<P2  x="734" y="301" id="339" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="204" >
 <cdparam x="460" y="270" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="303" id="305" />
-<P2  x="466" y="303" id="234" />
+<P1  x="534" y="290" id="349" />
+<P2  x="453" y="290" id="230" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="205" >
 <cdparam x="387" y="129" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="464" y="126" id="238" />
-<P2  x="524" y="126" id="317" />
+<P1  x="453" y="116" id="226" />
+<P2  x="534" y="116" id="337" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="206" >
 <cdparam x="389" y="200" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="466" y="215" id="232" />
-<P2  x="521" y="215" id="303" />
+<P1  x="453" y="202" id="232" />
+<P2  x="534" y="202" id="351" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="207" >
 <cdparam x="460" y="236" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="260" id="301" />
-<P2  x="466" y="260" id="230" />
+<P1  x="534" y="247" id="353" />
+<P2  x="453" y="247" id="234" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="208" >
 <cdparam x="389" y="163" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="Connector between ports" />
-<P1  x="466" y="169" id="236" />
-<P2  x="521" y="169" id="307" />
+<P1  x="453" y="156" id="228" />
+<P2  x="534" y="156" id="347" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="209" >
 <cdparam x="967" y="190" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="918" y="198" id="366" />
-<P2  x="747" y="124" id="295" />
+<P1  x="931" y="185" id="279" />
+<P2  x="734" y="111" id="359" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="210" >
 <cdparam x="1028" y="535" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="630" y="345" id="319" />
-<P2  x="669" y="406" id="280" />
+<P1  x="630" y="324" id="335" />
+<P2  x="669" y="406" id="374" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="211" >
 <cdparam x="1308" y="303" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1222" y="378" id="332" />
-<P2  x="1178" y="380" id="386" />
+<P1  x="1232" y="368" id="313" />
+<P2  x="1167" y="370" id="259" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="212" >
 <cdparam x="1172" y="437" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="415" id="388" />
-<P2  x="1222" y="413" id="334" />
+<P1  x="1167" y="405" id="257" />
+<P2  x="1232" y="403" id="311" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="126" id="215" >
 <cdparam x="1041" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="208" id="390" />
-<P2  x="1178" y="276" id="392" />
+<P1  x="1167" y="198" id="255" />
+<P2  x="1167" y="266" id="253" />
 <Point x="1227" y="207" />
 <Point x="1227" y="247" />
 <AutomaticDrawing  data="true" />
@@ -582,8 +582,8 @@
 <cdparam x="877" y="343" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="454" id="394" />
-<P2  x="1222" y="441" id="336" />
+<P1  x="1167" y="444" id="251" />
+<P2  x="1232" y="431" id="309" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <COMPONENT type="1205" id="225" >
@@ -631,15 +631,14 @@
 </COMPONENT>
 <SUBCOMPONENT type="1203" id="227" >
 <father id="248" num="0" />
-<reference id="184" />
-<cdparam x="388" y="83" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="443" y="116" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
+<infoparam name="TGComponent" value="Request activation" />
 <TGConnectingPoint num="0" id="226" />
 <extraparam>
-<Prop commName="reset, pTS, end" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -649,16 +648,16 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="229" >
 <father id="248" num="1" />
-<cdparam x="440" y="322" />
+<cdparam x="440" y="156" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="228" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -666,15 +665,14 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="231" >
 <father id="248" num="2" />
-<reference id="184" />
-<cdparam x="440" y="247" />
+<cdparam x="440" y="290" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
 <TGConnectingPoint num="0" id="230" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -692,7 +690,7 @@
 <infoparam name="TGComponent" value="Channel fromDtoSC" />
 <TGConnectingPoint num="0" id="232" />
 <extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="2" checkAuth="false" checkWeakAuthStatus="1" checkStrongAuthStatus="1" />
+<Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -702,14 +700,15 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="235" >
 <father id="248" num="4" />
-<cdparam x="440" y="290" />
+<reference id="184" />
+<cdparam x="440" y="247" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
 <TGConnectingPoint num="0" id="234" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -719,16 +718,16 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="237" >
 <father id="248" num="5" />
-<cdparam x="440" y="156" />
+<cdparam x="440" y="322" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event data_Ready" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
 <TGConnectingPoint num="0" id="236" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -736,14 +735,15 @@
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="239" >
 <father id="248" num="6" />
-<cdparam x="443" y="116" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<reference id="184" />
+<cdparam x="388" y="83" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
-<infoparam name="TGComponent" value="Request activation" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
 <TGConnectingPoint num="0" id="238" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="reset, pTS, end" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -770,61 +770,61 @@
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1201" id="267" >
+<SUBCOMPONENT type="1200" id="332" >
 <father id="424" num="0" />
-<cdparam x="521" y="369" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdparam x="841" y="133" />
+<sizeparam width="570" height="485" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="922" minY="-13" maxY="517" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="249" />
-<TGConnectingPoint num="1" id="250" />
-<TGConnectingPoint num="2" id="251" />
-<TGConnectingPoint num="3" id="252" />
-<TGConnectingPoint num="4" id="253" />
-<TGConnectingPoint num="5" id="254" />
-<TGConnectingPoint num="6" id="255" />
-<TGConnectingPoint num="7" id="256" />
-<TGConnectingPoint num="8" id="257" />
-<TGConnectingPoint num="9" id="258" />
-<TGConnectingPoint num="10" id="259" />
-<TGConnectingPoint num="11" id="260" />
-<TGConnectingPoint num="12" id="261" />
-<TGConnectingPoint num="13" id="262" />
-<TGConnectingPoint num="14" id="263" />
-<TGConnectingPoint num="15" id="264" />
-<TGConnectingPoint num="16" id="265" />
-<TGConnectingPoint num="17" id="266" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="294" >
-<father id="424" num="1" />
-<cdparam x="565" y="416" />
-<sizeparam width="240" height="145" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="0" maxX="365" minY="0" maxY="45" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="324" />
+<TGConnectingPoint num="1" id="325" />
+<TGConnectingPoint num="2" id="326" />
+<TGConnectingPoint num="3" id="327" />
+<TGConnectingPoint num="4" id="328" />
+<TGConnectingPoint num="5" id="329" />
+<TGConnectingPoint num="6" id="330" />
+<TGConnectingPoint num="7" id="331" />
+<extraparam>
+<info hiddeni="false" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="289" >
+<father id="332" num="0" />
+<cdparam x="931" y="167" />
+<sizeparam width="236" height="317" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="286" />
-<TGConnectingPoint num="1" id="287" />
-<TGConnectingPoint num="2" id="288" />
-<TGConnectingPoint num="3" id="289" />
-<TGConnectingPoint num="4" id="290" />
-<TGConnectingPoint num="5" id="291" />
-<TGConnectingPoint num="6" id="292" />
-<TGConnectingPoint num="7" id="293" />
+<cdrectangleparam minX="0" maxX="334" minY="0" maxY="168" />
+<infoparam name="TGComponent" value="TCPIP" />
+<TGConnectingPoint num="0" id="281" />
+<TGConnectingPoint num="1" id="282" />
+<TGConnectingPoint num="2" id="283" />
+<TGConnectingPoint num="3" id="284" />
+<TGConnectingPoint num="4" id="285" />
+<TGConnectingPoint num="5" id="286" />
+<TGConnectingPoint num="6" id="287" />
+<TGConnectingPoint num="7" id="288" />
 <extraparam>
 <Data isAttacker="No" />
+<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
+<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
+<Attribute access="2" id="i" value="" type="0" typeOther="" />
+<Attribute access="2" id="j" value="" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="269" >
-<father id="294" num="0" />
-<cdparam x="740" y="406" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="250" >
+<father id="289" num="0" />
+<cdparam x="1012" y="471" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="268" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="Primitive port" value="Event opened" />
+<TGConnectingPoint num="0" id="249" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="opened" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -832,16 +832,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="271" >
-<father id="294" num="1" />
-<cdparam x="795" y="419" />
+<SUBCOMPONENT type="1203" id="252" >
+<father id="289" num="1" />
+<cdparam x="1157" y="444" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="270" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="251" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -849,16 +849,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="273" >
-<father id="294" num="2" />
-<cdparam x="795" y="481" />
+<SUBCOMPONENT type="1203" id="254" >
+<father id="289" num="2" />
+<cdparam x="1157" y="266" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="272" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="253" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -866,16 +866,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="275" >
-<father id="294" num="3" />
-<cdparam x="795" y="448" />
+<SUBCOMPONENT type="1203" id="256" >
+<father id="289" num="3" />
+<cdparam x="1157" y="198" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="274" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="255" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -883,16 +883,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="277" >
-<father id="294" num="4" />
-<cdparam x="795" y="509" />
+<SUBCOMPONENT type="1203" id="258" >
+<father id="289" num="4" />
+<cdparam x="1157" y="405" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="276" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="257" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -900,16 +900,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="279" >
-<father id="294" num="5" />
-<cdparam x="795" y="542" />
+<SUBCOMPONENT type="1203" id="260" >
+<father id="289" num="5" />
+<cdparam x="1157" y="370" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="278" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="259" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -917,16 +917,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="281" >
-<father id="294" num="6" />
-<cdparam x="659" y="406" />
+<SUBCOMPONENT type="1203" id="262" >
+<father id="289" num="6" />
+<cdparam x="921" y="466" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="280" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="261" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -934,16 +934,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="283" >
-<father id="294" num="7" />
-<cdparam x="697" y="403" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="264" >
+<father id="289" num="7" />
+<cdparam x="959" y="474" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
-<infoparam name="Primitive port" value="Event connectionOpened" />
-<TGConnectingPoint num="0" id="282" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="263" />
 <extraparam>
-<Prop commName="connectionOpened" commType="1" origin="true" finite="true" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -951,16 +951,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="285" >
-<father id="294" num="8" />
-<cdparam x="748" y="548" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="266" >
+<father id="289" num="8" />
+<cdparam x="921" y="387" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
-<infoparam name="Primitive port" value="Event opened" />
-<TGConnectingPoint num="0" id="284" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="265" />
 <extraparam>
-<Prop commName="opened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -968,43 +968,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="331" >
-<father id="424" num="2" />
-<cdparam x="534" y="97" />
-<sizeparam width="200" height="237" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="323" />
-<TGConnectingPoint num="1" id="324" />
-<TGConnectingPoint num="2" id="325" />
-<TGConnectingPoint num="3" id="326" />
-<TGConnectingPoint num="4" id="327" />
-<TGConnectingPoint num="5" id="328" />
-<TGConnectingPoint num="6" id="329" />
-<TGConnectingPoint num="7" id="330" />
-<extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="" type="4" typeOther="" />
-<Attribute access="2" id="i" value="0" type="0" typeOther="" />
-<Attribute access="2" id="j" value="0" type="0" typeOther="" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
-<Attribute access="2" id="t" value="" type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="296" >
-<father id="331" num="0" />
-<cdparam x="721" y="111" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="268" >
+<father id="289" num="9" />
+<cdparam x="921" y="416" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="295" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="267" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1012,17 +985,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="298" >
-<father id="331" num="1" />
-<reference id="184" />
-<cdparam x="580" y="84" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="270" >
+<father id="289" num="10" />
+<cdparam x="921" y="443" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event reset, pTS, end" />
-<TGConnectingPoint num="0" id="297" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="269" />
 <extraparam>
-<Prop commName="reset, pTS, end" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1030,16 +1002,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="300" >
-<father id="331" num="2" />
-<cdparam x="543" y="321" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="272" >
+<father id="289" num="11" />
+<cdparam x="921" y="352" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="299" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="271" />
 <extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1047,17 +1019,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="302" >
-<father id="331" num="3" />
-<reference id="184" />
-<cdparam x="521" y="247" />
+<SUBCOMPONENT type="1203" id="274" >
+<father id="289" num="12" />
+<cdparam x="918" y="317" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="301" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="273" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="2" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1065,17 +1036,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="304" >
-<father id="331" num="4" />
-<reference id="184" />
-<cdparam x="521" y="202" />
+<SUBCOMPONENT type="1203" id="276" >
+<father id="289" num="13" />
+<cdparam x="918" y="278" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="303" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="275" />
 <extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="null" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1083,16 +1053,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="306" >
-<father id="331" num="5" />
-<cdparam x="521" y="290" />
+<SUBCOMPONENT type="1203" id="278" >
+<father id="289" num="14" />
+<cdparam x="918" y="235" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="305" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="277" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1100,33 +1070,79 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="308" >
-<father id="331" num="6" />
-<cdparam x="521" y="156" />
+<SUBCOMPONENT type="1203" id="280" >
+<father id="289" num="15" />
+<cdparam x="918" y="185" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="307" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="279" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
+<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="310" >
-<father id="331" num="7" />
-<cdparam x="721" y="269" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1201" id="308" >
+<father id="332" num="1" />
+<cdparam x="828" y="362" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
+<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="290" />
+<TGConnectingPoint num="1" id="291" />
+<TGConnectingPoint num="2" id="292" />
+<TGConnectingPoint num="3" id="293" />
+<TGConnectingPoint num="4" id="294" />
+<TGConnectingPoint num="5" id="295" />
+<TGConnectingPoint num="6" id="296" />
+<TGConnectingPoint num="7" id="297" />
+<TGConnectingPoint num="8" id="298" />
+<TGConnectingPoint num="9" id="299" />
+<TGConnectingPoint num="10" id="300" />
+<TGConnectingPoint num="11" id="301" />
+<TGConnectingPoint num="12" id="302" />
+<TGConnectingPoint num="13" id="303" />
+<TGConnectingPoint num="14" id="304" />
+<TGConnectingPoint num="15" id="305" />
+<TGConnectingPoint num="16" id="306" />
+<TGConnectingPoint num="17" id="307" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="323" >
+<father id="332" num="2" />
+<cdparam x="1232" y="328" />
+<sizeparam width="140" height="141" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="430" minY="0" maxY="344" />
+<infoparam name="TGComponent" value="Timer" />
+<TGConnectingPoint num="0" id="315" />
+<TGConnectingPoint num="1" id="316" />
+<TGConnectingPoint num="2" id="317" />
+<TGConnectingPoint num="3" id="318" />
+<TGConnectingPoint num="4" id="319" />
+<TGConnectingPoint num="5" id="320" />
+<TGConnectingPoint num="6" id="321" />
+<TGConnectingPoint num="7" id="322" />
+<extraparam>
+<Data isAttacker="No" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="310" >
+<father id="323" num="0" />
+<cdparam x="1222" y="431" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event stop" />
 <TGConnectingPoint num="0" id="309" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1135,15 +1151,15 @@
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="312" >
-<father id="331" num="8" />
-<cdparam x="721" y="235" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="323" num="1" />
+<cdparam x="1222" y="403" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Request req_Timer" />
 <TGConnectingPoint num="0" id="311" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1152,15 +1168,15 @@
 </extraparam>
 </SUBCOMPONENT>
 <SUBCOMPONENT type="1203" id="314" >
-<father id="331" num="9" />
-<cdparam x="721" y="190" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="323" num="2" />
+<cdparam x="1222" y="368" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event receive" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event timeOut" />
 <TGConnectingPoint num="0" id="313" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1168,16 +1184,43 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="316" >
-<father id="331" num="10" />
-<cdparam x="721" y="301" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="369" >
+<father id="424" num="1" />
+<cdparam x="534" y="97" />
+<sizeparam width="200" height="237" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="361" />
+<TGConnectingPoint num="1" id="362" />
+<TGConnectingPoint num="2" id="363" />
+<TGConnectingPoint num="3" id="364" />
+<TGConnectingPoint num="4" id="365" />
+<TGConnectingPoint num="5" id="366" />
+<TGConnectingPoint num="6" id="367" />
+<TGConnectingPoint num="7" id="368" />
+<extraparam>
+<Data isAttacker="No" />
+<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="" type="4" typeOther="" />
+<Attribute access="2" id="i" value="0" type="0" typeOther="" />
+<Attribute access="2" id="j" value="0" type="0" typeOther="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+<Attribute access="2" id="t" value="" type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="334" >
+<father id="369" num="0" />
+<cdparam x="680" y="321" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="315" />
+<infoparam name="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="333" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="connectionOpened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1185,16 +1228,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="318" >
-<father id="331" num="11" />
-<cdparam x="524" y="116" />
+<SUBCOMPONENT type="1203" id="336" >
+<father id="369" num="1" />
+<cdparam x="620" y="324" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="317" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="335" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1202,16 +1245,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="320" >
-<father id="331" num="12" />
-<cdparam x="620" y="324" />
+<SUBCOMPONENT type="1203" id="338" >
+<father id="369" num="2" />
+<cdparam x="524" y="116" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="319" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="337" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1219,16 +1262,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="322" >
-<father id="331" num="13" />
-<cdparam x="680" y="321" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="340" >
+<father id="369" num="3" />
+<cdparam x="721" y="301" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="Primitive port" value="Event connectionOpened" />
-<TGConnectingPoint num="0" id="321" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="339" />
 <extraparam>
-<Prop commName="connectionOpened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1236,55 +1279,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1200" id="415" >
-<father id="424" num="3" />
-<cdparam x="841" y="133" />
-<sizeparam width="570" height="485" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="365" minY="0" maxY="45" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="407" />
-<TGConnectingPoint num="1" id="408" />
-<TGConnectingPoint num="2" id="409" />
-<TGConnectingPoint num="3" id="410" />
-<TGConnectingPoint num="4" id="411" />
-<TGConnectingPoint num="5" id="412" />
-<TGConnectingPoint num="6" id="413" />
-<TGConnectingPoint num="7" id="414" />
-<extraparam>
-<info hiddeni="false" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="346" >
-<father id="415" num="0" />
-<cdparam x="1232" y="328" />
-<sizeparam width="140" height="141" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="430" minY="0" maxY="344" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="338" />
-<TGConnectingPoint num="1" id="339" />
-<TGConnectingPoint num="2" id="340" />
-<TGConnectingPoint num="3" id="341" />
-<TGConnectingPoint num="4" id="342" />
-<TGConnectingPoint num="5" id="343" />
-<TGConnectingPoint num="6" id="344" />
-<TGConnectingPoint num="7" id="345" />
-<extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="333" >
-<father id="346" num="0" />
-<cdparam x="1222" y="368" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="342" >
+<father id="369" num="4" />
+<cdparam x="721" y="190" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="332" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="341" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1292,16 +1296,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="335" >
-<father id="346" num="1" />
-<cdparam x="1222" y="403" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="344" >
+<father id="369" num="5" />
+<cdparam x="721" y="235" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="334" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="343" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1309,16 +1313,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="337" >
-<father id="346" num="2" />
-<cdparam x="1222" y="431" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="346" >
+<father id="369" num="6" />
+<cdparam x="721" y="269" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="336" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="345" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1326,68 +1330,33 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="365" >
-<father id="415" num="1" />
-<cdparam x="828" y="362" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="348" >
+<father id="369" num="7" />
+<cdparam x="521" y="156" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
-<infoparam name="Composite port" value="" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event data_Ready" />
 <TGConnectingPoint num="0" id="347" />
-<TGConnectingPoint num="1" id="348" />
-<TGConnectingPoint num="2" id="349" />
-<TGConnectingPoint num="3" id="350" />
-<TGConnectingPoint num="4" id="351" />
-<TGConnectingPoint num="5" id="352" />
-<TGConnectingPoint num="6" id="353" />
-<TGConnectingPoint num="7" id="354" />
-<TGConnectingPoint num="8" id="355" />
-<TGConnectingPoint num="9" id="356" />
-<TGConnectingPoint num="10" id="357" />
-<TGConnectingPoint num="11" id="358" />
-<TGConnectingPoint num="12" id="359" />
-<TGConnectingPoint num="13" id="360" />
-<TGConnectingPoint num="14" id="361" />
-<TGConnectingPoint num="15" id="362" />
-<TGConnectingPoint num="16" id="363" />
-<TGConnectingPoint num="17" id="364" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="406" >
-<father id="415" num="2" />
-<cdparam x="931" y="167" />
-<sizeparam width="236" height="317" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="334" minY="0" maxY="168" />
-<infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="398" />
-<TGConnectingPoint num="1" id="399" />
-<TGConnectingPoint num="2" id="400" />
-<TGConnectingPoint num="3" id="401" />
-<TGConnectingPoint num="4" id="402" />
-<TGConnectingPoint num="5" id="403" />
-<TGConnectingPoint num="6" id="404" />
-<TGConnectingPoint num="7" id="405" />
 <extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
-<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
-<Attribute access="2" id="i" value="" type="0" typeOther="" />
-<Attribute access="2" id="j" value="" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="367" >
-<father id="406" num="0" />
-<cdparam x="918" y="185" />
+<SUBCOMPONENT type="1203" id="350" >
+<father id="369" num="8" />
+<cdparam x="521" y="290" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="366" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="349" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1395,16 +1364,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="369" >
-<father id="406" num="1" />
-<cdparam x="918" y="235" />
+<SUBCOMPONENT type="1203" id="352" >
+<father id="369" num="9" />
+<reference id="184" />
+<cdparam x="521" y="202" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="368" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="351" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="null" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1412,16 +1382,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="371" >
-<father id="406" num="2" />
-<cdparam x="918" y="278" />
+<SUBCOMPONENT type="1203" id="354" >
+<father id="369" num="10" />
+<reference id="184" />
+<cdparam x="521" y="247" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="370" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="353" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1429,16 +1400,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="373" >
-<father id="406" num="3" />
-<cdparam x="918" y="317" />
+<SUBCOMPONENT type="1203" id="356" >
+<father id="369" num="11" />
+<cdparam x="543" y="321" />
 <sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="372" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="355" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1446,16 +1417,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="375" >
-<father id="406" num="4" />
-<cdparam x="921" y="352" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="358" >
+<father id="369" num="12" />
+<reference id="184" />
+<cdparam x="580" y="84" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="374" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<TGConnectingPoint num="0" id="357" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="reset, pTS, end" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1463,16 +1435,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="377" >
-<father id="406" num="5" />
-<cdparam x="921" y="443" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="360" >
+<father id="369" num="13" />
+<cdparam x="721" y="111" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="376" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="359" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1480,16 +1452,35 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="379" >
-<father id="406" num="6" />
-<cdparam x="921" y="416" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="396" >
+<father id="424" num="2" />
+<cdparam x="565" y="416" />
+<sizeparam width="240" height="145" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="378" />
+<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="388" />
+<TGConnectingPoint num="1" id="389" />
+<TGConnectingPoint num="2" id="390" />
+<TGConnectingPoint num="3" id="391" />
+<TGConnectingPoint num="4" id="392" />
+<TGConnectingPoint num="5" id="393" />
+<TGConnectingPoint num="6" id="394" />
+<TGConnectingPoint num="7" id="395" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Data isAttacker="No" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="371" >
+<father id="396" num="0" />
+<cdparam x="748" y="548" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
+<infoparam name="Primitive port" value="Event opened" />
+<TGConnectingPoint num="0" id="370" />
+<extraparam>
+<Prop commName="opened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1497,16 +1488,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="381" >
-<father id="406" num="7" />
-<cdparam x="921" y="387" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="373" >
+<father id="396" num="1" />
+<cdparam x="697" y="403" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="380" />
+<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
+<infoparam name="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="372" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="connectionOpened" commType="1" origin="true" finite="true" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1514,16 +1505,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="383" >
-<father id="406" num="8" />
-<cdparam x="959" y="474" />
+<SUBCOMPONENT type="1203" id="375" >
+<father id="396" num="2" />
+<cdparam x="659" y="406" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="382" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="374" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1531,16 +1522,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="385" >
-<father id="406" num="9" />
-<cdparam x="921" y="466" />
+<SUBCOMPONENT type="1203" id="377" >
+<father id="396" num="3" />
+<cdparam x="795" y="542" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="384" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="376" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1548,16 +1539,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="387" >
-<father id="406" num="10" />
-<cdparam x="1157" y="370" />
+<SUBCOMPONENT type="1203" id="379" >
+<father id="396" num="4" />
+<cdparam x="795" y="509" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="386" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="378" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1565,16 +1556,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="389" >
-<father id="406" num="11" />
-<cdparam x="1157" y="405" />
+<SUBCOMPONENT type="1203" id="381" >
+<father id="396" num="5" />
+<cdparam x="795" y="448" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="388" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="380" />
 <extraparam>
-<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1582,16 +1573,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="391" >
-<father id="406" num="12" />
-<cdparam x="1157" y="198" />
+<SUBCOMPONENT type="1203" id="383" >
+<father id="396" num="6" />
+<cdparam x="795" y="481" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="390" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="382" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1599,16 +1590,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="393" >
-<father id="406" num="13" />
-<cdparam x="1157" y="266" />
+<SUBCOMPONENT type="1203" id="385" >
+<father id="396" num="7" />
+<cdparam x="795" y="419" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="392" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="384" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1616,16 +1607,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="395" >
-<father id="406" num="14" />
-<cdparam x="1157" y="444" />
+<SUBCOMPONENT type="1203" id="387" >
+<father id="396" num="8" />
+<cdparam x="740" y="406" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="394" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="386" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -1633,22 +1624,31 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="397" >
-<father id="406" num="15" />
-<cdparam x="1012" y="471" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1201" id="415" >
+<father id="424" num="3" />
+<cdparam x="521" y="369" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="Primitive port" value="Event opened" />
-<TGConnectingPoint num="0" id="396" />
-<extraparam>
-<Prop commName="opened" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="-13" maxX="922" minY="-13" maxY="517" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="397" />
+<TGConnectingPoint num="1" id="398" />
+<TGConnectingPoint num="2" id="399" />
+<TGConnectingPoint num="3" id="400" />
+<TGConnectingPoint num="4" id="401" />
+<TGConnectingPoint num="5" id="402" />
+<TGConnectingPoint num="6" id="403" />
+<TGConnectingPoint num="7" id="404" />
+<TGConnectingPoint num="8" id="405" />
+<TGConnectingPoint num="9" id="406" />
+<TGConnectingPoint num="10" id="407" />
+<TGConnectingPoint num="11" id="408" />
+<TGConnectingPoint num="12" id="409" />
+<TGConnectingPoint num="13" id="410" />
+<TGConnectingPoint num="14" id="411" />
+<TGConnectingPoint num="15" id="412" />
+<TGConnectingPoint num="16" id="413" />
+<TGConnectingPoint num="17" id="414" />
 </SUBCOMPONENT>
 
 
@@ -1854,7 +1854,7 @@
 <TGConnectingPoint num="0" id="478" />
 <TGConnectingPoint num="1" id="479" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -1914,7 +1914,7 @@
 <TGConnectingPoint num="0" id="491" />
 <TGConnectingPoint num="1" id="492" />
 <extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -2147,7634 +2147,6028 @@
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1008" id="529" >
-<cdparam x="159" y="424" />
-<sizeparam width="62" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1013" id="530" >
+<cdparam x="505" y="259" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="opened()" />
-<TGConnectingPoint num="0" id="527" />
-<TGConnectingPoint num="1" id="528" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="528" />
+<TGConnectingPoint num="1" id="529" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="527" >
+<father id="530" num="0" />
+<cdparam x="520" y="279" />
+<sizeparam width="16" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="10" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1010" id="533" >
+<cdparam x="479" y="129" />
+<sizeparam width="66" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="opened() " />
+<TGConnectingPoint num="0" id="531" />
+<TGConnectingPoint num="1" id="532" />
 <extraparam>
 <Data eventName="opened" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1012" id="537" >
-<cdparam x="2086" y="1378" />
+<COMPONENT type="1008" id="536" >
+<cdparam x="449" y="192" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="connectionOpened()" />
+<TGConnectingPoint num="0" id="534" />
+<TGConnectingPoint num="1" id="535" />
+<extraparam>
+<Data eventName="connectionOpened" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1012" id="544" >
+<cdparam x="495" y="514" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="533" />
-<TGConnectingPoint num="1" id="534" />
-<TGConnectingPoint num="2" id="535" />
-<TGConnectingPoint num="3" id="536" />
+<TGConnectingPoint num="0" id="540" />
+<TGConnectingPoint num="1" id="541" />
+<TGConnectingPoint num="2" id="542" />
+<TGConnectingPoint num="3" id="543" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="530" >
-<father id="537" num="0" />
-<cdparam x="2061" y="1388" />
+<SUBCOMPONENT type="-1" id="537" >
+<father id="544" num="0" />
+<cdparam x="470" y="524" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="531" >
-<father id="537" num="1" />
-<cdparam x="2121" y="1388" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="538" >
+<father id="544" num="1" />
+<cdparam x="530" y="524" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
+<infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="532" >
-<father id="537" num="2" />
-<cdparam x="2106" y="1426" />
-<sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="539" >
+<father id="544" num="2" />
+<cdparam x="515" y="559" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
+<infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="545" >
-<cdparam x="2262" y="951" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="546" >
+<cdparam x="498" y="33" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="541" />
-<TGConnectingPoint num="1" id="542" />
-<TGConnectingPoint num="2" id="543" />
-<TGConnectingPoint num="3" id="544" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="545" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="538" >
-<father id="545" num="0" />
-<cdparam x="2212" y="961" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="539" >
-<father id="545" num="1" />
-<cdparam x="2301" y="975" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="540" >
-<father id="545" num="2" />
-<cdparam x="2282" y="996" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ else ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="553" >
-<cdparam x="1981" y="1346" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="549" >
+<cdparam x="482" y="71" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="549" />
-<TGConnectingPoint num="1" id="550" />
-<TGConnectingPoint num="2" id="551" />
-<TGConnectingPoint num="3" id="552" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="open()" />
+<TGConnectingPoint num="0" id="547" />
+<TGConnectingPoint num="1" id="548" />
+<extraparam>
+<Data eventName="open" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="546" >
-<father id="553" num="0" />
-<cdparam x="1934" y="1356" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1006" id="552" >
+<cdparam x="469" y="353" />
+<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="547" >
-<father id="553" num="1" />
-<cdparam x="2016" y="1356" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="550" />
+<TGConnectingPoint num="1" id="551" />
+<extraparam>
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="555" >
+<cdparam x="471" y="399" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="548" >
-<father id="553" num="2" />
-<cdparam x="2001" y="1391" />
-<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="553" />
+<TGConnectingPoint num="1" id="554" />
+<accessibility />
+<extraparam>
+<Data eventName="send_TCP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="557" >
+<cdparam x="577" y="648" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="556" />
+</COMPONENT>
 
-<COMPONENT type="1012" id="561" >
-<cdparam x="1811" y="1269" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="560" >
+<cdparam x="563" y="589" />
+<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="557" />
-<TGConnectingPoint num="1" id="558" />
-<TGConnectingPoint num="2" id="559" />
-<TGConnectingPoint num="3" id="560" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="abort()" />
+<TGConnectingPoint num="0" id="558" />
+<TGConnectingPoint num="1" id="559" />
+<extraparam>
+<Data eventName="abort" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="554" >
-<father id="561" num="0" />
-<cdparam x="1762" y="1279" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1008" id="563" >
+<cdparam x="410" y="597" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="555" >
-<father id="561" num="1" />
-<cdparam x="1846" y="1279" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="556" >
-<father id="561" num="2" />
-<cdparam x="1831" y="1314" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="close()" />
+<TGConnectingPoint num="0" id="561" />
+<TGConnectingPoint num="1" id="562" />
+<extraparam>
+<Data eventName="close" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1012" id="569" >
-<cdparam x="1713" y="1141" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="565" >
+<cdparam x="423" y="646" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="565" />
-<TGConnectingPoint num="1" id="566" />
-<TGConnectingPoint num="2" id="567" />
-<TGConnectingPoint num="3" id="568" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="564" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="562" >
-<father id="569" num="0" />
-<cdparam x="1688" y="1151" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="563" >
-<father id="569" num="1" />
-<cdparam x="1748" y="1151" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="564" >
-<father id="569" num="2" />
-<cdparam x="1733" y="1186" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="573" >
-<cdparam x="1524" y="1254" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="566" >
+<cdparam x="510" y="294" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="510" y="294" id="529" />
+<P2  x="509" y="348" id="550" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="567" >
+<cdparam x="508" y="424" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="508" y="424" id="554" />
+<P2  x="510" y="504" id="540" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="568" >
+<cdparam x="512" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="512" y="154" id="532" />
+<P2  x="511" y="187" id="534" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="569" >
+<cdparam x="594" y="221" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="511" y="217" id="535" />
+<P2  x="510" y="254" id="528" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="570" >
+<cdparam x="506" y="36" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to send event" value="null" />
+<P1  x="505" y="53" id="545" />
+<P2  x="505" y="66" id="547" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="571" >
+<cdparam x="508" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="505" y="96" id="548" />
+<P2  x="512" y="124" id="531" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="572" >
+<cdparam x="509" y="397" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="509" y="378" id="551" />
+<P2  x="508" y="394" id="553" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="573" >
+<cdparam x="587" y="614" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="587" y="614" id="559" />
+<P2  x="587" y="643" id="556" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="574" >
+<cdparam x="471" y="608" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="470" y="529" id="541" />
+<P2  x="433" y="592" id="561" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="575" >
+<cdparam x="433" y="622" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="433" y="622" id="562" />
+<P2  x="433" y="641" id="564" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="576" >
+<cdparam x="551" y="608" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="550" y="529" id="542" />
+<P2  x="587" y="584" id="558" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1001" id="578" >
+<cdparam x="430" y="408" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="571" />
-<TGConnectingPoint num="1" id="572" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="577" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="570" >
-<father id="573" num="0" />
-<cdparam x="1539" y="1274" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="577" >
-<cdparam x="1524" y="1064" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="581" >
+<cdparam x="418" y="364" />
+<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="575" />
-<TGConnectingPoint num="1" id="576" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="end() " />
+<TGConnectingPoint num="0" id="579" />
+<TGConnectingPoint num="1" id="580" />
+<extraparam>
+<Data eventName="end" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="574" >
-<father id="577" num="0" />
-<cdparam x="1538" y="1088" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="585" >
-<cdparam x="1592" y="1006" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="584" >
+<cdparam x="238" y="201" />
+<sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="581" />
-<TGConnectingPoint num="1" id="582" />
-<TGConnectingPoint num="2" id="583" />
-<TGConnectingPoint num="3" id="584" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="connectionOpened() " />
+<TGConnectingPoint num="0" id="582" />
+<TGConnectingPoint num="1" id="583" />
+<extraparam>
+<Data eventName="connectionOpened" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="578" >
-<father id="585" num="0" />
-<cdparam x="1542" y="1016" />
-<sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="579" >
-<father id="585" num="1" />
-<cdparam x="1627" y="1016" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="580" >
-<father id="585" num="2" />
-<cdparam x="1612" y="1051" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="593" >
-<cdparam x="1713" y="875" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="586" >
+<cdparam x="159" y="66" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="589" />
-<TGConnectingPoint num="1" id="590" />
-<TGConnectingPoint num="2" id="591" />
-<TGConnectingPoint num="3" id="592" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="585" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="586" >
-<father id="593" num="0" />
-<cdparam x="1688" y="885" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="587" >
-<father id="593" num="1" />
-<cdparam x="1748" y="885" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="588" >
-<father id="593" num="2" />
-<cdparam x="1733" y="920" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="597" >
-<cdparam x="1636" y="1235" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="589" >
+<cdparam x="141" y="129" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="595" />
-<TGConnectingPoint num="1" id="596" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="587" />
+<TGConnectingPoint num="1" id="588" />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="594" >
-<father id="597" num="0" />
-<cdparam x="1655" y="1254" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="601" >
-<cdparam x="2232" y="1059" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="592" >
+<cdparam x="113" y="182" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="599" />
-<TGConnectingPoint num="1" id="600" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="590" />
+<TGConnectingPoint num="1" id="591" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="598" >
-<father id="601" num="0" />
-<cdparam x="2219" y="1083" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="605" >
-<cdparam x="2312" y="1024" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="595" >
+<cdparam x="144" y="237" />
+<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="603" />
-<TGConnectingPoint num="1" id="604" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="pTS() " />
+<TGConnectingPoint num="0" id="593" />
+<TGConnectingPoint num="1" id="594" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="602" >
-<father id="605" num="0" />
-<cdparam x="2288" y="1044" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="613" >
-<cdparam x="1193" y="1020" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="598" >
+<cdparam x="124" y="308" />
+<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="609" />
-<TGConnectingPoint num="1" id="610" />
-<TGConnectingPoint num="2" id="611" />
-<TGConnectingPoint num="3" id="612" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="596" />
+<TGConnectingPoint num="1" id="597" />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="606" >
-<father id="613" num="0" />
-<cdparam x="1168" y="1030" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="607" >
-<father id="613" num="1" />
-<cdparam x="1228" y="1030" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="608" >
-<father id="613" num="2" />
-<cdparam x="1213" y="1065" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="617" >
-<cdparam x="1203" y="1107" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="615" >
+<cdparam x="376" y="98" />
+<sizeparam width="233" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="615" />
-<TGConnectingPoint num="1" id="616" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="UML Note" value="The first two layers of the OSI model 
+are used to communicate between 
+the smart card and the terminal
+" />
+<TGConnectingPoint num="0" id="599" />
+<TGConnectingPoint num="1" id="600" />
+<TGConnectingPoint num="2" id="601" />
+<TGConnectingPoint num="3" id="602" />
+<TGConnectingPoint num="4" id="603" />
+<TGConnectingPoint num="5" id="604" />
+<TGConnectingPoint num="6" id="605" />
+<TGConnectingPoint num="7" id="606" />
+<TGConnectingPoint num="8" id="607" />
+<TGConnectingPoint num="9" id="608" />
+<TGConnectingPoint num="10" id="609" />
+<TGConnectingPoint num="11" id="610" />
+<TGConnectingPoint num="12" id="611" />
+<TGConnectingPoint num="13" id="612" />
+<TGConnectingPoint num="14" id="613" />
+<TGConnectingPoint num="15" id="614" />
+<extraparam>
+<Line value="The first two layers of the OSI model " />
+<Line value="are used to communicate between " />
+<Line value="the smart card and the terminal" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="614" >
-<father id="617" num="0" />
-<cdparam x="1218" y="1127" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="625" >
-<cdparam x="557" y="712" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="618" >
+<cdparam x="254" y="97" />
+<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="621" />
-<TGConnectingPoint num="1" id="622" />
-<TGConnectingPoint num="2" id="623" />
-<TGConnectingPoint num="3" id="624" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="616" />
+<TGConnectingPoint num="1" id="617" />
+<extraparam>
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="618" >
-<father id="625" num="0" />
-<cdparam x="482" y="747" />
-<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1007" id="621" >
+<cdparam x="241" y="148" />
+<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="619" >
-<father id="625" num="1" />
-<cdparam x="592" y="722" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_Application()" />
+<TGConnectingPoint num="0" id="619" />
+<TGConnectingPoint num="1" id="620" />
+<breakpoint />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="623" >
+<cdparam x="581" y="550" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="620" >
-<father id="625" num="2" />
-<cdparam x="577" y="757" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="622" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="626" >
+<cdparam x="240" y="471" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="data_Ready_SC()" />
+<TGConnectingPoint num="0" id="624" />
+<TGConnectingPoint num="1" id="625" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1013" id="629" >
-<cdparam x="717" y="694" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="628" >
+<cdparam x="283" y="547" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
 <TGConnectingPoint num="0" id="627" />
-<TGConnectingPoint num="1" id="628" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="626" >
-<father id="629" num="0" />
-<cdparam x="732" y="714" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="633" >
-<cdparam x="938" y="1025" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="631" >
+<cdparam x="252" y="429" />
+<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="631" />
-<TGConnectingPoint num="1" id="632" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromTtoP(1) " />
+<TGConnectingPoint num="0" id="629" />
+<TGConnectingPoint num="1" id="630" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="630" >
-<father id="633" num="0" />
-<cdparam x="953" y="1045" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="641" >
-<cdparam x="1034" y="939" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="634" >
+<cdparam x="268" y="385" />
+<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="637" />
-<TGConnectingPoint num="1" id="638" />
-<TGConnectingPoint num="2" id="639" />
-<TGConnectingPoint num="3" id="640" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="send() " />
+<TGConnectingPoint num="0" id="632" />
+<TGConnectingPoint num="1" id="633" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="634" >
-<father id="641" num="0" />
-<cdparam x="959" y="974" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="635" >
-<father id="641" num="1" />
-<cdparam x="1070" y="949" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="636" >
-<father id="641" num="2" />
-<cdparam x="1054" y="984" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="645" >
-<cdparam x="795" y="1009" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="637" >
+<cdparam x="250" y="513" />
+<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="643" />
-<TGConnectingPoint num="1" id="644" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromSCtoD(1)" />
+<TGConnectingPoint num="0" id="635" />
+<TGConnectingPoint num="1" id="636" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="642" >
-<father id="645" num="0" />
-<cdparam x="818" y="1031" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="653" >
-<cdparam x="828" y="869" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="640" >
+<cdparam x="562" y="472" />
+<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="649" />
-<TGConnectingPoint num="1" id="650" />
-<TGConnectingPoint num="2" id="651" />
-<TGConnectingPoint num="3" id="652" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="receive()" />
+<TGConnectingPoint num="0" id="638" />
+<TGConnectingPoint num="1" id="639" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="646" >
-<father id="653" num="0" />
-<cdparam x="753" y="885" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="647" >
-<father id="653" num="1" />
-<cdparam x="863" y="879" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="648" >
-<father id="653" num="2" />
-<cdparam x="848" y="914" />
-<sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1009" id="643" >
+<cdparam x="546" y="433" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromDtoSC(1) " />
+<TGConnectingPoint num="0" id="641" />
+<TGConnectingPoint num="1" id="642" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1013" id="657" >
-<cdparam x="341" y="764" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="646" >
+<cdparam x="552" y="509" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="655" />
-<TGConnectingPoint num="1" id="656" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="644" />
+<TGConnectingPoint num="1" id="645" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="654" >
-<father id="657" num="0" />
-<cdparam x="354" y="785" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1010" id="649" >
+<cdparam x="536" y="390" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="data_Ready(t, b) " />
+<TGConnectingPoint num="0" id="647" />
+<TGConnectingPoint num="1" id="648" />
+<breakpoint />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+<Param index="0" value="t" />
+<Param index="1" value="b" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1013" id="661" >
-<cdparam x="127" y="794" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="653" >
+<cdparam x="236" y="261" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="659" />
-<TGConnectingPoint num="1" id="660" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
+<TGConnectingPoint num="0" id="650" />
+<TGConnectingPoint num="1" id="651" />
+<TGConnectingPoint num="2" id="652" />
+<extraparam>
+<Data init="j=0" condition="x==0" increment="j = j" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="658" >
-<father id="661" num="0" />
-<cdparam x="146" y="818" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1001" id="655" >
+<cdparam x="275" y="309" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="654" />
+</COMPONENT>
 
-<COMPONENT type="1012" id="669" >
-<cdparam x="993" y="780" />
+<COMPONENT type="1018" id="666" >
+<cdparam x="424" y="285" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="665" />
-<TGConnectingPoint num="1" id="666" />
-<TGConnectingPoint num="2" id="667" />
-<TGConnectingPoint num="3" id="668" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="662" >
-<father id="669" num="0" />
-<cdparam x="949" y="793" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="663" >
-<father id="669" num="1" />
-<cdparam x="1028" y="790" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="656" />
+<TGConnectingPoint num="1" id="657" />
+<TGConnectingPoint num="2" id="658" />
+<TGConnectingPoint num="3" id="659" />
+<TGConnectingPoint num="4" id="660" />
+<TGConnectingPoint num="5" id="661" />
+<TGConnectingPoint num="6" id="662" />
+<TGConnectingPoint num="7" id="663" />
+<TGConnectingPoint num="8" id="664" />
+<TGConnectingPoint num="9" id="665" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="667" >
+<cdparam x="302" y="227" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="302" y="226" id="583" />
+<P2  x="298" y="256" id="650" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="672" >
+<cdparam x="111" y="331" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="166" y="333" id="597" />
+<P2  x="298" y="92" id="616" />
+<Point x="166" y="353" />
+<Point x="225" y="353" />
+<Point x="225" y="72" />
+<Point x="278" y="72" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="668" >
+<father id="672" num="0" />
+<cdparam x="166" y="353" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="664" >
-<father id="669" num="2" />
-<cdparam x="1013" y="825" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="669" >
+<father id="672" num="1" />
+<cdparam x="225" y="353" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-
-<COMPONENT type="1013" id="673" >
-<cdparam x="1003" y="701" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="671" />
-<TGConnectingPoint num="1" id="672" />
-</COMPONENT>
 <SUBCOMPONENT type="-1" id="670" >
-<father id="673" num="0" />
-<cdparam x="1018" y="721" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<father id="672" num="2" />
+<cdparam x="225" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-
-<COMPONENT type="1013" id="677" >
-<cdparam x="459" y="783" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="675" />
-<TGConnectingPoint num="1" id="676" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="674" >
-<father id="677" num="0" />
-<cdparam x="474" y="802" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="671" >
+<father id="672" num="3" />
+<cdparam x="278" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="681" >
-<cdparam x="225" y="863" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="679" />
-<TGConnectingPoint num="1" id="680" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="678" >
-<father id="681" num="0" />
-<cdparam x="245" y="885" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
+<CONNECTOR type="115" id="673" >
+<cdparam x="166" y="64" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to wait event" value="null" />
+<P1  x="166" y="86" id="585" />
+<P2  x="166" y="124" id="587" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="674" >
+<cdparam x="166" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="154" id="588" />
+<P2  x="166" y="177" id="590" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="675" >
+<cdparam x="312" y="133" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to send request" value="null" />
+<P1  x="298" y="122" id="617" />
+<P2  x="298" y="143" id="619" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="676" >
+<cdparam x="286" y="421" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="293" y="410" id="633" />
+<P2  x="293" y="424" id="629" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="677" >
+<cdparam x="286" y="486" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="293" y="454" id="630" />
+<P2  x="293" y="466" id="624" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="678" >
+<cdparam x="286" y="538" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="293" y="496" id="625" />
+<P2  x="293" y="508" id="635" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="679" >
+<cdparam x="286" y="594" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="293" y="538" id="636" />
+<P2  x="293" y="542" id="627" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="680" >
+<cdparam x="607" y="480" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="591" y="458" id="642" />
+<P2  x="591" y="467" id="638" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="681" >
+<cdparam x="606" y="524" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="591" y="497" id="639" />
+<P2  x="591" y="504" id="644" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="682" >
+<cdparam x="609" y="427" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="591" y="415" id="648" />
+<P2  x="591" y="428" id="641" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="683" >
+<cdparam x="606" y="586" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="591" y="534" id="645" />
+<P2  x="591" y="545" id="622" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="684" >
+<cdparam x="298" y="173" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to for loop" value="null" />
+<P1  x="298" y="173" id="620" />
+<P2  x="302" y="196" id="582" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="685" >
+<cdparam x="328" y="291" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to stop state" value="null" />
+<P1  x="298" y="286" id="652" />
+<P2  x="285" y="304" id="654" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="686" >
+<cdparam x="385" y="404" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="399" y="300" id="657" />
+<P2  x="293" y="380" id="632" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="687" >
+<cdparam x="533" y="462" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="479" y="300" id="658" />
+<P2  x="591" y="385" id="647" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="688" >
+<cdparam x="391" y="341" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="361" y="275" id="651" />
+<P2  x="439" y="275" id="656" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="689" >
+<cdparam x="164" y="262" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="262" id="594" />
+<P2  x="166" y="303" id="596" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="690" >
+<cdparam x="166" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="166" y="207" id="591" />
+<P2  x="166" y="232" id="593" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="691" >
+<cdparam x="439" y="340" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="439" y="340" id="659" />
+<P2  x="440" y="359" id="579" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="692" >
+<cdparam x="440" y="389" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="440" y="389" id="580" />
+<P2  x="440" y="403" id="577" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 
-<COMPONENT type="1013" id="685" >
-<cdparam x="1044" y="1057" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="683" />
-<TGConnectingPoint num="1" id="684" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="682" >
-<father id="685" num="0" />
-<cdparam x="1059" y="1077" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
-</SUBCOMPONENT>
+</TMLActivityDiagramPanel>
 
-<COMPONENT type="1012" id="693" >
-<cdparam x="173" y="486" />
+<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="700" >
+<cdparam x="509" y="222" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="689" />
-<TGConnectingPoint num="1" id="690" />
-<TGConnectingPoint num="2" id="691" />
-<TGConnectingPoint num="3" id="692" />
+<TGConnectingPoint num="0" id="696" />
+<TGConnectingPoint num="1" id="697" />
+<TGConnectingPoint num="2" id="698" />
+<TGConnectingPoint num="3" id="699" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="686" >
-<father id="693" num="0" />
-<cdparam x="98" y="496" />
-<sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="693" >
+<father id="700" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
+<infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="687" >
-<father id="693" num="1" />
-<cdparam x="208" y="496" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="694" >
+<father id="700" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
+<infoparam name="guard 2" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="688" >
-<father id="693" num="2" />
-<cdparam x="193" y="531" />
+<SUBCOMPONENT type="-1" id="695" >
+<father id="700" num="2" />
+<cdparam x="529" y="267" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="701" >
-<cdparam x="359" y="192" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="702" >
+<cdparam x="489" y="26" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="697" />
-<TGConnectingPoint num="1" id="698" />
-<TGConnectingPoint num="2" id="699" />
-<TGConnectingPoint num="3" id="700" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="701" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="694" >
-<father id="701" num="0" />
-<cdparam x="317" y="202" />
-<sizeparam width="81" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="695" >
-<father id="701" num="1" />
-<cdparam x="394" y="202" />
-<sizeparam width="91" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="696" >
-<father id="701" num="2" />
-<cdparam x="379" y="237" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1001" id="704" >
+<cdparam x="417" y="407" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="703" />
+</COMPONENT>
 
-<COMPONENT type="1012" id="709" >
-<cdparam x="449" y="582" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="707" >
+<cdparam x="396" y="339" />
+<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="timeOut()" />
 <TGConnectingPoint num="0" id="705" />
 <TGConnectingPoint num="1" id="706" />
-<TGConnectingPoint num="2" id="707" />
-<TGConnectingPoint num="3" id="708" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="702" >
-<father id="709" num="0" />
-<cdparam x="404" y="592" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<extraparam>
+<Data eventName="timeOut" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="710" >
+<cdparam x="599" y="300" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="708" />
+<TGConnectingPoint num="1" id="709" />
+<extraparam>
+<Data eventName="stop" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="712" >
+<cdparam x="612" y="365" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="711" />
+</COMPONENT>
+
+<COMPONENT type="1017" id="715" >
+<cdparam x="491" y="157" />
+<sizeparam width="70" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="713" />
+<TGConnectingPoint num="1" id="714" />
+<extraparam>
+<Data eventName="stop" variable="x" />
+</extraparam>
+</COMPONENT>
+
+<CONNECTOR type="115" id="716" >
+<cdparam x="496" y="46" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="496" y="46" id="701" />
+<P2  x="526" y="152" id="713" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="717" >
+<cdparam x="484" y="237" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="484" y="237" id="697" />
+<P2  x="427" y="334" id="705" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="718" >
+<cdparam x="427" y="364" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="427" y="364" id="706" />
+<P2  x="427" y="402" id="703" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="719" >
+<cdparam x="622" y="325" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="622" y="325" id="709" />
+<P2  x="622" y="360" id="711" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="720" >
+<cdparam x="524" y="175" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="526" y="182" id="714" />
+<P2  x="524" y="212" id="696" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="721" >
+<cdparam x="564" y="237" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="564" y="237" id="698" />
+<P2  x="622" y="295" id="708" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
+<COMPONENT type="1008" id="724" >
+<cdparam x="159" y="424" />
+<sizeparam width="62" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="opened()" />
+<TGConnectingPoint num="0" id="722" />
+<TGConnectingPoint num="1" id="723" />
+<extraparam>
+<Data eventName="opened" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1012" id="732" >
+<cdparam x="2086" y="1378" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="728" />
+<TGConnectingPoint num="1" id="729" />
+<TGConnectingPoint num="2" id="730" />
+<TGConnectingPoint num="3" id="731" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="725" >
+<father id="732" num="0" />
+<cdparam x="2061" y="1388" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
+<infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="703" >
-<father id="709" num="1" />
-<cdparam x="500" y="599" />
+<SUBCOMPONENT type="-1" id="726" >
+<father id="732" num="1" />
+<cdparam x="2121" y="1388" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="704" >
-<father id="709" num="2" />
-<cdparam x="469" y="627" />
-<sizeparam width="252" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="727" >
+<father id="732" num="2" />
+<cdparam x="2106" y="1426" />
+<sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="717" >
-<cdparam x="274" y="564" />
+<COMPONENT type="1012" id="740" >
+<cdparam x="2262" y="951" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="713" />
-<TGConnectingPoint num="1" id="714" />
-<TGConnectingPoint num="2" id="715" />
-<TGConnectingPoint num="3" id="716" />
+<TGConnectingPoint num="0" id="736" />
+<TGConnectingPoint num="1" id="737" />
+<TGConnectingPoint num="2" id="738" />
+<TGConnectingPoint num="3" id="739" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="710" >
-<father id="717" num="0" />
-<cdparam x="228" y="574" />
+<SUBCOMPONENT type="-1" id="733" >
+<father id="740" num="0" />
+<cdparam x="2212" y="961" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="711" >
-<father id="717" num="1" />
-<cdparam x="317" y="584" />
-<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="734" >
+<father id="740" num="1" />
+<cdparam x="2301" y="975" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
+<infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="712" >
-<father id="717" num="2" />
-<cdparam x="306" y="616" />
-<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="735" >
+<father id="740" num="2" />
+<cdparam x="2282" y="996" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
+<infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="719" >
-<cdparam x="227" y="27" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="748" >
+<cdparam x="1981" y="1346" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="718" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="744" />
+<TGConnectingPoint num="1" id="745" />
+<TGConnectingPoint num="2" id="746" />
+<TGConnectingPoint num="3" id="747" />
 </COMPONENT>
-
-<COMPONENT type="301" id="736" >
-<cdparam x="10" y="30" />
-<sizeparam width="92" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="741" >
+<father id="748" num="0" />
+<cdparam x="1934" y="1356" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="0: closed
-1: Listen
-2: SYN rcvd
-3: SYN sent
-4: Estab
-5: Fin wait1
-6: Fin wait2
-7: closing
-8: Time wait
-9: close wait
-10:last ack
-" />
-<TGConnectingPoint num="0" id="720" />
-<TGConnectingPoint num="1" id="721" />
-<TGConnectingPoint num="2" id="722" />
-<TGConnectingPoint num="3" id="723" />
-<TGConnectingPoint num="4" id="724" />
-<TGConnectingPoint num="5" id="725" />
-<TGConnectingPoint num="6" id="726" />
-<TGConnectingPoint num="7" id="727" />
-<TGConnectingPoint num="8" id="728" />
-<TGConnectingPoint num="9" id="729" />
-<TGConnectingPoint num="10" id="730" />
-<TGConnectingPoint num="11" id="731" />
-<TGConnectingPoint num="12" id="732" />
-<TGConnectingPoint num="13" id="733" />
-<TGConnectingPoint num="14" id="734" />
-<TGConnectingPoint num="15" id="735" />
-<extraparam>
-<Line value="0: closed" />
-<Line value="1: Listen" />
-<Line value="2: SYN rcvd" />
-<Line value="3: SYN sent" />
-<Line value="4: Estab" />
-<Line value="5: Fin wait1" />
-<Line value="6: Fin wait2" />
-<Line value="7: closing" />
-<Line value="8: Time wait" />
-<Line value="9: close wait" />
-<Line value="10:last ack" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="742" >
+<father id="748" num="1" />
+<cdparam x="2016" y="1356" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="743" >
+<father id="748" num="2" />
+<cdparam x="2001" y="1391" />
+<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="739" >
-<cdparam x="98" y="549" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="756" >
+<cdparam x="1811" y="1269" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="737" />
-<TGConnectingPoint num="1" id="738" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="752" />
+<TGConnectingPoint num="1" id="753" />
+<TGConnectingPoint num="2" id="754" />
+<TGConnectingPoint num="3" id="755" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="749" >
+<father id="756" num="0" />
+<cdparam x="1762" y="1279" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="750" >
+<father id="756" num="1" />
+<cdparam x="1846" y="1279" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="751" >
+<father id="756" num="2" />
+<cdparam x="1831" y="1314" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="741" >
-<cdparam x="138" y="615" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="764" >
+<cdparam x="1713" y="1141" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="740" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="760" />
+<TGConnectingPoint num="1" id="761" />
+<TGConnectingPoint num="2" id="762" />
+<TGConnectingPoint num="3" id="763" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="757" >
+<father id="764" num="0" />
+<cdparam x="1688" y="1151" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="758" >
+<father id="764" num="1" />
+<cdparam x="1748" y="1151" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="759" >
+<father id="764" num="2" />
+<cdparam x="1733" y="1186" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1009" id="744" >
-<cdparam x="967" y="585" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="768" >
+<cdparam x="1524" y="1254" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="fromPtoT(1) " />
-<TGConnectingPoint num="0" id="742" />
-<TGConnectingPoint num="1" id="743" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="766" />
+<TGConnectingPoint num="1" id="767" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="765" >
+<father id="768" num="0" />
+<cdparam x="1539" y="1274" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1014" id="748" >
-<cdparam x="150" y="85" />
-<sizeparam width="170" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="772" >
+<cdparam x="1524" y="1064" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" />
-<TGConnectingPoint num="0" id="745" />
-<TGConnectingPoint num="1" id="746" />
-<TGConnectingPoint num="2" id="747" />
-<extraparam>
-<Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="770" />
+<TGConnectingPoint num="1" id="771" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="769" >
+<father id="772" num="0" />
+<cdparam x="1538" y="1088" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="750" >
-<cdparam x="225" y="207" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="780" >
+<cdparam x="1592" y="1006" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="749" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="776" />
+<TGConnectingPoint num="1" id="777" />
+<TGConnectingPoint num="2" id="778" />
+<TGConnectingPoint num="3" id="779" />
 </COMPONENT>
-
-<COMPONENT type="1011" id="753" >
-<cdparam x="187" y="144" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="773" >
+<father id="780" num="0" />
+<cdparam x="1542" y="1016" />
+<sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state=0" />
-<TGConnectingPoint num="0" id="751" />
-<TGConnectingPoint num="1" id="752" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="756" >
-<cdparam x="316" y="133" />
-<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="774" >
+<father id="780" num="1" />
+<cdparam x="1627" y="1016" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="notified event" value="tcpctrl.a=?abort()" />
-<TGConnectingPoint num="0" id="754" />
-<TGConnectingPoint num="1" id="755" />
-<extraparam>
-<Data eventName="abort" variable="tcpctrl.a" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="775" >
+<father id="780" num="2" />
+<cdparam x="1612" y="1051" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1009" id="759" >
-<cdparam x="692" y="589" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="788" >
+<cdparam x="1713" y="875" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="757" />
-<TGConnectingPoint num="1" id="758" />
-<extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="784" />
+<TGConnectingPoint num="1" id="785" />
+<TGConnectingPoint num="2" id="786" />
+<TGConnectingPoint num="3" id="787" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="781" >
+<father id="788" num="0" />
+<cdparam x="1688" y="885" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="782" >
+<father id="788" num="1" />
+<cdparam x="1748" y="885" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="783" >
+<father id="788" num="2" />
+<cdparam x="1733" y="920" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="762" >
-<cdparam x="689" y="534" />
-<sizeparam width="67" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="792" >
+<cdparam x="1636" y="1235" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="timeOut() " />
-<TGConnectingPoint num="0" id="760" />
-<TGConnectingPoint num="1" id="761" />
-<extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="790" />
+<TGConnectingPoint num="1" id="791" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="789" >
+<father id="792" num="0" />
+<cdparam x="1655" y="1254" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="765" >
-<cdparam x="977" y="528" />
-<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="796" >
+<cdparam x="2232" y="1059" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="receive() " />
-<TGConnectingPoint num="0" id="763" />
-<TGConnectingPoint num="1" id="764" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="794" />
+<TGConnectingPoint num="1" id="795" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="793" >
+<father id="796" num="0" />
+<cdparam x="2219" y="1083" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="768" >
-<cdparam x="439" y="492" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="800" >
+<cdparam x="2312" y="1024" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="close() " />
-<TGConnectingPoint num="0" id="766" />
-<TGConnectingPoint num="1" id="767" />
-<extraparam>
-<Data eventName="close" nbOfParams="5" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="798" />
+<TGConnectingPoint num="1" id="799" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="797" >
+<father id="800" num="0" />
+<cdparam x="2288" y="1044" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="771" >
-<cdparam x="250" y="468" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="808" >
+<cdparam x="1193" y="1020" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="send_TCP() " />
-<TGConnectingPoint num="0" id="769" />
-<TGConnectingPoint num="1" id="770" />
-<extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="804" />
+<TGConnectingPoint num="1" id="805" />
+<TGConnectingPoint num="2" id="806" />
+<TGConnectingPoint num="3" id="807" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="801" >
+<father id="808" num="0" />
+<cdparam x="1168" y="1030" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="802" >
+<father id="808" num="1" />
+<cdparam x="1228" y="1030" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="803" >
+<father id="808" num="2" />
+<cdparam x="1213" y="1065" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="774" >
-<cdparam x="163" y="383" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="812" >
+<cdparam x="1203" y="1107" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="open() " />
-<TGConnectingPoint num="0" id="772" />
-<TGConnectingPoint num="1" id="773" />
-<breakpoint />
-<extraparam>
-<Data eventName="open" nbOfParams="5" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="810" />
+<TGConnectingPoint num="1" id="811" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="809" >
+<father id="812" num="0" />
+<cdparam x="1218" y="1127" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1018" id="785" >
-<cdparam x="449" y="267" />
+<COMPONENT type="1012" id="820" >
+<cdparam x="557" y="712" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="775" />
-<TGConnectingPoint num="1" id="776" />
-<TGConnectingPoint num="2" id="777" />
-<TGConnectingPoint num="3" id="778" />
-<TGConnectingPoint num="4" id="779" />
-<TGConnectingPoint num="5" id="780" />
-<TGConnectingPoint num="6" id="781" />
-<TGConnectingPoint num="7" id="782" />
-<TGConnectingPoint num="8" id="783" />
-<TGConnectingPoint num="9" id="784" />
-<breakpoint />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="816" />
+<TGConnectingPoint num="1" id="817" />
+<TGConnectingPoint num="2" id="818" />
+<TGConnectingPoint num="3" id="819" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="813" >
+<father id="820" num="0" />
+<cdparam x="482" y="747" />
+<sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="814" >
+<father id="820" num="1" />
+<cdparam x="592" y="722" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="815" >
+<father id="820" num="2" />
+<cdparam x="577" y="757" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="787" >
-<cdparam x="218" y="529" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="824" >
+<cdparam x="717" y="694" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="786" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="822" />
+<TGConnectingPoint num="1" id="823" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="821" >
+<father id="824" num="0" />
+<cdparam x="732" y="714" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="789" >
-<cdparam x="319" y="614" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="828" >
+<cdparam x="938" y="1025" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="788" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="826" />
+<TGConnectingPoint num="1" id="827" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="825" >
+<father id="828" num="0" />
+<cdparam x="953" y="1045" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="792" >
-<cdparam x="275" y="228" />
-<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="836" >
+<cdparam x="1034" y="939" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="abort() " />
-<TGConnectingPoint num="0" id="790" />
-<TGConnectingPoint num="1" id="791" />
-<extraparam>
-<Data eventName="abort" nbOfParams="5" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="832" />
+<TGConnectingPoint num="1" id="833" />
+<TGConnectingPoint num="2" id="834" />
+<TGConnectingPoint num="3" id="835" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="829" >
+<father id="836" num="0" />
+<cdparam x="959" y="974" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="830" >
+<father id="836" num="1" />
+<cdparam x="1070" y="949" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="831" >
+<father id="836" num="2" />
+<cdparam x="1054" y="984" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="794" >
-<cdparam x="291" y="290" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="840" >
+<cdparam x="795" y="1009" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="793" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="838" />
+<TGConnectingPoint num="1" id="839" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="837" >
+<father id="840" num="0" />
+<cdparam x="818" y="1031" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="301" id="811" >
-<cdparam x="602" y="86" />
-<sizeparam width="360" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="848" >
+<cdparam x="828" y="869" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="b est le nombre d&apos;instructions necessaires pour paquetiser
-ou depaquitiser un paquet TCP
-
-On prend b=1 comme exemple
-" />
-<TGConnectingPoint num="0" id="795" />
-<TGConnectingPoint num="1" id="796" />
-<TGConnectingPoint num="2" id="797" />
-<TGConnectingPoint num="3" id="798" />
-<TGConnectingPoint num="4" id="799" />
-<TGConnectingPoint num="5" id="800" />
-<TGConnectingPoint num="6" id="801" />
-<TGConnectingPoint num="7" id="802" />
-<TGConnectingPoint num="8" id="803" />
-<TGConnectingPoint num="9" id="804" />
-<TGConnectingPoint num="10" id="805" />
-<TGConnectingPoint num="11" id="806" />
-<TGConnectingPoint num="12" id="807" />
-<TGConnectingPoint num="13" id="808" />
-<TGConnectingPoint num="14" id="809" />
-<TGConnectingPoint num="15" id="810" />
-<extraparam>
-<Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
-<Line value="ou depaquitiser un paquet TCP" />
-<Line value="" />
-<Line value="On prend b=1 comme exemple" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1009" id="814" >
-<cdparam x="188" y="808" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="fromAtoT(1) " />
-<TGConnectingPoint num="0" id="812" />
-<TGConnectingPoint num="1" id="813" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="844" />
+<TGConnectingPoint num="1" id="845" />
+<TGConnectingPoint num="2" id="846" />
+<TGConnectingPoint num="3" id="847" />
 </COMPONENT>
-
-<COMPONENT type="1006" id="817" >
-<cdparam x="191" y="1002" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="841" >
+<father id="848" num="0" />
+<cdparam x="753" y="885" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="815" />
-<TGConnectingPoint num="1" id="816" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="842" >
+<father id="848" num="1" />
+<cdparam x="863" y="879" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="843" >
+<father id="848" num="2" />
+<cdparam x="848" y="914" />
+<sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="819" >
-<cdparam x="220" y="1237" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="852" >
+<cdparam x="341" y="764" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="818" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="850" />
+<TGConnectingPoint num="1" id="851" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="849" >
+<father id="852" num="0" />
+<cdparam x="354" y="785" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="822" >
-<cdparam x="414" y="1032" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="856" >
+<cdparam x="127" y="794" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =5" />
-<TGConnectingPoint num="0" id="820" />
-<TGConnectingPoint num="1" id="821" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="854" />
+<TGConnectingPoint num="1" id="855" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="853" >
+<father id="856" num="0" />
+<cdparam x="146" y="818" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="824" >
-<cdparam x="454" y="1213" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="864" >
+<cdparam x="993" y="780" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="823" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="860" />
+<TGConnectingPoint num="1" id="861" />
+<TGConnectingPoint num="2" id="862" />
+<TGConnectingPoint num="3" id="863" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="857" >
+<father id="864" num="0" />
+<cdparam x="949" y="793" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="858" >
+<father id="864" num="1" />
+<cdparam x="1028" y="790" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="859" >
+<father id="864" num="2" />
+<cdparam x="1013" y="825" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="827" >
-<cdparam x="84" y="1041" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="868" >
+<cdparam x="1003" y="701" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state=3" />
-<TGConnectingPoint num="0" id="825" />
-<TGConnectingPoint num="1" id="826" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="866" />
+<TGConnectingPoint num="1" id="867" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="865" >
+<father id="868" num="0" />
+<cdparam x="1018" y="721" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1006" id="830" >
-<cdparam x="93" y="938" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="872" >
+<cdparam x="459" y="783" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="828" />
-<TGConnectingPoint num="1" id="829" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="870" />
+<TGConnectingPoint num="1" id="871" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="869" >
+<father id="872" num="0" />
+<cdparam x="474" y="802" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="833" >
-<cdparam x="292" y="1026" />
-<sizeparam width="108" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="876" >
+<cdparam x="225" y="863" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =10" />
-<TGConnectingPoint num="0" id="831" />
-<TGConnectingPoint num="1" id="832" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="874" />
+<TGConnectingPoint num="1" id="875" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="873" >
+<father id="876" num="0" />
+<cdparam x="245" y="885" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="835" >
-<cdparam x="336" y="1229" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="880" >
+<cdparam x="1044" y="1057" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="834" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="878" />
+<TGConnectingPoint num="1" id="879" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="877" >
+<father id="880" num="0" />
+<cdparam x="1059" y="1077" />
+<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1006" id="838" >
-<cdparam x="425" y="941" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="888" >
+<cdparam x="173" y="486" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="836" />
-<TGConnectingPoint num="1" id="837" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="884" />
+<TGConnectingPoint num="1" id="885" />
+<TGConnectingPoint num="2" id="886" />
+<TGConnectingPoint num="3" id="887" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="881" >
+<father id="888" num="0" />
+<cdparam x="98" y="496" />
+<sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="882" >
+<father id="888" num="1" />
+<cdparam x="208" y="496" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="883" >
+<father id="888" num="2" />
+<cdparam x="193" y="531" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1006" id="841" >
-<cdparam x="307" y="900" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="896" >
+<cdparam x="359" y="192" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="839" />
-<TGConnectingPoint num="1" id="840" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="892" />
+<TGConnectingPoint num="1" id="893" />
+<TGConnectingPoint num="2" id="894" />
+<TGConnectingPoint num="3" id="895" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="889" >
+<father id="896" num="0" />
+<cdparam x="317" y="202" />
+<sizeparam width="81" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="890" >
+<father id="896" num="1" />
+<cdparam x="394" y="202" />
+<sizeparam width="91" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="891" >
+<father id="896" num="2" />
+<cdparam x="379" y="237" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="843" >
-<cdparam x="790" y="1270" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="904" >
+<cdparam x="449" y="582" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="842" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="900" />
+<TGConnectingPoint num="1" id="901" />
+<TGConnectingPoint num="2" id="902" />
+<TGConnectingPoint num="3" id="903" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="897" >
+<father id="904" num="0" />
+<cdparam x="404" y="592" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="898" >
+<father id="904" num="1" />
+<cdparam x="500" y="599" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="899" >
+<father id="904" num="2" />
+<cdparam x="469" y="627" />
+<sizeparam width="252" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="301" id="860" >
-<cdparam x="998" y="850" />
-<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="912" >
+<cdparam x="274" y="564" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="Final
-" />
-<TGConnectingPoint num="0" id="844" />
-<TGConnectingPoint num="1" id="845" />
-<TGConnectingPoint num="2" id="846" />
-<TGConnectingPoint num="3" id="847" />
-<TGConnectingPoint num="4" id="848" />
-<TGConnectingPoint num="5" id="849" />
-<TGConnectingPoint num="6" id="850" />
-<TGConnectingPoint num="7" id="851" />
-<TGConnectingPoint num="8" id="852" />
-<TGConnectingPoint num="9" id="853" />
-<TGConnectingPoint num="10" id="854" />
-<TGConnectingPoint num="11" id="855" />
-<TGConnectingPoint num="12" id="856" />
-<TGConnectingPoint num="13" id="857" />
-<TGConnectingPoint num="14" id="858" />
-<TGConnectingPoint num="15" id="859" />
-<extraparam>
-<Line value="Final" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="908" />
+<TGConnectingPoint num="1" id="909" />
+<TGConnectingPoint num="2" id="910" />
+<TGConnectingPoint num="3" id="911" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="905" >
+<father id="912" num="0" />
+<cdparam x="228" y="574" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="906" >
+<father id="912" num="1" />
+<cdparam x="317" y="584" />
+<sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="907" >
+<father id="912" num="2" />
+<cdparam x="306" y="616" />
+<sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="863" >
-<cdparam x="678" y="965" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="914" >
+<cdparam x="227" y="27" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="861" />
-<TGConnectingPoint num="1" id="862" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="913" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="865" >
-<cdparam x="718" y="1032" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="931" >
+<cdparam x="10" y="30" />
+<sizeparam width="92" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="864" />
-</COMPONENT>
-
-<COMPONENT type="1006" id="868" >
-<cdparam x="761" y="1086" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="866" />
-<TGConnectingPoint num="1" id="867" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="885" >
-<cdparam x="781" y="950" />
-<sizeparam width="89" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="Active Open
-" />
-<TGConnectingPoint num="0" id="869" />
-<TGConnectingPoint num="1" id="870" />
-<TGConnectingPoint num="2" id="871" />
-<TGConnectingPoint num="3" id="872" />
-<TGConnectingPoint num="4" id="873" />
-<TGConnectingPoint num="5" id="874" />
-<TGConnectingPoint num="6" id="875" />
-<TGConnectingPoint num="7" id="876" />
-<TGConnectingPoint num="8" id="877" />
-<TGConnectingPoint num="9" id="878" />
-<TGConnectingPoint num="10" id="879" />
-<TGConnectingPoint num="11" id="880" />
-<TGConnectingPoint num="12" id="881" />
-<TGConnectingPoint num="13" id="882" />
-<TGConnectingPoint num="14" id="883" />
-<TGConnectingPoint num="15" id="884" />
-<extraparam>
-<Line value="Active Open" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="902" >
-<cdparam x="715" y="907" />
-<sizeparam width="97" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="Passive Open
+<infoparam name="UML Note" value="0: closed
+1: Listen
+2: SYN rcvd
+3: SYN sent
+4: Estab
+5: Fin wait1
+6: Fin wait2
+7: closing
+8: Time wait
+9: close wait
+10:last ack
 " />
-<TGConnectingPoint num="0" id="886" />
-<TGConnectingPoint num="1" id="887" />
-<TGConnectingPoint num="2" id="888" />
-<TGConnectingPoint num="3" id="889" />
-<TGConnectingPoint num="4" id="890" />
-<TGConnectingPoint num="5" id="891" />
-<TGConnectingPoint num="6" id="892" />
-<TGConnectingPoint num="7" id="893" />
-<TGConnectingPoint num="8" id="894" />
-<TGConnectingPoint num="9" id="895" />
-<TGConnectingPoint num="10" id="896" />
-<TGConnectingPoint num="11" id="897" />
-<TGConnectingPoint num="12" id="898" />
-<TGConnectingPoint num="13" id="899" />
-<TGConnectingPoint num="14" id="900" />
-<TGConnectingPoint num="15" id="901" />
+<TGConnectingPoint num="0" id="915" />
+<TGConnectingPoint num="1" id="916" />
+<TGConnectingPoint num="2" id="917" />
+<TGConnectingPoint num="3" id="918" />
+<TGConnectingPoint num="4" id="919" />
+<TGConnectingPoint num="5" id="920" />
+<TGConnectingPoint num="6" id="921" />
+<TGConnectingPoint num="7" id="922" />
+<TGConnectingPoint num="8" id="923" />
+<TGConnectingPoint num="9" id="924" />
+<TGConnectingPoint num="10" id="925" />
+<TGConnectingPoint num="11" id="926" />
+<TGConnectingPoint num="12" id="927" />
+<TGConnectingPoint num="13" id="928" />
+<TGConnectingPoint num="14" id="929" />
+<TGConnectingPoint num="15" id="930" />
 <extraparam>
-<Line value="Passive Open" />
+<Line value="0: closed" />
+<Line value="1: Listen" />
+<Line value="2: SYN rcvd" />
+<Line value="3: SYN sent" />
+<Line value="4: Estab" />
+<Line value="5: Fin wait1" />
+<Line value="6: Fin wait2" />
+<Line value="7: closing" />
+<Line value="8: Time wait" />
+<Line value="9: close wait" />
+<Line value="10:last ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="905" >
-<cdparam x="750" y="1193" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =3" />
-<TGConnectingPoint num="0" id="903" />
-<TGConnectingPoint num="1" id="904" />
-</COMPONENT>
-
-<COMPONENT type="1011" id="908" >
-<cdparam x="446" y="768" />
+<COMPONENT type="1011" id="934" >
+<cdparam x="98" y="549" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="906" />
-<TGConnectingPoint num="1" id="907" />
+<infoparam name="action state" value="tcpctrl.state =1" />
+<TGConnectingPoint num="0" id="932" />
+<TGConnectingPoint num="1" id="933" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="910" >
-<cdparam x="486" y="830" />
+<COMPONENT type="1001" id="936" >
+<cdparam x="138" y="615" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="909" />
+<TGConnectingPoint num="0" id="935" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="913" >
-<cdparam x="904" y="1123" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="939" >
+<cdparam x="967" y="585" />
+<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="911" />
-<TGConnectingPoint num="1" id="912" />
+<infoparam name="read channel" value="fromPtoT(1) " />
+<TGConnectingPoint num="0" id="937" />
+<TGConnectingPoint num="1" id="938" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="930" >
-<cdparam x="884" y="1068" />
-<sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="943" >
+<cdparam x="150" y="85" />
+<sizeparam width="170" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="send Ack of Fin
-" />
-<TGConnectingPoint num="0" id="914" />
-<TGConnectingPoint num="1" id="915" />
-<TGConnectingPoint num="2" id="916" />
-<TGConnectingPoint num="3" id="917" />
-<TGConnectingPoint num="4" id="918" />
-<TGConnectingPoint num="5" id="919" />
-<TGConnectingPoint num="6" id="920" />
-<TGConnectingPoint num="7" id="921" />
-<TGConnectingPoint num="8" id="922" />
-<TGConnectingPoint num="9" id="923" />
-<TGConnectingPoint num="10" id="924" />
-<TGConnectingPoint num="11" id="925" />
-<TGConnectingPoint num="12" id="926" />
-<TGConnectingPoint num="13" id="927" />
-<TGConnectingPoint num="14" id="928" />
-<TGConnectingPoint num="15" id="929" />
+<infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" />
+<TGConnectingPoint num="0" id="940" />
+<TGConnectingPoint num="1" id="941" />
+<TGConnectingPoint num="2" id="942" />
 <extraparam>
-<Line value="send Ack of Fin" />
+<Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="933" >
-<cdparam x="893" y="1234" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="945" >
+<cdparam x="225" y="207" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =9" />
-<TGConnectingPoint num="0" id="931" />
-<TGConnectingPoint num="1" id="932" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="944" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="935" >
-<cdparam x="933" y="1311" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="948" >
+<cdparam x="187" y="144" />
+<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="934" />
+<infoparam name="action state" value="tcpctrl.state=0" />
+<TGConnectingPoint num="0" id="946" />
+<TGConnectingPoint num="1" id="947" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="938" >
-<cdparam x="1010" y="1155" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="951" >
+<cdparam x="316" y="133" />
+<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="936" />
-<TGConnectingPoint num="1" id="937" />
+<infoparam name="notified event" value="tcpctrl.a=?abort()" />
+<TGConnectingPoint num="0" id="949" />
+<TGConnectingPoint num="1" id="950" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="955" >
-<cdparam x="1000" y="1094" />
-<sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="954" >
+<cdparam x="692" y="589" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="send Ack of Fin
-" />
-<TGConnectingPoint num="0" id="939" />
-<TGConnectingPoint num="1" id="940" />
-<TGConnectingPoint num="2" id="941" />
-<TGConnectingPoint num="3" id="942" />
-<TGConnectingPoint num="4" id="943" />
-<TGConnectingPoint num="5" id="944" />
-<TGConnectingPoint num="6" id="945" />
-<TGConnectingPoint num="7" id="946" />
-<TGConnectingPoint num="8" id="947" />
-<TGConnectingPoint num="9" id="948" />
-<TGConnectingPoint num="10" id="949" />
-<TGConnectingPoint num="11" id="950" />
-<TGConnectingPoint num="12" id="951" />
-<TGConnectingPoint num="13" id="952" />
-<TGConnectingPoint num="14" id="953" />
-<TGConnectingPoint num="15" id="954" />
+<infoparam name="read channel" value="temp(1) " />
+<TGConnectingPoint num="0" id="952" />
+<TGConnectingPoint num="1" id="953" />
 <extraparam>
-<Line value="send Ack of Fin" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="958" >
-<cdparam x="999" y="1266" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="957" >
+<cdparam x="689" y="534" />
+<sizeparam width="67" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =7" />
-<TGConnectingPoint num="0" id="956" />
-<TGConnectingPoint num="1" id="957" />
+<infoparam name="wait event" value="timeOut() " />
+<TGConnectingPoint num="0" id="955" />
+<TGConnectingPoint num="1" id="956" />
+<extraparam>
+<Data eventName="timeOut" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="960" >
-<cdparam x="1039" y="1341" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="960" >
+<cdparam x="977" y="528" />
+<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="959" />
+<infoparam name="wait event" value="receive() " />
+<TGConnectingPoint num="0" id="958" />
+<TGConnectingPoint num="1" id="959" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="963" >
-<cdparam x="683" y="758" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="963" >
+<cdparam x="439" y="492" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
+<infoparam name="wait event" value="close() " />
 <TGConnectingPoint num="0" id="961" />
 <TGConnectingPoint num="1" id="962" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="965" >
-<cdparam x="712" y="865" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="966" >
+<cdparam x="250" y="468" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
+<infoparam name="wait event" value="send_TCP() " />
 <TGConnectingPoint num="0" id="964" />
+<TGConnectingPoint num="1" id="965" />
+<extraparam>
+<Data eventName="send_TCP" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="968" >
-<cdparam x="93" y="1100" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="969" >
+<cdparam x="163" y="383" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="966" />
-<TGConnectingPoint num="1" id="967" />
+<infoparam name="wait event" value="open() " />
+<TGConnectingPoint num="0" id="967" />
+<TGConnectingPoint num="1" id="968" />
+<breakpoint />
 <extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
+<Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="971" >
-<cdparam x="104" y="1167" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1018" id="980" >
+<cdparam x="449" y="267" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="969" />
-<TGConnectingPoint num="1" id="970" />
-<extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="970" />
+<TGConnectingPoint num="1" id="971" />
+<TGConnectingPoint num="2" id="972" />
+<TGConnectingPoint num="3" id="973" />
+<TGConnectingPoint num="4" id="974" />
+<TGConnectingPoint num="5" id="975" />
+<TGConnectingPoint num="6" id="976" />
+<TGConnectingPoint num="7" id="977" />
+<TGConnectingPoint num="8" id="978" />
+<TGConnectingPoint num="9" id="979" />
+<breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="973" >
-<cdparam x="122" y="1236" />
+<COMPONENT type="1001" id="982" >
+<cdparam x="218" y="529" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="972" />
+<TGConnectingPoint num="0" id="981" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="976" >
-<cdparam x="191" y="1102" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="984" >
+<cdparam x="319" y="614" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="974" />
-<TGConnectingPoint num="1" id="975" />
-<extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="983" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="979" >
-<cdparam x="202" y="1169" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="987" >
+<cdparam x="275" y="228" />
+<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="977" />
-<TGConnectingPoint num="1" id="978" />
+<infoparam name="wait event" value="abort() " />
+<TGConnectingPoint num="0" id="985" />
+<TGConnectingPoint num="1" id="986" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="982" >
-<cdparam x="307" y="1106" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="989" >
+<cdparam x="291" y="290" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="980" />
-<TGConnectingPoint num="1" id="981" />
-<extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="988" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="985" >
-<cdparam x="318" y="1173" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1006" >
+<cdparam x="602" y="86" />
+<sizeparam width="360" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="983" />
-<TGConnectingPoint num="1" id="984" />
+<infoparam name="UML Note" value="b est le nombre d&apos;instructions necessaires pour paquetiser
+ou depaquitiser un paquet TCP
+
+On prend b=1 comme exemple
+" />
+<TGConnectingPoint num="0" id="990" />
+<TGConnectingPoint num="1" id="991" />
+<TGConnectingPoint num="2" id="992" />
+<TGConnectingPoint num="3" id="993" />
+<TGConnectingPoint num="4" id="994" />
+<TGConnectingPoint num="5" id="995" />
+<TGConnectingPoint num="6" id="996" />
+<TGConnectingPoint num="7" id="997" />
+<TGConnectingPoint num="8" id="998" />
+<TGConnectingPoint num="9" id="999" />
+<TGConnectingPoint num="10" id="1000" />
+<TGConnectingPoint num="11" id="1001" />
+<TGConnectingPoint num="12" id="1002" />
+<TGConnectingPoint num="13" id="1003" />
+<TGConnectingPoint num="14" id="1004" />
+<TGConnectingPoint num="15" id="1005" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
+<Line value="ou depaquitiser un paquet TCP" />
+<Line value="" />
+<Line value="On prend b=1 comme exemple" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="988" >
-<cdparam x="425" y="1090" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="1009" >
+<cdparam x="188" y="808" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="986" />
-<TGConnectingPoint num="1" id="987" />
+<infoparam name="read channel" value="fromAtoT(1) " />
+<TGConnectingPoint num="0" id="1007" />
+<TGConnectingPoint num="1" id="1008" />
 <extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="991" >
-<cdparam x="436" y="1159" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1012" >
+<cdparam x="191" y="1002" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="989" />
-<TGConnectingPoint num="1" id="990" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1010" />
+<TGConnectingPoint num="1" id="1011" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="994" >
-<cdparam x="56" y="861" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1014" >
+<cdparam x="220" y="1237" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="992" />
-<TGConnectingPoint num="1" id="993" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1013" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="997" >
-<cdparam x="154" y="940" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1017" >
+<cdparam x="414" y="1032" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="995" />
-<TGConnectingPoint num="1" id="996" />
+<infoparam name="action state" value="tcpctrl.state =5" />
+<TGConnectingPoint num="0" id="1015" />
+<TGConnectingPoint num="1" id="1016" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1000" >
-<cdparam x="388" y="865" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1019" >
+<cdparam x="454" y="1213" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="998" />
-<TGConnectingPoint num="1" id="999" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1018" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1003" >
-<cdparam x="270" y="831" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1022" >
+<cdparam x="84" y="1041" />
+<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1001" />
-<TGConnectingPoint num="1" id="1002" />
+<infoparam name="action state" value="tcpctrl.state=3" />
+<TGConnectingPoint num="0" id="1020" />
+<TGConnectingPoint num="1" id="1021" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1006" >
-<cdparam x="207" y="1052" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1025" >
+<cdparam x="93" y="938" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1004" />
-<TGConnectingPoint num="1" id="1005" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1023" />
+<TGConnectingPoint num="1" id="1024" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1009" >
-<cdparam x="323" y="962" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1028" >
+<cdparam x="292" y="1026" />
+<sizeparam width="108" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1007" />
-<TGConnectingPoint num="1" id="1008" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="action state" value="tcpctrl.state =10" />
+<TGConnectingPoint num="0" id="1026" />
+<TGConnectingPoint num="1" id="1027" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1012" >
-<cdparam x="441" y="983" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1030" >
+<cdparam x="336" y="1229" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1010" />
-<TGConnectingPoint num="1" id="1011" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1029" />
+</COMPONENT>
+
+<COMPONENT type="1006" id="1033" >
+<cdparam x="425" y="941" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1031" />
+<TGConnectingPoint num="1" id="1032" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1015" >
-<cdparam x="109" y="986" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1036" >
+<cdparam x="307" y="900" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1013" />
-<TGConnectingPoint num="1" id="1014" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1034" />
+<TGConnectingPoint num="1" id="1035" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1018" >
-<cdparam x="699" y="813" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1038" >
+<cdparam x="790" y="1270" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1016" />
-<TGConnectingPoint num="1" id="1017" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1037" />
+</COMPONENT>
+
+<COMPONENT type="301" id="1055" >
+<cdparam x="998" y="850" />
+<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="UML Note" value="Final
+" />
+<TGConnectingPoint num="0" id="1039" />
+<TGConnectingPoint num="1" id="1040" />
+<TGConnectingPoint num="2" id="1041" />
+<TGConnectingPoint num="3" id="1042" />
+<TGConnectingPoint num="4" id="1043" />
+<TGConnectingPoint num="5" id="1044" />
+<TGConnectingPoint num="6" id="1045" />
+<TGConnectingPoint num="7" id="1046" />
+<TGConnectingPoint num="8" id="1047" />
+<TGConnectingPoint num="9" id="1048" />
+<TGConnectingPoint num="10" id="1049" />
+<TGConnectingPoint num="11" id="1050" />
+<TGConnectingPoint num="12" id="1051" />
+<TGConnectingPoint num="13" id="1052" />
+<TGConnectingPoint num="14" id="1053" />
+<TGConnectingPoint num="15" id="1054" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Line value="Final" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1021" >
-<cdparam x="777" y="1141" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1058" >
+<cdparam x="678" y="965" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1019" />
-<TGConnectingPoint num="1" id="1020" />
+<infoparam name="action state" value="tcpctrl.state =1" />
+<TGConnectingPoint num="0" id="1056" />
+<TGConnectingPoint num="1" id="1057" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1060" >
+<cdparam x="718" y="1032" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1059" />
+</COMPONENT>
+
+<COMPONENT type="1006" id="1063" >
+<cdparam x="761" y="1086" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1061" />
+<TGConnectingPoint num="1" id="1062" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1024" >
-<cdparam x="920" y="1178" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1080" >
+<cdparam x="781" y="950" />
+<sizeparam width="89" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1022" />
-<TGConnectingPoint num="1" id="1023" />
+<infoparam name="UML Note" value="Active Open
+" />
+<TGConnectingPoint num="0" id="1064" />
+<TGConnectingPoint num="1" id="1065" />
+<TGConnectingPoint num="2" id="1066" />
+<TGConnectingPoint num="3" id="1067" />
+<TGConnectingPoint num="4" id="1068" />
+<TGConnectingPoint num="5" id="1069" />
+<TGConnectingPoint num="6" id="1070" />
+<TGConnectingPoint num="7" id="1071" />
+<TGConnectingPoint num="8" id="1072" />
+<TGConnectingPoint num="9" id="1073" />
+<TGConnectingPoint num="10" id="1074" />
+<TGConnectingPoint num="11" id="1075" />
+<TGConnectingPoint num="12" id="1076" />
+<TGConnectingPoint num="13" id="1077" />
+<TGConnectingPoint num="14" id="1078" />
+<TGConnectingPoint num="15" id="1079" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1027" >
-<cdparam x="1026" y="1211" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1097" >
+<cdparam x="715" y="907" />
+<sizeparam width="97" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1025" />
-<TGConnectingPoint num="1" id="1026" />
+<infoparam name="UML Note" value="Passive Open
+" />
+<TGConnectingPoint num="0" id="1081" />
+<TGConnectingPoint num="1" id="1082" />
+<TGConnectingPoint num="2" id="1083" />
+<TGConnectingPoint num="3" id="1084" />
+<TGConnectingPoint num="4" id="1085" />
+<TGConnectingPoint num="5" id="1086" />
+<TGConnectingPoint num="6" id="1087" />
+<TGConnectingPoint num="7" id="1088" />
+<TGConnectingPoint num="8" id="1089" />
+<TGConnectingPoint num="9" id="1090" />
+<TGConnectingPoint num="10" id="1091" />
+<TGConnectingPoint num="11" id="1092" />
+<TGConnectingPoint num="12" id="1093" />
+<TGConnectingPoint num="13" id="1094" />
+<TGConnectingPoint num="14" id="1095" />
+<TGConnectingPoint num="15" id="1096" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1029" >
-<cdparam x="602" y="762" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1100" >
+<cdparam x="750" y="1193" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1028" />
+<infoparam name="action state" value="tcpctrl.state =3" />
+<TGConnectingPoint num="0" id="1098" />
+<TGConnectingPoint num="1" id="1099" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1031" >
-<cdparam x="873" y="922" />
+<COMPONENT type="1011" id="1103" >
+<cdparam x="446" y="768" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =0" />
+<TGConnectingPoint num="0" id="1101" />
+<TGConnectingPoint num="1" id="1102" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1105" >
+<cdparam x="486" y="830" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1030" />
+<TGConnectingPoint num="0" id="1104" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1034" >
-<cdparam x="1169" y="1214" />
+<COMPONENT type="1006" id="1108" >
+<cdparam x="904" y="1123" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1032" />
-<TGConnectingPoint num="1" id="1033" />
+<TGConnectingPoint num="0" id="1106" />
+<TGConnectingPoint num="1" id="1107" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1051" >
-<cdparam x="1159" y="1153" />
+<COMPONENT type="301" id="1125" >
+<cdparam x="884" y="1068" />
 <sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="1035" />
-<TGConnectingPoint num="1" id="1036" />
-<TGConnectingPoint num="2" id="1037" />
-<TGConnectingPoint num="3" id="1038" />
-<TGConnectingPoint num="4" id="1039" />
-<TGConnectingPoint num="5" id="1040" />
-<TGConnectingPoint num="6" id="1041" />
-<TGConnectingPoint num="7" id="1042" />
-<TGConnectingPoint num="8" id="1043" />
-<TGConnectingPoint num="9" id="1044" />
-<TGConnectingPoint num="10" id="1045" />
-<TGConnectingPoint num="11" id="1046" />
-<TGConnectingPoint num="12" id="1047" />
-<TGConnectingPoint num="13" id="1048" />
-<TGConnectingPoint num="14" id="1049" />
-<TGConnectingPoint num="15" id="1050" />
+<TGConnectingPoint num="0" id="1109" />
+<TGConnectingPoint num="1" id="1110" />
+<TGConnectingPoint num="2" id="1111" />
+<TGConnectingPoint num="3" id="1112" />
+<TGConnectingPoint num="4" id="1113" />
+<TGConnectingPoint num="5" id="1114" />
+<TGConnectingPoint num="6" id="1115" />
+<TGConnectingPoint num="7" id="1116" />
+<TGConnectingPoint num="8" id="1117" />
+<TGConnectingPoint num="9" id="1118" />
+<TGConnectingPoint num="10" id="1119" />
+<TGConnectingPoint num="11" id="1120" />
+<TGConnectingPoint num="12" id="1121" />
+<TGConnectingPoint num="13" id="1122" />
+<TGConnectingPoint num="14" id="1123" />
+<TGConnectingPoint num="15" id="1124" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1054" >
-<cdparam x="1158" y="1295" />
+<COMPONENT type="1011" id="1128" >
+<cdparam x="893" y="1234" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="1052" />
-<TGConnectingPoint num="1" id="1053" />
+<infoparam name="action state" value="tcpctrl.state =9" />
+<TGConnectingPoint num="0" id="1126" />
+<TGConnectingPoint num="1" id="1127" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1056" >
-<cdparam x="1198" y="1471" />
+<COMPONENT type="1001" id="1130" >
+<cdparam x="933" y="1311" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1055" />
+<TGConnectingPoint num="0" id="1129" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1059" >
-<cdparam x="1158" y="1402" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1133" >
+<cdparam x="1010" y="1155" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1057" />
-<TGConnectingPoint num="1" id="1058" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1131" />
+<TGConnectingPoint num="1" id="1132" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1062" >
-<cdparam x="1185" y="1351" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1150" >
+<cdparam x="1000" y="1094" />
+<sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1060" />
-<TGConnectingPoint num="1" id="1061" />
+<infoparam name="UML Note" value="send Ack of Fin
+" />
+<TGConnectingPoint num="0" id="1134" />
+<TGConnectingPoint num="1" id="1135" />
+<TGConnectingPoint num="2" id="1136" />
+<TGConnectingPoint num="3" id="1137" />
+<TGConnectingPoint num="4" id="1138" />
+<TGConnectingPoint num="5" id="1139" />
+<TGConnectingPoint num="6" id="1140" />
+<TGConnectingPoint num="7" id="1141" />
+<TGConnectingPoint num="8" id="1142" />
+<TGConnectingPoint num="9" id="1143" />
+<TGConnectingPoint num="10" id="1144" />
+<TGConnectingPoint num="11" id="1145" />
+<TGConnectingPoint num="12" id="1146" />
+<TGConnectingPoint num="13" id="1147" />
+<TGConnectingPoint num="14" id="1148" />
+<TGConnectingPoint num="15" id="1149" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1064" >
-<cdparam x="1277" y="1070" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1153" >
+<cdparam x="999" y="1266" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1063" />
+<infoparam name="action state" value="tcpctrl.state =7" />
+<TGConnectingPoint num="0" id="1151" />
+<TGConnectingPoint num="1" id="1152" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1066" >
-<cdparam x="1519" y="1457" />
+<COMPONENT type="1001" id="1155" >
+<cdparam x="1039" y="1341" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1065" />
-</COMPONENT>
-
-<COMPONENT type="1006" id="1069" >
-<cdparam x="1489" y="1132" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoA(1)" />
-<TGConnectingPoint num="0" id="1067" />
-<TGConnectingPoint num="1" id="1068" />
-<extraparam>
-<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<TGConnectingPoint num="0" id="1154" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1072" >
-<cdparam x="1490" y="1348" />
+<COMPONENT type="1006" id="1158" >
+<cdparam x="683" y="758" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1070" />
-<TGConnectingPoint num="1" id="1071" />
+<TGConnectingPoint num="0" id="1156" />
+<TGConnectingPoint num="1" id="1157" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1075" >
-<cdparam x="1707" y="1026" />
-<sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1160" >
+<cdparam x="712" y="865" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="stop()" />
-<TGConnectingPoint num="0" id="1073" />
-<TGConnectingPoint num="1" id="1074" />
-<extraparam>
-<Data eventName="stop" nbOfParams="5" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1159" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1092" >
-<cdparam x="1759" y="1192" />
-<sizeparam width="86" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1163" >
+<cdparam x="93" y="1100" />
+<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="Correct ack
-" />
-<TGConnectingPoint num="0" id="1076" />
-<TGConnectingPoint num="1" id="1077" />
-<TGConnectingPoint num="2" id="1078" />
-<TGConnectingPoint num="3" id="1079" />
-<TGConnectingPoint num="4" id="1080" />
-<TGConnectingPoint num="5" id="1081" />
-<TGConnectingPoint num="6" id="1082" />
-<TGConnectingPoint num="7" id="1083" />
-<TGConnectingPoint num="8" id="1084" />
-<TGConnectingPoint num="9" id="1085" />
-<TGConnectingPoint num="10" id="1086" />
-<TGConnectingPoint num="11" id="1087" />
-<TGConnectingPoint num="12" id="1088" />
-<TGConnectingPoint num="13" id="1089" />
-<TGConnectingPoint num="14" id="1090" />
-<TGConnectingPoint num="15" id="1091" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1161" />
+<TGConnectingPoint num="1" id="1162" />
 <extraparam>
-<Line value="Correct ack" />
+<Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1109" >
-<cdparam x="1635" y="1168" />
-<sizeparam width="71" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1166" >
+<cdparam x="104" y="1167" />
+<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="false ack
-" />
-<TGConnectingPoint num="0" id="1093" />
-<TGConnectingPoint num="1" id="1094" />
-<TGConnectingPoint num="2" id="1095" />
-<TGConnectingPoint num="3" id="1096" />
-<TGConnectingPoint num="4" id="1097" />
-<TGConnectingPoint num="5" id="1098" />
-<TGConnectingPoint num="6" id="1099" />
-<TGConnectingPoint num="7" id="1100" />
-<TGConnectingPoint num="8" id="1101" />
-<TGConnectingPoint num="9" id="1102" />
-<TGConnectingPoint num="10" id="1103" />
-<TGConnectingPoint num="11" id="1104" />
-<TGConnectingPoint num="12" id="1105" />
-<TGConnectingPoint num="13" id="1106" />
-<TGConnectingPoint num="14" id="1107" />
-<TGConnectingPoint num="15" id="1108" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1164" />
+<TGConnectingPoint num="1" id="1165" />
 <extraparam>
-<Line value="false ack" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1112" >
-<cdparam x="1602" y="1299" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1168" >
+<cdparam x="122" y="1236" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1110" />
-<TGConnectingPoint num="1" id="1111" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1167" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1114" >
-<cdparam x="1631" y="1468" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1171" >
+<cdparam x="191" y="1102" />
+<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1113" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1169" />
+<TGConnectingPoint num="1" id="1170" />
+<extraparam>
+<Data requestName="req_Timer" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1131" >
-<cdparam x="1469" y="1295" />
-<sizeparam width="127" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1174" >
+<cdparam x="202" y="1169" />
+<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="return acknowldge
-" />
-<TGConnectingPoint num="0" id="1115" />
-<TGConnectingPoint num="1" id="1116" />
-<TGConnectingPoint num="2" id="1117" />
-<TGConnectingPoint num="3" id="1118" />
-<TGConnectingPoint num="4" id="1119" />
-<TGConnectingPoint num="5" id="1120" />
-<TGConnectingPoint num="6" id="1121" />
-<TGConnectingPoint num="7" id="1122" />
-<TGConnectingPoint num="8" id="1123" />
-<TGConnectingPoint num="9" id="1124" />
-<TGConnectingPoint num="10" id="1125" />
-<TGConnectingPoint num="11" id="1126" />
-<TGConnectingPoint num="12" id="1127" />
-<TGConnectingPoint num="13" id="1128" />
-<TGConnectingPoint num="14" id="1129" />
-<TGConnectingPoint num="15" id="1130" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1172" />
+<TGConnectingPoint num="1" id="1173" />
 <extraparam>
-<Line value="return acknowldge" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1148" >
-<cdparam x="1620" y="927" />
-<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1177" >
+<cdparam x="307" y="1106" />
+<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="data
-" />
-<TGConnectingPoint num="0" id="1132" />
-<TGConnectingPoint num="1" id="1133" />
-<TGConnectingPoint num="2" id="1134" />
-<TGConnectingPoint num="3" id="1135" />
-<TGConnectingPoint num="4" id="1136" />
-<TGConnectingPoint num="5" id="1137" />
-<TGConnectingPoint num="6" id="1138" />
-<TGConnectingPoint num="7" id="1139" />
-<TGConnectingPoint num="8" id="1140" />
-<TGConnectingPoint num="9" id="1141" />
-<TGConnectingPoint num="10" id="1142" />
-<TGConnectingPoint num="11" id="1143" />
-<TGConnectingPoint num="12" id="1144" />
-<TGConnectingPoint num="13" id="1145" />
-<TGConnectingPoint num="14" id="1146" />
-<TGConnectingPoint num="15" id="1147" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1175" />
+<TGConnectingPoint num="1" id="1176" />
 <extraparam>
-<Line value="data" />
+<Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1151" >
-<cdparam x="1506" y="1405" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1180" >
+<cdparam x="318" y="1173" />
+<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1149" />
-<TGConnectingPoint num="1" id="1150" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1178" />
+<TGConnectingPoint num="1" id="1179" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1154" >
-<cdparam x="1618" y="1348" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1183" >
+<cdparam x="425" y="1090" />
+<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1152" />
-<TGConnectingPoint num="1" id="1153" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1181" />
+<TGConnectingPoint num="1" id="1182" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1157" >
-<cdparam x="1613" y="1404" />
+<COMPONENT type="1006" id="1186" >
+<cdparam x="436" y="1159" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1155" />
-<TGConnectingPoint num="1" id="1156" />
+<TGConnectingPoint num="0" id="1184" />
+<TGConnectingPoint num="1" id="1185" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1159" >
-<cdparam x="1730" y="1335" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1189" >
+<cdparam x="56" y="861" />
+<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1158" />
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1187" />
+<TGConnectingPoint num="1" id="1188" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1162" >
-<cdparam x="1776" y="1349" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1192" >
+<cdparam x="154" y="940" />
+<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =4" />
-<TGConnectingPoint num="0" id="1160" />
-<TGConnectingPoint num="1" id="1161" />
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1190" />
+<TGConnectingPoint num="1" id="1191" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1164" >
-<cdparam x="1816" y="1457" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1195" >
+<cdparam x="388" y="865" />
+<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1163" />
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1193" />
+<TGConnectingPoint num="1" id="1194" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1167" >
-<cdparam x="1870" y="1411" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1198" >
+<cdparam x="270" y="831" />
+<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =6" />
-<TGConnectingPoint num="0" id="1165" />
-<TGConnectingPoint num="1" id="1166" />
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1196" />
+<TGConnectingPoint num="1" id="1197" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1169" >
-<cdparam x="1910" y="1481" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1201" >
+<cdparam x="207" y="1052" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1168" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1199" />
+<TGConnectingPoint num="1" id="1200" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1171" >
-<cdparam x="1986" y="1543" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1204" >
+<cdparam x="323" y="962" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1170" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1202" />
+<TGConnectingPoint num="1" id="1203" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1174" >
-<cdparam x="2051" y="1466" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1207" >
+<cdparam x="441" y="983" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1172" />
-<TGConnectingPoint num="1" id="1173" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1205" />
+<TGConnectingPoint num="1" id="1206" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1176" >
-<cdparam x="2091" y="1537" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1210" >
+<cdparam x="109" y="986" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1175" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1208" />
+<TGConnectingPoint num="1" id="1209" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1179" >
-<cdparam x="1946" y="1493" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1213" >
+<cdparam x="699" y="813" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1177" />
-<TGConnectingPoint num="1" id="1178" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1211" />
+<TGConnectingPoint num="1" id="1212" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1182" >
-<cdparam x="1946" y="1434" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1216" >
+<cdparam x="777" y="1141" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="1180" />
-<TGConnectingPoint num="1" id="1181" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1214" />
+<TGConnectingPoint num="1" id="1215" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1199" >
-<cdparam x="1825" y="889" />
-<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1219" >
+<cdparam x="920" y="1178" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="Syn
-" />
-<TGConnectingPoint num="0" id="1183" />
-<TGConnectingPoint num="1" id="1184" />
-<TGConnectingPoint num="2" id="1185" />
-<TGConnectingPoint num="3" id="1186" />
-<TGConnectingPoint num="4" id="1187" />
-<TGConnectingPoint num="5" id="1188" />
-<TGConnectingPoint num="6" id="1189" />
-<TGConnectingPoint num="7" id="1190" />
-<TGConnectingPoint num="8" id="1191" />
-<TGConnectingPoint num="9" id="1192" />
-<TGConnectingPoint num="10" id="1193" />
-<TGConnectingPoint num="11" id="1194" />
-<TGConnectingPoint num="12" id="1195" />
-<TGConnectingPoint num="13" id="1196" />
-<TGConnectingPoint num="14" id="1197" />
-<TGConnectingPoint num="15" id="1198" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1217" />
+<TGConnectingPoint num="1" id="1218" />
 <extraparam>
-<Line value="Syn" />
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1216" >
-<cdparam x="1707" y="945" />
-<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1222" >
+<cdparam x="1026" y="1211" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="ack
-" />
-<TGConnectingPoint num="0" id="1200" />
-<TGConnectingPoint num="1" id="1201" />
-<TGConnectingPoint num="2" id="1202" />
-<TGConnectingPoint num="3" id="1203" />
-<TGConnectingPoint num="4" id="1204" />
-<TGConnectingPoint num="5" id="1205" />
-<TGConnectingPoint num="6" id="1206" />
-<TGConnectingPoint num="7" id="1207" />
-<TGConnectingPoint num="8" id="1208" />
-<TGConnectingPoint num="9" id="1209" />
-<TGConnectingPoint num="10" id="1210" />
-<TGConnectingPoint num="11" id="1211" />
-<TGConnectingPoint num="12" id="1212" />
-<TGConnectingPoint num="13" id="1213" />
-<TGConnectingPoint num="14" id="1214" />
-<TGConnectingPoint num="15" id="1215" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1220" />
+<TGConnectingPoint num="1" id="1221" />
 <extraparam>
-<Line value="ack" />
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1219" >
-<cdparam x="2198" y="1198" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1224" >
+<cdparam x="602" y="762" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1217" />
-<TGConnectingPoint num="1" id="1218" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1223" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1221" >
-<cdparam x="2227" y="1483" />
+<COMPONENT type="1001" id="1226" >
+<cdparam x="873" y="922" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1220" />
+<TGConnectingPoint num="0" id="1225" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="1224" >
-<cdparam x="2198" y="1298" />
-<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1229" >
+<cdparam x="1169" y="1214" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1222" />
-<TGConnectingPoint num="1" id="1223" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1227" />
+<TGConnectingPoint num="1" id="1228" />
 <extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1227" >
-<cdparam x="2209" y="1365" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1246" >
+<cdparam x="1159" y="1153" />
+<sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1225" />
-<TGConnectingPoint num="1" id="1226" />
+<infoparam name="UML Note" value="send Ack of Fin
+" />
+<TGConnectingPoint num="0" id="1230" />
+<TGConnectingPoint num="1" id="1231" />
+<TGConnectingPoint num="2" id="1232" />
+<TGConnectingPoint num="3" id="1233" />
+<TGConnectingPoint num="4" id="1234" />
+<TGConnectingPoint num="5" id="1235" />
+<TGConnectingPoint num="6" id="1236" />
+<TGConnectingPoint num="7" id="1237" />
+<TGConnectingPoint num="8" id="1238" />
+<TGConnectingPoint num="9" id="1239" />
+<TGConnectingPoint num="10" id="1240" />
+<TGConnectingPoint num="11" id="1241" />
+<TGConnectingPoint num="12" id="1242" />
+<TGConnectingPoint num="13" id="1243" />
+<TGConnectingPoint num="14" id="1244" />
+<TGConnectingPoint num="15" id="1245" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1230" >
-<cdparam x="2161" y="1136" />
-<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1249" >
+<cdparam x="1158" y="1295" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1228" />
-<TGConnectingPoint num="1" id="1229" />
+<infoparam name="action state" value="tcpctrl.state =8" />
+<TGConnectingPoint num="0" id="1247" />
+<TGConnectingPoint num="1" id="1248" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1233" >
-<cdparam x="2214" y="1248" />
+<COMPONENT type="1001" id="1251" >
+<cdparam x="1198" y="1471" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1250" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1254" >
+<cdparam x="1158" y="1402" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =0" />
+<TGConnectingPoint num="0" id="1252" />
+<TGConnectingPoint num="1" id="1253" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1257" >
+<cdparam x="1185" y="1351" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1231" />
-<TGConnectingPoint num="1" id="1232" />
+<TGConnectingPoint num="0" id="1255" />
+<TGConnectingPoint num="1" id="1256" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1236" >
-<cdparam x="2187" y="1424" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1259" >
+<cdparam x="1277" y="1070" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="1234" />
-<TGConnectingPoint num="1" id="1235" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1258" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1239" >
-<cdparam x="2278" y="1122" />
+<COMPONENT type="1001" id="1261" >
+<cdparam x="1519" y="1457" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1260" />
+</COMPONENT>
+
+<COMPONENT type="1006" id="1264" >
+<cdparam x="1489" y="1132" />
+<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoA(1)" />
+<TGConnectingPoint num="0" id="1262" />
+<TGConnectingPoint num="1" id="1263" />
+<extraparam>
+<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1267" >
+<cdparam x="1490" y="1348" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1237" />
-<TGConnectingPoint num="1" id="1238" />
+<TGConnectingPoint num="0" id="1265" />
+<TGConnectingPoint num="1" id="1266" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1256" >
-<cdparam x="2283" y="1065" />
-<sizeparam width="114" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1270" >
+<cdparam x="1707" y="1026" />
+<sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="send Ack of SYN
-" />
-<TGConnectingPoint num="0" id="1240" />
-<TGConnectingPoint num="1" id="1241" />
-<TGConnectingPoint num="2" id="1242" />
-<TGConnectingPoint num="3" id="1243" />
-<TGConnectingPoint num="4" id="1244" />
-<TGConnectingPoint num="5" id="1245" />
-<TGConnectingPoint num="6" id="1246" />
-<TGConnectingPoint num="7" id="1247" />
-<TGConnectingPoint num="8" id="1248" />
-<TGConnectingPoint num="9" id="1249" />
-<TGConnectingPoint num="10" id="1250" />
-<TGConnectingPoint num="11" id="1251" />
-<TGConnectingPoint num="12" id="1252" />
-<TGConnectingPoint num="13" id="1253" />
-<TGConnectingPoint num="14" id="1254" />
-<TGConnectingPoint num="15" id="1255" />
+<infoparam name="send event" value="stop()" />
+<TGConnectingPoint num="0" id="1268" />
+<TGConnectingPoint num="1" id="1269" />
 <extraparam>
-<Line value="send Ack of SYN" />
+<Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1259" >
-<cdparam x="2267" y="1267" />
-<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1287" >
+<cdparam x="1759" y="1192" />
+<sizeparam width="86" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="1257" />
-<TGConnectingPoint num="1" id="1258" />
+<infoparam name="UML Note" value="Correct ack
+" />
+<TGConnectingPoint num="0" id="1271" />
+<TGConnectingPoint num="1" id="1272" />
+<TGConnectingPoint num="2" id="1273" />
+<TGConnectingPoint num="3" id="1274" />
+<TGConnectingPoint num="4" id="1275" />
+<TGConnectingPoint num="5" id="1276" />
+<TGConnectingPoint num="6" id="1277" />
+<TGConnectingPoint num="7" id="1278" />
+<TGConnectingPoint num="8" id="1279" />
+<TGConnectingPoint num="9" id="1280" />
+<TGConnectingPoint num="10" id="1281" />
+<TGConnectingPoint num="11" id="1282" />
+<TGConnectingPoint num="12" id="1283" />
+<TGConnectingPoint num="13" id="1284" />
+<TGConnectingPoint num="14" id="1285" />
+<TGConnectingPoint num="15" id="1286" />
+<extraparam>
+<Line value="Correct ack" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1261" >
-<cdparam x="2307" y="1324" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1304" >
+<cdparam x="1635" y="1168" />
+<sizeparam width="71" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1260" />
+<infoparam name="UML Note" value="false ack
+" />
+<TGConnectingPoint num="0" id="1288" />
+<TGConnectingPoint num="1" id="1289" />
+<TGConnectingPoint num="2" id="1290" />
+<TGConnectingPoint num="3" id="1291" />
+<TGConnectingPoint num="4" id="1292" />
+<TGConnectingPoint num="5" id="1293" />
+<TGConnectingPoint num="6" id="1294" />
+<TGConnectingPoint num="7" id="1295" />
+<TGConnectingPoint num="8" id="1296" />
+<TGConnectingPoint num="9" id="1297" />
+<TGConnectingPoint num="10" id="1298" />
+<TGConnectingPoint num="11" id="1299" />
+<TGConnectingPoint num="12" id="1300" />
+<TGConnectingPoint num="13" id="1301" />
+<TGConnectingPoint num="14" id="1302" />
+<TGConnectingPoint num="15" id="1303" />
+<extraparam>
+<Line value="false ack" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1264" >
-<cdparam x="2294" y="1199" />
-<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1307" >
+<cdparam x="1602" y="1299" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1262" />
-<TGConnectingPoint num="1" id="1263" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1305" />
+<TGConnectingPoint num="1" id="1306" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1266" >
-<cdparam x="1637" y="1057" />
+<COMPONENT type="1001" id="1309" >
+<cdparam x="1631" y="1468" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1265" />
+<TGConnectingPoint num="0" id="1308" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1268" >
-<cdparam x="2168" y="1421" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1326" >
+<cdparam x="1469" y="1295" />
+<sizeparam width="127" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1267" />
+<infoparam name="UML Note" value="return acknowldge
+" />
+<TGConnectingPoint num="0" id="1310" />
+<TGConnectingPoint num="1" id="1311" />
+<TGConnectingPoint num="2" id="1312" />
+<TGConnectingPoint num="3" id="1313" />
+<TGConnectingPoint num="4" id="1314" />
+<TGConnectingPoint num="5" id="1315" />
+<TGConnectingPoint num="6" id="1316" />
+<TGConnectingPoint num="7" id="1317" />
+<TGConnectingPoint num="8" id="1318" />
+<TGConnectingPoint num="9" id="1319" />
+<TGConnectingPoint num="10" id="1320" />
+<TGConnectingPoint num="11" id="1321" />
+<TGConnectingPoint num="12" id="1322" />
+<TGConnectingPoint num="13" id="1323" />
+<TGConnectingPoint num="14" id="1324" />
+<TGConnectingPoint num="15" id="1325" />
+<extraparam>
+<Line value="return acknowldge" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1270" >
-<cdparam x="2267" y="1039" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1343" >
+<cdparam x="1620" y="927" />
+<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1269" />
+<infoparam name="UML Note" value="data
+" />
+<TGConnectingPoint num="0" id="1327" />
+<TGConnectingPoint num="1" id="1328" />
+<TGConnectingPoint num="2" id="1329" />
+<TGConnectingPoint num="3" id="1330" />
+<TGConnectingPoint num="4" id="1331" />
+<TGConnectingPoint num="5" id="1332" />
+<TGConnectingPoint num="6" id="1333" />
+<TGConnectingPoint num="7" id="1334" />
+<TGConnectingPoint num="8" id="1335" />
+<TGConnectingPoint num="9" id="1336" />
+<TGConnectingPoint num="10" id="1337" />
+<TGConnectingPoint num="11" id="1338" />
+<TGConnectingPoint num="12" id="1339" />
+<TGConnectingPoint num="13" id="1340" />
+<TGConnectingPoint num="14" id="1341" />
+<TGConnectingPoint num="15" id="1342" />
+<extraparam>
+<Line value="data" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1273" >
-<cdparam x="1465" y="1192" />
-<sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1346" >
+<cdparam x="1506" y="1405" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="receive_Application()" />
-<TGConnectingPoint num="0" id="1271" />
-<TGConnectingPoint num="1" id="1272" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1344" />
+<TGConnectingPoint num="1" id="1345" />
 <extraparam>
-<Data eventName="receive_Application" nbOfParams="5" />
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1276" >
-<cdparam x="1698" y="1086" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1349" >
+<cdparam x="1618" y="1348" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="1274" />
-<TGConnectingPoint num="1" id="1275" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1347" />
+<TGConnectingPoint num="1" id="1348" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="1277" >
-<cdparam x="192" y="445" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="190" y="449" id="528" />
-<P2  x="188" y="476" id="689" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1278" >
-<cdparam x="1048" y="795" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1048" y="795" id="667" />
-<P2  x="1728" y="865" id="589" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1279" >
-<cdparam x="1048" y="795" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1089" y="954" id="639" />
-<P2  x="1208" y="1010" id="609" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1280" >
-<cdparam x="1008" y="610" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to execI" value="null" />
-<P1  x="1008" y="610" id="743" />
-<P2  x="1008" y="696" id="671" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1281" >
-<cdparam x="722" y="614" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to execI" value="null" />
-<P1  x="722" y="614" id="758" />
-<P2  x="722" y="689" id="627" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1282" >
-<cdparam x="504" y="597" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="504" y="597" id="707" />
-<P2  x="572" y="702" id="621" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1283" >
-<cdparam x="464" y="637" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="464" y="637" id="708" />
-<P2  x="464" y="778" id="675" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1284" >
-<cdparam x="424" y="597" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="424" y="597" id="706" />
-<P2  x="346" y="759" id="655" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1285" >
-<cdparam x="289" y="619" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to read channel" value="null" />
-<P1  x="289" y="619" id="716" />
-<P2  x="230" y="803" id="812" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1286" >
-<cdparam x="249" y="579" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="249" y="579" id="714" />
-<P2  x="132" y="789" id="659" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1287" >
-<cdparam x="371" y="93" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to notified event" value="null" />
-<P1  x="320" y="99" id="746" />
-<P2  x="374" y="128" id="754" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1288" >
-<cdparam x="234" y="169" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="235" y="169" id="752" />
-<P2  x="235" y="202" id="749" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1289" >
-<cdparam x="234" y="104" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to action state" value="null" />
-<P1  x="235" y="110" id="747" />
-<P2  x="235" y="139" id="751" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1290" >
-<cdparam x="234" y="47" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to for loop" value="null" />
-<P1  x="234" y="47" id="718" />
-<P2  x="235" y="80" id="745" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1291" >
-<cdparam x="425" y="162" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="374" y="158" id="755" />
-<P2  x="374" y="182" id="697" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1292" >
-<cdparam x="564" y="482" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="781" />
-<P2  x="722" y="529" id="760" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1293" >
-<cdparam x="722" y="559" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="722" y="559" id="761" />
-<P2  x="722" y="584" id="757" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1294" >
-<cdparam x="604" y="442" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="504" y="282" id="777" />
-<P2  x="1008" y="523" id="763" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1295" >
-<cdparam x="1007" y="553" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="1008" y="553" id="764" />
-<P2  x="1008" y="580" id="742" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1296" >
-<cdparam x="524" y="442" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="778" />
-<P2  x="464" y="487" id="766" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1297" >
-<cdparam x="330" y="428" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="779" />
-<P2  x="289" y="463" id="769" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1298" >
-<cdparam x="318" y="520" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="289" y="493" id="770" />
-<P2  x="289" y="554" id="713" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1299" >
-<cdparam x="160" y="481" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="148" y="501" id="690" />
-<P2  x="148" y="544" id="737" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1300" >
-<cdparam x="290" y="388" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="776" />
-<P2  x="188" y="378" id="772" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1301" >
-<cdparam x="229" y="467" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="188" y="408" id="773" />
-<P2  x="190" y="419" id="527" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1302" >
-<cdparam x="228" y="501" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="228" y="501" id="691" />
-<P2  x="228" y="524" id="786" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1303" >
-<cdparam x="334" y="207" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="334" y="207" id="698" />
-<P2  x="301" y="223" id="790" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1304" >
-<cdparam x="301" y="253" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="301" y="253" id="791" />
-<P2  x="301" y="285" id="793" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1305" >
-<cdparam x="464" y="517" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="464" y="517" id="767" />
-<P2  x="464" y="572" id="705" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1306" >
-<cdparam x="329" y="579" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="329" y="579" id="715" />
-<P2  x="329" y="609" id="788" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1307" >
-<cdparam x="126" y="574" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="148" y="574" id="738" />
-<P2  x="148" y="610" id="740" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1308" >
-<cdparam x="414" y="207" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to select" value="null" />
-<P1  x="414" y="207" id="699" />
-<P2  x="464" y="257" id="775" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1309" >
-<cdparam x="230" y="833" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to execI" value="null" />
-<P1  x="230" y="833" id="813" />
-<P2  x="230" y="858" id="679" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1310" >
-<cdparam x="716" y="749" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="968" y="795" id="666" />
-<P2  x="843" y="859" id="649" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1311" >
-<cdparam x="720" y="1074" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="728" y="990" id="862" />
-<P2  x="728" y="1027" id="864" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1312" >
-<cdparam x="733" y="899" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="803" y="884" id="650" />
-<P2  x="728" y="960" id="861" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1313" >
-<cdparam x="800" y="938" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="843" y="924" id="652" />
-<P2  x="800" y="1004" id="643" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1314" >
-<cdparam x="800" y="1057" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="800" y="1044" id="644" />
-<P2  x="800" y="1081" id="866" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1315" >
-<cdparam x="132" y="886" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="132" y="886" id="993" />
-<P2  x="132" y="933" id="828" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1316" >
-<cdparam x="943" y="1061" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="943" y="1060" id="632" />
-<P2  x="943" y="1118" id="911" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1317" >
-<cdparam x="1049" y="1093" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1049" y="1092" id="684" />
-<P2  x="1049" y="1150" id="936" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1318" >
-<cdparam x="1049" y="994" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1049" y="994" id="640" />
-<P2  x="1049" y="1052" id="683" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1319" >
-<cdparam x="696" y="742" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="722" y="729" id="628" />
-<P2  x="722" y="753" id="961" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1320" >
-<cdparam x="132" y="1125" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="132" y="1125" id="967" />
-<P2  x="132" y="1162" id="969" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1321" >
-<cdparam x="132" y="1192" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="132" y="1192" id="970" />
-<P2  x="132" y="1231" id="972" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1322" >
-<cdparam x="132" y="1066" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="132" y="1066" id="826" />
-<P2  x="132" y="1095" id="966" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1323" >
-<cdparam x="229" y="1127" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="230" y="1127" id="975" />
-<P2  x="230" y="1164" id="977" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1324" >
-<cdparam x="346" y="1131" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="346" y="1131" id="981" />
-<P2  x="346" y="1168" id="983" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1325" >
-<cdparam x="346" y="1051" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="346" y="1051" id="832" />
-<P2  x="346" y="1101" id="980" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1326" >
-<cdparam x="437" y="1118" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="464" y="1115" id="987" />
-<P2  x="464" y="1154" id="989" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1327" >
-<cdparam x="438" y="1057" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="464" y="1057" id="821" />
-<P2  x="464" y="1085" id="986" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1328" >
-<cdparam x="132" y="808" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="132" y="829" id="660" />
-<P2  x="132" y="856" id="992" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1329" >
-<cdparam x="230" y="898" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="230" y="898" id="680" />
-<P2  x="230" y="935" id="995" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1330" >
-<cdparam x="230" y="965" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="230" y="965" id="996" />
-<P2  x="230" y="997" id="815" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1331" >
-<cdparam x="346" y="799" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="346" y="799" id="656" />
-<P2  x="346" y="826" id="1001" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1332" >
-<cdparam x="346" y="856" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="346" y="856" id="1002" />
-<P2  x="346" y="895" id="839" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1333" >
-<cdparam x="439" y="818" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="464" y="818" id="676" />
-<P2  x="464" y="860" id="998" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1334" >
-<cdparam x="439" y="890" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="464" y="890" id="999" />
-<P2  x="464" y="936" id="836" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1335" >
-<cdparam x="132" y="963" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="132" y="963" id="829" />
-<P2  x="132" y="981" id="1013" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1336" >
-<cdparam x="132" y="1011" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="132" y="1011" id="1014" />
-<P2  x="132" y="1036" id="825" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1337" >
-<cdparam x="230" y="1027" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="230" y="1027" id="816" />
-<P2  x="230" y="1047" id="1004" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1338" >
-<cdparam x="228" y="1088" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="230" y="1077" id="1005" />
-<P2  x="230" y="1097" id="974" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1339" >
-<cdparam x="346" y="925" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="346" y="925" id="840" />
-<P2  x="346" y="957" id="1007" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1340" >
-<cdparam x="348" y="987" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="346" y="987" id="1008" />
-<P2  x="346" y="1021" id="831" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1341" >
-<cdparam x="439" y="966" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="464" y="966" id="837" />
-<P2  x="464" y="978" id="1010" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1342" >
-<cdparam x="438" y="1008" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="464" y="1008" id="1011" />
-<P2  x="464" y="1027" id="820" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1343" >
-<cdparam x="722" y="783" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="722" y="783" id="962" />
-<P2  x="722" y="808" id="1016" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1344" >
-<cdparam x="722" y="838" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="722" y="838" id="1017" />
-<P2  x="722" y="860" id="964" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1345" >
-<cdparam x="800" y="1111" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="800" y="1111" id="867" />
-<P2  x="800" y="1136" id="1019" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1346" >
-<cdparam x="798" y="1166" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="800" y="1166" id="1020" />
-<P2  x="800" y="1188" id="903" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1347" >
-<cdparam x="943" y="1148" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="943" y="1148" id="912" />
-<P2  x="943" y="1173" id="1022" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1348" >
-<cdparam x="950" y="1201" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="943" y="1203" id="1023" />
-<P2  x="943" y="1229" id="931" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1349" >
-<cdparam x="1049" y="1180" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1049" y="1180" id="937" />
-<P2  x="1049" y="1206" id="1025" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1350" >
-<cdparam x="1049" y="1223" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="1049" y="1236" id="1026" />
-<P2  x="1049" y="1261" id="956" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1351" >
-<cdparam x="883" y="884" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="883" y="884" id="651" />
-<P2  x="883" y="917" id="1030" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1352" >
-<cdparam x="612" y="727" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="612" y="727" id="623" />
-<P2  x="612" y="757" id="1028" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1353" >
-<cdparam x="532" y="727" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="532" y="727" id="622" />
-<P2  x="496" y="763" id="906" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1354" >
-<cdparam x="799" y="1218" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="800" y="1218" id="904" />
-<P2  x="800" y="1265" id="842" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1355" >
-<cdparam x="1009" y="954" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1009" y="954" id="638" />
-<P2  x="943" y="1020" id="631" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1356" >
-<cdparam x="229" y="1194" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="230" y="1194" id="978" />
-<P2  x="230" y="1232" id="818" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1357" >
-<cdparam x="346" y="1198" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="346" y="1198" id="984" />
-<P2  x="346" y="1224" id="834" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1358" >
-<cdparam x="438" y="1184" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="464" y="1184" id="990" />
-<P2  x="464" y="1208" id="823" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1359" >
-<cdparam x="496" y="793" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="496" y="793" id="907" />
-<P2  x="496" y="825" id="909" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1360" >
-<cdparam x="943" y="1259" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="943" y="1259" id="932" />
-<P2  x="943" y="1306" id="934" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1361" >
-<cdparam x="1008" y="736" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to choice" value="null" />
-<P1  x="1008" y="736" id="672" />
-<P2  x="1008" y="770" id="665" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1362" >
-<cdparam x="1008" y="835" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1008" y="835" id="668" />
-<P2  x="1049" y="929" id="637" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1363" >
-<cdparam x="1049" y="1291" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1049" y="1291" id="957" />
-<P2  x="1049" y="1336" id="959" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1364" >
-<cdparam x="1208" y="1152" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1208" y="1142" id="616" />
-<P2  x="1208" y="1209" id="1032" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1365" >
-<cdparam x="1208" y="1239" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to action state" value="null" />
-<P1  x="1208" y="1239" id="1033" />
-<P2  x="1208" y="1290" id="1052" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1366" >
-<cdparam x="1208" y="1320" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send event" value="null" />
-<P1  x="1208" y="1320" id="1053" />
-<P2  x="1208" y="1346" id="1060" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1367" >
-<cdparam x="1206" y="1385" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="1208" y="1376" id="1061" />
-<P2  x="1208" y="1397" id="1057" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1368" >
-<cdparam x="1206" y="1088" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1208" y="1075" id="612" />
-<P2  x="1208" y="1102" id="615" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1369" >
-<cdparam x="1248" y="1035" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1248" y="1035" id="611" />
-<P2  x="1287" y="1065" id="1063" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1370" >
-<cdparam x="1207" y="1427" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1208" y="1427" id="1058" />
-<P2  x="1208" y="1466" id="1055" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1371" >
-<cdparam x="1553" y="1019" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1567" y="1021" id="582" />
-<P2  x="1529" y="1059" id="575" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1372" >
-<cdparam x="1529" y="1324" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1289" id="572" />
-<P2  x="1529" y="1343" id="1070" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1373" >
-<cdparam x="1684" y="929" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="1728" y="930" id="592" />
-<P2  x="1728" y="1021" id="1073" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1374" >
-<cdparam x="1615" y="1283" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1641" y="1270" id="596" />
-<P2  x="1641" y="1294" id="1110" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1375" >
-<cdparam x="1641" y="1324" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1641" y="1324" id="1111" />
-<P2  x="1641" y="1343" id="1152" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1376" >
-<cdparam x="1529" y="1373" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1373" id="1071" />
-<P2  x="1529" y="1400" id="1149" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1377" >
-<cdparam x="1529" y="1422" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="1529" y="1430" id="1150" />
-<P2  x="1529" y="1452" id="1065" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1378" >
-<cdparam x="1642" y="1373" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="1641" y="1373" id="1153" />
-<P2  x="1641" y="1399" id="1155" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1379" >
-<cdparam x="1956" y="1361" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1956" y="1361" id="550" />
-<P2  x="1920" y="1406" id="1165" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1380" >
-<cdparam x="2100" y="1490" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2101" y="1491" id="1173" />
-<P2  x="2101" y="1532" id="1175" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1381" >
-<cdparam x="1996" y="1401" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1996" y="1401" id="552" />
-<P2  x="1996" y="1429" id="1180" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1382" >
-<cdparam x="1996" y="1459" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to action state" value="null" />
-<P1  x="1996" y="1459" id="1181" />
-<P2  x="1996" y="1488" id="1177" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1383" >
-<cdparam x="2021" y="1038" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="2237" y="966" id="542" />
-<P2  x="2237" y="1054" id="599" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1384" >
-<cdparam x="2217" y="1323" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="2237" y="1323" id="1223" />
-<P2  x="2237" y="1360" id="1225" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1385" >
-<cdparam x="2218" y="1094" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="2237" y="1094" id="600" />
-<P2  x="2237" y="1131" id="1228" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1386" >
-<cdparam x="2218" y="1161" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="2237" y="1161" id="1229" />
-<P2  x="2237" y="1193" id="1217" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1387" >
-<cdparam x="2218" y="1223" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2237" y="1223" id="1218" />
-<P2  x="2237" y="1243" id="1231" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1388" >
-<cdparam x="2216" y="1284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="2237" y="1273" id="1232" />
-<P2  x="2237" y="1293" id="1222" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1389" >
-<cdparam x="2217" y="1390" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to action state" value="null" />
-<P1  x="2237" y="1390" id="1226" />
-<P2  x="2237" y="1419" id="1234" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1390" >
-<cdparam x="2341" y="1060" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="2317" y="1059" id="604" />
-<P2  x="2317" y="1117" id="1237" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1391" >
-<cdparam x="1529" y="1099" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1099" id="576" />
-<P2  x="1529" y="1127" id="1067" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1392" >
-<cdparam x="2101" y="1433" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="2101" y="1433" id="536" />
-<P2  x="2101" y="1461" id="1172" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1393" >
-<cdparam x="2158" y="1460" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2141" y="1393" id="535" />
-<P2  x="2178" y="1416" id="1267" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1394" >
-<cdparam x="1688" y="890" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1688" y="890" id="590" />
-<P2  x="1607" y="996" id="581" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1395" >
-<cdparam x="1768" y="890" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1768" y="890" id="591" />
-<P2  x="2277" y="941" id="541" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1396" >
-<cdparam x="2317" y="966" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="2317" y="966" id="543" />
-<P2  x="2317" y="1019" id="603" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1397" >
-<cdparam x="2341" y="1147" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2317" y="1147" id="1238" />
-<P2  x="2317" y="1194" id="1262" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1398" >
-<cdparam x="2341" y="1224" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send event" value="null" />
-<P1  x="2317" y="1224" id="1263" />
-<P2  x="2317" y="1262" id="1257" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1399" >
-<cdparam x="1731" y="1051" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to choice" value="null" />
-<P1  x="1728" y="1051" id="1074" />
-<P2  x="1728" y="1081" id="1274" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1400" >
-<cdparam x="1647" y="1021" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1647" y="1021" id="583" />
-<P2  x="1647" y="1052" id="1265" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1401" >
-<cdparam x="1826" y="1324" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1826" y="1324" id="560" />
-<P2  x="1826" y="1344" id="1160" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1402" >
-<cdparam x="1826" y="1374" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1826" y="1374" id="1161" />
-<P2  x="1826" y="1452" id="1163" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1403" >
-<cdparam x="1786" y="1284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1786" y="1284" id="558" />
-<P2  x="1740" y="1330" id="1158" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1404" >
-<cdparam x="1920" y="1436" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1920" y="1436" id="1166" />
-<P2  x="1920" y="1476" id="1168" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1405" >
-<cdparam x="1996" y="1518" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1996" y="1518" id="1178" />
-<P2  x="1996" y="1538" id="1170" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1406" >
-<cdparam x="2036" y="1361" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="2036" y="1361" id="551" />
-<P2  x="2101" y="1368" id="533" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1407" >
-<cdparam x="1866" y="1284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1866" y="1284" id="559" />
-<P2  x="1996" y="1336" id="549" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1408" >
-<cdparam x="2341" y="1292" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2317" y="1292" id="1258" />
-<P2  x="2317" y="1319" id="1260" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1409" >
-<cdparam x="2217" y="1449" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2237" y="1449" id="1235" />
-<P2  x="2237" y="1478" id="1220" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1410" >
-<cdparam x="2277" y="1006" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2277" y="1006" id="544" />
-<P2  x="2277" y="1034" id="1269" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1411" >
-<cdparam x="1642" y="1429" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="1641" y="1429" id="1156" />
-<P2  x="1641" y="1463" id="1113" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1412" >
-<cdparam x="1529" y="1157" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1157" id="1068" />
-<P2  x="1529" y="1187" id="1271" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1413" >
-<cdparam x="1529" y="1217" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to execI" value="null" />
-<P1  x="1529" y="1217" id="1272" />
-<P2  x="1529" y="1249" id="571" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1414" >
-<cdparam x="1691" y="1156" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1688" y="1156" id="566" />
-<P2  x="1641" y="1230" id="595" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1415" >
-<cdparam x="1771" y="1156" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1768" y="1156" id="567" />
-<P2  x="1826" y="1259" id="557" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1416" >
-<cdparam x="1731" y="1111" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to choice" value="null" />
-<P1  x="1728" y="1111" id="1275" />
-<P2  x="1728" y="1131" id="565" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1424" >
-<cdparam x="509" y="222" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1420" />
-<TGConnectingPoint num="1" id="1421" />
-<TGConnectingPoint num="2" id="1422" />
-<TGConnectingPoint num="3" id="1423" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1417" >
-<father id="1424" num="0" />
-<cdparam x="464" y="232" />
-<sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ x==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1418" >
-<father id="1424" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ x&gt;0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1419" >
-<father id="1424" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="1426" >
-<cdparam x="489" y="26" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1425" />
-</COMPONENT>
-
-<COMPONENT type="1001" id="1428" >
-<cdparam x="417" y="407" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1427" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1431" >
-<cdparam x="396" y="339" />
-<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="timeOut()" />
-<TGConnectingPoint num="0" id="1429" />
-<TGConnectingPoint num="1" id="1430" />
-<extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1434" >
-<cdparam x="599" y="300" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="stop() " />
-<TGConnectingPoint num="0" id="1432" />
-<TGConnectingPoint num="1" id="1433" />
-<extraparam>
-<Data eventName="stop" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1436" >
-<cdparam x="612" y="365" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1435" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="1439" >
-<cdparam x="491" y="157" />
-<sizeparam width="70" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?stop()" />
-<TGConnectingPoint num="0" id="1437" />
-<TGConnectingPoint num="1" id="1438" />
-<extraparam>
-<Data eventName="stop" variable="x" />
-</extraparam>
-</COMPONENT>
-
-<CONNECTOR type="115" id="1440" >
-<cdparam x="496" y="46" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="496" y="46" id="1425" />
-<P2  x="526" y="152" id="1437" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1441" >
-<cdparam x="484" y="237" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="484" y="237" id="1421" />
-<P2  x="427" y="334" id="1429" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1442" >
-<cdparam x="427" y="364" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="427" y="364" id="1430" />
-<P2  x="427" y="402" id="1427" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1443" >
-<cdparam x="622" y="325" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="622" y="325" id="1433" />
-<P2  x="622" y="360" id="1435" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1444" >
-<cdparam x="524" y="175" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="526" y="182" id="1438" />
-<P2  x="524" y="212" id="1420" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1445" >
-<cdparam x="564" y="237" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="564" y="237" id="1422" />
-<P2  x="622" y="295" id="1432" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1001" id="1447" >
-<cdparam x="430" y="408" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1446" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="1450" >
-<cdparam x="418" y="364" />
-<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="end() " />
-<TGConnectingPoint num="0" id="1448" />
-<TGConnectingPoint num="1" id="1449" />
-<extraparam>
-<Data eventName="end" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1453" >
-<cdparam x="238" y="201" />
-<sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="connectionOpened() " />
-<TGConnectingPoint num="0" id="1451" />
-<TGConnectingPoint num="1" id="1452" />
-<extraparam>
-<Data eventName="connectionOpened" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1000" id="1455" >
-<cdparam x="159" y="66" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1454" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="1458" >
-<cdparam x="141" y="129" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="reset() " />
-<TGConnectingPoint num="0" id="1456" />
-<TGConnectingPoint num="1" id="1457" />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1461" >
-<cdparam x="113" y="182" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="answerToReset()" />
-<TGConnectingPoint num="0" id="1459" />
-<TGConnectingPoint num="1" id="1460" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1464" >
-<cdparam x="144" y="237" />
-<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTS() " />
-<TGConnectingPoint num="0" id="1462" />
-<TGConnectingPoint num="1" id="1463" />
-<extraparam>
-<Data eventName="pTS" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1467" >
-<cdparam x="124" y="308" />
-<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTSConfirm()" />
-<TGConnectingPoint num="0" id="1465" />
-<TGConnectingPoint num="1" id="1466" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="1484" >
-<cdparam x="376" y="98" />
-<sizeparam width="233" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="The first two layers of the OSI model 
-are used to communicate between 
-the smart card and the terminal
-" />
-<TGConnectingPoint num="0" id="1468" />
-<TGConnectingPoint num="1" id="1469" />
-<TGConnectingPoint num="2" id="1470" />
-<TGConnectingPoint num="3" id="1471" />
-<TGConnectingPoint num="4" id="1472" />
-<TGConnectingPoint num="5" id="1473" />
-<TGConnectingPoint num="6" id="1474" />
-<TGConnectingPoint num="7" id="1475" />
-<TGConnectingPoint num="8" id="1476" />
-<TGConnectingPoint num="9" id="1477" />
-<TGConnectingPoint num="10" id="1478" />
-<TGConnectingPoint num="11" id="1479" />
-<TGConnectingPoint num="12" id="1480" />
-<TGConnectingPoint num="13" id="1481" />
-<TGConnectingPoint num="14" id="1482" />
-<TGConnectingPoint num="15" id="1483" />
-<extraparam>
-<Line value="The first two layers of the OSI model " />
-<Line value="are used to communicate between " />
-<Line value="the smart card and the terminal" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="1487" >
-<cdparam x="254" y="97" />
-<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_TCP_IP()" />
-<TGConnectingPoint num="0" id="1485" />
-<TGConnectingPoint num="1" id="1486" />
-<extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="1490" >
-<cdparam x="241" y="148" />
-<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="1488" />
-<TGConnectingPoint num="1" id="1489" />
-<breakpoint />
-<extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1492" >
-<cdparam x="581" y="550" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1491" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1495" >
-<cdparam x="240" y="471" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready_SC()" />
-<TGConnectingPoint num="0" id="1493" />
-<TGConnectingPoint num="1" id="1494" />
-<extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1497" >
-<cdparam x="283" y="547" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1496" />
-</COMPONENT>
-
-<COMPONENT type="1009" id="1500" >
-<cdparam x="252" y="429" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="1498" />
-<TGConnectingPoint num="1" id="1499" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1503" >
-<cdparam x="268" y="385" />
-<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="send() " />
-<TGConnectingPoint num="0" id="1501" />
-<TGConnectingPoint num="1" id="1502" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1506" >
-<cdparam x="250" y="513" />
-<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromSCtoD(1)" />
-<TGConnectingPoint num="0" id="1504" />
-<TGConnectingPoint num="1" id="1505" />
-<extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1509" >
-<cdparam x="562" y="472" />
-<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="1507" />
-<TGConnectingPoint num="1" id="1508" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1009" id="1512" >
-<cdparam x="546" y="433" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC(1) " />
-<TGConnectingPoint num="0" id="1510" />
-<TGConnectingPoint num="1" id="1511" />
-<extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1515" >
-<cdparam x="552" y="509" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="1513" />
-<TGConnectingPoint num="1" id="1514" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1518" >
-<cdparam x="536" y="390" />
-<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready(t, b) " />
-<TGConnectingPoint num="0" id="1516" />
-<TGConnectingPoint num="1" id="1517" />
-<breakpoint />
-<extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-<Param index="0" value="t" />
-<Param index="1" value="b" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1014" id="1522" >
-<cdparam x="236" y="261" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
-<TGConnectingPoint num="0" id="1519" />
-<TGConnectingPoint num="1" id="1520" />
-<TGConnectingPoint num="2" id="1521" />
-<extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1524" >
-<cdparam x="275" y="309" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1523" />
-</COMPONENT>
-
-<COMPONENT type="1018" id="1535" >
-<cdparam x="424" y="285" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="1525" />
-<TGConnectingPoint num="1" id="1526" />
-<TGConnectingPoint num="2" id="1527" />
-<TGConnectingPoint num="3" id="1528" />
-<TGConnectingPoint num="4" id="1529" />
-<TGConnectingPoint num="5" id="1530" />
-<TGConnectingPoint num="6" id="1531" />
-<TGConnectingPoint num="7" id="1532" />
-<TGConnectingPoint num="8" id="1533" />
-<TGConnectingPoint num="9" id="1534" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="1536" >
-<cdparam x="302" y="227" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="302" y="226" id="1452" />
-<P2  x="298" y="256" id="1519" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1541" >
-<cdparam x="111" y="331" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="166" y="333" id="1466" />
-<P2  x="298" y="92" id="1485" />
-<Point x="166" y="353" />
-<Point x="225" y="353" />
-<Point x="225" y="72" />
-<Point x="278" y="72" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1537" >
-<father id="1541" num="0" />
-<cdparam x="166" y="353" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1538" >
-<father id="1541" num="1" />
-<cdparam x="225" y="353" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1539" >
-<father id="1541" num="2" />
-<cdparam x="225" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1540" >
-<father id="1541" num="3" />
-<cdparam x="278" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<CONNECTOR type="115" id="1542" >
-<cdparam x="166" y="64" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to wait event" value="null" />
-<P1  x="166" y="86" id="1454" />
-<P2  x="166" y="124" id="1456" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1543" >
-<cdparam x="166" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="154" id="1457" />
-<P2  x="166" y="177" id="1459" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1544" >
-<cdparam x="312" y="133" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to send request" value="null" />
-<P1  x="298" y="122" id="1486" />
-<P2  x="298" y="143" id="1488" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1545" >
-<cdparam x="286" y="421" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="293" y="410" id="1502" />
-<P2  x="293" y="424" id="1498" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1546" >
-<cdparam x="286" y="486" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="293" y="454" id="1499" />
-<P2  x="293" y="466" id="1493" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1547" >
-<cdparam x="286" y="538" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="293" y="496" id="1494" />
-<P2  x="293" y="508" id="1504" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1548" >
-<cdparam x="286" y="594" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="293" y="538" id="1505" />
-<P2  x="293" y="542" id="1496" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1549" >
-<cdparam x="607" y="480" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="591" y="458" id="1511" />
-<P2  x="591" y="467" id="1507" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1550" >
-<cdparam x="606" y="524" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="591" y="497" id="1508" />
-<P2  x="591" y="504" id="1513" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1551" >
-<cdparam x="609" y="427" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="591" y="415" id="1517" />
-<P2  x="591" y="428" id="1510" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1552" >
-<cdparam x="606" y="586" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="591" y="534" id="1514" />
-<P2  x="591" y="545" id="1491" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1553" >
-<cdparam x="298" y="173" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to for loop" value="null" />
-<P1  x="298" y="173" id="1489" />
-<P2  x="302" y="196" id="1451" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1554" >
-<cdparam x="328" y="291" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to stop state" value="null" />
-<P1  x="298" y="286" id="1521" />
-<P2  x="285" y="304" id="1523" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1555" >
-<cdparam x="385" y="404" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="399" y="300" id="1526" />
-<P2  x="293" y="380" id="1501" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1556" >
-<cdparam x="533" y="462" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="479" y="300" id="1527" />
-<P2  x="591" y="385" id="1516" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1557" >
-<cdparam x="391" y="341" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to select" value="null" />
-<P1  x="361" y="275" id="1520" />
-<P2  x="439" y="275" id="1525" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1558" >
-<cdparam x="164" y="262" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="262" id="1463" />
-<P2  x="166" y="303" id="1465" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1559" >
-<cdparam x="166" y="207" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="166" y="207" id="1460" />
-<P2  x="166" y="232" id="1462" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1560" >
-<cdparam x="439" y="340" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="439" y="340" id="1528" />
-<P2  x="440" y="359" id="1448" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1561" >
-<cdparam x="440" y="389" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="440" y="389" id="1449" />
-<P2  x="440" y="403" id="1446" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1013" id="1565" >
-<cdparam x="505" y="259" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="1563" />
-<TGConnectingPoint num="1" id="1564" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1562" >
-<father id="1565" num="0" />
-<cdparam x="520" y="279" />
-<sizeparam width="16" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="10" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1010" id="1568" >
-<cdparam x="479" y="129" />
-<sizeparam width="66" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="opened() " />
-<TGConnectingPoint num="0" id="1566" />
-<TGConnectingPoint num="1" id="1567" />
-<extraparam>
-<Data eventName="opened" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1571" >
-<cdparam x="449" y="192" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="connectionOpened()" />
-<TGConnectingPoint num="0" id="1569" />
-<TGConnectingPoint num="1" id="1570" />
-<extraparam>
-<Data eventName="connectionOpened" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1012" id="1579" >
-<cdparam x="495" y="514" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="1575" />
-<TGConnectingPoint num="1" id="1576" />
-<TGConnectingPoint num="2" id="1577" />
-<TGConnectingPoint num="3" id="1578" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1572" >
-<father id="1579" num="0" />
-<cdparam x="470" y="524" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1573" >
-<father id="1579" num="1" />
-<cdparam x="530" y="524" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1574" >
-<father id="1579" num="2" />
-<cdparam x="515" y="559" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="1581" >
-<cdparam x="498" y="33" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="1580" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1584" >
-<cdparam x="482" y="71" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="open()" />
-<TGConnectingPoint num="0" id="1582" />
-<TGConnectingPoint num="1" id="1583" />
-<extraparam>
-<Data eventName="open" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1587" >
-<cdparam x="469" y="353" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="1585" />
-<TGConnectingPoint num="1" id="1586" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1590" >
-<cdparam x="471" y="399" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="send_TCP()" />
-<TGConnectingPoint num="0" id="1588" />
-<TGConnectingPoint num="1" id="1589" />
-<accessibility />
-<extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1592" >
-<cdparam x="577" y="648" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1591" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1595" >
-<cdparam x="563" y="589" />
-<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="1593" />
-<TGConnectingPoint num="1" id="1594" />
-<extraparam>
-<Data eventName="abort" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1598" >
-<cdparam x="410" y="597" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="close()" />
-<TGConnectingPoint num="0" id="1596" />
-<TGConnectingPoint num="1" id="1597" />
-<extraparam>
-<Data eventName="close" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1600" >
-<cdparam x="423" y="646" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1599" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="1601" >
-<cdparam x="510" y="294" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="510" y="294" id="1564" />
-<P2  x="509" y="348" id="1585" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1602" >
-<cdparam x="508" y="424" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="508" y="424" id="1589" />
-<P2  x="510" y="504" id="1575" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1603" >
-<cdparam x="512" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="512" y="154" id="1567" />
-<P2  x="511" y="187" id="1569" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1604" >
-<cdparam x="594" y="221" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="511" y="217" id="1570" />
-<P2  x="510" y="254" id="1563" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1605" >
-<cdparam x="506" y="36" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to send event" value="null" />
-<P1  x="505" y="53" id="1580" />
-<P2  x="505" y="66" id="1582" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1606" >
-<cdparam x="508" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="505" y="96" id="1583" />
-<P2  x="512" y="124" id="1566" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1607" >
-<cdparam x="509" y="397" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="509" y="378" id="1586" />
-<P2  x="508" y="394" id="1588" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1608" >
-<cdparam x="587" y="614" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="587" y="614" id="1594" />
-<P2  x="587" y="643" id="1591" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1609" >
-<cdparam x="471" y="608" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="470" y="529" id="1576" />
-<P2  x="433" y="592" id="1596" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1610" >
-<cdparam x="433" y="622" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="433" y="622" id="1597" />
-<P2  x="433" y="641" id="1599" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1611" >
-<cdparam x="551" y="608" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="550" y="529" id="1577" />
-<P2  x="587" y="584" id="1593" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-</Modeling>
-
-
-
-
-<Modeling type="TML Architecture" nameTab="Mapping1" >
-<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1102" id="1636" >
-<cdparam x="612" y="450" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Bus0" value="name" />
-<TGConnectingPoint num="0" id="1612" />
-<TGConnectingPoint num="1" id="1613" />
-<TGConnectingPoint num="2" id="1614" />
-<TGConnectingPoint num="3" id="1615" />
-<TGConnectingPoint num="4" id="1616" />
-<TGConnectingPoint num="5" id="1617" />
-<TGConnectingPoint num="6" id="1618" />
-<TGConnectingPoint num="7" id="1619" />
-<TGConnectingPoint num="8" id="1620" />
-<TGConnectingPoint num="9" id="1621" />
-<TGConnectingPoint num="10" id="1622" />
-<TGConnectingPoint num="11" id="1623" />
-<TGConnectingPoint num="12" id="1624" />
-<TGConnectingPoint num="13" id="1625" />
-<TGConnectingPoint num="14" id="1626" />
-<TGConnectingPoint num="15" id="1627" />
-<TGConnectingPoint num="16" id="1628" />
-<TGConnectingPoint num="17" id="1629" />
-<TGConnectingPoint num="18" id="1630" />
-<TGConnectingPoint num="19" id="1631" />
-<TGConnectingPoint num="20" id="1632" />
-<TGConnectingPoint num="21" id="1633" />
-<TGConnectingPoint num="22" id="1634" />
-<TGConnectingPoint num="23" id="1635" />
-<extraparam>
-<info stereotype="BUS-RR" nodeName="Bus0" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="0"  referenceAttack="null" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1105" id="1661" >
-<cdparam x="797" y="120" />
-<sizeparam width="200" height="200" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Memory0" value="name" />
-<TGConnectingPoint num="0" id="1637" />
-<TGConnectingPoint num="1" id="1638" />
-<TGConnectingPoint num="2" id="1639" />
-<TGConnectingPoint num="3" id="1640" />
-<TGConnectingPoint num="4" id="1641" />
-<TGConnectingPoint num="5" id="1642" />
-<TGConnectingPoint num="6" id="1643" />
-<TGConnectingPoint num="7" id="1644" />
-<TGConnectingPoint num="8" id="1645" />
-<TGConnectingPoint num="9" id="1646" />
-<TGConnectingPoint num="10" id="1647" />
-<TGConnectingPoint num="11" id="1648" />
-<TGConnectingPoint num="12" id="1649" />
-<TGConnectingPoint num="13" id="1650" />
-<TGConnectingPoint num="14" id="1651" />
-<TGConnectingPoint num="15" id="1652" />
-<TGConnectingPoint num="16" id="1653" />
-<TGConnectingPoint num="17" id="1654" />
-<TGConnectingPoint num="18" id="1655" />
-<TGConnectingPoint num="19" id="1656" />
-<TGConnectingPoint num="20" id="1657" />
-<TGConnectingPoint num="21" id="1658" />
-<TGConnectingPoint num="22" id="1659" />
-<TGConnectingPoint num="23" id="1660" />
-<extraparam>
-<info stereotype="MEMORY" nodeName="Memory0" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1100" id="1731" >
-<cdparam x="51" y="90" />
-<sizeparam width="459" height="321" minWidth="150" minHeight="150" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="cpu0" value="name" />
-<TGConnectingPoint num="0" id="1707" />
-<TGConnectingPoint num="1" id="1708" />
-<TGConnectingPoint num="2" id="1709" />
-<TGConnectingPoint num="3" id="1710" />
-<TGConnectingPoint num="4" id="1711" />
-<TGConnectingPoint num="5" id="1712" />
-<TGConnectingPoint num="6" id="1713" />
-<TGConnectingPoint num="7" id="1714" />
-<TGConnectingPoint num="8" id="1715" />
-<TGConnectingPoint num="9" id="1716" />
-<TGConnectingPoint num="10" id="1717" />
-<TGConnectingPoint num="11" id="1718" />
-<TGConnectingPoint num="12" id="1719" />
-<TGConnectingPoint num="13" id="1720" />
-<TGConnectingPoint num="14" id="1721" />
-<TGConnectingPoint num="15" id="1722" />
-<TGConnectingPoint num="16" id="1723" />
-<TGConnectingPoint num="17" id="1724" />
-<TGConnectingPoint num="18" id="1725" />
-<TGConnectingPoint num="19" id="1726" />
-<TGConnectingPoint num="20" id="1727" />
-<TGConnectingPoint num="21" id="1728" />
-<TGConnectingPoint num="22" id="1729" />
-<TGConnectingPoint num="23" id="1730" />
-<extraparam>
-<info stereotype="CPURRPB" nodeName="cpu0" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="1"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="99"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0" encryption="0"/>
-</extraparam>
-</COMPONENT>
-<SUBCOMPONENT type="1101" id="1670" >
-<father id="1731" num="0" />
-<cdparam x="226" y="304" />
-<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Timer" />
-<TGConnectingPoint num="0" id="1662" />
-<TGConnectingPoint num="1" id="1663" />
-<TGConnectingPoint num="2" id="1664" />
-<TGConnectingPoint num="3" id="1665" />
-<TGConnectingPoint num="4" id="1666" />
-<TGConnectingPoint num="5" id="1667" />
-<TGConnectingPoint num="6" id="1668" />
-<TGConnectingPoint num="7" id="1669" />
-<extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1679" >
-<father id="1731" num="1" />
-<cdparam x="290" y="234" />
-<sizeparam width="139" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="1671" />
-<TGConnectingPoint num="1" id="1672" />
-<TGConnectingPoint num="2" id="1673" />
-<TGConnectingPoint num="3" id="1674" />
-<TGConnectingPoint num="4" id="1675" />
-<TGConnectingPoint num="5" id="1676" />
-<TGConnectingPoint num="6" id="1677" />
-<TGConnectingPoint num="7" id="1678" />
-<extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1688" >
-<father id="1731" num="2" />
-<cdparam x="96" y="246" />
-<sizeparam width="108" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="351" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="1680" />
-<TGConnectingPoint num="1" id="1681" />
-<TGConnectingPoint num="2" id="1682" />
-<TGConnectingPoint num="3" id="1683" />
-<TGConnectingPoint num="4" id="1684" />
-<TGConnectingPoint num="5" id="1685" />
-<TGConnectingPoint num="6" id="1686" />
-<TGConnectingPoint num="7" id="1687" />
-<extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1697" >
-<father id="1731" num="3" />
-<cdparam x="291" y="153" />
-<sizeparam width="136" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="1689" />
-<TGConnectingPoint num="1" id="1690" />
-<TGConnectingPoint num="2" id="1691" />
-<TGConnectingPoint num="3" id="1692" />
-<TGConnectingPoint num="4" id="1693" />
-<TGConnectingPoint num="5" id="1694" />
-<TGConnectingPoint num="6" id="1695" />
-<TGConnectingPoint num="7" id="1696" />
-<extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1706" >
-<father id="1731" num="4" />
-<cdparam x="92" y="154" />
-<sizeparam width="163" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="296" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="1698" />
-<TGConnectingPoint num="1" id="1699" />
-<TGConnectingPoint num="2" id="1700" />
-<TGConnectingPoint num="3" id="1701" />
-<TGConnectingPoint num="4" id="1702" />
-<TGConnectingPoint num="5" id="1703" />
-<TGConnectingPoint num="6" id="1704" />
-<TGConnectingPoint num="7" id="1705" />
-<extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="125" id="1732" >
-<cdparam x="800" y="322" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="847" y="320" id="1651" />
-<P2  x="799" y="450" id="1621" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="1733" >
-<cdparam x="510" y="411" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="510" y="411" id="1714" />
-<P2  x="612" y="462" id="1622" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-
-</TMLArchiDiagramPanel>
-
-</Modeling>
-
-
-
-
-<Modeling type="TML Architecture" nameTab="Mapping2" >
-<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1105" id="1758" >
-<cdparam x="309" y="358" />
-<sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Memory0" value="name" />
-<TGConnectingPoint num="0" id="1734" />
-<TGConnectingPoint num="1" id="1735" />
-<TGConnectingPoint num="2" id="1736" />
-<TGConnectingPoint num="3" id="1737" />
-<TGConnectingPoint num="4" id="1738" />
-<TGConnectingPoint num="5" id="1739" />
-<TGConnectingPoint num="6" id="1740" />
-<TGConnectingPoint num="7" id="1741" />
-<TGConnectingPoint num="8" id="1742" />
-<TGConnectingPoint num="9" id="1743" />
-<TGConnectingPoint num="10" id="1744" />
-<TGConnectingPoint num="11" id="1745" />
-<TGConnectingPoint num="12" id="1746" />
-<TGConnectingPoint num="13" id="1747" />
-<TGConnectingPoint num="14" id="1748" />
-<TGConnectingPoint num="15" id="1749" />
-<TGConnectingPoint num="16" id="1750" />
-<TGConnectingPoint num="17" id="1751" />
-<TGConnectingPoint num="18" id="1752" />
-<TGConnectingPoint num="19" id="1753" />
-<TGConnectingPoint num="20" id="1754" />
-<TGConnectingPoint num="21" id="1755" />
-<TGConnectingPoint num="22" id="1756" />
-<TGConnectingPoint num="23" id="1757" />
-<extraparam>
-<info stereotype="MEMORY" nodeName="Memory0" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1102" id="1783" >
-<cdparam x="277" y="270" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Bus0" value="name" />
-<TGConnectingPoint num="0" id="1759" />
-<TGConnectingPoint num="1" id="1760" />
-<TGConnectingPoint num="2" id="1761" />
-<TGConnectingPoint num="3" id="1762" />
-<TGConnectingPoint num="4" id="1763" />
-<TGConnectingPoint num="5" id="1764" />
-<TGConnectingPoint num="6" id="1765" />
-<TGConnectingPoint num="7" id="1766" />
-<TGConnectingPoint num="8" id="1767" />
-<TGConnectingPoint num="9" id="1768" />
-<TGConnectingPoint num="10" id="1769" />
-<TGConnectingPoint num="11" id="1770" />
-<TGConnectingPoint num="12" id="1771" />
-<TGConnectingPoint num="13" id="1772" />
-<TGConnectingPoint num="14" id="1773" />
-<TGConnectingPoint num="15" id="1774" />
-<TGConnectingPoint num="16" id="1775" />
-<TGConnectingPoint num="17" id="1776" />
-<TGConnectingPoint num="18" id="1777" />
-<TGConnectingPoint num="19" id="1778" />
-<TGConnectingPoint num="20" id="1779" />
-<TGConnectingPoint num="21" id="1780" />
-<TGConnectingPoint num="22" id="1781" />
-<TGConnectingPoint num="23" id="1782" />
-<extraparam>
-<info stereotype="BUS-RR" nodeName="Bus0" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="5"  privacy="0"  referenceAttack="ReadDataFromBus" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1100" id="1817" >
-<cdparam x="574" y="227" />
-<sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU2" value="name" />
-<TGConnectingPoint num="0" id="1793" />
-<TGConnectingPoint num="1" id="1794" />
-<TGConnectingPoint num="2" id="1795" />
-<TGConnectingPoint num="3" id="1796" />
-<TGConnectingPoint num="4" id="1797" />
-<TGConnectingPoint num="5" id="1798" />
-<TGConnectingPoint num="6" id="1799" />
-<TGConnectingPoint num="7" id="1800" />
-<TGConnectingPoint num="8" id="1801" />
-<TGConnectingPoint num="9" id="1802" />
-<TGConnectingPoint num="10" id="1803" />
-<TGConnectingPoint num="11" id="1804" />
-<TGConnectingPoint num="12" id="1805" />
-<TGConnectingPoint num="13" id="1806" />
-<TGConnectingPoint num="14" id="1807" />
-<TGConnectingPoint num="15" id="1808" />
-<TGConnectingPoint num="16" id="1809" />
-<TGConnectingPoint num="17" id="1810" />
-<TGConnectingPoint num="18" id="1811" />
-<TGConnectingPoint num="19" id="1812" />
-<TGConnectingPoint num="20" id="1813" />
-<TGConnectingPoint num="21" id="1814" />
-<TGConnectingPoint num="22" id="1815" />
-<TGConnectingPoint num="23" id="1816" />
-<extraparam>
-<info stereotype="CPURR" nodeName="CPU2" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="4" MECType="0" encryption="0"/>
-</extraparam>
-</COMPONENT>
-<SUBCOMPONENT type="1101" id="1792" >
-<father id="1817" num="0" />
-<cdparam x="604" y="279" />
-<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="65" minY="0" maxY="95" />
-<infoparam name="TGComponent" value="AppC::Timer" />
-<TGConnectingPoint num="0" id="1784" />
-<TGConnectingPoint num="1" id="1785" />
-<TGConnectingPoint num="2" id="1786" />
-<TGConnectingPoint num="3" id="1787" />
-<TGConnectingPoint num="4" id="1788" />
-<TGConnectingPoint num="5" id="1789" />
-<TGConnectingPoint num="6" id="1790" />
-<TGConnectingPoint num="7" id="1791" />
-<extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-
-<COMPONENT type="1100" id="1851" >
-<cdparam x="56" y="231" />
-<sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU1" value="name" />
-<TGConnectingPoint num="0" id="1827" />
-<TGConnectingPoint num="1" id="1828" />
-<TGConnectingPoint num="2" id="1829" />
-<TGConnectingPoint num="3" id="1830" />
-<TGConnectingPoint num="4" id="1831" />
-<TGConnectingPoint num="5" id="1832" />
-<TGConnectingPoint num="6" id="1833" />
-<TGConnectingPoint num="7" id="1834" />
-<TGConnectingPoint num="8" id="1835" />
-<TGConnectingPoint num="9" id="1836" />
-<TGConnectingPoint num="10" id="1837" />
-<TGConnectingPoint num="11" id="1838" />
-<TGConnectingPoint num="12" id="1839" />
-<TGConnectingPoint num="13" id="1840" />
-<TGConnectingPoint num="14" id="1841" />
-<TGConnectingPoint num="15" id="1842" />
-<TGConnectingPoint num="16" id="1843" />
-<TGConnectingPoint num="17" id="1844" />
-<TGConnectingPoint num="18" id="1845" />
-<TGConnectingPoint num="19" id="1846" />
-<TGConnectingPoint num="20" id="1847" />
-<TGConnectingPoint num="21" id="1848" />
-<TGConnectingPoint num="22" id="1849" />
-<TGConnectingPoint num="23" id="1850" />
-<extraparam>
-<info stereotype="CPURR" nodeName="CPU1" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="2" MECType="0" encryption="0"/>
-</extraparam>
-</COMPONENT>
-<SUBCOMPONENT type="1101" id="1826" >
-<father id="1851" num="0" />
-<cdparam x="56" y="276" />
-<sizeparam width="163" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="2" minY="0" maxY="86" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="1818" />
-<TGConnectingPoint num="1" id="1819" />
-<TGConnectingPoint num="2" id="1820" />
-<TGConnectingPoint num="3" id="1821" />
-<TGConnectingPoint num="4" id="1822" />
-<TGConnectingPoint num="5" id="1823" />
-<TGConnectingPoint num="6" id="1824" />
-<TGConnectingPoint num="7" id="1825" />
-<extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-
-<COMPONENT type="1100" id="1903" >
-<cdparam x="267" y="59" />
-<sizeparam width="272" height="167" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU0" value="name" />
-<TGConnectingPoint num="0" id="1879" />
-<TGConnectingPoint num="1" id="1880" />
-<TGConnectingPoint num="2" id="1881" />
-<TGConnectingPoint num="3" id="1882" />
-<TGConnectingPoint num="4" id="1883" />
-<TGConnectingPoint num="5" id="1884" />
-<TGConnectingPoint num="6" id="1885" />
-<TGConnectingPoint num="7" id="1886" />
-<TGConnectingPoint num="8" id="1887" />
-<TGConnectingPoint num="9" id="1888" />
-<TGConnectingPoint num="10" id="1889" />
-<TGConnectingPoint num="11" id="1890" />
-<TGConnectingPoint num="12" id="1891" />
-<TGConnectingPoint num="13" id="1892" />
-<TGConnectingPoint num="14" id="1893" />
-<TGConnectingPoint num="15" id="1894" />
-<TGConnectingPoint num="16" id="1895" />
-<TGConnectingPoint num="17" id="1896" />
-<TGConnectingPoint num="18" id="1897" />
-<TGConnectingPoint num="19" id="1898" />
-<TGConnectingPoint num="20" id="1899" />
-<TGConnectingPoint num="21" id="1900" />
-<TGConnectingPoint num="22" id="1901" />
-<TGConnectingPoint num="23" id="1902" />
-<extraparam>
-<info stereotype="CPURR" nodeName="CPU0" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="18" execiTime="1" execcTime="1" clockRatio="3" MECType="0" encryption="0"/>
-</extraparam>
-</COMPONENT>
-<SUBCOMPONENT type="1101" id="1860" >
-<father id="1903" num="0" />
-<cdparam x="392" y="119" />
-<sizeparam width="136" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="136" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="1852" />
-<TGConnectingPoint num="1" id="1853" />
-<TGConnectingPoint num="2" id="1854" />
-<TGConnectingPoint num="3" id="1855" />
-<TGConnectingPoint num="4" id="1856" />
-<TGConnectingPoint num="5" id="1857" />
-<TGConnectingPoint num="6" id="1858" />
-<TGConnectingPoint num="7" id="1859" />
-<extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1869" >
-<father id="1903" num="1" />
-<cdparam x="293" y="165" />
-<sizeparam width="139" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="133" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="1861" />
-<TGConnectingPoint num="1" id="1862" />
-<TGConnectingPoint num="2" id="1863" />
-<TGConnectingPoint num="3" id="1864" />
-<TGConnectingPoint num="4" id="1865" />
-<TGConnectingPoint num="5" id="1866" />
-<TGConnectingPoint num="6" id="1867" />
-<TGConnectingPoint num="7" id="1868" />
-<extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1878" >
-<father id="1903" num="2" />
-<cdparam x="277" y="90" />
-<sizeparam width="108" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1352" >
+<cdparam x="1613" y="1404" />
+<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="1870" />
-<TGConnectingPoint num="1" id="1871" />
-<TGConnectingPoint num="2" id="1872" />
-<TGConnectingPoint num="3" id="1873" />
-<TGConnectingPoint num="4" id="1874" />
-<TGConnectingPoint num="5" id="1875" />
-<TGConnectingPoint num="6" id="1876" />
-<TGConnectingPoint num="7" id="1877" />
-<extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="125" id="1904" >
-<cdparam x="402" y="367" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Memory0 to Bus0" value="{info}" />
-<P1  x="403" y="358" id="1735" />
-<P2  x="402" y="320" id="1765" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="1905" >
-<cdparam x="190" y="300" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU1 to Bus0" value="{info}" />
-<P1  x="221" y="294" id="1831" />
-<P2  x="277" y="295" id="1762" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="1906" >
-<cdparam x="662" y="310" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU2 to Bus0" value="{info}" />
-<P1  x="574" y="294" id="1796" />
-<P2  x="527" y="295" id="1763" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="1907" >
-<cdparam x="388" y="162" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU0 to Bus0" value="{info}" />
-<P1  x="403" y="226" id="1885" />
-<P2  x="402" y="270" id="1760" />
-<AutomaticDrawing  data="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1350" />
+<TGConnectingPoint num="1" id="1351" />
 <extraparam>
-<info priority="0" />
-<spy value="false" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
-</CONNECTOR>
+</COMPONENT>
 
-</TMLArchiDiagramPanel>
+<COMPONENT type="1001" id="1354" >
+<cdparam x="1730" y="1335" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1353" />
+</COMPONENT>
 
-</Modeling>
+<COMPONENT type="1011" id="1357" >
+<cdparam x="1776" y="1349" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =4" />
+<TGConnectingPoint num="0" id="1355" />
+<TGConnectingPoint num="1" id="1356" />
+</COMPONENT>
 
+<COMPONENT type="1001" id="1359" >
+<cdparam x="1816" y="1457" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1358" />
+</COMPONENT>
 
+<COMPONENT type="1011" id="1362" >
+<cdparam x="1870" y="1411" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =6" />
+<TGConnectingPoint num="0" id="1360" />
+<TGConnectingPoint num="1" id="1361" />
+</COMPONENT>
 
+<COMPONENT type="1001" id="1364" >
+<cdparam x="1910" y="1481" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1363" />
+</COMPONENT>
 
-<Modeling type="TML Architecture" nameTab="Mapping2_Sec" >
-<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1102" id="1932" >
-<cdparam x="17" y="403" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1366" >
+<cdparam x="1986" y="1543" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="SecureBus1" value="name" />
-<TGConnectingPoint num="0" id="1908" />
-<TGConnectingPoint num="1" id="1909" />
-<TGConnectingPoint num="2" id="1910" />
-<TGConnectingPoint num="3" id="1911" />
-<TGConnectingPoint num="4" id="1912" />
-<TGConnectingPoint num="5" id="1913" />
-<TGConnectingPoint num="6" id="1914" />
-<TGConnectingPoint num="7" id="1915" />
-<TGConnectingPoint num="8" id="1916" />
-<TGConnectingPoint num="9" id="1917" />
-<TGConnectingPoint num="10" id="1918" />
-<TGConnectingPoint num="11" id="1919" />
-<TGConnectingPoint num="12" id="1920" />
-<TGConnectingPoint num="13" id="1921" />
-<TGConnectingPoint num="14" id="1922" />
-<TGConnectingPoint num="15" id="1923" />
-<TGConnectingPoint num="16" id="1924" />
-<TGConnectingPoint num="17" id="1925" />
-<TGConnectingPoint num="18" id="1926" />
-<TGConnectingPoint num="19" id="1927" />
-<TGConnectingPoint num="20" id="1928" />
-<TGConnectingPoint num="21" id="1929" />
-<TGConnectingPoint num="22" id="1930" />
-<TGConnectingPoint num="23" id="1931" />
-<extraparam>
-<info stereotype="BUS-RR" nodeName="SecureBus1" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1365" />
 </COMPONENT>
 
-<COMPONENT type="1105" id="1957" >
-<cdparam x="55" y="511" />
-<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1369" >
+<cdparam x="2051" y="1466" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="secureMem1" value="name" />
-<TGConnectingPoint num="0" id="1933" />
-<TGConnectingPoint num="1" id="1934" />
-<TGConnectingPoint num="2" id="1935" />
-<TGConnectingPoint num="3" id="1936" />
-<TGConnectingPoint num="4" id="1937" />
-<TGConnectingPoint num="5" id="1938" />
-<TGConnectingPoint num="6" id="1939" />
-<TGConnectingPoint num="7" id="1940" />
-<TGConnectingPoint num="8" id="1941" />
-<TGConnectingPoint num="9" id="1942" />
-<TGConnectingPoint num="10" id="1943" />
-<TGConnectingPoint num="11" id="1944" />
-<TGConnectingPoint num="12" id="1945" />
-<TGConnectingPoint num="13" id="1946" />
-<TGConnectingPoint num="14" id="1947" />
-<TGConnectingPoint num="15" id="1948" />
-<TGConnectingPoint num="16" id="1949" />
-<TGConnectingPoint num="17" id="1950" />
-<TGConnectingPoint num="18" id="1951" />
-<TGConnectingPoint num="19" id="1952" />
-<TGConnectingPoint num="20" id="1953" />
-<TGConnectingPoint num="21" id="1954" />
-<TGConnectingPoint num="22" id="1955" />
-<TGConnectingPoint num="23" id="1956" />
-<extraparam>
-<info stereotype="MEMORY" nodeName="secureMem1" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =0" />
+<TGConnectingPoint num="0" id="1367" />
+<TGConnectingPoint num="1" id="1368" />
 </COMPONENT>
 
-<COMPONENT type="1105" id="1982" >
-<cdparam x="309" y="358" />
-<sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1371" >
+<cdparam x="2091" y="1537" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Memory0" value="name" />
-<TGConnectingPoint num="0" id="1958" />
-<TGConnectingPoint num="1" id="1959" />
-<TGConnectingPoint num="2" id="1960" />
-<TGConnectingPoint num="3" id="1961" />
-<TGConnectingPoint num="4" id="1962" />
-<TGConnectingPoint num="5" id="1963" />
-<TGConnectingPoint num="6" id="1964" />
-<TGConnectingPoint num="7" id="1965" />
-<TGConnectingPoint num="8" id="1966" />
-<TGConnectingPoint num="9" id="1967" />
-<TGConnectingPoint num="10" id="1968" />
-<TGConnectingPoint num="11" id="1969" />
-<TGConnectingPoint num="12" id="1970" />
-<TGConnectingPoint num="13" id="1971" />
-<TGConnectingPoint num="14" id="1972" />
-<TGConnectingPoint num="15" id="1973" />
-<TGConnectingPoint num="16" id="1974" />
-<TGConnectingPoint num="17" id="1975" />
-<TGConnectingPoint num="18" id="1976" />
-<TGConnectingPoint num="19" id="1977" />
-<TGConnectingPoint num="20" id="1978" />
-<TGConnectingPoint num="21" id="1979" />
-<TGConnectingPoint num="22" id="1980" />
-<TGConnectingPoint num="23" id="1981" />
-<extraparam>
-<info stereotype="MEMORY" nodeName="Memory0" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1370" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1374" >
+<cdparam x="1946" y="1493" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =0" />
+<TGConnectingPoint num="0" id="1372" />
+<TGConnectingPoint num="1" id="1373" />
 </COMPONENT>
 
-<COMPONENT type="1102" id="2007" >
-<cdparam x="278" y="269" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1377" >
+<cdparam x="1946" y="1434" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Bus0" value="name" />
-<TGConnectingPoint num="0" id="1983" />
-<TGConnectingPoint num="1" id="1984" />
-<TGConnectingPoint num="2" id="1985" />
-<TGConnectingPoint num="3" id="1986" />
-<TGConnectingPoint num="4" id="1987" />
-<TGConnectingPoint num="5" id="1988" />
-<TGConnectingPoint num="6" id="1989" />
-<TGConnectingPoint num="7" id="1990" />
-<TGConnectingPoint num="8" id="1991" />
-<TGConnectingPoint num="9" id="1992" />
-<TGConnectingPoint num="10" id="1993" />
-<TGConnectingPoint num="11" id="1994" />
-<TGConnectingPoint num="12" id="1995" />
-<TGConnectingPoint num="13" id="1996" />
-<TGConnectingPoint num="14" id="1997" />
-<TGConnectingPoint num="15" id="1998" />
-<TGConnectingPoint num="16" id="1999" />
-<TGConnectingPoint num="17" id="2000" />
-<TGConnectingPoint num="18" id="2001" />
-<TGConnectingPoint num="19" id="2002" />
-<TGConnectingPoint num="20" id="2003" />
-<TGConnectingPoint num="21" id="2004" />
-<TGConnectingPoint num="22" id="2005" />
-<TGConnectingPoint num="23" id="2006" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =8" />
+<TGConnectingPoint num="0" id="1375" />
+<TGConnectingPoint num="1" id="1376" />
+</COMPONENT>
+
+<COMPONENT type="301" id="1394" >
+<cdparam x="1825" y="889" />
+<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="UML Note" value="Syn
+" />
+<TGConnectingPoint num="0" id="1378" />
+<TGConnectingPoint num="1" id="1379" />
+<TGConnectingPoint num="2" id="1380" />
+<TGConnectingPoint num="3" id="1381" />
+<TGConnectingPoint num="4" id="1382" />
+<TGConnectingPoint num="5" id="1383" />
+<TGConnectingPoint num="6" id="1384" />
+<TGConnectingPoint num="7" id="1385" />
+<TGConnectingPoint num="8" id="1386" />
+<TGConnectingPoint num="9" id="1387" />
+<TGConnectingPoint num="10" id="1388" />
+<TGConnectingPoint num="11" id="1389" />
+<TGConnectingPoint num="12" id="1390" />
+<TGConnectingPoint num="13" id="1391" />
+<TGConnectingPoint num="14" id="1392" />
+<TGConnectingPoint num="15" id="1393" />
 <extraparam>
-<info stereotype="BUS-RR" nodeName="Bus0" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="5"  privacy="0"  referenceAttack="ReadDataFromBus" />
+<Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="2041" >
-<cdparam x="574" y="227" />
-<sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1411" >
+<cdparam x="1707" y="945" />
+<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU2" value="name" />
-<TGConnectingPoint num="0" id="2017" />
-<TGConnectingPoint num="1" id="2018" />
-<TGConnectingPoint num="2" id="2019" />
-<TGConnectingPoint num="3" id="2020" />
-<TGConnectingPoint num="4" id="2021" />
-<TGConnectingPoint num="5" id="2022" />
-<TGConnectingPoint num="6" id="2023" />
-<TGConnectingPoint num="7" id="2024" />
-<TGConnectingPoint num="8" id="2025" />
-<TGConnectingPoint num="9" id="2026" />
-<TGConnectingPoint num="10" id="2027" />
-<TGConnectingPoint num="11" id="2028" />
-<TGConnectingPoint num="12" id="2029" />
-<TGConnectingPoint num="13" id="2030" />
-<TGConnectingPoint num="14" id="2031" />
-<TGConnectingPoint num="15" id="2032" />
-<TGConnectingPoint num="16" id="2033" />
-<TGConnectingPoint num="17" id="2034" />
-<TGConnectingPoint num="18" id="2035" />
-<TGConnectingPoint num="19" id="2036" />
-<TGConnectingPoint num="20" id="2037" />
-<TGConnectingPoint num="21" id="2038" />
-<TGConnectingPoint num="22" id="2039" />
-<TGConnectingPoint num="23" id="2040" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="UML Note" value="ack
+" />
+<TGConnectingPoint num="0" id="1395" />
+<TGConnectingPoint num="1" id="1396" />
+<TGConnectingPoint num="2" id="1397" />
+<TGConnectingPoint num="3" id="1398" />
+<TGConnectingPoint num="4" id="1399" />
+<TGConnectingPoint num="5" id="1400" />
+<TGConnectingPoint num="6" id="1401" />
+<TGConnectingPoint num="7" id="1402" />
+<TGConnectingPoint num="8" id="1403" />
+<TGConnectingPoint num="9" id="1404" />
+<TGConnectingPoint num="10" id="1405" />
+<TGConnectingPoint num="11" id="1406" />
+<TGConnectingPoint num="12" id="1407" />
+<TGConnectingPoint num="13" id="1408" />
+<TGConnectingPoint num="14" id="1409" />
+<TGConnectingPoint num="15" id="1410" />
 <extraparam>
-<info stereotype="CPURR" nodeName="CPU2" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="4" MECType="0" encryption="0"/>
+<Line value="ack" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2016" >
-<father id="2041" num="0" />
-<cdparam x="604" y="279" />
-<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1006" id="1414" >
+<cdparam x="2198" y="1198" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="65" minY="0" maxY="95" />
-<infoparam name="TGComponent" value="AppC::Timer" />
-<TGConnectingPoint num="0" id="2008" />
-<TGConnectingPoint num="1" id="2009" />
-<TGConnectingPoint num="2" id="2010" />
-<TGConnectingPoint num="3" id="2011" />
-<TGConnectingPoint num="4" id="2012" />
-<TGConnectingPoint num="5" id="2013" />
-<TGConnectingPoint num="6" id="2014" />
-<TGConnectingPoint num="7" id="2015" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1412" />
+<TGConnectingPoint num="1" id="1413" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
-</SUBCOMPONENT>
+</COMPONENT>
 
-<COMPONENT type="1100" id="2075" >
-<cdparam x="56" y="231" />
-<sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1416" >
+<cdparam x="2227" y="1483" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU1" value="name" />
-<TGConnectingPoint num="0" id="2051" />
-<TGConnectingPoint num="1" id="2052" />
-<TGConnectingPoint num="2" id="2053" />
-<TGConnectingPoint num="3" id="2054" />
-<TGConnectingPoint num="4" id="2055" />
-<TGConnectingPoint num="5" id="2056" />
-<TGConnectingPoint num="6" id="2057" />
-<TGConnectingPoint num="7" id="2058" />
-<TGConnectingPoint num="8" id="2059" />
-<TGConnectingPoint num="9" id="2060" />
-<TGConnectingPoint num="10" id="2061" />
-<TGConnectingPoint num="11" id="2062" />
-<TGConnectingPoint num="12" id="2063" />
-<TGConnectingPoint num="13" id="2064" />
-<TGConnectingPoint num="14" id="2065" />
-<TGConnectingPoint num="15" id="2066" />
-<TGConnectingPoint num="16" id="2067" />
-<TGConnectingPoint num="17" id="2068" />
-<TGConnectingPoint num="18" id="2069" />
-<TGConnectingPoint num="19" id="2070" />
-<TGConnectingPoint num="20" id="2071" />
-<TGConnectingPoint num="21" id="2072" />
-<TGConnectingPoint num="22" id="2073" />
-<TGConnectingPoint num="23" id="2074" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1415" />
+</COMPONENT>
+
+<COMPONENT type="1007" id="1419" >
+<cdparam x="2198" y="1298" />
+<sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1417" />
+<TGConnectingPoint num="1" id="1418" />
 <extraparam>
-<info stereotype="CPURR" nodeName="CPU1" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="2" MECType="0" encryption="0"/>
+<Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2050" >
-<father id="2075" num="0" />
-<cdparam x="56" y="276" />
-<sizeparam width="163" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1006" id="1422" >
+<cdparam x="2209" y="1365" />
+<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="2" minY="0" maxY="86" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="2042" />
-<TGConnectingPoint num="1" id="2043" />
-<TGConnectingPoint num="2" id="2044" />
-<TGConnectingPoint num="3" id="2045" />
-<TGConnectingPoint num="4" id="2046" />
-<TGConnectingPoint num="5" id="2047" />
-<TGConnectingPoint num="6" id="2048" />
-<TGConnectingPoint num="7" id="2049" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1420" />
+<TGConnectingPoint num="1" id="1421" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
-</SUBCOMPONENT>
+</COMPONENT>
 
-<COMPONENT type="1100" id="2127" >
-<cdparam x="267" y="59" />
-<sizeparam width="272" height="167" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1425" >
+<cdparam x="2161" y="1136" />
+<sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU0" value="name" />
-<TGConnectingPoint num="0" id="2103" />
-<TGConnectingPoint num="1" id="2104" />
-<TGConnectingPoint num="2" id="2105" />
-<TGConnectingPoint num="3" id="2106" />
-<TGConnectingPoint num="4" id="2107" />
-<TGConnectingPoint num="5" id="2108" />
-<TGConnectingPoint num="6" id="2109" />
-<TGConnectingPoint num="7" id="2110" />
-<TGConnectingPoint num="8" id="2111" />
-<TGConnectingPoint num="9" id="2112" />
-<TGConnectingPoint num="10" id="2113" />
-<TGConnectingPoint num="11" id="2114" />
-<TGConnectingPoint num="12" id="2115" />
-<TGConnectingPoint num="13" id="2116" />
-<TGConnectingPoint num="14" id="2117" />
-<TGConnectingPoint num="15" id="2118" />
-<TGConnectingPoint num="16" id="2119" />
-<TGConnectingPoint num="17" id="2120" />
-<TGConnectingPoint num="18" id="2121" />
-<TGConnectingPoint num="19" id="2122" />
-<TGConnectingPoint num="20" id="2123" />
-<TGConnectingPoint num="21" id="2124" />
-<TGConnectingPoint num="22" id="2125" />
-<TGConnectingPoint num="23" id="2126" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1423" />
+<TGConnectingPoint num="1" id="1424" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1428" >
+<cdparam x="2214" y="1248" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1426" />
+<TGConnectingPoint num="1" id="1427" />
 <extraparam>
-<info stereotype="CPURR" nodeName="CPU0" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="18" execiTime="1" execcTime="1" clockRatio="3" MECType="0" encryption="0"/>
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="2084" >
-<father id="2127" num="0" />
-<cdparam x="277" y="90" />
-<sizeparam width="108" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1011" id="1431" >
+<cdparam x="2187" y="1424" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="2076" />
-<TGConnectingPoint num="1" id="2077" />
-<TGConnectingPoint num="2" id="2078" />
-<TGConnectingPoint num="3" id="2079" />
-<TGConnectingPoint num="4" id="2080" />
-<TGConnectingPoint num="5" id="2081" />
-<TGConnectingPoint num="6" id="2082" />
-<TGConnectingPoint num="7" id="2083" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =2" />
+<TGConnectingPoint num="0" id="1429" />
+<TGConnectingPoint num="1" id="1430" />
+</COMPONENT>
+
+<COMPONENT type="1006" id="1434" >
+<cdparam x="2278" y="1122" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1432" />
+<TGConnectingPoint num="1" id="1433" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2093" >
-<father id="2127" num="1" />
-<cdparam x="293" y="165" />
-<sizeparam width="139" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="301" id="1451" >
+<cdparam x="2283" y="1065" />
+<sizeparam width="114" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="133" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="2085" />
-<TGConnectingPoint num="1" id="2086" />
-<TGConnectingPoint num="2" id="2087" />
-<TGConnectingPoint num="3" id="2088" />
-<TGConnectingPoint num="4" id="2089" />
-<TGConnectingPoint num="5" id="2090" />
-<TGConnectingPoint num="6" id="2091" />
-<TGConnectingPoint num="7" id="2092" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="UML Note" value="send Ack of SYN
+" />
+<TGConnectingPoint num="0" id="1435" />
+<TGConnectingPoint num="1" id="1436" />
+<TGConnectingPoint num="2" id="1437" />
+<TGConnectingPoint num="3" id="1438" />
+<TGConnectingPoint num="4" id="1439" />
+<TGConnectingPoint num="5" id="1440" />
+<TGConnectingPoint num="6" id="1441" />
+<TGConnectingPoint num="7" id="1442" />
+<TGConnectingPoint num="8" id="1443" />
+<TGConnectingPoint num="9" id="1444" />
+<TGConnectingPoint num="10" id="1445" />
+<TGConnectingPoint num="11" id="1446" />
+<TGConnectingPoint num="12" id="1447" />
+<TGConnectingPoint num="13" id="1448" />
+<TGConnectingPoint num="14" id="1449" />
+<TGConnectingPoint num="15" id="1450" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<Line value="send Ack of SYN" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2102" >
-<father id="2127" num="2" />
-<cdparam x="392" y="119" />
-<sizeparam width="136" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1454" >
+<cdparam x="2267" y="1267" />
+<sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="136" minY="0" maxY="130" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="2094" />
-<TGConnectingPoint num="1" id="2095" />
-<TGConnectingPoint num="2" id="2096" />
-<TGConnectingPoint num="3" id="2097" />
-<TGConnectingPoint num="4" id="2098" />
-<TGConnectingPoint num="5" id="2099" />
-<TGConnectingPoint num="6" id="2100" />
-<TGConnectingPoint num="7" id="2101" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =2" />
+<TGConnectingPoint num="0" id="1452" />
+<TGConnectingPoint num="1" id="1453" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1456" >
+<cdparam x="2307" y="1324" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1455" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1459" >
+<cdparam x="2294" y="1199" />
+<sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1457" />
+<TGConnectingPoint num="1" id="1458" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
-</SUBCOMPONENT>
+</COMPONENT>
 
-<COMPONENT type="1102" id="2152" >
-<cdparam x="630" y="38" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1461" >
+<cdparam x="1637" y="1057" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="SecureBus2" value="name" />
-<TGConnectingPoint num="0" id="2128" />
-<TGConnectingPoint num="1" id="2129" />
-<TGConnectingPoint num="2" id="2130" />
-<TGConnectingPoint num="3" id="2131" />
-<TGConnectingPoint num="4" id="2132" />
-<TGConnectingPoint num="5" id="2133" />
-<TGConnectingPoint num="6" id="2134" />
-<TGConnectingPoint num="7" id="2135" />
-<TGConnectingPoint num="8" id="2136" />
-<TGConnectingPoint num="9" id="2137" />
-<TGConnectingPoint num="10" id="2138" />
-<TGConnectingPoint num="11" id="2139" />
-<TGConnectingPoint num="12" id="2140" />
-<TGConnectingPoint num="13" id="2141" />
-<TGConnectingPoint num="14" id="2142" />
-<TGConnectingPoint num="15" id="2143" />
-<TGConnectingPoint num="16" id="2144" />
-<TGConnectingPoint num="17" id="2145" />
-<TGConnectingPoint num="18" id="2146" />
-<TGConnectingPoint num="19" id="2147" />
-<TGConnectingPoint num="20" id="2148" />
-<TGConnectingPoint num="21" id="2149" />
-<TGConnectingPoint num="22" id="2150" />
-<TGConnectingPoint num="23" id="2151" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1460" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1463" >
+<cdparam x="2168" y="1421" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1462" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1465" >
+<cdparam x="2267" y="1039" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1464" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1468" >
+<cdparam x="1465" y="1192" />
+<sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="receive_Application()" />
+<TGConnectingPoint num="0" id="1466" />
+<TGConnectingPoint num="1" id="1467" />
 <extraparam>
-<info stereotype="BUS-RR" nodeName="SecureBus2" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
+<Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1105" id="2177" >
-<cdparam x="780" y="123" />
-<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="1471" >
+<cdparam x="1698" y="1086" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="secureMem2" value="name" />
-<TGConnectingPoint num="0" id="2153" />
-<TGConnectingPoint num="1" id="2154" />
-<TGConnectingPoint num="2" id="2155" />
-<TGConnectingPoint num="3" id="2156" />
-<TGConnectingPoint num="4" id="2157" />
-<TGConnectingPoint num="5" id="2158" />
-<TGConnectingPoint num="6" id="2159" />
-<TGConnectingPoint num="7" id="2160" />
-<TGConnectingPoint num="8" id="2161" />
-<TGConnectingPoint num="9" id="2162" />
-<TGConnectingPoint num="10" id="2163" />
-<TGConnectingPoint num="11" id="2164" />
-<TGConnectingPoint num="12" id="2165" />
-<TGConnectingPoint num="13" id="2166" />
-<TGConnectingPoint num="14" id="2167" />
-<TGConnectingPoint num="15" id="2168" />
-<TGConnectingPoint num="16" id="2169" />
-<TGConnectingPoint num="17" id="2170" />
-<TGConnectingPoint num="18" id="2171" />
-<TGConnectingPoint num="19" id="2172" />
-<TGConnectingPoint num="20" id="2173" />
-<TGConnectingPoint num="21" id="2174" />
-<TGConnectingPoint num="22" id="2175" />
-<TGConnectingPoint num="23" id="2176" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="read channel" value="temp(1) " />
+<TGConnectingPoint num="0" id="1469" />
+<TGConnectingPoint num="1" id="1470" />
 <extraparam>
-<info stereotype="MEMORY" nodeName="secureMem2" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="125" id="2178" >
-<cdparam x="539" y="100" />
+<CONNECTOR type="115" id="1472" >
+<cdparam x="192" y="445" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="539" y="100" id="2114" />
-<P2  x="630" y="63" id="2131" />
+<infoparam name="connector" value="null" />
+<P1  x="190" y="449" id="723" />
+<P2  x="188" y="476" id="884" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1473" >
+<cdparam x="1048" y="795" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1048" y="795" id="862" />
+<P2  x="1728" y="865" id="784" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1474" >
+<cdparam x="1048" y="795" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1089" y="954" id="834" />
+<P2  x="1208" y="1010" id="804" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1475" >
+<cdparam x="1008" y="610" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to execI" value="null" />
+<P1  x="1008" y="610" id="938" />
+<P2  x="1008" y="696" id="866" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1476" >
+<cdparam x="722" y="614" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to execI" value="null" />
+<P1  x="722" y="614" id="953" />
+<P2  x="722" y="689" id="822" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1477" >
+<cdparam x="504" y="597" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="504" y="597" id="902" />
+<P2  x="572" y="702" id="816" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1478" >
+<cdparam x="464" y="637" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="464" y="637" id="903" />
+<P2  x="464" y="778" id="870" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1479" >
+<cdparam x="424" y="597" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="424" y="597" id="901" />
+<P2  x="346" y="759" id="850" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1480" >
+<cdparam x="289" y="619" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to read channel" value="null" />
+<P1  x="289" y="619" id="911" />
+<P2  x="230" y="803" id="1007" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1481" >
+<cdparam x="249" y="579" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="249" y="579" id="909" />
+<P2  x="132" y="789" id="854" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1482" >
+<cdparam x="371" y="93" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to notified event" value="null" />
+<P1  x="320" y="99" id="941" />
+<P2  x="374" y="128" id="949" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1483" >
+<cdparam x="234" y="169" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="235" y="169" id="947" />
+<P2  x="235" y="202" id="944" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1484" >
+<cdparam x="234" y="104" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to action state" value="null" />
+<P1  x="235" y="110" id="942" />
+<P2  x="235" y="139" id="946" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1485" >
+<cdparam x="234" y="47" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to for loop" value="null" />
+<P1  x="234" y="47" id="913" />
+<P2  x="235" y="80" id="940" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1486" >
+<cdparam x="425" y="162" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="374" y="158" id="950" />
+<P2  x="374" y="182" id="892" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1487" >
+<cdparam x="564" y="482" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="464" y="322" id="976" />
+<P2  x="722" y="529" id="955" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1488" >
+<cdparam x="722" y="559" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="722" y="559" id="956" />
+<P2  x="722" y="584" id="952" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1489" >
+<cdparam x="604" y="442" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="504" y="282" id="972" />
+<P2  x="1008" y="523" id="958" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1490" >
+<cdparam x="1007" y="553" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="1008" y="553" id="959" />
+<P2  x="1008" y="580" id="937" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1491" >
+<cdparam x="524" y="442" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="464" y="322" id="973" />
+<P2  x="464" y="487" id="961" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1492" >
+<cdparam x="330" y="428" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="974" />
+<P2  x="289" y="463" id="964" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1493" >
+<cdparam x="318" y="520" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="289" y="493" id="965" />
+<P2  x="289" y="554" id="908" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1494" >
+<cdparam x="160" y="481" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="148" y="501" id="885" />
+<P2  x="148" y="544" id="932" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1495" >
+<cdparam x="290" y="388" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="971" />
+<P2  x="188" y="378" id="967" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1496" >
+<cdparam x="229" y="467" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="188" y="408" id="968" />
+<P2  x="190" y="419" id="722" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1497" >
+<cdparam x="228" y="501" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="228" y="501" id="886" />
+<P2  x="228" y="524" id="981" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1498" >
+<cdparam x="334" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="334" y="207" id="893" />
+<P2  x="301" y="223" id="985" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1499" >
+<cdparam x="301" y="253" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="301" y="253" id="986" />
+<P2  x="301" y="285" id="988" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1500" >
+<cdparam x="464" y="517" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="464" y="517" id="962" />
+<P2  x="464" y="572" id="900" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1501" >
+<cdparam x="329" y="579" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="329" y="579" id="910" />
+<P2  x="329" y="609" id="983" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1502" >
+<cdparam x="126" y="574" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="148" y="574" id="933" />
+<P2  x="148" y="610" id="935" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1503" >
+<cdparam x="414" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to select" value="null" />
+<P1  x="414" y="207" id="894" />
+<P2  x="464" y="257" id="970" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1504" >
+<cdparam x="230" y="833" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to execI" value="null" />
+<P1  x="230" y="833" id="1008" />
+<P2  x="230" y="858" id="874" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1505" >
+<cdparam x="716" y="749" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="968" y="795" id="861" />
+<P2  x="843" y="859" id="844" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1506" >
+<cdparam x="720" y="1074" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="728" y="990" id="1057" />
+<P2  x="728" y="1027" id="1059" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1507" >
+<cdparam x="733" y="899" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="803" y="884" id="845" />
+<P2  x="728" y="960" id="1056" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1508" >
+<cdparam x="800" y="938" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="843" y="924" id="847" />
+<P2  x="800" y="1004" id="838" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1509" >
+<cdparam x="800" y="1057" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="800" y="1044" id="839" />
+<P2  x="800" y="1081" id="1061" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1510" >
+<cdparam x="132" y="886" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="132" y="886" id="1188" />
+<P2  x="132" y="933" id="1023" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1511" >
+<cdparam x="943" y="1061" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="943" y="1060" id="827" />
+<P2  x="943" y="1118" id="1106" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1512" >
+<cdparam x="1049" y="1093" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1049" y="1092" id="879" />
+<P2  x="1049" y="1150" id="1131" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1513" >
+<cdparam x="1049" y="994" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1049" y="994" id="835" />
+<P2  x="1049" y="1052" id="878" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1514" >
+<cdparam x="696" y="742" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="722" y="729" id="823" />
+<P2  x="722" y="753" id="1156" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1515" >
+<cdparam x="132" y="1125" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="132" y="1125" id="1162" />
+<P2  x="132" y="1162" id="1164" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1516" >
+<cdparam x="132" y="1192" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="132" y="1192" id="1165" />
+<P2  x="132" y="1231" id="1167" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1517" >
+<cdparam x="132" y="1066" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="132" y="1066" id="1021" />
+<P2  x="132" y="1095" id="1161" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1518" >
+<cdparam x="229" y="1127" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="230" y="1127" id="1170" />
+<P2  x="230" y="1164" id="1172" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1519" >
+<cdparam x="346" y="1131" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="346" y="1131" id="1176" />
+<P2  x="346" y="1168" id="1178" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1520" >
+<cdparam x="346" y="1051" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="346" y="1051" id="1027" />
+<P2  x="346" y="1101" id="1175" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1521" >
+<cdparam x="437" y="1118" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="464" y="1115" id="1182" />
+<P2  x="464" y="1154" id="1184" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1522" >
+<cdparam x="438" y="1057" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="464" y="1057" id="1016" />
+<P2  x="464" y="1085" id="1181" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1523" >
+<cdparam x="132" y="808" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="132" y="829" id="855" />
+<P2  x="132" y="856" id="1187" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1524" >
+<cdparam x="230" y="898" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="230" y="898" id="875" />
+<P2  x="230" y="935" id="1190" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1525" >
+<cdparam x="230" y="965" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="230" y="965" id="1191" />
+<P2  x="230" y="997" id="1010" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1526" >
+<cdparam x="346" y="799" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="346" y="799" id="851" />
+<P2  x="346" y="826" id="1196" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1527" >
+<cdparam x="346" y="856" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="346" y="856" id="1197" />
+<P2  x="346" y="895" id="1034" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1528" >
+<cdparam x="439" y="818" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="464" y="818" id="871" />
+<P2  x="464" y="860" id="1193" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1529" >
+<cdparam x="439" y="890" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="464" y="890" id="1194" />
+<P2  x="464" y="936" id="1031" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1530" >
+<cdparam x="132" y="963" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="132" y="963" id="1024" />
+<P2  x="132" y="981" id="1208" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1531" >
+<cdparam x="132" y="1011" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="132" y="1011" id="1209" />
+<P2  x="132" y="1036" id="1020" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1532" >
+<cdparam x="230" y="1027" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="230" y="1027" id="1011" />
+<P2  x="230" y="1047" id="1199" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1533" >
+<cdparam x="228" y="1088" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="230" y="1077" id="1200" />
+<P2  x="230" y="1097" id="1169" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1534" >
+<cdparam x="346" y="925" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="346" y="925" id="1035" />
+<P2  x="346" y="957" id="1202" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1535" >
+<cdparam x="348" y="987" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="346" y="987" id="1203" />
+<P2  x="346" y="1021" id="1026" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1536" >
+<cdparam x="439" y="966" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="464" y="966" id="1032" />
+<P2  x="464" y="978" id="1205" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1537" >
+<cdparam x="438" y="1008" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="464" y="1008" id="1206" />
+<P2  x="464" y="1027" id="1015" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1538" >
+<cdparam x="722" y="783" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="722" y="783" id="1157" />
+<P2  x="722" y="808" id="1211" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1539" >
+<cdparam x="722" y="838" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="722" y="838" id="1212" />
+<P2  x="722" y="860" id="1159" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1540" >
+<cdparam x="800" y="1111" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="800" y="1111" id="1062" />
+<P2  x="800" y="1136" id="1214" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1541" >
+<cdparam x="798" y="1166" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="800" y="1166" id="1215" />
+<P2  x="800" y="1188" id="1098" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1542" >
+<cdparam x="943" y="1148" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="943" y="1148" id="1107" />
+<P2  x="943" y="1173" id="1217" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1543" >
+<cdparam x="950" y="1201" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="943" y="1203" id="1218" />
+<P2  x="943" y="1229" id="1126" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1544" >
+<cdparam x="1049" y="1180" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1049" y="1180" id="1132" />
+<P2  x="1049" y="1206" id="1220" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1545" >
+<cdparam x="1049" y="1223" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="1049" y="1236" id="1221" />
+<P2  x="1049" y="1261" id="1151" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1546" >
+<cdparam x="883" y="884" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="883" y="884" id="846" />
+<P2  x="883" y="917" id="1225" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1547" >
+<cdparam x="612" y="727" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="612" y="727" id="818" />
+<P2  x="612" y="757" id="1223" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1548" >
+<cdparam x="532" y="727" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="532" y="727" id="817" />
+<P2  x="496" y="763" id="1101" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1549" >
+<cdparam x="799" y="1218" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="800" y="1218" id="1099" />
+<P2  x="800" y="1265" id="1037" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1550" >
+<cdparam x="1009" y="954" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1009" y="954" id="833" />
+<P2  x="943" y="1020" id="826" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1551" >
+<cdparam x="229" y="1194" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="230" y="1194" id="1173" />
+<P2  x="230" y="1232" id="1013" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1552" >
+<cdparam x="346" y="1198" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="346" y="1198" id="1179" />
+<P2  x="346" y="1224" id="1029" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1553" >
+<cdparam x="438" y="1184" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="464" y="1184" id="1185" />
+<P2  x="464" y="1208" id="1018" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1554" >
+<cdparam x="496" y="793" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="496" y="793" id="1102" />
+<P2  x="496" y="825" id="1104" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1555" >
+<cdparam x="943" y="1259" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="943" y="1259" id="1127" />
+<P2  x="943" y="1306" id="1129" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1556" >
+<cdparam x="1008" y="736" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to choice" value="null" />
+<P1  x="1008" y="736" id="867" />
+<P2  x="1008" y="770" id="860" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1557" >
+<cdparam x="1008" y="835" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1008" y="835" id="863" />
+<P2  x="1049" y="929" id="832" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1558" >
+<cdparam x="1049" y="1291" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1049" y="1291" id="1152" />
+<P2  x="1049" y="1336" id="1154" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1559" >
+<cdparam x="1208" y="1152" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1208" y="1142" id="811" />
+<P2  x="1208" y="1209" id="1227" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1560" >
+<cdparam x="1208" y="1239" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to action state" value="null" />
+<P1  x="1208" y="1239" id="1228" />
+<P2  x="1208" y="1290" id="1247" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1561" >
+<cdparam x="1208" y="1320" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to send event" value="null" />
+<P1  x="1208" y="1320" id="1248" />
+<P2  x="1208" y="1346" id="1255" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1562" >
+<cdparam x="1206" y="1385" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="1208" y="1376" id="1256" />
+<P2  x="1208" y="1397" id="1252" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1563" >
+<cdparam x="1206" y="1088" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1208" y="1075" id="807" />
+<P2  x="1208" y="1102" id="810" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1564" >
+<cdparam x="1248" y="1035" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1248" y="1035" id="806" />
+<P2  x="1287" y="1065" id="1258" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1565" >
+<cdparam x="1207" y="1427" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1208" y="1427" id="1253" />
+<P2  x="1208" y="1466" id="1250" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1566" >
+<cdparam x="1553" y="1019" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1567" y="1021" id="777" />
+<P2  x="1529" y="1059" id="770" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1567" >
+<cdparam x="1529" y="1324" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1529" y="1289" id="767" />
+<P2  x="1529" y="1343" id="1265" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1568" >
+<cdparam x="1684" y="929" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="1728" y="930" id="787" />
+<P2  x="1728" y="1021" id="1268" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1569" >
+<cdparam x="1615" y="1283" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1641" y="1270" id="791" />
+<P2  x="1641" y="1294" id="1305" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1570" >
+<cdparam x="1641" y="1324" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1641" y="1324" id="1306" />
+<P2  x="1641" y="1343" id="1347" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1571" >
+<cdparam x="1529" y="1373" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1529" y="1373" id="1266" />
+<P2  x="1529" y="1400" id="1344" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1572" >
+<cdparam x="1529" y="1422" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="1529" y="1430" id="1345" />
+<P2  x="1529" y="1452" id="1260" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1573" >
+<cdparam x="1642" y="1373" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="1641" y="1373" id="1348" />
+<P2  x="1641" y="1399" id="1350" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1574" >
+<cdparam x="1956" y="1361" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1956" y="1361" id="745" />
+<P2  x="1920" y="1406" id="1360" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1575" >
+<cdparam x="2100" y="1490" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2101" y="1491" id="1368" />
+<P2  x="2101" y="1532" id="1370" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1576" >
+<cdparam x="1996" y="1401" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1996" y="1401" id="747" />
+<P2  x="1996" y="1429" id="1375" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1577" >
+<cdparam x="1996" y="1459" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to action state" value="null" />
+<P1  x="1996" y="1459" id="1376" />
+<P2  x="1996" y="1488" id="1372" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1578" >
+<cdparam x="2021" y="1038" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2237" y="966" id="737" />
+<P2  x="2237" y="1054" id="794" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1579" >
+<cdparam x="2217" y="1323" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="2237" y="1323" id="1418" />
+<P2  x="2237" y="1360" id="1420" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1580" >
+<cdparam x="2218" y="1094" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="2237" y="1094" id="795" />
+<P2  x="2237" y="1131" id="1423" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1581" >
+<cdparam x="2218" y="1161" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="2237" y="1161" id="1424" />
+<P2  x="2237" y="1193" id="1412" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1582" >
+<cdparam x="2218" y="1223" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="2237" y="1223" id="1413" />
+<P2  x="2237" y="1243" id="1426" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1583" >
+<cdparam x="2216" y="1284" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="2237" y="1273" id="1427" />
+<P2  x="2237" y="1293" id="1417" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1584" >
+<cdparam x="2217" y="1390" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to action state" value="null" />
+<P1  x="2237" y="1390" id="1421" />
+<P2  x="2237" y="1419" id="1429" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1585" >
+<cdparam x="2341" y="1060" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="2317" y="1059" id="799" />
+<P2  x="2317" y="1117" id="1432" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1586" >
+<cdparam x="1529" y="1099" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1529" y="1099" id="771" />
+<P2  x="1529" y="1127" id="1262" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1587" >
+<cdparam x="2101" y="1433" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="2101" y="1433" id="731" />
+<P2  x="2101" y="1461" id="1367" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1588" >
+<cdparam x="2158" y="1460" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2141" y="1393" id="730" />
+<P2  x="2178" y="1416" id="1462" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1589" >
+<cdparam x="1688" y="890" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1688" y="890" id="785" />
+<P2  x="1607" y="996" id="776" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1590" >
+<cdparam x="1768" y="890" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="890" id="786" />
+<P2  x="2277" y="941" id="736" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1591" >
+<cdparam x="2317" y="966" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2317" y="966" id="738" />
+<P2  x="2317" y="1019" id="798" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2179" >
-<cdparam x="143" y="511" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="143" y="511" id="1934" />
-<P2  x="142" y="453" id="1914" />
+<CONNECTOR type="115" id="1592" >
+<cdparam x="2341" y="1147" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="2317" y="1147" id="1433" />
+<P2  x="2317" y="1194" id="1457" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2180" >
-<cdparam x="138" y="357" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="138" y="357" id="2057" />
-<P2  x="142" y="403" id="1909" />
+<CONNECTOR type="115" id="1593" >
+<cdparam x="2341" y="1224" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to send event" value="null" />
+<P1  x="2317" y="1224" id="1458" />
+<P2  x="2317" y="1262" id="1452" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2181" >
-<cdparam x="402" y="367" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Memory0 to Bus0" value="{info}" />
-<P1  x="403" y="358" id="1959" />
-<P2  x="403" y="319" id="1989" />
+<CONNECTOR type="115" id="1594" >
+<cdparam x="1731" y="1051" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="1728" y="1051" id="1269" />
+<P2  x="1728" y="1081" id="1469" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2182" >
-<cdparam x="190" y="300" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU1 to Bus0" value="{info}" />
-<P1  x="221" y="294" id="2055" />
-<P2  x="278" y="294" id="1986" />
+<CONNECTOR type="115" id="1595" >
+<cdparam x="1647" y="1021" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1647" y="1021" id="778" />
+<P2  x="1647" y="1052" id="1460" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2183" >
-<cdparam x="662" y="310" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU2 to Bus0" value="{info}" />
-<P1  x="574" y="294" id="2020" />
-<P2  x="528" y="294" id="1987" />
+<CONNECTOR type="115" id="1596" >
+<cdparam x="1826" y="1324" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1826" y="1324" id="755" />
+<P2  x="1826" y="1344" id="1355" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2184" >
-<cdparam x="388" y="162" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU0 to Bus0" value="{info}" />
-<P1  x="403" y="226" id="2109" />
-<P2  x="403" y="269" id="1984" />
+<CONNECTOR type="115" id="1597" >
+<cdparam x="1826" y="1374" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1826" y="1374" id="1356" />
+<P2  x="1826" y="1452" id="1358" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2185" >
-<cdparam x="812" y="190" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="868" y="123" id="2154" />
-<P2  x="755" y="88" id="2134" />
+<CONNECTOR type="115" id="1598" >
+<cdparam x="1786" y="1284" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1786" y="1284" id="753" />
+<P2  x="1740" y="1330" id="1353" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
 </CONNECTOR>
-
-</TMLArchiDiagramPanel>
-
-</Modeling>
-
-
-
-
-<Modeling type="AVATAR Design" nameTab="BasicSecurityProtocol" >
-<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
-<MainCode value="void __user_init() {"/>
-<MainCode value="}"/>
-<Optimized value="true" />
-<Validated value="" />
-<Ignored value="" />
-
-<CONNECTOR type="5002" id="2191" >
-<cdparam x="568" y="220" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2188" />
-<TGConnectingPoint num="1" id="2189" />
-<TGConnectingPoint num="2" id="2190" />
-<P1  x="459" y="199" id="2288" />
-<P2  x="459" y="254" id="2281" />
-<Point x="490" y="199" />
-<Point x="490" y="254" />
+<CONNECTOR type="115" id="1599" >
+<cdparam x="1920" y="1436" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1920" y="1436" id="1361" />
+<P2  x="1920" y="1476" id="1363" />
 <AutomaticDrawing  data="true" />
-<extraparam>
-<iso value="in chin(Message msg)" />
-<osd value="out chout(Message msg)" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" />
-</extraparam>
-</CONNECTOR><SUBCOMPONENT type="-1" id="2186" >
-<father id="2191" num="0" />
-<cdparam x="490" y="199" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2187" >
-<father id="2191" num="1" />
-<cdparam x="490" y="254" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<COMPONENT type="302" id="2208" >
-<cdparam x="519" y="154" />
-<sizeparam width="520" height="97" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Proverif Pragma" value="#InitialSystemKnowledge InterfaceDevice.sk SmartCard.sk
+</CONNECTOR>
+<CONNECTOR type="115" id="1600" >
+<cdparam x="1996" y="1518" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1996" y="1518" id="1373" />
+<P2  x="1996" y="1538" id="1365" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1601" >
+<cdparam x="2036" y="1361" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="2036" y="1361" id="746" />
+<P2  x="2101" y="1368" id="728" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1602" >
+<cdparam x="1866" y="1284" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1866" y="1284" id="754" />
+<P2  x="1996" y="1336" id="744" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1603" >
+<cdparam x="2341" y="1292" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2317" y="1292" id="1453" />
+<P2  x="2317" y="1319" id="1455" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1604" >
+<cdparam x="2217" y="1449" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2237" y="1449" id="1430" />
+<P2  x="2237" y="1478" id="1415" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1605" >
+<cdparam x="2277" y="1006" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2277" y="1006" id="739" />
+<P2  x="2277" y="1034" id="1464" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1606" >
+<cdparam x="1642" y="1429" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="1641" y="1429" id="1351" />
+<P2  x="1641" y="1463" id="1308" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1607" >
+<cdparam x="1529" y="1157" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1529" y="1157" id="1263" />
+<P2  x="1529" y="1187" id="1466" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1608" >
+<cdparam x="1529" y="1217" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to execI" value="null" />
+<P1  x="1529" y="1217" id="1467" />
+<P2  x="1529" y="1249" id="766" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1609" >
+<cdparam x="1691" y="1156" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1688" y="1156" id="761" />
+<P2  x="1641" y="1230" id="790" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1610" >
+<cdparam x="1771" y="1156" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="1156" id="762" />
+<P2  x="1826" y="1259" id="752" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1611" >
+<cdparam x="1731" y="1111" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to choice" value="null" />
+<P1  x="1728" y="1111" id="1470" />
+<P2  x="1728" y="1131" id="760" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
 
-#Confidentiality InterfaceDevice.secretData
-#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
-" />
-<TGConnectingPoint num="0" id="2192" />
-<TGConnectingPoint num="1" id="2193" />
-<TGConnectingPoint num="2" id="2194" />
-<TGConnectingPoint num="3" id="2195" />
-<TGConnectingPoint num="4" id="2196" />
-<TGConnectingPoint num="5" id="2197" />
-<TGConnectingPoint num="6" id="2198" />
-<TGConnectingPoint num="7" id="2199" />
-<TGConnectingPoint num="8" id="2200" />
-<TGConnectingPoint num="9" id="2201" />
-<TGConnectingPoint num="10" id="2202" />
-<TGConnectingPoint num="11" id="2203" />
-<TGConnectingPoint num="12" id="2204" />
-<TGConnectingPoint num="13" id="2205" />
-<TGConnectingPoint num="14" id="2206" />
-<TGConnectingPoint num="15" id="2207" />
-<extraparam>
-<Line value="#InitialSystemKnowledge InterfaceDevice.sk SmartCard.sk" />
-<Line value="" />
-<Line value="#Confidentiality InterfaceDevice.secretData" />
-<Line value="#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m" />
-</extraparam>
-</COMPONENT>
+</TMLActivityDiagramPanel>
 
-<COMPONENT type="5003" id="2217" >
-<cdparam x="260" y="373" />
-<sizeparam width="129" height="61" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</Modeling>
+
+
+
+
+<Modeling type="TML Architecture" nameTab="Mapping1" >
+<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
+<COMPONENT type="1102" id="1636" >
+<cdparam x="612" y="450" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="DataType0" value="Message" />
-<TGConnectingPoint num="0" id="2209" />
-<TGConnectingPoint num="1" id="2210" />
-<TGConnectingPoint num="2" id="2211" />
-<TGConnectingPoint num="3" id="2212" />
-<TGConnectingPoint num="4" id="2213" />
-<TGConnectingPoint num="5" id="2214" />
-<TGConnectingPoint num="6" id="2215" />
-<TGConnectingPoint num="7" id="2216" />
+<infoparam name="Bus0" value="name" />
+<TGConnectingPoint num="0" id="1612" />
+<TGConnectingPoint num="1" id="1613" />
+<TGConnectingPoint num="2" id="1614" />
+<TGConnectingPoint num="3" id="1615" />
+<TGConnectingPoint num="4" id="1616" />
+<TGConnectingPoint num="5" id="1617" />
+<TGConnectingPoint num="6" id="1618" />
+<TGConnectingPoint num="7" id="1619" />
+<TGConnectingPoint num="8" id="1620" />
+<TGConnectingPoint num="9" id="1621" />
+<TGConnectingPoint num="10" id="1622" />
+<TGConnectingPoint num="11" id="1623" />
+<TGConnectingPoint num="12" id="1624" />
+<TGConnectingPoint num="13" id="1625" />
+<TGConnectingPoint num="14" id="1626" />
+<TGConnectingPoint num="15" id="1627" />
+<TGConnectingPoint num="16" id="1628" />
+<TGConnectingPoint num="17" id="1629" />
+<TGConnectingPoint num="18" id="1630" />
+<TGConnectingPoint num="19" id="1631" />
+<TGConnectingPoint num="20" id="1632" />
+<TGConnectingPoint num="21" id="1633" />
+<TGConnectingPoint num="22" id="1634" />
+<TGConnectingPoint num="23" id="1635" />
 <extraparam>
-<Attribute access="0" id="data" value="" type="8" typeOther="" />
+<info stereotype="BUS-RR" nodeName="Bus0" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="0"  referenceAttack="null" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="2226" >
-<cdparam x="68" y="372" />
-<sizeparam width="123" height="62" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1105" id="1661" >
+<cdparam x="797" y="120" />
+<sizeparam width="200" height="200" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="DataType0" value="Key" />
-<TGConnectingPoint num="0" id="2218" />
-<TGConnectingPoint num="1" id="2219" />
-<TGConnectingPoint num="2" id="2220" />
-<TGConnectingPoint num="3" id="2221" />
-<TGConnectingPoint num="4" id="2222" />
-<TGConnectingPoint num="5" id="2223" />
-<TGConnectingPoint num="6" id="2224" />
-<TGConnectingPoint num="7" id="2225" />
+<infoparam name="Memory0" value="name" />
+<TGConnectingPoint num="0" id="1637" />
+<TGConnectingPoint num="1" id="1638" />
+<TGConnectingPoint num="2" id="1639" />
+<TGConnectingPoint num="3" id="1640" />
+<TGConnectingPoint num="4" id="1641" />
+<TGConnectingPoint num="5" id="1642" />
+<TGConnectingPoint num="6" id="1643" />
+<TGConnectingPoint num="7" id="1644" />
+<TGConnectingPoint num="8" id="1645" />
+<TGConnectingPoint num="9" id="1646" />
+<TGConnectingPoint num="10" id="1647" />
+<TGConnectingPoint num="11" id="1648" />
+<TGConnectingPoint num="12" id="1649" />
+<TGConnectingPoint num="13" id="1650" />
+<TGConnectingPoint num="14" id="1651" />
+<TGConnectingPoint num="15" id="1652" />
+<TGConnectingPoint num="16" id="1653" />
+<TGConnectingPoint num="17" id="1654" />
+<TGConnectingPoint num="18" id="1655" />
+<TGConnectingPoint num="19" id="1656" />
+<TGConnectingPoint num="20" id="1657" />
+<TGConnectingPoint num="21" id="1658" />
+<TGConnectingPoint num="22" id="1659" />
+<TGConnectingPoint num="23" id="1660" />
 <extraparam>
-<Attribute access="0" id="data" value="" type="8" typeOther="" />
+<info stereotype="MEMORY" nodeName="Memory0" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2301" >
-<cdparam x="21" y="145" />
-<sizeparam width="438" height="219" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1100" id="1731" >
+<cdparam x="51" y="90" />
+<sizeparam width="459" height="321" minWidth="150" minHeight="150" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Block0" value="System" />
-<TGConnectingPoint num="0" id="2277" />
-<TGConnectingPoint num="1" id="2278" />
-<TGConnectingPoint num="2" id="2279" />
-<TGConnectingPoint num="3" id="2280" />
-<TGConnectingPoint num="4" id="2281" />
-<TGConnectingPoint num="5" id="2282" />
-<TGConnectingPoint num="6" id="2283" />
-<TGConnectingPoint num="7" id="2284" />
-<TGConnectingPoint num="8" id="2285" />
-<TGConnectingPoint num="9" id="2286" />
-<TGConnectingPoint num="10" id="2287" />
-<TGConnectingPoint num="11" id="2288" />
-<TGConnectingPoint num="12" id="2289" />
-<TGConnectingPoint num="13" id="2290" />
-<TGConnectingPoint num="14" id="2291" />
-<TGConnectingPoint num="15" id="2292" />
-<TGConnectingPoint num="16" id="2293" />
-<TGConnectingPoint num="17" id="2294" />
-<TGConnectingPoint num="18" id="2295" />
-<TGConnectingPoint num="19" id="2296" />
-<TGConnectingPoint num="20" id="2297" />
-<TGConnectingPoint num="21" id="2298" />
-<TGConnectingPoint num="22" id="2299" />
-<TGConnectingPoint num="23" id="2300" />
+<infoparam name="cpu0" value="name" />
+<TGConnectingPoint num="0" id="1707" />
+<TGConnectingPoint num="1" id="1708" />
+<TGConnectingPoint num="2" id="1709" />
+<TGConnectingPoint num="3" id="1710" />
+<TGConnectingPoint num="4" id="1711" />
+<TGConnectingPoint num="5" id="1712" />
+<TGConnectingPoint num="6" id="1713" />
+<TGConnectingPoint num="7" id="1714" />
+<TGConnectingPoint num="8" id="1715" />
+<TGConnectingPoint num="9" id="1716" />
+<TGConnectingPoint num="10" id="1717" />
+<TGConnectingPoint num="11" id="1718" />
+<TGConnectingPoint num="12" id="1719" />
+<TGConnectingPoint num="13" id="1720" />
+<TGConnectingPoint num="14" id="1721" />
+<TGConnectingPoint num="15" id="1722" />
+<TGConnectingPoint num="16" id="1723" />
+<TGConnectingPoint num="17" id="1724" />
+<TGConnectingPoint num="18" id="1725" />
+<TGConnectingPoint num="19" id="1726" />
+<TGConnectingPoint num="20" id="1727" />
+<TGConnectingPoint num="21" id="1728" />
+<TGConnectingPoint num="22" id="1729" />
+<TGConnectingPoint num="23" id="1730" />
 <extraparam>
-<CryptoBlock value="false" />
-<Signal value="in chin(Message msg)" attached="true" />
-<Signal value="out chout(Message msg)" attached="true" />
+<info stereotype="CPURRPB" nodeName="cpu0" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="1"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="99"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="1" MECType="0" encryption="0"/>
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="5000" id="2251" >
-<father id="2301" num="0" />
-<cdparam x="36" y="233" />
-<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1670" >
+<father id="1731" num="0" />
+<cdparam x="92" y="154" />
+<sizeparam width="163" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
-<infoparam name="Block0" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="2227" />
-<TGConnectingPoint num="1" id="2228" />
-<TGConnectingPoint num="2" id="2229" />
-<TGConnectingPoint num="3" id="2230" />
-<TGConnectingPoint num="4" id="2231" />
-<TGConnectingPoint num="5" id="2232" />
-<TGConnectingPoint num="6" id="2233" />
-<TGConnectingPoint num="7" id="2234" />
-<TGConnectingPoint num="8" id="2235" />
-<TGConnectingPoint num="9" id="2236" />
-<TGConnectingPoint num="10" id="2237" />
-<TGConnectingPoint num="11" id="2238" />
-<TGConnectingPoint num="12" id="2239" />
-<TGConnectingPoint num="13" id="2240" />
-<TGConnectingPoint num="14" id="2241" />
-<TGConnectingPoint num="15" id="2242" />
-<TGConnectingPoint num="16" id="2243" />
-<TGConnectingPoint num="17" id="2244" />
-<TGConnectingPoint num="18" id="2245" />
-<TGConnectingPoint num="19" id="2246" />
-<TGConnectingPoint num="20" id="2247" />
-<TGConnectingPoint num="21" id="2248" />
-<TGConnectingPoint num="22" id="2249" />
-<TGConnectingPoint num="23" id="2250" />
+<cdrectangleparam minX="0" maxX="296" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<TGConnectingPoint num="0" id="1662" />
+<TGConnectingPoint num="1" id="1663" />
+<TGConnectingPoint num="2" id="1664" />
+<TGConnectingPoint num="3" id="1665" />
+<TGConnectingPoint num="4" id="1666" />
+<TGConnectingPoint num="5" id="1667" />
+<TGConnectingPoint num="6" id="1668" />
+<TGConnectingPoint num="7" id="1669" />
 <extraparam>
-<CryptoBlock value="true" />
-<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
-<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Method value="Message encrypt(Message msg, Key k)" />
-<Method value="Message decrypt(Message msg, Key k)" />
-<Method value="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<Method value="Message MAC(Message msg, Key k)" />
-<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
-<Method value="Message concat2(Message msg1, Message msg2)" />
-<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
-<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="get2(Message msg, Message msg1, Message msg2)" />
-<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
-<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="Message aencrypt(Message msg, Key k)" />
-<Method value="Message adecrypt(Message msg, Key k)" />
-<Method value="Key pk(Key k)" />
-<Method value="Message sign(Message msg, Key k)" />
-<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
-<Method value="Message cert(Key k, Message msg)" />
-<Method value="bool verifyCert(Message cert, Key k)" />
-<Method value="Key getpk(Message cert)" />
-<Method value="Key DH(Key pubK, Key privK)" />
-<Method value="Message hash(Message msg)" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1101" id="1679" >
+<father id="1731" num="1" />
+<cdparam x="291" y="153" />
+<sizeparam width="136" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="323" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="1671" />
+<TGConnectingPoint num="1" id="1672" />
+<TGConnectingPoint num="2" id="1673" />
+<TGConnectingPoint num="3" id="1674" />
+<TGConnectingPoint num="4" id="1675" />
+<TGConnectingPoint num="5" id="1676" />
+<TGConnectingPoint num="6" id="1677" />
+<TGConnectingPoint num="7" id="1678" />
+<extraparam>
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1101" id="1688" >
+<father id="1731" num="2" />
+<cdparam x="96" y="246" />
+<sizeparam width="108" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="351" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
+<TGConnectingPoint num="0" id="1680" />
+<TGConnectingPoint num="1" id="1681" />
+<TGConnectingPoint num="2" id="1682" />
+<TGConnectingPoint num="3" id="1683" />
+<TGConnectingPoint num="4" id="1684" />
+<TGConnectingPoint num="5" id="1685" />
+<TGConnectingPoint num="6" id="1686" />
+<TGConnectingPoint num="7" id="1687" />
+<extraparam>
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="2276" >
-<father id="2301" num="1" />
-<cdparam x="263" y="233" />
-<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1697" >
+<father id="1731" num="3" />
+<cdparam x="290" y="234" />
+<sizeparam width="139" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
-<infoparam name="Block0" value="SmartCard" />
-<TGConnectingPoint num="0" id="2252" />
-<TGConnectingPoint num="1" id="2253" />
-<TGConnectingPoint num="2" id="2254" />
-<TGConnectingPoint num="3" id="2255" />
-<TGConnectingPoint num="4" id="2256" />
-<TGConnectingPoint num="5" id="2257" />
-<TGConnectingPoint num="6" id="2258" />
-<TGConnectingPoint num="7" id="2259" />
-<TGConnectingPoint num="8" id="2260" />
-<TGConnectingPoint num="9" id="2261" />
-<TGConnectingPoint num="10" id="2262" />
-<TGConnectingPoint num="11" id="2263" />
-<TGConnectingPoint num="12" id="2264" />
-<TGConnectingPoint num="13" id="2265" />
-<TGConnectingPoint num="14" id="2266" />
-<TGConnectingPoint num="15" id="2267" />
-<TGConnectingPoint num="16" id="2268" />
-<TGConnectingPoint num="17" id="2269" />
-<TGConnectingPoint num="18" id="2270" />
-<TGConnectingPoint num="19" id="2271" />
-<TGConnectingPoint num="20" id="2272" />
-<TGConnectingPoint num="21" id="2273" />
-<TGConnectingPoint num="22" id="2274" />
-<TGConnectingPoint num="23" id="2275" />
+<cdrectangleparam minX="0" maxX="320" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
+<TGConnectingPoint num="0" id="1689" />
+<TGConnectingPoint num="1" id="1690" />
+<TGConnectingPoint num="2" id="1691" />
+<TGConnectingPoint num="3" id="1692" />
+<TGConnectingPoint num="4" id="1693" />
+<TGConnectingPoint num="5" id="1694" />
+<TGConnectingPoint num="6" id="1695" />
+<TGConnectingPoint num="7" id="1696" />
 <extraparam>
-<CryptoBlock value="true" />
-<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
-<Method value="Message encrypt(Message msg, Key k)" />
-<Method value="Message decrypt(Message msg, Key k)" />
-<Method value="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<Method value="Message MAC(Message msg, Key k)" />
-<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
-<Method value="Message concat2(Message msg1, Message msg2)" />
-<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
-<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="get2(Message msg, Message msg1, Message msg2)" />
-<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
-<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="Message aencrypt(Message msg, Key k)" />
-<Method value="Message adecrypt(Message msg, Key k)" />
-<Method value="Key pk(Key k)" />
-<Method value="Message sign(Message msg, Key k)" />
-<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
-<Method value="Message cert(Key k, Message msg)" />
-<Method value="bool verifyCert(Message cert, Key k)" />
-<Method value="Key getpk(Message cert)" />
-<Method value="Key DH(Key pubK, Key privK)" />
-<Method value="Message hash(Message msg)" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1101" id="1706" >
+<father id="1731" num="4" />
+<cdparam x="226" y="304" />
+<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
+<TGConnectingPoint num="0" id="1698" />
+<TGConnectingPoint num="1" id="1699" />
+<TGConnectingPoint num="2" id="1700" />
+<TGConnectingPoint num="3" id="1701" />
+<TGConnectingPoint num="4" id="1702" />
+<TGConnectingPoint num="5" id="1703" />
+<TGConnectingPoint num="6" id="1704" />
+<TGConnectingPoint num="7" id="1705" />
+<extraparam>
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
+<CONNECTOR type="125" id="1732" >
+<cdparam x="800" y="322" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="847" y="320" id="1651" />
+<P2  x="799" y="450" id="1621" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="125" id="1733" >
+<cdparam x="510" y="411" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="510" y="411" id="1714" />
+<P2  x="612" y="462" id="1622" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
 
-</AVATARBlockDiagramPanel>
+</TMLArchiDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="System" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="5100" id="2303" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2302" />
-</COMPONENT>
+</Modeling>
 
 
-</AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2310" >
-<cdparam x="416" y="379" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="2309" />
-<P1  x="416" y="379" id="2345" />
-<P2  x="420" y="424" id="2381" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2308" >
-<father id="2310" num="0" />
-<cdparam x="431" y="403" />
-<sizeparam width="135" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2304" />
-<TGConnectingPoint num="1" id="2305" />
-<TGConnectingPoint num="2" id="2306" />
-<TGConnectingPoint num="3" id="2307" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
-<actions value="receivedData = m.data" />
-</extraparam>
-</SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2317" >
-<cdparam x="407" y="273" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="2316" />
-<P1  x="407" y="273" id="2427" />
-<P2  x="416" y="339" id="2340" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2315" >
-<father id="2317" num="0" />
-<cdparam x="419" y="312" />
-<sizeparam width="127" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<Modeling type="TML Architecture" nameTab="Mapping2" >
+<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
+<COMPONENT type="1105" id="1758" >
+<cdparam x="309" y="358" />
+<sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2311" />
-<TGConnectingPoint num="1" id="2312" />
-<TGConnectingPoint num="2" id="2313" />
-<TGConnectingPoint num="3" id="2314" />
+<infoparam name="Memory0" value="name" />
+<TGConnectingPoint num="0" id="1734" />
+<TGConnectingPoint num="1" id="1735" />
+<TGConnectingPoint num="2" id="1736" />
+<TGConnectingPoint num="3" id="1737" />
+<TGConnectingPoint num="4" id="1738" />
+<TGConnectingPoint num="5" id="1739" />
+<TGConnectingPoint num="6" id="1740" />
+<TGConnectingPoint num="7" id="1741" />
+<TGConnectingPoint num="8" id="1742" />
+<TGConnectingPoint num="9" id="1743" />
+<TGConnectingPoint num="10" id="1744" />
+<TGConnectingPoint num="11" id="1745" />
+<TGConnectingPoint num="12" id="1746" />
+<TGConnectingPoint num="13" id="1747" />
+<TGConnectingPoint num="14" id="1748" />
+<TGConnectingPoint num="15" id="1749" />
+<TGConnectingPoint num="16" id="1750" />
+<TGConnectingPoint num="17" id="1751" />
+<TGConnectingPoint num="18" id="1752" />
+<TGConnectingPoint num="19" id="1753" />
+<TGConnectingPoint num="20" id="1754" />
+<TGConnectingPoint num="21" id="1755" />
+<TGConnectingPoint num="22" id="1756" />
+<TGConnectingPoint num="23" id="1757" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
-<actions value="m = sdecrypt(m2, sk)" />
+<info stereotype="MEMORY" nodeName="Memory0" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
-</SUBCOMPONENT>
+</COMPONENT>
 
-<CONNECTOR type="5102" id="2324" >
-<cdparam x="406" y="201" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="2323" />
-<P1  x="406" y="201" id="2463" />
-<P2  x="407" y="233" id="2422" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2322" >
-<father id="2324" num="0" />
-<cdparam x="406" y="241" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1102" id="1783" >
+<cdparam x="277" y="270" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2318" />
-<TGConnectingPoint num="1" id="2319" />
-<TGConnectingPoint num="2" id="2320" />
-<TGConnectingPoint num="3" id="2321" />
+<infoparam name="Bus0" value="name" />
+<TGConnectingPoint num="0" id="1759" />
+<TGConnectingPoint num="1" id="1760" />
+<TGConnectingPoint num="2" id="1761" />
+<TGConnectingPoint num="3" id="1762" />
+<TGConnectingPoint num="4" id="1763" />
+<TGConnectingPoint num="5" id="1764" />
+<TGConnectingPoint num="6" id="1765" />
+<TGConnectingPoint num="7" id="1766" />
+<TGConnectingPoint num="8" id="1767" />
+<TGConnectingPoint num="9" id="1768" />
+<TGConnectingPoint num="10" id="1769" />
+<TGConnectingPoint num="11" id="1770" />
+<TGConnectingPoint num="12" id="1771" />
+<TGConnectingPoint num="13" id="1772" />
+<TGConnectingPoint num="14" id="1773" />
+<TGConnectingPoint num="15" id="1774" />
+<TGConnectingPoint num="16" id="1775" />
+<TGConnectingPoint num="17" id="1776" />
+<TGConnectingPoint num="18" id="1777" />
+<TGConnectingPoint num="19" id="1778" />
+<TGConnectingPoint num="20" id="1779" />
+<TGConnectingPoint num="21" id="1780" />
+<TGConnectingPoint num="22" id="1781" />
+<TGConnectingPoint num="23" id="1782" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info stereotype="BUS-RR" nodeName="Bus0" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="5"  privacy="0"  referenceAttack="ReadDataFromBus" />
 </extraparam>
-</SUBCOMPONENT>
+</COMPONENT>
 
-<CONNECTOR type="5102" id="2331" >
-<cdparam x="406" y="141" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="2330" />
-<P1  x="406" y="141" id="2479" />
-<P2  x="406" y="171" id="2462" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2329" >
-<father id="2331" num="0" />
-<cdparam x="406" y="181" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1100" id="1817" >
+<cdparam x="574" y="227" />
+<sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2325" />
-<TGConnectingPoint num="1" id="2326" />
-<TGConnectingPoint num="2" id="2327" />
-<TGConnectingPoint num="3" id="2328" />
+<infoparam name="CPU2" value="name" />
+<TGConnectingPoint num="0" id="1793" />
+<TGConnectingPoint num="1" id="1794" />
+<TGConnectingPoint num="2" id="1795" />
+<TGConnectingPoint num="3" id="1796" />
+<TGConnectingPoint num="4" id="1797" />
+<TGConnectingPoint num="5" id="1798" />
+<TGConnectingPoint num="6" id="1799" />
+<TGConnectingPoint num="7" id="1800" />
+<TGConnectingPoint num="8" id="1801" />
+<TGConnectingPoint num="9" id="1802" />
+<TGConnectingPoint num="10" id="1803" />
+<TGConnectingPoint num="11" id="1804" />
+<TGConnectingPoint num="12" id="1805" />
+<TGConnectingPoint num="13" id="1806" />
+<TGConnectingPoint num="14" id="1807" />
+<TGConnectingPoint num="15" id="1808" />
+<TGConnectingPoint num="16" id="1809" />
+<TGConnectingPoint num="17" id="1810" />
+<TGConnectingPoint num="18" id="1811" />
+<TGConnectingPoint num="19" id="1812" />
+<TGConnectingPoint num="20" id="1813" />
+<TGConnectingPoint num="21" id="1814" />
+<TGConnectingPoint num="22" id="1815" />
+<TGConnectingPoint num="23" id="1816" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info stereotype="CPURR" nodeName="CPU2" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="4" MECType="0" encryption="0"/>
 </extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2338" >
-<cdparam x="407" y="70" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2337" />
-<P1  x="407" y="70" id="2514" />
-<P2  x="406" y="101" id="2474" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2336" >
-<father id="2338" num="0" />
-<cdparam x="407" y="110" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1101" id="1792" >
+<father id="1817" num="0" />
+<cdparam x="604" y="279" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2332" />
-<TGConnectingPoint num="1" id="2333" />
-<TGConnectingPoint num="2" id="2334" />
-<TGConnectingPoint num="3" id="2335" />
+<cdrectangleparam minX="0" maxX="65" minY="0" maxY="95" />
+<infoparam name="TGComponent" value="AppC::Timer" />
+<TGConnectingPoint num="0" id="1784" />
+<TGConnectingPoint num="1" id="1785" />
+<TGConnectingPoint num="2" id="1786" />
+<TGConnectingPoint num="3" id="1787" />
+<TGConnectingPoint num="4" id="1788" />
+<TGConnectingPoint num="5" id="1789" />
+<TGConnectingPoint num="6" id="1790" />
+<TGConnectingPoint num="7" id="1791" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5106" id="2379" >
-<cdparam x="327" y="339" />
-<sizeparam width="178" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1100" id="1851" >
+<cdparam x="56" y="231" />
+<sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="messageDecrypted" />
-<TGConnectingPoint num="0" id="2339" />
-<TGConnectingPoint num="1" id="2340" />
-<TGConnectingPoint num="2" id="2341" />
-<TGConnectingPoint num="3" id="2342" />
-<TGConnectingPoint num="4" id="2343" />
-<TGConnectingPoint num="5" id="2344" />
-<TGConnectingPoint num="6" id="2345" />
-<TGConnectingPoint num="7" id="2346" />
-<TGConnectingPoint num="8" id="2347" />
-<TGConnectingPoint num="9" id="2348" />
-<TGConnectingPoint num="10" id="2349" />
-<TGConnectingPoint num="11" id="2350" />
-<TGConnectingPoint num="12" id="2351" />
-<TGConnectingPoint num="13" id="2352" />
-<TGConnectingPoint num="14" id="2353" />
-<TGConnectingPoint num="15" id="2354" />
-<TGConnectingPoint num="16" id="2355" />
-<TGConnectingPoint num="17" id="2356" />
-<TGConnectingPoint num="18" id="2357" />
-<TGConnectingPoint num="19" id="2358" />
-<TGConnectingPoint num="20" id="2359" />
-<TGConnectingPoint num="21" id="2360" />
-<TGConnectingPoint num="22" id="2361" />
-<TGConnectingPoint num="23" id="2362" />
-<TGConnectingPoint num="24" id="2363" />
-<TGConnectingPoint num="25" id="2364" />
-<TGConnectingPoint num="26" id="2365" />
-<TGConnectingPoint num="27" id="2366" />
-<TGConnectingPoint num="28" id="2367" />
-<TGConnectingPoint num="29" id="2368" />
-<TGConnectingPoint num="30" id="2369" />
-<TGConnectingPoint num="31" id="2370" />
-<TGConnectingPoint num="32" id="2371" />
-<TGConnectingPoint num="33" id="2372" />
-<TGConnectingPoint num="34" id="2373" />
-<TGConnectingPoint num="35" id="2374" />
-<TGConnectingPoint num="36" id="2375" />
-<TGConnectingPoint num="37" id="2376" />
-<TGConnectingPoint num="38" id="2377" />
-<TGConnectingPoint num="39" id="2378" />
+<infoparam name="CPU1" value="name" />
+<TGConnectingPoint num="0" id="1827" />
+<TGConnectingPoint num="1" id="1828" />
+<TGConnectingPoint num="2" id="1829" />
+<TGConnectingPoint num="3" id="1830" />
+<TGConnectingPoint num="4" id="1831" />
+<TGConnectingPoint num="5" id="1832" />
+<TGConnectingPoint num="6" id="1833" />
+<TGConnectingPoint num="7" id="1834" />
+<TGConnectingPoint num="8" id="1835" />
+<TGConnectingPoint num="9" id="1836" />
+<TGConnectingPoint num="10" id="1837" />
+<TGConnectingPoint num="11" id="1838" />
+<TGConnectingPoint num="12" id="1839" />
+<TGConnectingPoint num="13" id="1840" />
+<TGConnectingPoint num="14" id="1841" />
+<TGConnectingPoint num="15" id="1842" />
+<TGConnectingPoint num="16" id="1843" />
+<TGConnectingPoint num="17" id="1844" />
+<TGConnectingPoint num="18" id="1845" />
+<TGConnectingPoint num="19" id="1846" />
+<TGConnectingPoint num="20" id="1847" />
+<TGConnectingPoint num="21" id="1848" />
+<TGConnectingPoint num="22" id="1849" />
+<TGConnectingPoint num="23" id="1850" />
 <extraparam>
+<info stereotype="CPURR" nodeName="CPU1" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="2" MECType="0" encryption="0"/>
 </extraparam>
 </COMPONENT>
-
-<COMPONENT type="5106" id="2420" >
-<cdparam x="350" y="424" />
-<sizeparam width="140" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="SecretDataReceived" />
-<TGConnectingPoint num="0" id="2380" />
-<TGConnectingPoint num="1" id="2381" />
-<TGConnectingPoint num="2" id="2382" />
-<TGConnectingPoint num="3" id="2383" />
-<TGConnectingPoint num="4" id="2384" />
-<TGConnectingPoint num="5" id="2385" />
-<TGConnectingPoint num="6" id="2386" />
-<TGConnectingPoint num="7" id="2387" />
-<TGConnectingPoint num="8" id="2388" />
-<TGConnectingPoint num="9" id="2389" />
-<TGConnectingPoint num="10" id="2390" />
-<TGConnectingPoint num="11" id="2391" />
-<TGConnectingPoint num="12" id="2392" />
-<TGConnectingPoint num="13" id="2393" />
-<TGConnectingPoint num="14" id="2394" />
-<TGConnectingPoint num="15" id="2395" />
-<TGConnectingPoint num="16" id="2396" />
-<TGConnectingPoint num="17" id="2397" />
-<TGConnectingPoint num="18" id="2398" />
-<TGConnectingPoint num="19" id="2399" />
-<TGConnectingPoint num="20" id="2400" />
-<TGConnectingPoint num="21" id="2401" />
-<TGConnectingPoint num="22" id="2402" />
-<TGConnectingPoint num="23" id="2403" />
-<TGConnectingPoint num="24" id="2404" />
-<TGConnectingPoint num="25" id="2405" />
-<TGConnectingPoint num="26" id="2406" />
-<TGConnectingPoint num="27" id="2407" />
-<TGConnectingPoint num="28" id="2408" />
-<TGConnectingPoint num="29" id="2409" />
-<TGConnectingPoint num="30" id="2410" />
-<TGConnectingPoint num="31" id="2411" />
-<TGConnectingPoint num="32" id="2412" />
-<TGConnectingPoint num="33" id="2413" />
-<TGConnectingPoint num="34" id="2414" />
-<TGConnectingPoint num="35" id="2415" />
-<TGConnectingPoint num="36" id="2416" />
-<TGConnectingPoint num="37" id="2417" />
-<TGConnectingPoint num="38" id="2418" />
-<TGConnectingPoint num="39" id="2419" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="2461" >
-<cdparam x="336" y="233" />
-<sizeparam width="142" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="messageDecrypt" />
-<TGConnectingPoint num="0" id="2421" />
-<TGConnectingPoint num="1" id="2422" />
-<TGConnectingPoint num="2" id="2423" />
-<TGConnectingPoint num="3" id="2424" />
-<TGConnectingPoint num="4" id="2425" />
-<TGConnectingPoint num="5" id="2426" />
-<TGConnectingPoint num="6" id="2427" />
-<TGConnectingPoint num="7" id="2428" />
-<TGConnectingPoint num="8" id="2429" />
-<TGConnectingPoint num="9" id="2430" />
-<TGConnectingPoint num="10" id="2431" />
-<TGConnectingPoint num="11" id="2432" />
-<TGConnectingPoint num="12" id="2433" />
-<TGConnectingPoint num="13" id="2434" />
-<TGConnectingPoint num="14" id="2435" />
-<TGConnectingPoint num="15" id="2436" />
-<TGConnectingPoint num="16" id="2437" />
-<TGConnectingPoint num="17" id="2438" />
-<TGConnectingPoint num="18" id="2439" />
-<TGConnectingPoint num="19" id="2440" />
-<TGConnectingPoint num="20" id="2441" />
-<TGConnectingPoint num="21" id="2442" />
-<TGConnectingPoint num="22" id="2443" />
-<TGConnectingPoint num="23" id="2444" />
-<TGConnectingPoint num="24" id="2445" />
-<TGConnectingPoint num="25" id="2446" />
-<TGConnectingPoint num="26" id="2447" />
-<TGConnectingPoint num="27" id="2448" />
-<TGConnectingPoint num="28" id="2449" />
-<TGConnectingPoint num="29" id="2450" />
-<TGConnectingPoint num="30" id="2451" />
-<TGConnectingPoint num="31" id="2452" />
-<TGConnectingPoint num="32" id="2453" />
-<TGConnectingPoint num="33" id="2454" />
-<TGConnectingPoint num="34" id="2455" />
-<TGConnectingPoint num="35" id="2456" />
-<TGConnectingPoint num="36" id="2457" />
-<TGConnectingPoint num="37" id="2458" />
-<TGConnectingPoint num="38" id="2459" />
-<TGConnectingPoint num="39" id="2460" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="2472" >
-<cdparam x="372" y="176" />
-<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chin(m2)" />
-<TGConnectingPoint num="0" id="2462" />
-<TGConnectingPoint num="1" id="2463" />
-<TGConnectingPoint num="2" id="2464" />
-<TGConnectingPoint num="3" id="2465" />
-<TGConnectingPoint num="4" id="2466" />
-<TGConnectingPoint num="5" id="2467" />
-<TGConnectingPoint num="6" id="2468" />
-<TGConnectingPoint num="7" id="2469" />
-<TGConnectingPoint num="8" id="2470" />
-<TGConnectingPoint num="9" id="2471" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2513" >
-<cdparam x="340" y="101" />
-<sizeparam width="132" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1826" >
+<father id="1851" num="0" />
+<cdparam x="56" y="276" />
+<sizeparam width="163" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="waitingForMessage" />
-<TGConnectingPoint num="0" id="2473" />
-<TGConnectingPoint num="1" id="2474" />
-<TGConnectingPoint num="2" id="2475" />
-<TGConnectingPoint num="3" id="2476" />
-<TGConnectingPoint num="4" id="2477" />
-<TGConnectingPoint num="5" id="2478" />
-<TGConnectingPoint num="6" id="2479" />
-<TGConnectingPoint num="7" id="2480" />
-<TGConnectingPoint num="8" id="2481" />
-<TGConnectingPoint num="9" id="2482" />
-<TGConnectingPoint num="10" id="2483" />
-<TGConnectingPoint num="11" id="2484" />
-<TGConnectingPoint num="12" id="2485" />
-<TGConnectingPoint num="13" id="2486" />
-<TGConnectingPoint num="14" id="2487" />
-<TGConnectingPoint num="15" id="2488" />
-<TGConnectingPoint num="16" id="2489" />
-<TGConnectingPoint num="17" id="2490" />
-<TGConnectingPoint num="18" id="2491" />
-<TGConnectingPoint num="19" id="2492" />
-<TGConnectingPoint num="20" id="2493" />
-<TGConnectingPoint num="21" id="2494" />
-<TGConnectingPoint num="22" id="2495" />
-<TGConnectingPoint num="23" id="2496" />
-<TGConnectingPoint num="24" id="2497" />
-<TGConnectingPoint num="25" id="2498" />
-<TGConnectingPoint num="26" id="2499" />
-<TGConnectingPoint num="27" id="2500" />
-<TGConnectingPoint num="28" id="2501" />
-<TGConnectingPoint num="29" id="2502" />
-<TGConnectingPoint num="30" id="2503" />
-<TGConnectingPoint num="31" id="2504" />
-<TGConnectingPoint num="32" id="2505" />
-<TGConnectingPoint num="33" id="2506" />
-<TGConnectingPoint num="34" id="2507" />
-<TGConnectingPoint num="35" id="2508" />
-<TGConnectingPoint num="36" id="2509" />
-<TGConnectingPoint num="37" id="2510" />
-<TGConnectingPoint num="38" id="2511" />
-<TGConnectingPoint num="39" id="2512" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="2515" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="0" maxX="2" minY="0" maxY="86" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<TGConnectingPoint num="0" id="1818" />
+<TGConnectingPoint num="1" id="1819" />
+<TGConnectingPoint num="2" id="1820" />
+<TGConnectingPoint num="3" id="1821" />
+<TGConnectingPoint num="4" id="1822" />
+<TGConnectingPoint num="5" id="1823" />
+<TGConnectingPoint num="6" id="1824" />
+<TGConnectingPoint num="7" id="1825" />
+<extraparam>
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+</extraparam>
+</SUBCOMPONENT>
+
+<COMPONENT type="1100" id="1903" >
+<cdparam x="267" y="59" />
+<sizeparam width="272" height="167" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2514" />
+<infoparam name="CPU0" value="name" />
+<TGConnectingPoint num="0" id="1879" />
+<TGConnectingPoint num="1" id="1880" />
+<TGConnectingPoint num="2" id="1881" />
+<TGConnectingPoint num="3" id="1882" />
+<TGConnectingPoint num="4" id="1883" />
+<TGConnectingPoint num="5" id="1884" />
+<TGConnectingPoint num="6" id="1885" />
+<TGConnectingPoint num="7" id="1886" />
+<TGConnectingPoint num="8" id="1887" />
+<TGConnectingPoint num="9" id="1888" />
+<TGConnectingPoint num="10" id="1889" />
+<TGConnectingPoint num="11" id="1890" />
+<TGConnectingPoint num="12" id="1891" />
+<TGConnectingPoint num="13" id="1892" />
+<TGConnectingPoint num="14" id="1893" />
+<TGConnectingPoint num="15" id="1894" />
+<TGConnectingPoint num="16" id="1895" />
+<TGConnectingPoint num="17" id="1896" />
+<TGConnectingPoint num="18" id="1897" />
+<TGConnectingPoint num="19" id="1898" />
+<TGConnectingPoint num="20" id="1899" />
+<TGConnectingPoint num="21" id="1900" />
+<TGConnectingPoint num="22" id="1901" />
+<TGConnectingPoint num="23" id="1902" />
+<extraparam>
+<info stereotype="CPURR" nodeName="CPU0" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="18" execiTime="1" execcTime="1" clockRatio="3" MECType="0" encryption="0"/>
+</extraparam>
 </COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2522" >
-<cdparam x="407" y="310" />
-<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="2521" />
-<P1  x="407" y="310" id="2593" />
-<P2  x="416" y="356" id="2552" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2520" >
-<father id="2522" num="0" />
-<cdparam x="449" y="353" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1860" >
+<father id="1903" num="0" />
+<cdparam x="277" y="90" />
+<sizeparam width="108" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2516" />
-<TGConnectingPoint num="1" id="2517" />
-<TGConnectingPoint num="2" id="2518" />
-<TGConnectingPoint num="3" id="2519" />
+<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
+<TGConnectingPoint num="0" id="1852" />
+<TGConnectingPoint num="1" id="1853" />
+<TGConnectingPoint num="2" id="1854" />
+<TGConnectingPoint num="3" id="1855" />
+<TGConnectingPoint num="4" id="1856" />
+<TGConnectingPoint num="5" id="1857" />
+<TGConnectingPoint num="6" id="1858" />
+<TGConnectingPoint num="7" id="1859" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2529" >
-<cdparam x="492" y="446" />
-<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="2528" />
-<P1  x="416" y="406" id="2557" />
-<P2  x="434" y="446" id="2603" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2527" >
-<father id="2529" num="0" />
-<cdparam x="449" y="440" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1869" >
+<father id="1903" num="1" />
+<cdparam x="293" y="165" />
+<sizeparam width="139" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2523" />
-<TGConnectingPoint num="1" id="2524" />
-<TGConnectingPoint num="2" id="2525" />
-<TGConnectingPoint num="3" id="2526" />
+<cdrectangleparam minX="0" maxX="133" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::Application" />
+<TGConnectingPoint num="0" id="1861" />
+<TGConnectingPoint num="1" id="1862" />
+<TGConnectingPoint num="2" id="1863" />
+<TGConnectingPoint num="3" id="1864" />
+<TGConnectingPoint num="4" id="1865" />
+<TGConnectingPoint num="5" id="1866" />
+<TGConnectingPoint num="6" id="1867" />
+<TGConnectingPoint num="7" id="1868" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2536" >
-<cdparam x="407" y="251" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to stop state" value="null" />
-<TGConnectingPoint num="0" id="2535" />
-<P1  x="407" y="251" id="2611" />
-<P2  x="407" y="280" id="2592" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2534" >
-<father id="2536" num="0" />
-<cdparam x="407" y="291" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1878" >
+<father id="1903" num="2" />
+<cdparam x="392" y="119" />
+<sizeparam width="136" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2530" />
-<TGConnectingPoint num="1" id="2531" />
-<TGConnectingPoint num="2" id="2532" />
-<TGConnectingPoint num="3" id="2533" />
+<cdrectangleparam minX="0" maxX="136" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="1870" />
+<TGConnectingPoint num="1" id="1871" />
+<TGConnectingPoint num="2" id="1872" />
+<TGConnectingPoint num="3" id="1873" />
+<TGConnectingPoint num="4" id="1874" />
+<TGConnectingPoint num="5" id="1875" />
+<TGConnectingPoint num="6" id="1876" />
+<TGConnectingPoint num="7" id="1877" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2543" >
-<cdparam x="407" y="132" />
+<CONNECTOR type="125" id="1904" >
+<cdparam x="402" y="367" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="2542" />
-<P1  x="407" y="132" id="2652" />
-<P2  x="407" y="211" id="2606" />
+<infoparam name="connector from Memory0 to Bus0" value="{info}" />
+<P1  x="403" y="358" id="1735" />
+<P2  x="402" y="320" id="1765" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2541" >
-<father id="2543" num="0" />
-<cdparam x="414" y="162" />
-<sizeparam width="126" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2537" />
-<TGConnectingPoint num="1" id="2538" />
-<TGConnectingPoint num="2" id="2539" />
-<TGConnectingPoint num="3" id="2540" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
-<actions value="m.data = secretData" />
-<actions value="m1 = sencrypt(m, sk)" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2550" >
-<cdparam x="407" y="70" />
+</CONNECTOR>
+<CONNECTOR type="125" id="1905" >
+<cdparam x="190" y="300" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2549" />
-<P1  x="407" y="70" id="2687" />
-<P2  x="407" y="92" id="2647" />
+<infoparam name="connector from CPU1 to Bus0" value="{info}" />
+<P1  x="221" y="294" id="1831" />
+<P2  x="277" y="295" id="1762" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2548" >
-<father id="2550" num="0" />
-<cdparam x="407" y="110" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2544" />
-<TGConnectingPoint num="1" id="2545" />
-<TGConnectingPoint num="2" id="2546" />
-<TGConnectingPoint num="3" id="2547" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
+</CONNECTOR>
+<CONNECTOR type="125" id="1906" >
+<cdparam x="662" y="310" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from CPU2 to Bus0" value="{info}" />
+<P1  x="574" y="294" id="1796" />
+<P2  x="527" y="295" id="1763" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="125" id="1907" >
+<cdparam x="388" y="162" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from CPU0 to Bus0" value="{info}" />
+<P1  x="403" y="226" id="1885" />
+<P2  x="402" y="270" id="1760" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
 
-<COMPONENT type="5106" id="2591" >
-<cdparam x="366" y="356" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="beforeFinish" />
-<TGConnectingPoint num="0" id="2551" />
-<TGConnectingPoint num="1" id="2552" />
-<TGConnectingPoint num="2" id="2553" />
-<TGConnectingPoint num="3" id="2554" />
-<TGConnectingPoint num="4" id="2555" />
-<TGConnectingPoint num="5" id="2556" />
-<TGConnectingPoint num="6" id="2557" />
-<TGConnectingPoint num="7" id="2558" />
-<TGConnectingPoint num="8" id="2559" />
-<TGConnectingPoint num="9" id="2560" />
-<TGConnectingPoint num="10" id="2561" />
-<TGConnectingPoint num="11" id="2562" />
-<TGConnectingPoint num="12" id="2563" />
-<TGConnectingPoint num="13" id="2564" />
-<TGConnectingPoint num="14" id="2565" />
-<TGConnectingPoint num="15" id="2566" />
-<TGConnectingPoint num="16" id="2567" />
-<TGConnectingPoint num="17" id="2568" />
-<TGConnectingPoint num="18" id="2569" />
-<TGConnectingPoint num="19" id="2570" />
-<TGConnectingPoint num="20" id="2571" />
-<TGConnectingPoint num="21" id="2572" />
-<TGConnectingPoint num="22" id="2573" />
-<TGConnectingPoint num="23" id="2574" />
-<TGConnectingPoint num="24" id="2575" />
-<TGConnectingPoint num="25" id="2576" />
-<TGConnectingPoint num="26" id="2577" />
-<TGConnectingPoint num="27" id="2578" />
-<TGConnectingPoint num="28" id="2579" />
-<TGConnectingPoint num="29" id="2580" />
-<TGConnectingPoint num="30" id="2581" />
-<TGConnectingPoint num="31" id="2582" />
-<TGConnectingPoint num="32" id="2583" />
-<TGConnectingPoint num="33" id="2584" />
-<TGConnectingPoint num="34" id="2585" />
-<TGConnectingPoint num="35" id="2586" />
-<TGConnectingPoint num="36" id="2587" />
-<TGConnectingPoint num="37" id="2588" />
-<TGConnectingPoint num="38" id="2589" />
-<TGConnectingPoint num="39" id="2590" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="2602" >
-<cdparam x="373" y="285" />
-<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</TMLArchiDiagramPanel>
+
+</Modeling>
+
+
+
+
+<Modeling type="TML Architecture" nameTab="Mapping2_Sec" >
+<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
+<COMPONENT type="1102" id="1932" >
+<cdparam x="17" y="403" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chout(m1)" />
-<TGConnectingPoint num="0" id="2592" />
-<TGConnectingPoint num="1" id="2593" />
-<TGConnectingPoint num="2" id="2594" />
-<TGConnectingPoint num="3" id="2595" />
-<TGConnectingPoint num="4" id="2596" />
-<TGConnectingPoint num="5" id="2597" />
-<TGConnectingPoint num="6" id="2598" />
-<TGConnectingPoint num="7" id="2599" />
-<TGConnectingPoint num="8" id="2600" />
-<TGConnectingPoint num="9" id="2601" />
-</COMPONENT>
-
-<COMPONENT type="5101" id="2604" >
-<cdparam x="424" y="451" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="SecureBus1" value="name" />
+<TGConnectingPoint num="0" id="1908" />
+<TGConnectingPoint num="1" id="1909" />
+<TGConnectingPoint num="2" id="1910" />
+<TGConnectingPoint num="3" id="1911" />
+<TGConnectingPoint num="4" id="1912" />
+<TGConnectingPoint num="5" id="1913" />
+<TGConnectingPoint num="6" id="1914" />
+<TGConnectingPoint num="7" id="1915" />
+<TGConnectingPoint num="8" id="1916" />
+<TGConnectingPoint num="9" id="1917" />
+<TGConnectingPoint num="10" id="1918" />
+<TGConnectingPoint num="11" id="1919" />
+<TGConnectingPoint num="12" id="1920" />
+<TGConnectingPoint num="13" id="1921" />
+<TGConnectingPoint num="14" id="1922" />
+<TGConnectingPoint num="15" id="1923" />
+<TGConnectingPoint num="16" id="1924" />
+<TGConnectingPoint num="17" id="1925" />
+<TGConnectingPoint num="18" id="1926" />
+<TGConnectingPoint num="19" id="1927" />
+<TGConnectingPoint num="20" id="1928" />
+<TGConnectingPoint num="21" id="1929" />
+<TGConnectingPoint num="22" id="1930" />
+<TGConnectingPoint num="23" id="1931" />
+<extraparam>
+<info stereotype="BUS-RR" nodeName="SecureBus1" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1105" id="1957" >
+<cdparam x="55" y="511" />
+<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="2603" />
+<infoparam name="secureMem1" value="name" />
+<TGConnectingPoint num="0" id="1933" />
+<TGConnectingPoint num="1" id="1934" />
+<TGConnectingPoint num="2" id="1935" />
+<TGConnectingPoint num="3" id="1936" />
+<TGConnectingPoint num="4" id="1937" />
+<TGConnectingPoint num="5" id="1938" />
+<TGConnectingPoint num="6" id="1939" />
+<TGConnectingPoint num="7" id="1940" />
+<TGConnectingPoint num="8" id="1941" />
+<TGConnectingPoint num="9" id="1942" />
+<TGConnectingPoint num="10" id="1943" />
+<TGConnectingPoint num="11" id="1944" />
+<TGConnectingPoint num="12" id="1945" />
+<TGConnectingPoint num="13" id="1946" />
+<TGConnectingPoint num="14" id="1947" />
+<TGConnectingPoint num="15" id="1948" />
+<TGConnectingPoint num="16" id="1949" />
+<TGConnectingPoint num="17" id="1950" />
+<TGConnectingPoint num="18" id="1951" />
+<TGConnectingPoint num="19" id="1952" />
+<TGConnectingPoint num="20" id="1953" />
+<TGConnectingPoint num="21" id="1954" />
+<TGConnectingPoint num="22" id="1955" />
+<TGConnectingPoint num="23" id="1956" />
+<extraparam>
+<info stereotype="MEMORY" nodeName="secureMem1" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="5106" id="2645" >
-<cdparam x="336" y="211" />
-<sizeparam width="143" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1105" id="1982" >
+<cdparam x="309" y="358" />
+<sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="sendingMessage" />
-<TGConnectingPoint num="0" id="2605" />
-<TGConnectingPoint num="1" id="2606" />
-<TGConnectingPoint num="2" id="2607" />
-<TGConnectingPoint num="3" id="2608" />
-<TGConnectingPoint num="4" id="2609" />
-<TGConnectingPoint num="5" id="2610" />
-<TGConnectingPoint num="6" id="2611" />
-<TGConnectingPoint num="7" id="2612" />
-<TGConnectingPoint num="8" id="2613" />
-<TGConnectingPoint num="9" id="2614" />
-<TGConnectingPoint num="10" id="2615" />
-<TGConnectingPoint num="11" id="2616" />
-<TGConnectingPoint num="12" id="2617" />
-<TGConnectingPoint num="13" id="2618" />
-<TGConnectingPoint num="14" id="2619" />
-<TGConnectingPoint num="15" id="2620" />
-<TGConnectingPoint num="16" id="2621" />
-<TGConnectingPoint num="17" id="2622" />
-<TGConnectingPoint num="18" id="2623" />
-<TGConnectingPoint num="19" id="2624" />
-<TGConnectingPoint num="20" id="2625" />
-<TGConnectingPoint num="21" id="2626" />
-<TGConnectingPoint num="22" id="2627" />
-<TGConnectingPoint num="23" id="2628" />
-<TGConnectingPoint num="24" id="2629" />
-<TGConnectingPoint num="25" id="2630" />
-<TGConnectingPoint num="26" id="2631" />
-<TGConnectingPoint num="27" id="2632" />
-<TGConnectingPoint num="28" id="2633" />
-<TGConnectingPoint num="29" id="2634" />
-<TGConnectingPoint num="30" id="2635" />
-<TGConnectingPoint num="31" id="2636" />
-<TGConnectingPoint num="32" id="2637" />
-<TGConnectingPoint num="33" id="2638" />
-<TGConnectingPoint num="34" id="2639" />
-<TGConnectingPoint num="35" id="2640" />
-<TGConnectingPoint num="36" id="2641" />
-<TGConnectingPoint num="37" id="2642" />
-<TGConnectingPoint num="38" id="2643" />
-<TGConnectingPoint num="39" id="2644" />
+<infoparam name="Memory0" value="name" />
+<TGConnectingPoint num="0" id="1958" />
+<TGConnectingPoint num="1" id="1959" />
+<TGConnectingPoint num="2" id="1960" />
+<TGConnectingPoint num="3" id="1961" />
+<TGConnectingPoint num="4" id="1962" />
+<TGConnectingPoint num="5" id="1963" />
+<TGConnectingPoint num="6" id="1964" />
+<TGConnectingPoint num="7" id="1965" />
+<TGConnectingPoint num="8" id="1966" />
+<TGConnectingPoint num="9" id="1967" />
+<TGConnectingPoint num="10" id="1968" />
+<TGConnectingPoint num="11" id="1969" />
+<TGConnectingPoint num="12" id="1970" />
+<TGConnectingPoint num="13" id="1971" />
+<TGConnectingPoint num="14" id="1972" />
+<TGConnectingPoint num="15" id="1973" />
+<TGConnectingPoint num="16" id="1974" />
+<TGConnectingPoint num="17" id="1975" />
+<TGConnectingPoint num="18" id="1976" />
+<TGConnectingPoint num="19" id="1977" />
+<TGConnectingPoint num="20" id="1978" />
+<TGConnectingPoint num="21" id="1979" />
+<TGConnectingPoint num="22" id="1980" />
+<TGConnectingPoint num="23" id="1981" />
 <extraparam>
+<info stereotype="MEMORY" nodeName="Memory0" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5106" id="2686" >
-<cdparam x="340" y="92" />
-<sizeparam width="134" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1102" id="2007" >
+<cdparam x="278" y="269" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="makingMessage" />
-<TGConnectingPoint num="0" id="2646" />
-<TGConnectingPoint num="1" id="2647" />
-<TGConnectingPoint num="2" id="2648" />
-<TGConnectingPoint num="3" id="2649" />
-<TGConnectingPoint num="4" id="2650" />
-<TGConnectingPoint num="5" id="2651" />
-<TGConnectingPoint num="6" id="2652" />
-<TGConnectingPoint num="7" id="2653" />
-<TGConnectingPoint num="8" id="2654" />
-<TGConnectingPoint num="9" id="2655" />
-<TGConnectingPoint num="10" id="2656" />
-<TGConnectingPoint num="11" id="2657" />
-<TGConnectingPoint num="12" id="2658" />
-<TGConnectingPoint num="13" id="2659" />
-<TGConnectingPoint num="14" id="2660" />
-<TGConnectingPoint num="15" id="2661" />
-<TGConnectingPoint num="16" id="2662" />
-<TGConnectingPoint num="17" id="2663" />
-<TGConnectingPoint num="18" id="2664" />
-<TGConnectingPoint num="19" id="2665" />
-<TGConnectingPoint num="20" id="2666" />
-<TGConnectingPoint num="21" id="2667" />
-<TGConnectingPoint num="22" id="2668" />
-<TGConnectingPoint num="23" id="2669" />
-<TGConnectingPoint num="24" id="2670" />
-<TGConnectingPoint num="25" id="2671" />
-<TGConnectingPoint num="26" id="2672" />
-<TGConnectingPoint num="27" id="2673" />
-<TGConnectingPoint num="28" id="2674" />
-<TGConnectingPoint num="29" id="2675" />
-<TGConnectingPoint num="30" id="2676" />
-<TGConnectingPoint num="31" id="2677" />
-<TGConnectingPoint num="32" id="2678" />
-<TGConnectingPoint num="33" id="2679" />
-<TGConnectingPoint num="34" id="2680" />
-<TGConnectingPoint num="35" id="2681" />
-<TGConnectingPoint num="36" id="2682" />
-<TGConnectingPoint num="37" id="2683" />
-<TGConnectingPoint num="38" id="2684" />
-<TGConnectingPoint num="39" id="2685" />
+<infoparam name="Bus0" value="name" />
+<TGConnectingPoint num="0" id="1983" />
+<TGConnectingPoint num="1" id="1984" />
+<TGConnectingPoint num="2" id="1985" />
+<TGConnectingPoint num="3" id="1986" />
+<TGConnectingPoint num="4" id="1987" />
+<TGConnectingPoint num="5" id="1988" />
+<TGConnectingPoint num="6" id="1989" />
+<TGConnectingPoint num="7" id="1990" />
+<TGConnectingPoint num="8" id="1991" />
+<TGConnectingPoint num="9" id="1992" />
+<TGConnectingPoint num="10" id="1993" />
+<TGConnectingPoint num="11" id="1994" />
+<TGConnectingPoint num="12" id="1995" />
+<TGConnectingPoint num="13" id="1996" />
+<TGConnectingPoint num="14" id="1997" />
+<TGConnectingPoint num="15" id="1998" />
+<TGConnectingPoint num="16" id="1999" />
+<TGConnectingPoint num="17" id="2000" />
+<TGConnectingPoint num="18" id="2001" />
+<TGConnectingPoint num="19" id="2002" />
+<TGConnectingPoint num="20" id="2003" />
+<TGConnectingPoint num="21" id="2004" />
+<TGConnectingPoint num="22" id="2005" />
+<TGConnectingPoint num="23" id="2006" />
 <extraparam>
+<info stereotype="BUS-RR" nodeName="Bus0" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="5"  privacy="0"  referenceAttack="ReadDataFromBus" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5100" id="2688" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1100" id="2041" >
+<cdparam x="574" y="227" />
+<sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2687" />
-</COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-</Modeling>
-
-
-
-
-<Modeling type="AVATAR Design" nameTab="DHSecurityProtocol" >
-<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
-<MainCode value="void __user_init() {"/>
-<MainCode value="}"/>
-<Optimized value="true" />
-<Validated value="" />
-<Ignored value="" />
-
-<CONNECTOR type="5002" id="2694" >
-<cdparam x="568" y="220" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="2691" />
-<TGConnectingPoint num="1" id="2692" />
-<TGConnectingPoint num="2" id="2693" />
-<P1  x="459" y="199" id="2791" />
-<P2  x="459" y="254" id="2784" />
-<Point x="490" y="199" />
-<Point x="490" y="254" />
-<AutomaticDrawing  data="true" />
+<infoparam name="CPU2" value="name" />
+<TGConnectingPoint num="0" id="2017" />
+<TGConnectingPoint num="1" id="2018" />
+<TGConnectingPoint num="2" id="2019" />
+<TGConnectingPoint num="3" id="2020" />
+<TGConnectingPoint num="4" id="2021" />
+<TGConnectingPoint num="5" id="2022" />
+<TGConnectingPoint num="6" id="2023" />
+<TGConnectingPoint num="7" id="2024" />
+<TGConnectingPoint num="8" id="2025" />
+<TGConnectingPoint num="9" id="2026" />
+<TGConnectingPoint num="10" id="2027" />
+<TGConnectingPoint num="11" id="2028" />
+<TGConnectingPoint num="12" id="2029" />
+<TGConnectingPoint num="13" id="2030" />
+<TGConnectingPoint num="14" id="2031" />
+<TGConnectingPoint num="15" id="2032" />
+<TGConnectingPoint num="16" id="2033" />
+<TGConnectingPoint num="17" id="2034" />
+<TGConnectingPoint num="18" id="2035" />
+<TGConnectingPoint num="19" id="2036" />
+<TGConnectingPoint num="20" id="2037" />
+<TGConnectingPoint num="21" id="2038" />
+<TGConnectingPoint num="22" id="2039" />
+<TGConnectingPoint num="23" id="2040" />
 <extraparam>
-<iso value="in chin(Message msg)" />
-<osd value="out chout(Message msg)" />
-<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" />
+<info stereotype="CPURR" nodeName="CPU2" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="4" MECType="0" encryption="0"/>
 </extraparam>
-</CONNECTOR><SUBCOMPONENT type="-1" id="2689" >
-<father id="2694" num="0" />
-<cdparam x="490" y="199" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="2690" >
-<father id="2694" num="1" />
-<cdparam x="490" y="254" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1101" id="2016" >
+<father id="2041" num="0" />
+<cdparam x="604" y="279" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="0" maxX="65" minY="0" maxY="95" />
+<infoparam name="TGComponent" value="AppC::Timer" />
+<TGConnectingPoint num="0" id="2008" />
+<TGConnectingPoint num="1" id="2009" />
+<TGConnectingPoint num="2" id="2010" />
+<TGConnectingPoint num="3" id="2011" />
+<TGConnectingPoint num="4" id="2012" />
+<TGConnectingPoint num="5" id="2013" />
+<TGConnectingPoint num="6" id="2014" />
+<TGConnectingPoint num="7" id="2015" />
+<extraparam>
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+</extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="302" id="2711" >
-<cdparam x="517" y="154" />
-<sizeparam width="520" height="110" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1100" id="2075" >
+<cdparam x="56" y="231" />
+<sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Proverif Pragma" value="#PrivatePublicKeys InterfaceDevice privK pubK
-#PrivatePublicKeys SmartCard privK pubK
-
-#Confidentiality InterfaceDevice.secretData
-#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
-" />
-<TGConnectingPoint num="0" id="2695" />
-<TGConnectingPoint num="1" id="2696" />
-<TGConnectingPoint num="2" id="2697" />
-<TGConnectingPoint num="3" id="2698" />
-<TGConnectingPoint num="4" id="2699" />
-<TGConnectingPoint num="5" id="2700" />
-<TGConnectingPoint num="6" id="2701" />
-<TGConnectingPoint num="7" id="2702" />
-<TGConnectingPoint num="8" id="2703" />
-<TGConnectingPoint num="9" id="2704" />
-<TGConnectingPoint num="10" id="2705" />
-<TGConnectingPoint num="11" id="2706" />
-<TGConnectingPoint num="12" id="2707" />
-<TGConnectingPoint num="13" id="2708" />
-<TGConnectingPoint num="14" id="2709" />
-<TGConnectingPoint num="15" id="2710" />
+<infoparam name="CPU1" value="name" />
+<TGConnectingPoint num="0" id="2051" />
+<TGConnectingPoint num="1" id="2052" />
+<TGConnectingPoint num="2" id="2053" />
+<TGConnectingPoint num="3" id="2054" />
+<TGConnectingPoint num="4" id="2055" />
+<TGConnectingPoint num="5" id="2056" />
+<TGConnectingPoint num="6" id="2057" />
+<TGConnectingPoint num="7" id="2058" />
+<TGConnectingPoint num="8" id="2059" />
+<TGConnectingPoint num="9" id="2060" />
+<TGConnectingPoint num="10" id="2061" />
+<TGConnectingPoint num="11" id="2062" />
+<TGConnectingPoint num="12" id="2063" />
+<TGConnectingPoint num="13" id="2064" />
+<TGConnectingPoint num="14" id="2065" />
+<TGConnectingPoint num="15" id="2066" />
+<TGConnectingPoint num="16" id="2067" />
+<TGConnectingPoint num="17" id="2068" />
+<TGConnectingPoint num="18" id="2069" />
+<TGConnectingPoint num="19" id="2070" />
+<TGConnectingPoint num="20" id="2071" />
+<TGConnectingPoint num="21" id="2072" />
+<TGConnectingPoint num="22" id="2073" />
+<TGConnectingPoint num="23" id="2074" />
 <extraparam>
-<Line value="#PrivatePublicKeys InterfaceDevice privK pubK" />
-<Line value="#PrivatePublicKeys SmartCard privK pubK" />
-<Line value="" />
-<Line value="#Confidentiality InterfaceDevice.secretData" />
-<Line value="#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m" />
+<info stereotype="CPURR" nodeName="CPU1" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="2" MECType="0" encryption="0"/>
 </extraparam>
 </COMPONENT>
-
-<COMPONENT type="5003" id="2720" >
-<cdparam x="260" y="373" />
-<sizeparam width="129" height="61" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2050" >
+<father id="2075" num="0" />
+<cdparam x="56" y="276" />
+<sizeparam width="163" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="DataType0" value="Message" />
-<TGConnectingPoint num="0" id="2712" />
-<TGConnectingPoint num="1" id="2713" />
-<TGConnectingPoint num="2" id="2714" />
-<TGConnectingPoint num="3" id="2715" />
-<TGConnectingPoint num="4" id="2716" />
-<TGConnectingPoint num="5" id="2717" />
-<TGConnectingPoint num="6" id="2718" />
-<TGConnectingPoint num="7" id="2719" />
+<cdrectangleparam minX="0" maxX="2" minY="0" maxY="86" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<TGConnectingPoint num="0" id="2042" />
+<TGConnectingPoint num="1" id="2043" />
+<TGConnectingPoint num="2" id="2044" />
+<TGConnectingPoint num="3" id="2045" />
+<TGConnectingPoint num="4" id="2046" />
+<TGConnectingPoint num="5" id="2047" />
+<TGConnectingPoint num="6" id="2048" />
+<TGConnectingPoint num="7" id="2049" />
 <extraparam>
-<Attribute access="0" id="data" value="" type="8" typeOther="" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
-</COMPONENT>
+</SUBCOMPONENT>
 
-<COMPONENT type="5003" id="2729" >
-<cdparam x="68" y="372" />
-<sizeparam width="123" height="62" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1100" id="2127" >
+<cdparam x="267" y="59" />
+<sizeparam width="272" height="167" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="DataType0" value="Key" />
-<TGConnectingPoint num="0" id="2721" />
-<TGConnectingPoint num="1" id="2722" />
-<TGConnectingPoint num="2" id="2723" />
-<TGConnectingPoint num="3" id="2724" />
-<TGConnectingPoint num="4" id="2725" />
-<TGConnectingPoint num="5" id="2726" />
-<TGConnectingPoint num="6" id="2727" />
-<TGConnectingPoint num="7" id="2728" />
+<infoparam name="CPU0" value="name" />
+<TGConnectingPoint num="0" id="2103" />
+<TGConnectingPoint num="1" id="2104" />
+<TGConnectingPoint num="2" id="2105" />
+<TGConnectingPoint num="3" id="2106" />
+<TGConnectingPoint num="4" id="2107" />
+<TGConnectingPoint num="5" id="2108" />
+<TGConnectingPoint num="6" id="2109" />
+<TGConnectingPoint num="7" id="2110" />
+<TGConnectingPoint num="8" id="2111" />
+<TGConnectingPoint num="9" id="2112" />
+<TGConnectingPoint num="10" id="2113" />
+<TGConnectingPoint num="11" id="2114" />
+<TGConnectingPoint num="12" id="2115" />
+<TGConnectingPoint num="13" id="2116" />
+<TGConnectingPoint num="14" id="2117" />
+<TGConnectingPoint num="15" id="2118" />
+<TGConnectingPoint num="16" id="2119" />
+<TGConnectingPoint num="17" id="2120" />
+<TGConnectingPoint num="18" id="2121" />
+<TGConnectingPoint num="19" id="2122" />
+<TGConnectingPoint num="20" id="2123" />
+<TGConnectingPoint num="21" id="2124" />
+<TGConnectingPoint num="22" id="2125" />
+<TGConnectingPoint num="23" id="2126" />
 <extraparam>
-<Attribute access="0" id="data" value="" type="8" typeOther="" />
+<info stereotype="CPURR" nodeName="CPU0" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="18" execiTime="1" execcTime="1" clockRatio="3" MECType="0" encryption="0"/>
 </extraparam>
 </COMPONENT>
-
-<COMPONENT type="5000" id="2804" >
-<cdparam x="21" y="145" />
-<sizeparam width="438" height="219" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2084" >
+<father id="2127" num="0" />
+<cdparam x="392" y="119" />
+<sizeparam width="136" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Block0" value="System" />
-<TGConnectingPoint num="0" id="2780" />
-<TGConnectingPoint num="1" id="2781" />
-<TGConnectingPoint num="2" id="2782" />
-<TGConnectingPoint num="3" id="2783" />
-<TGConnectingPoint num="4" id="2784" />
-<TGConnectingPoint num="5" id="2785" />
-<TGConnectingPoint num="6" id="2786" />
-<TGConnectingPoint num="7" id="2787" />
-<TGConnectingPoint num="8" id="2788" />
-<TGConnectingPoint num="9" id="2789" />
-<TGConnectingPoint num="10" id="2790" />
-<TGConnectingPoint num="11" id="2791" />
-<TGConnectingPoint num="12" id="2792" />
-<TGConnectingPoint num="13" id="2793" />
-<TGConnectingPoint num="14" id="2794" />
-<TGConnectingPoint num="15" id="2795" />
-<TGConnectingPoint num="16" id="2796" />
-<TGConnectingPoint num="17" id="2797" />
-<TGConnectingPoint num="18" id="2798" />
-<TGConnectingPoint num="19" id="2799" />
-<TGConnectingPoint num="20" id="2800" />
-<TGConnectingPoint num="21" id="2801" />
-<TGConnectingPoint num="22" id="2802" />
-<TGConnectingPoint num="23" id="2803" />
+<cdrectangleparam minX="0" maxX="136" minY="0" maxY="130" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="2076" />
+<TGConnectingPoint num="1" id="2077" />
+<TGConnectingPoint num="2" id="2078" />
+<TGConnectingPoint num="3" id="2079" />
+<TGConnectingPoint num="4" id="2080" />
+<TGConnectingPoint num="5" id="2081" />
+<TGConnectingPoint num="6" id="2082" />
+<TGConnectingPoint num="7" id="2083" />
 <extraparam>
-<CryptoBlock value="false" />
-<Signal value="in chin(Message msg)" attached="true" />
-<Signal value="out chout(Message msg)" attached="true" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
-</COMPONENT>
-<SUBCOMPONENT type="5000" id="2754" >
-<father id="2804" num="0" />
-<cdparam x="263" y="233" />
-<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1101" id="2093" >
+<father id="2127" num="1" />
+<cdparam x="293" y="165" />
+<sizeparam width="139" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
-<infoparam name="Block0" value="SmartCard" />
-<TGConnectingPoint num="0" id="2730" />
-<TGConnectingPoint num="1" id="2731" />
-<TGConnectingPoint num="2" id="2732" />
-<TGConnectingPoint num="3" id="2733" />
-<TGConnectingPoint num="4" id="2734" />
-<TGConnectingPoint num="5" id="2735" />
-<TGConnectingPoint num="6" id="2736" />
-<TGConnectingPoint num="7" id="2737" />
-<TGConnectingPoint num="8" id="2738" />
-<TGConnectingPoint num="9" id="2739" />
-<TGConnectingPoint num="10" id="2740" />
-<TGConnectingPoint num="11" id="2741" />
-<TGConnectingPoint num="12" id="2742" />
-<TGConnectingPoint num="13" id="2743" />
-<TGConnectingPoint num="14" id="2744" />
-<TGConnectingPoint num="15" id="2745" />
-<TGConnectingPoint num="16" id="2746" />
-<TGConnectingPoint num="17" id="2747" />
-<TGConnectingPoint num="18" id="2748" />
-<TGConnectingPoint num="19" id="2749" />
-<TGConnectingPoint num="20" id="2750" />
-<TGConnectingPoint num="21" id="2751" />
-<TGConnectingPoint num="22" id="2752" />
-<TGConnectingPoint num="23" id="2753" />
+<cdrectangleparam minX="0" maxX="133" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::Application" />
+<TGConnectingPoint num="0" id="2085" />
+<TGConnectingPoint num="1" id="2086" />
+<TGConnectingPoint num="2" id="2087" />
+<TGConnectingPoint num="3" id="2088" />
+<TGConnectingPoint num="4" id="2089" />
+<TGConnectingPoint num="5" id="2090" />
+<TGConnectingPoint num="6" id="2091" />
+<TGConnectingPoint num="7" id="2092" />
 <extraparam>
-<CryptoBlock value="true" />
-<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
-<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="alicePubK" value="" type="5" typeOther="Key" />
-<Method value="Message encrypt(Message msg, Key k)" />
-<Method value="Message decrypt(Message msg, Key k)" />
-<Method value="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<Method value="Message MAC(Message msg, Key k)" />
-<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
-<Method value="Message concat2(Message msg1, Message msg2)" />
-<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
-<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="get2(Message msg, Message msg1, Message msg2)" />
-<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
-<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="Message aencrypt(Message msg, Key k)" />
-<Method value="Message adecrypt(Message msg, Key k)" />
-<Method value="Key pk(Key k)" />
-<Method value="Message sign(Message msg, Key k)" />
-<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
-<Method value="Message cert(Key k, Message msg)" />
-<Method value="bool verifyCert(Message cert, Key k)" />
-<Method value="Key getpk(Message cert)" />
-<Method value="Key DH(Key pubK, Key privK)" />
-<Method value="Message hash(Message msg)" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="2779" >
-<father id="2804" num="1" />
-<cdparam x="36" y="233" />
-<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2102" >
+<father id="2127" num="2" />
+<cdparam x="277" y="90" />
+<sizeparam width="108" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
-<infoparam name="Block0" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="2755" />
-<TGConnectingPoint num="1" id="2756" />
-<TGConnectingPoint num="2" id="2757" />
-<TGConnectingPoint num="3" id="2758" />
-<TGConnectingPoint num="4" id="2759" />
-<TGConnectingPoint num="5" id="2760" />
-<TGConnectingPoint num="6" id="2761" />
-<TGConnectingPoint num="7" id="2762" />
-<TGConnectingPoint num="8" id="2763" />
-<TGConnectingPoint num="9" id="2764" />
-<TGConnectingPoint num="10" id="2765" />
-<TGConnectingPoint num="11" id="2766" />
-<TGConnectingPoint num="12" id="2767" />
-<TGConnectingPoint num="13" id="2768" />
-<TGConnectingPoint num="14" id="2769" />
-<TGConnectingPoint num="15" id="2770" />
-<TGConnectingPoint num="16" id="2771" />
-<TGConnectingPoint num="17" id="2772" />
-<TGConnectingPoint num="18" id="2773" />
-<TGConnectingPoint num="19" id="2774" />
-<TGConnectingPoint num="20" id="2775" />
-<TGConnectingPoint num="21" id="2776" />
-<TGConnectingPoint num="22" id="2777" />
-<TGConnectingPoint num="23" id="2778" />
+<cdrectangleparam minX="0" maxX="164" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
+<TGConnectingPoint num="0" id="2094" />
+<TGConnectingPoint num="1" id="2095" />
+<TGConnectingPoint num="2" id="2096" />
+<TGConnectingPoint num="3" id="2097" />
+<TGConnectingPoint num="4" id="2098" />
+<TGConnectingPoint num="5" id="2099" />
+<TGConnectingPoint num="6" id="2100" />
+<TGConnectingPoint num="7" id="2101" />
 <extraparam>
-<CryptoBlock value="true" />
-<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
-<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="bobPubK" value="" type="5" typeOther="Key" />
-<Method value="Message encrypt(Message msg, Key k)" />
-<Method value="Message decrypt(Message msg, Key k)" />
-<Method value="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<Method value="Message MAC(Message msg, Key k)" />
-<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
-<Method value="Message concat2(Message msg1, Message msg2)" />
-<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
-<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="get2(Message msg, Message msg1, Message msg2)" />
-<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
-<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="Message aencrypt(Message msg, Key k)" />
-<Method value="Message adecrypt(Message msg, Key k)" />
-<Method value="Key pk(Key k)" />
-<Method value="Message sign(Message msg, Key k)" />
-<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
-<Method value="Message cert(Key k, Message msg)" />
-<Method value="bool verifyCert(Message cert, Key k)" />
-<Method value="Key getpk(Message cert)" />
-<Method value="Key DH(Key pubK, Key privK)" />
-<Method value="Message hash(Message msg)" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-
-</AVATARBlockDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="System" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="5100" id="2806" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1102" id="2152" >
+<cdparam x="630" y="38" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="2805" />
+<infoparam name="SecureBus2" value="name" />
+<TGConnectingPoint num="0" id="2128" />
+<TGConnectingPoint num="1" id="2129" />
+<TGConnectingPoint num="2" id="2130" />
+<TGConnectingPoint num="3" id="2131" />
+<TGConnectingPoint num="4" id="2132" />
+<TGConnectingPoint num="5" id="2133" />
+<TGConnectingPoint num="6" id="2134" />
+<TGConnectingPoint num="7" id="2135" />
+<TGConnectingPoint num="8" id="2136" />
+<TGConnectingPoint num="9" id="2137" />
+<TGConnectingPoint num="10" id="2138" />
+<TGConnectingPoint num="11" id="2139" />
+<TGConnectingPoint num="12" id="2140" />
+<TGConnectingPoint num="13" id="2141" />
+<TGConnectingPoint num="14" id="2142" />
+<TGConnectingPoint num="15" id="2143" />
+<TGConnectingPoint num="16" id="2144" />
+<TGConnectingPoint num="17" id="2145" />
+<TGConnectingPoint num="18" id="2146" />
+<TGConnectingPoint num="19" id="2147" />
+<TGConnectingPoint num="20" id="2148" />
+<TGConnectingPoint num="21" id="2149" />
+<TGConnectingPoint num="22" id="2150" />
+<TGConnectingPoint num="23" id="2151" />
+<extraparam>
+<info stereotype="BUS-RR" nodeName="SecureBus2" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
+</extraparam>
 </COMPONENT>
 
-
-</AVATARStateMachineDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2813" >
-<cdparam x="411" y="567" />
-<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="2812" />
-<P1  x="411" y="567" id="3016" />
-<P2  x="420" y="613" id="2975" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2811" >
-<father id="2813" num="0" />
-<cdparam x="453" y="610" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1105" id="2177" >
+<cdparam x="780" y="123" />
+<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2807" />
-<TGConnectingPoint num="1" id="2808" />
-<TGConnectingPoint num="2" id="2809" />
-<TGConnectingPoint num="3" id="2810" />
+<infoparam name="secureMem2" value="name" />
+<TGConnectingPoint num="0" id="2153" />
+<TGConnectingPoint num="1" id="2154" />
+<TGConnectingPoint num="2" id="2155" />
+<TGConnectingPoint num="3" id="2156" />
+<TGConnectingPoint num="4" id="2157" />
+<TGConnectingPoint num="5" id="2158" />
+<TGConnectingPoint num="6" id="2159" />
+<TGConnectingPoint num="7" id="2160" />
+<TGConnectingPoint num="8" id="2161" />
+<TGConnectingPoint num="9" id="2162" />
+<TGConnectingPoint num="10" id="2163" />
+<TGConnectingPoint num="11" id="2164" />
+<TGConnectingPoint num="12" id="2165" />
+<TGConnectingPoint num="13" id="2166" />
+<TGConnectingPoint num="14" id="2167" />
+<TGConnectingPoint num="15" id="2168" />
+<TGConnectingPoint num="16" id="2169" />
+<TGConnectingPoint num="17" id="2170" />
+<TGConnectingPoint num="18" id="2171" />
+<TGConnectingPoint num="19" id="2172" />
+<TGConnectingPoint num="20" id="2173" />
+<TGConnectingPoint num="21" id="2174" />
+<TGConnectingPoint num="22" id="2175" />
+<TGConnectingPoint num="23" id="2176" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info stereotype="MEMORY" nodeName="secureMem2" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
-</SUBCOMPONENT>
+</COMPONENT>
 
-<CONNECTOR type="5102" id="2820" >
-<cdparam x="496" y="703" />
+<CONNECTOR type="125" id="2178" >
+<cdparam x="539" y="100" />
 <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="2819" />
-<P1  x="420" y="663" id="2980" />
-<P2  x="438" y="703" id="3026" />
+<infoparam name="connector" value="{info}" />
+<P1  x="539" y="100" id="2114" />
+<P2  x="630" y="63" id="2131" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2818" >
-<father id="2820" num="0" />
-<cdparam x="453" y="697" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2814" />
-<TGConnectingPoint num="1" id="2815" />
-<TGConnectingPoint num="2" id="2816" />
-<TGConnectingPoint num="3" id="2817" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2827" >
-<cdparam x="411" y="508" />
+</CONNECTOR>
+<CONNECTOR type="125" id="2179" >
+<cdparam x="143" y="511" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="143" y="511" id="1934" />
+<P2  x="142" y="453" id="1914" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="125" id="2180" >
+<cdparam x="138" y="357" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="138" y="357" id="2057" />
+<P2  x="142" y="403" id="1909" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="125" id="2181" >
+<cdparam x="402" y="367" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to stop state" value="null" />
-<TGConnectingPoint num="0" id="2826" />
-<P1  x="411" y="508" id="3034" />
-<P2  x="411" y="537" id="3015" />
+<infoparam name="connector from Memory0 to Bus0" value="{info}" />
+<P1  x="403" y="358" id="1959" />
+<P2  x="403" y="319" id="1989" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2825" >
-<father id="2827" num="0" />
-<cdparam x="411" y="548" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2821" />
-<TGConnectingPoint num="1" id="2822" />
-<TGConnectingPoint num="2" id="2823" />
-<TGConnectingPoint num="3" id="2824" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2834" >
-<cdparam x="411" y="389" />
+</CONNECTOR>
+<CONNECTOR type="125" id="2182" >
+<cdparam x="190" y="300" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="2833" />
-<P1  x="411" y="389" id="3075" />
-<P2  x="411" y="468" id="3029" />
+<infoparam name="connector from CPU1 to Bus0" value="{info}" />
+<P1  x="221" y="294" id="2055" />
+<P2  x="278" y="294" id="1986" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2832" >
-<father id="2834" num="0" />
-<cdparam x="439" y="414" />
-<sizeparam width="148" height="45" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2828" />
-<TGConnectingPoint num="1" id="2829" />
-<TGConnectingPoint num="2" id="2830" />
-<TGConnectingPoint num="3" id="2831" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
-<actions value="sk = DH(bobPubK, privK)" />
-<actions value="m.data = secretData" />
-<actions value="m1 = sencrypt(m, sk)" />
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="125" id="2183" >
+<cdparam x="662" y="310" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from CPU2 to Bus0" value="{info}" />
+<P1  x="574" y="294" id="2020" />
+<P2  x="528" y="294" id="1987" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2841" >
-<cdparam x="407" y="70" />
+</CONNECTOR>
+<CONNECTOR type="125" id="2184" >
+<cdparam x="388" y="162" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="2840" />
-<P1  x="407" y="70" id="3110" />
-<P2  x="405" y="91" id="2934" />
+<infoparam name="connector from CPU0 to Bus0" value="{info}" />
+<P1  x="403" y="226" id="2109" />
+<P2  x="403" y="269" id="1984" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2839" >
-<father id="2841" num="0" />
-<cdparam x="407" y="110" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2835" />
-<TGConnectingPoint num="1" id="2836" />
-<TGConnectingPoint num="2" id="2837" />
-<TGConnectingPoint num="3" id="2838" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2848" >
-<cdparam x="392" y="122" />
+</CONNECTOR>
+<CONNECTOR type="125" id="2185" >
+<cdparam x="812" y="190" />
 <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="2847" />
-<P1  x="392" y="122" id="2962" />
-<P2  x="392" y="150" id="2922" />
+<infoparam name="connector" value="{info}" />
+<P1  x="868" y="123" id="2154" />
+<P2  x="755" y="88" id="2134" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2846" >
-<father id="2848" num="0" />
-<cdparam x="411" y="142" />
-<sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2842" />
-<TGConnectingPoint num="1" id="2843" />
-<TGConnectingPoint num="2" id="2844" />
-<TGConnectingPoint num="3" id="2845" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
-<actions value="m.data = pubK.data" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
+</CONNECTOR>
 
-<CONNECTOR type="5102" id="2855" >
-<cdparam x="391" y="166" />
-<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="2854" />
-<P1  x="392" y="180" id="2923" />
-<P2  x="380" y="224" id="2898" />
+</TMLArchiDiagramPanel>
+
+</Modeling>
+
+
+
+
+<Modeling type="AVATAR Design" nameTab="BasicSecurityProtocol" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
+<MainCode value="void __user_init() {"/>
+<MainCode value="}"/>
+<Optimized value="true" />
+<Validated value="" />
+<Ignored value="" />
+
+<CONNECTOR type="5002" id="2191" >
+<cdparam x="568" y="220" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from Block0 to Block0" value="" />
+<TGConnectingPoint num="0" id="2188" />
+<TGConnectingPoint num="1" id="2189" />
+<TGConnectingPoint num="2" id="2190" />
+<P1  x="459" y="199" id="2288" />
+<P2  x="459" y="254" id="2281" />
+<Point x="490" y="199" />
+<Point x="490" y="254" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2853" >
-<father id="2855" num="0" />
-<cdparam x="390" y="188" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2849" />
-<TGConnectingPoint num="1" id="2850" />
-<TGConnectingPoint num="2" id="2851" />
-<TGConnectingPoint num="3" id="2852" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
+<iso value="in chin(Message msg)" />
+<osd value="out chout(Message msg)" />
+<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" />
 </extraparam>
-</SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2862" >
-<cdparam x="380" y="258" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2186" >
+<father id="2191" num="0" />
+<cdparam x="490" y="199" />
 <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="2861" />
-<P1  x="380" y="258" id="2910" />
-<P2  x="386" y="287" id="2870" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2860" >
-<father id="2862" num="0" />
-<cdparam x="377" y="267" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2856" />
-<TGConnectingPoint num="1" id="2857" />
-<TGConnectingPoint num="2" id="2858" />
-<TGConnectingPoint num="3" id="2859" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
-</extraparam>
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-
-<CONNECTOR type="5102" id="2869" >
-<cdparam x="375" y="306" />
+<SUBCOMPONENT type="-1" id="2187" >
+<father id="2191" num="1" />
+<cdparam x="490" y="254" />
 <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="2868" />
-<P1  x="386" y="317" id="2871" />
-<P2  x="377" y="349" id="3077" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2867" >
-<father id="2869" num="0" />
-<cdparam x="396" y="336" />
-<sizeparam width="142" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="2863" />
-<TGConnectingPoint num="1" id="2864" />
-<TGConnectingPoint num="2" id="2865" />
-<TGConnectingPoint num="3" id="2866" />
-<extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<probability value="" />
-<actions value="bobPubK.data = m.data" />
-</extraparam>
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="2880" >
-<cdparam x="356" y="292" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="302" id="2208" >
+<cdparam x="519" y="154" />
+<sizeparam width="520" height="97" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Receive signal" value="chin(m)" />
-<TGConnectingPoint num="0" id="2870" />
-<TGConnectingPoint num="1" id="2871" />
-<TGConnectingPoint num="2" id="2872" />
-<TGConnectingPoint num="3" id="2873" />
-<TGConnectingPoint num="4" id="2874" />
-<TGConnectingPoint num="5" id="2875" />
-<TGConnectingPoint num="6" id="2876" />
-<TGConnectingPoint num="7" id="2877" />
-<TGConnectingPoint num="8" id="2878" />
-<TGConnectingPoint num="9" id="2879" />
-</COMPONENT>
+<infoparam name="Proverif Pragma" value="#InitialSystemKnowledge InterfaceDevice.sk SmartCard.sk
 
-<COMPONENT type="5106" id="2921" >
-<cdparam x="338" y="224" />
-<sizeparam width="114" height="34" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="receivingPubK" />
-<TGConnectingPoint num="0" id="2881" />
-<TGConnectingPoint num="1" id="2882" />
-<TGConnectingPoint num="2" id="2883" />
-<TGConnectingPoint num="3" id="2884" />
-<TGConnectingPoint num="4" id="2885" />
-<TGConnectingPoint num="5" id="2886" />
-<TGConnectingPoint num="6" id="2887" />
-<TGConnectingPoint num="7" id="2888" />
-<TGConnectingPoint num="8" id="2889" />
-<TGConnectingPoint num="9" id="2890" />
-<TGConnectingPoint num="10" id="2891" />
-<TGConnectingPoint num="11" id="2892" />
-<TGConnectingPoint num="12" id="2893" />
-<TGConnectingPoint num="13" id="2894" />
-<TGConnectingPoint num="14" id="2895" />
-<TGConnectingPoint num="15" id="2896" />
-<TGConnectingPoint num="16" id="2897" />
-<TGConnectingPoint num="17" id="2898" />
-<TGConnectingPoint num="18" id="2899" />
-<TGConnectingPoint num="19" id="2900" />
-<TGConnectingPoint num="20" id="2901" />
-<TGConnectingPoint num="21" id="2902" />
-<TGConnectingPoint num="22" id="2903" />
-<TGConnectingPoint num="23" id="2904" />
-<TGConnectingPoint num="24" id="2905" />
-<TGConnectingPoint num="25" id="2906" />
-<TGConnectingPoint num="26" id="2907" />
-<TGConnectingPoint num="27" id="2908" />
-<TGConnectingPoint num="28" id="2909" />
-<TGConnectingPoint num="29" id="2910" />
-<TGConnectingPoint num="30" id="2911" />
-<TGConnectingPoint num="31" id="2912" />
-<TGConnectingPoint num="32" id="2913" />
-<TGConnectingPoint num="33" id="2914" />
-<TGConnectingPoint num="34" id="2915" />
-<TGConnectingPoint num="35" id="2916" />
-<TGConnectingPoint num="36" id="2917" />
-<TGConnectingPoint num="37" id="2918" />
-<TGConnectingPoint num="38" id="2919" />
-<TGConnectingPoint num="39" id="2920" />
+#Confidentiality InterfaceDevice.secretData
+#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
+" />
+<TGConnectingPoint num="0" id="2192" />
+<TGConnectingPoint num="1" id="2193" />
+<TGConnectingPoint num="2" id="2194" />
+<TGConnectingPoint num="3" id="2195" />
+<TGConnectingPoint num="4" id="2196" />
+<TGConnectingPoint num="5" id="2197" />
+<TGConnectingPoint num="6" id="2198" />
+<TGConnectingPoint num="7" id="2199" />
+<TGConnectingPoint num="8" id="2200" />
+<TGConnectingPoint num="9" id="2201" />
+<TGConnectingPoint num="10" id="2202" />
+<TGConnectingPoint num="11" id="2203" />
+<TGConnectingPoint num="12" id="2204" />
+<TGConnectingPoint num="13" id="2205" />
+<TGConnectingPoint num="14" id="2206" />
+<TGConnectingPoint num="15" id="2207" />
 <extraparam>
+<Line value="#InitialSystemKnowledge InterfaceDevice.sk SmartCard.sk" />
+<Line value="" />
+<Line value="#Confidentiality InterfaceDevice.secretData" />
+<Line value="#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="2932" >
-<cdparam x="362" y="155" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5003" id="2217" >
+<cdparam x="260" y="373" />
+<sizeparam width="129" height="61" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chout(m)" />
-<TGConnectingPoint num="0" id="2922" />
-<TGConnectingPoint num="1" id="2923" />
-<TGConnectingPoint num="2" id="2924" />
-<TGConnectingPoint num="3" id="2925" />
-<TGConnectingPoint num="4" id="2926" />
-<TGConnectingPoint num="5" id="2927" />
-<TGConnectingPoint num="6" id="2928" />
-<TGConnectingPoint num="7" id="2929" />
-<TGConnectingPoint num="8" id="2930" />
-<TGConnectingPoint num="9" id="2931" />
+<infoparam name="DataType0" value="Message" />
+<TGConnectingPoint num="0" id="2209" />
+<TGConnectingPoint num="1" id="2210" />
+<TGConnectingPoint num="2" id="2211" />
+<TGConnectingPoint num="3" id="2212" />
+<TGConnectingPoint num="4" id="2213" />
+<TGConnectingPoint num="5" id="2214" />
+<TGConnectingPoint num="6" id="2215" />
+<TGConnectingPoint num="7" id="2216" />
+<extraparam>
+<Attribute access="0" id="data" value="" type="8" typeOther="" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="5106" id="2973" >
-<cdparam x="355" y="91" />
-<sizeparam width="100" height="31" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5003" id="2226" >
+<cdparam x="68" y="372" />
+<sizeparam width="123" height="62" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="sendingPubK" />
-<TGConnectingPoint num="0" id="2933" />
-<TGConnectingPoint num="1" id="2934" />
-<TGConnectingPoint num="2" id="2935" />
-<TGConnectingPoint num="3" id="2936" />
-<TGConnectingPoint num="4" id="2937" />
-<TGConnectingPoint num="5" id="2938" />
-<TGConnectingPoint num="6" id="2939" />
-<TGConnectingPoint num="7" id="2940" />
-<TGConnectingPoint num="8" id="2941" />
-<TGConnectingPoint num="9" id="2942" />
-<TGConnectingPoint num="10" id="2943" />
-<TGConnectingPoint num="11" id="2944" />
-<TGConnectingPoint num="12" id="2945" />
-<TGConnectingPoint num="13" id="2946" />
-<TGConnectingPoint num="14" id="2947" />
-<TGConnectingPoint num="15" id="2948" />
-<TGConnectingPoint num="16" id="2949" />
-<TGConnectingPoint num="17" id="2950" />
-<TGConnectingPoint num="18" id="2951" />
-<TGConnectingPoint num="19" id="2952" />
-<TGConnectingPoint num="20" id="2953" />
-<TGConnectingPoint num="21" id="2954" />
-<TGConnectingPoint num="22" id="2955" />
-<TGConnectingPoint num="23" id="2956" />
-<TGConnectingPoint num="24" id="2957" />
-<TGConnectingPoint num="25" id="2958" />
-<TGConnectingPoint num="26" id="2959" />
-<TGConnectingPoint num="27" id="2960" />
-<TGConnectingPoint num="28" id="2961" />
-<TGConnectingPoint num="29" id="2962" />
-<TGConnectingPoint num="30" id="2963" />
-<TGConnectingPoint num="31" id="2964" />
-<TGConnectingPoint num="32" id="2965" />
-<TGConnectingPoint num="33" id="2966" />
-<TGConnectingPoint num="34" id="2967" />
-<TGConnectingPoint num="35" id="2968" />
-<TGConnectingPoint num="36" id="2969" />
-<TGConnectingPoint num="37" id="2970" />
-<TGConnectingPoint num="38" id="2971" />
-<TGConnectingPoint num="39" id="2972" />
+<infoparam name="DataType0" value="Key" />
+<TGConnectingPoint num="0" id="2218" />
+<TGConnectingPoint num="1" id="2219" />
+<TGConnectingPoint num="2" id="2220" />
+<TGConnectingPoint num="3" id="2221" />
+<TGConnectingPoint num="4" id="2222" />
+<TGConnectingPoint num="5" id="2223" />
+<TGConnectingPoint num="6" id="2224" />
+<TGConnectingPoint num="7" id="2225" />
 <extraparam>
+<Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5106" id="3014" >
-<cdparam x="370" y="613" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5000" id="2301" >
+<cdparam x="21" y="145" />
+<sizeparam width="438" height="219" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="beforeFinish" />
-<TGConnectingPoint num="0" id="2974" />
-<TGConnectingPoint num="1" id="2975" />
-<TGConnectingPoint num="2" id="2976" />
-<TGConnectingPoint num="3" id="2977" />
-<TGConnectingPoint num="4" id="2978" />
-<TGConnectingPoint num="5" id="2979" />
-<TGConnectingPoint num="6" id="2980" />
-<TGConnectingPoint num="7" id="2981" />
-<TGConnectingPoint num="8" id="2982" />
-<TGConnectingPoint num="9" id="2983" />
-<TGConnectingPoint num="10" id="2984" />
-<TGConnectingPoint num="11" id="2985" />
-<TGConnectingPoint num="12" id="2986" />
-<TGConnectingPoint num="13" id="2987" />
-<TGConnectingPoint num="14" id="2988" />
-<TGConnectingPoint num="15" id="2989" />
-<TGConnectingPoint num="16" id="2990" />
-<TGConnectingPoint num="17" id="2991" />
-<TGConnectingPoint num="18" id="2992" />
-<TGConnectingPoint num="19" id="2993" />
-<TGConnectingPoint num="20" id="2994" />
-<TGConnectingPoint num="21" id="2995" />
-<TGConnectingPoint num="22" id="2996" />
-<TGConnectingPoint num="23" id="2997" />
-<TGConnectingPoint num="24" id="2998" />
-<TGConnectingPoint num="25" id="2999" />
-<TGConnectingPoint num="26" id="3000" />
-<TGConnectingPoint num="27" id="3001" />
-<TGConnectingPoint num="28" id="3002" />
-<TGConnectingPoint num="29" id="3003" />
-<TGConnectingPoint num="30" id="3004" />
-<TGConnectingPoint num="31" id="3005" />
-<TGConnectingPoint num="32" id="3006" />
-<TGConnectingPoint num="33" id="3007" />
-<TGConnectingPoint num="34" id="3008" />
-<TGConnectingPoint num="35" id="3009" />
-<TGConnectingPoint num="36" id="3010" />
-<TGConnectingPoint num="37" id="3011" />
-<TGConnectingPoint num="38" id="3012" />
-<TGConnectingPoint num="39" id="3013" />
+<infoparam name="Block0" value="System" />
+<TGConnectingPoint num="0" id="2277" />
+<TGConnectingPoint num="1" id="2278" />
+<TGConnectingPoint num="2" id="2279" />
+<TGConnectingPoint num="3" id="2280" />
+<TGConnectingPoint num="4" id="2281" />
+<TGConnectingPoint num="5" id="2282" />
+<TGConnectingPoint num="6" id="2283" />
+<TGConnectingPoint num="7" id="2284" />
+<TGConnectingPoint num="8" id="2285" />
+<TGConnectingPoint num="9" id="2286" />
+<TGConnectingPoint num="10" id="2287" />
+<TGConnectingPoint num="11" id="2288" />
+<TGConnectingPoint num="12" id="2289" />
+<TGConnectingPoint num="13" id="2290" />
+<TGConnectingPoint num="14" id="2291" />
+<TGConnectingPoint num="15" id="2292" />
+<TGConnectingPoint num="16" id="2293" />
+<TGConnectingPoint num="17" id="2294" />
+<TGConnectingPoint num="18" id="2295" />
+<TGConnectingPoint num="19" id="2296" />
+<TGConnectingPoint num="20" id="2297" />
+<TGConnectingPoint num="21" id="2298" />
+<TGConnectingPoint num="22" id="2299" />
+<TGConnectingPoint num="23" id="2300" />
+<extraparam>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Signal value="in chin(Message msg)" attached="true" />
+<Signal value="out chout(Message msg)" attached="true" />
+</extraparam>
+</COMPONENT>
+<SUBCOMPONENT type="5000" id="2251" >
+<father id="2301" num="0" />
+<cdparam x="263" y="233" />
+<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
+<infoparam name="Block0" value="SmartCard" />
+<TGConnectingPoint num="0" id="2227" />
+<TGConnectingPoint num="1" id="2228" />
+<TGConnectingPoint num="2" id="2229" />
+<TGConnectingPoint num="3" id="2230" />
+<TGConnectingPoint num="4" id="2231" />
+<TGConnectingPoint num="5" id="2232" />
+<TGConnectingPoint num="6" id="2233" />
+<TGConnectingPoint num="7" id="2234" />
+<TGConnectingPoint num="8" id="2235" />
+<TGConnectingPoint num="9" id="2236" />
+<TGConnectingPoint num="10" id="2237" />
+<TGConnectingPoint num="11" id="2238" />
+<TGConnectingPoint num="12" id="2239" />
+<TGConnectingPoint num="13" id="2240" />
+<TGConnectingPoint num="14" id="2241" />
+<TGConnectingPoint num="15" id="2242" />
+<TGConnectingPoint num="16" id="2243" />
+<TGConnectingPoint num="17" id="2244" />
+<TGConnectingPoint num="18" id="2245" />
+<TGConnectingPoint num="19" id="2246" />
+<TGConnectingPoint num="20" id="2247" />
+<TGConnectingPoint num="21" id="2248" />
+<TGConnectingPoint num="22" id="2249" />
+<TGConnectingPoint num="23" id="2250" />
+<extraparam>
+<blockType data="cryptoblock" color="-4072719" />
+<CryptoBlock value="true" />
+<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
+<Method value="Message encrypt(Message msg, Key k)" />
+<Method value="Message decrypt(Message msg, Key k)" />
+<Method value="Message sencrypt(Message msg, Key k)" />
+<Method value="Message sdecrypt(Message msg, Key k)" />
+<Method value="Message MAC(Message msg, Key k)" />
+<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
+<Method value="Message concat2(Message msg1, Message msg2)" />
+<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
+<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="get2(Message msg, Message msg1, Message msg2)" />
+<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
+<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="Message aencrypt(Message msg, Key k)" />
+<Method value="Message adecrypt(Message msg, Key k)" />
+<Method value="Key pk(Key k)" />
+<Method value="Message sign(Message msg, Key k)" />
+<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
+<Method value="Message cert(Key k, Message msg)" />
+<Method value="bool verifyCert(Message cert, Key k)" />
+<Method value="Key getpk(Message cert)" />
+<Method value="Key DH(Key pubK, Key privK)" />
+<Method value="Message hash(Message msg)" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="5000" id="2276" >
+<father id="2301" num="1" />
+<cdparam x="36" y="233" />
+<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
+<infoparam name="Block0" value="InterfaceDevice" />
+<TGConnectingPoint num="0" id="2252" />
+<TGConnectingPoint num="1" id="2253" />
+<TGConnectingPoint num="2" id="2254" />
+<TGConnectingPoint num="3" id="2255" />
+<TGConnectingPoint num="4" id="2256" />
+<TGConnectingPoint num="5" id="2257" />
+<TGConnectingPoint num="6" id="2258" />
+<TGConnectingPoint num="7" id="2259" />
+<TGConnectingPoint num="8" id="2260" />
+<TGConnectingPoint num="9" id="2261" />
+<TGConnectingPoint num="10" id="2262" />
+<TGConnectingPoint num="11" id="2263" />
+<TGConnectingPoint num="12" id="2264" />
+<TGConnectingPoint num="13" id="2265" />
+<TGConnectingPoint num="14" id="2266" />
+<TGConnectingPoint num="15" id="2267" />
+<TGConnectingPoint num="16" id="2268" />
+<TGConnectingPoint num="17" id="2269" />
+<TGConnectingPoint num="18" id="2270" />
+<TGConnectingPoint num="19" id="2271" />
+<TGConnectingPoint num="20" id="2272" />
+<TGConnectingPoint num="21" id="2273" />
+<TGConnectingPoint num="22" id="2274" />
+<TGConnectingPoint num="23" id="2275" />
 <extraparam>
+<blockType data="cryptoblock" color="-4072719" />
+<CryptoBlock value="true" />
+<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
+<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
+<Method value="Message encrypt(Message msg, Key k)" />
+<Method value="Message decrypt(Message msg, Key k)" />
+<Method value="Message sencrypt(Message msg, Key k)" />
+<Method value="Message sdecrypt(Message msg, Key k)" />
+<Method value="Message MAC(Message msg, Key k)" />
+<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
+<Method value="Message concat2(Message msg1, Message msg2)" />
+<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
+<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="get2(Message msg, Message msg1, Message msg2)" />
+<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
+<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="Message aencrypt(Message msg, Key k)" />
+<Method value="Message adecrypt(Message msg, Key k)" />
+<Method value="Key pk(Key k)" />
+<Method value="Message sign(Message msg, Key k)" />
+<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
+<Method value="Message cert(Key k, Message msg)" />
+<Method value="bool verifyCert(Message cert, Key k)" />
+<Method value="Key getpk(Message cert)" />
+<Method value="Key DH(Key pubK, Key privK)" />
+<Method value="Message hash(Message msg)" />
 </extraparam>
-</COMPONENT>
+</SUBCOMPONENT>
 
-<COMPONENT type="5103" id="3025" >
-<cdparam x="377" y="542" />
-<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chout(m1)" />
-<TGConnectingPoint num="0" id="3015" />
-<TGConnectingPoint num="1" id="3016" />
-<TGConnectingPoint num="2" id="3017" />
-<TGConnectingPoint num="3" id="3018" />
-<TGConnectingPoint num="4" id="3019" />
-<TGConnectingPoint num="5" id="3020" />
-<TGConnectingPoint num="6" id="3021" />
-<TGConnectingPoint num="7" id="3022" />
-<TGConnectingPoint num="8" id="3023" />
-<TGConnectingPoint num="9" id="3024" />
-</COMPONENT>
 
-<COMPONENT type="5101" id="3027" >
-<cdparam x="428" y="708" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="3026" />
-</COMPONENT>
+</AVATARBlockDiagramPanel>
 
-<COMPONENT type="5106" id="3068" >
-<cdparam x="340" y="468" />
-<sizeparam width="143" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="sendingMessage" />
-<TGConnectingPoint num="0" id="3028" />
-<TGConnectingPoint num="1" id="3029" />
-<TGConnectingPoint num="2" id="3030" />
-<TGConnectingPoint num="3" id="3031" />
-<TGConnectingPoint num="4" id="3032" />
-<TGConnectingPoint num="5" id="3033" />
-<TGConnectingPoint num="6" id="3034" />
-<TGConnectingPoint num="7" id="3035" />
-<TGConnectingPoint num="8" id="3036" />
-<TGConnectingPoint num="9" id="3037" />
-<TGConnectingPoint num="10" id="3038" />
-<TGConnectingPoint num="11" id="3039" />
-<TGConnectingPoint num="12" id="3040" />
-<TGConnectingPoint num="13" id="3041" />
-<TGConnectingPoint num="14" id="3042" />
-<TGConnectingPoint num="15" id="3043" />
-<TGConnectingPoint num="16" id="3044" />
-<TGConnectingPoint num="17" id="3045" />
-<TGConnectingPoint num="18" id="3046" />
-<TGConnectingPoint num="19" id="3047" />
-<TGConnectingPoint num="20" id="3048" />
-<TGConnectingPoint num="21" id="3049" />
-<TGConnectingPoint num="22" id="3050" />
-<TGConnectingPoint num="23" id="3051" />
-<TGConnectingPoint num="24" id="3052" />
-<TGConnectingPoint num="25" id="3053" />
-<TGConnectingPoint num="26" id="3054" />
-<TGConnectingPoint num="27" id="3055" />
-<TGConnectingPoint num="28" id="3056" />
-<TGConnectingPoint num="29" id="3057" />
-<TGConnectingPoint num="30" id="3058" />
-<TGConnectingPoint num="31" id="3059" />
-<TGConnectingPoint num="32" id="3060" />
-<TGConnectingPoint num="33" id="3061" />
-<TGConnectingPoint num="34" id="3062" />
-<TGConnectingPoint num="35" id="3063" />
-<TGConnectingPoint num="36" id="3064" />
-<TGConnectingPoint num="37" id="3065" />
-<TGConnectingPoint num="38" id="3066" />
-<TGConnectingPoint num="39" id="3067" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3109" >
-<cdparam x="344" y="349" />
-<sizeparam width="134" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="makingMessage" />
-<TGConnectingPoint num="0" id="3069" />
-<TGConnectingPoint num="1" id="3070" />
-<TGConnectingPoint num="2" id="3071" />
-<TGConnectingPoint num="3" id="3072" />
-<TGConnectingPoint num="4" id="3073" />
-<TGConnectingPoint num="5" id="3074" />
-<TGConnectingPoint num="6" id="3075" />
-<TGConnectingPoint num="7" id="3076" />
-<TGConnectingPoint num="8" id="3077" />
-<TGConnectingPoint num="9" id="3078" />
-<TGConnectingPoint num="10" id="3079" />
-<TGConnectingPoint num="11" id="3080" />
-<TGConnectingPoint num="12" id="3081" />
-<TGConnectingPoint num="13" id="3082" />
-<TGConnectingPoint num="14" id="3083" />
-<TGConnectingPoint num="15" id="3084" />
-<TGConnectingPoint num="16" id="3085" />
-<TGConnectingPoint num="17" id="3086" />
-<TGConnectingPoint num="18" id="3087" />
-<TGConnectingPoint num="19" id="3088" />
-<TGConnectingPoint num="20" id="3089" />
-<TGConnectingPoint num="21" id="3090" />
-<TGConnectingPoint num="22" id="3091" />
-<TGConnectingPoint num="23" id="3092" />
-<TGConnectingPoint num="24" id="3093" />
-<TGConnectingPoint num="25" id="3094" />
-<TGConnectingPoint num="26" id="3095" />
-<TGConnectingPoint num="27" id="3096" />
-<TGConnectingPoint num="28" id="3097" />
-<TGConnectingPoint num="29" id="3098" />
-<TGConnectingPoint num="30" id="3099" />
-<TGConnectingPoint num="31" id="3100" />
-<TGConnectingPoint num="32" id="3101" />
-<TGConnectingPoint num="33" id="3102" />
-<TGConnectingPoint num="34" id="3103" />
-<TGConnectingPoint num="35" id="3104" />
-<TGConnectingPoint num="36" id="3105" />
-<TGConnectingPoint num="37" id="3106" />
-<TGConnectingPoint num="38" id="3107" />
-<TGConnectingPoint num="39" id="3108" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="3111" >
+<AVATARStateMachineDiagramPanel name="System" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="5100" id="2303" >
 <cdparam x="400" y="50" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3110" />
+<TGConnectingPoint num="0" id="2302" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="3118" >
-<cdparam x="418" y="632" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="3117" />
-<P1  x="418" y="632" id="3285" />
-<P2  x="422" y="677" id="3321" />
+<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="2310" >
+<cdparam x="407" y="310" />
+<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="2309" />
+<P1  x="407" y="310" id="2381" />
+<P2  x="416" y="356" id="2340" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3116" >
-<father id="3118" num="0" />
-<cdparam x="433" y="656" />
-<sizeparam width="135" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2308" >
+<father id="2310" num="0" />
+<cdparam x="449" y="353" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3112" />
-<TGConnectingPoint num="1" id="3113" />
-<TGConnectingPoint num="2" id="3114" />
-<TGConnectingPoint num="3" id="3115" />
+<TGConnectingPoint num="0" id="2304" />
+<TGConnectingPoint num="1" id="2305" />
+<TGConnectingPoint num="2" id="2306" />
+<TGConnectingPoint num="3" id="2307" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9782,29 +8176,28 @@ the smart card and the terminal
 <computeMin value="" />
 <computeMax value="" />
 <probability value="" />
-<actions value="receivedData = m.data" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3125" >
-<cdparam x="409" y="526" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to state0" value="null" />
-<TGConnectingPoint num="0" id="3124" />
-<P1  x="409" y="526" id="3367" />
-<P2  x="418" y="592" id="3280" />
+<CONNECTOR type="5102" id="2317" >
+<cdparam x="492" y="446" />
+<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="2316" />
+<P1  x="416" y="406" id="2345" />
+<P2  x="434" y="446" id="2391" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3123" >
-<father id="3125" num="0" />
-<cdparam x="431" y="551" />
-<sizeparam width="151" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2315" >
+<father id="2317" num="0" />
+<cdparam x="449" y="440" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3119" />
-<TGConnectingPoint num="1" id="3120" />
-<TGConnectingPoint num="2" id="3121" />
-<TGConnectingPoint num="3" id="3122" />
+<TGConnectingPoint num="0" id="2311" />
+<TGConnectingPoint num="1" id="2312" />
+<TGConnectingPoint num="2" id="2313" />
+<TGConnectingPoint num="3" id="2314" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9812,30 +8205,57 @@ the smart card and the terminal
 <computeMin value="" />
 <computeMax value="" />
 <probability value="" />
-<actions value="sk = DH(alicePubK, privK)" />
-<actions value="m = sdecrypt(m2, sk)" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3132" >
-<cdparam x="408" y="454" />
+<CONNECTOR type="5102" id="2324" >
+<cdparam x="407" y="251" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3131" />
-<P1  x="408" y="454" id="3403" />
-<P2  x="409" y="486" id="3362" />
+<infoparam name="connector from state0 to stop state" value="null" />
+<TGConnectingPoint num="0" id="2323" />
+<P1  x="407" y="251" id="2399" />
+<P2  x="407" y="280" id="2380" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3130" >
-<father id="3132" num="0" />
-<cdparam x="408" y="494" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2322" >
+<father id="2324" num="0" />
+<cdparam x="407" y="291" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3126" />
-<TGConnectingPoint num="1" id="3127" />
-<TGConnectingPoint num="2" id="3128" />
-<TGConnectingPoint num="3" id="3129" />
+<TGConnectingPoint num="0" id="2318" />
+<TGConnectingPoint num="1" id="2319" />
+<TGConnectingPoint num="2" id="2320" />
+<TGConnectingPoint num="3" id="2321" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
+</SUBCOMPONENT>
+
+<CONNECTOR type="5102" id="2331" >
+<cdparam x="407" y="132" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="2330" />
+<P1  x="407" y="132" id="2440" />
+<P2  x="407" y="211" id="2394" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2329" >
+<father id="2331" num="0" />
+<cdparam x="414" y="162" />
+<sizeparam width="126" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2325" />
+<TGConnectingPoint num="1" id="2326" />
+<TGConnectingPoint num="2" id="2327" />
+<TGConnectingPoint num="3" id="2328" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9843,28 +8263,30 @@ the smart card and the terminal
 <computeMin value="" />
 <computeMax value="" />
 <probability value="" />
+<actions value="m.data = secretData" />
+<actions value="m1 = sencrypt(m, sk)" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3139" >
-<cdparam x="408" y="394" />
+<CONNECTOR type="5102" id="2338" >
+<cdparam x="407" y="70" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from state0 to Send signal" value="null" />
-<TGConnectingPoint num="0" id="3138" />
-<P1  x="408" y="394" id="3419" />
-<P2  x="408" y="424" id="3402" />
+<infoparam name="connector from start state to state0" value="null" />
+<TGConnectingPoint num="0" id="2337" />
+<P1  x="407" y="70" id="2475" />
+<P2  x="407" y="92" id="2435" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3137" >
-<father id="3139" num="0" />
-<cdparam x="408" y="434" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2336" >
+<father id="2338" num="0" />
+<cdparam x="407" y="110" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3133" />
-<TGConnectingPoint num="1" id="3134" />
-<TGConnectingPoint num="2" id="3135" />
-<TGConnectingPoint num="3" id="3136" />
+<TGConnectingPoint num="0" id="2332" />
+<TGConnectingPoint num="1" id="2333" />
+<TGConnectingPoint num="2" id="2334" />
+<TGConnectingPoint num="3" id="2335" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9875,25 +8297,215 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3146" >
-<cdparam x="407" y="70" />
+<COMPONENT type="5106" id="2379" >
+<cdparam x="366" y="356" />
+<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="State" value="beforeFinish" />
+<TGConnectingPoint num="0" id="2339" />
+<TGConnectingPoint num="1" id="2340" />
+<TGConnectingPoint num="2" id="2341" />
+<TGConnectingPoint num="3" id="2342" />
+<TGConnectingPoint num="4" id="2343" />
+<TGConnectingPoint num="5" id="2344" />
+<TGConnectingPoint num="6" id="2345" />
+<TGConnectingPoint num="7" id="2346" />
+<TGConnectingPoint num="8" id="2347" />
+<TGConnectingPoint num="9" id="2348" />
+<TGConnectingPoint num="10" id="2349" />
+<TGConnectingPoint num="11" id="2350" />
+<TGConnectingPoint num="12" id="2351" />
+<TGConnectingPoint num="13" id="2352" />
+<TGConnectingPoint num="14" id="2353" />
+<TGConnectingPoint num="15" id="2354" />
+<TGConnectingPoint num="16" id="2355" />
+<TGConnectingPoint num="17" id="2356" />
+<TGConnectingPoint num="18" id="2357" />
+<TGConnectingPoint num="19" id="2358" />
+<TGConnectingPoint num="20" id="2359" />
+<TGConnectingPoint num="21" id="2360" />
+<TGConnectingPoint num="22" id="2361" />
+<TGConnectingPoint num="23" id="2362" />
+<TGConnectingPoint num="24" id="2363" />
+<TGConnectingPoint num="25" id="2364" />
+<TGConnectingPoint num="26" id="2365" />
+<TGConnectingPoint num="27" id="2366" />
+<TGConnectingPoint num="28" id="2367" />
+<TGConnectingPoint num="29" id="2368" />
+<TGConnectingPoint num="30" id="2369" />
+<TGConnectingPoint num="31" id="2370" />
+<TGConnectingPoint num="32" id="2371" />
+<TGConnectingPoint num="33" id="2372" />
+<TGConnectingPoint num="34" id="2373" />
+<TGConnectingPoint num="35" id="2374" />
+<TGConnectingPoint num="36" id="2375" />
+<TGConnectingPoint num="37" id="2376" />
+<TGConnectingPoint num="38" id="2377" />
+<TGConnectingPoint num="39" id="2378" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="2390" >
+<cdparam x="373" y="285" />
+<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Send signal" value="chout(m1)" />
+<TGConnectingPoint num="0" id="2380" />
+<TGConnectingPoint num="1" id="2381" />
+<TGConnectingPoint num="2" id="2382" />
+<TGConnectingPoint num="3" id="2383" />
+<TGConnectingPoint num="4" id="2384" />
+<TGConnectingPoint num="5" id="2385" />
+<TGConnectingPoint num="6" id="2386" />
+<TGConnectingPoint num="7" id="2387" />
+<TGConnectingPoint num="8" id="2388" />
+<TGConnectingPoint num="9" id="2389" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="2392" >
+<cdparam x="424" y="451" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="2391" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2433" >
+<cdparam x="336" y="211" />
+<sizeparam width="143" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="state0" value="sendingMessage" />
+<TGConnectingPoint num="0" id="2393" />
+<TGConnectingPoint num="1" id="2394" />
+<TGConnectingPoint num="2" id="2395" />
+<TGConnectingPoint num="3" id="2396" />
+<TGConnectingPoint num="4" id="2397" />
+<TGConnectingPoint num="5" id="2398" />
+<TGConnectingPoint num="6" id="2399" />
+<TGConnectingPoint num="7" id="2400" />
+<TGConnectingPoint num="8" id="2401" />
+<TGConnectingPoint num="9" id="2402" />
+<TGConnectingPoint num="10" id="2403" />
+<TGConnectingPoint num="11" id="2404" />
+<TGConnectingPoint num="12" id="2405" />
+<TGConnectingPoint num="13" id="2406" />
+<TGConnectingPoint num="14" id="2407" />
+<TGConnectingPoint num="15" id="2408" />
+<TGConnectingPoint num="16" id="2409" />
+<TGConnectingPoint num="17" id="2410" />
+<TGConnectingPoint num="18" id="2411" />
+<TGConnectingPoint num="19" id="2412" />
+<TGConnectingPoint num="20" id="2413" />
+<TGConnectingPoint num="21" id="2414" />
+<TGConnectingPoint num="22" id="2415" />
+<TGConnectingPoint num="23" id="2416" />
+<TGConnectingPoint num="24" id="2417" />
+<TGConnectingPoint num="25" id="2418" />
+<TGConnectingPoint num="26" id="2419" />
+<TGConnectingPoint num="27" id="2420" />
+<TGConnectingPoint num="28" id="2421" />
+<TGConnectingPoint num="29" id="2422" />
+<TGConnectingPoint num="30" id="2423" />
+<TGConnectingPoint num="31" id="2424" />
+<TGConnectingPoint num="32" id="2425" />
+<TGConnectingPoint num="33" id="2426" />
+<TGConnectingPoint num="34" id="2427" />
+<TGConnectingPoint num="35" id="2428" />
+<TGConnectingPoint num="36" id="2429" />
+<TGConnectingPoint num="37" id="2430" />
+<TGConnectingPoint num="38" id="2431" />
+<TGConnectingPoint num="39" id="2432" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2474" >
+<cdparam x="340" y="92" />
+<sizeparam width="134" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="state0" value="makingMessage" />
+<TGConnectingPoint num="0" id="2434" />
+<TGConnectingPoint num="1" id="2435" />
+<TGConnectingPoint num="2" id="2436" />
+<TGConnectingPoint num="3" id="2437" />
+<TGConnectingPoint num="4" id="2438" />
+<TGConnectingPoint num="5" id="2439" />
+<TGConnectingPoint num="6" id="2440" />
+<TGConnectingPoint num="7" id="2441" />
+<TGConnectingPoint num="8" id="2442" />
+<TGConnectingPoint num="9" id="2443" />
+<TGConnectingPoint num="10" id="2444" />
+<TGConnectingPoint num="11" id="2445" />
+<TGConnectingPoint num="12" id="2446" />
+<TGConnectingPoint num="13" id="2447" />
+<TGConnectingPoint num="14" id="2448" />
+<TGConnectingPoint num="15" id="2449" />
+<TGConnectingPoint num="16" id="2450" />
+<TGConnectingPoint num="17" id="2451" />
+<TGConnectingPoint num="18" id="2452" />
+<TGConnectingPoint num="19" id="2453" />
+<TGConnectingPoint num="20" id="2454" />
+<TGConnectingPoint num="21" id="2455" />
+<TGConnectingPoint num="22" id="2456" />
+<TGConnectingPoint num="23" id="2457" />
+<TGConnectingPoint num="24" id="2458" />
+<TGConnectingPoint num="25" id="2459" />
+<TGConnectingPoint num="26" id="2460" />
+<TGConnectingPoint num="27" id="2461" />
+<TGConnectingPoint num="28" id="2462" />
+<TGConnectingPoint num="29" id="2463" />
+<TGConnectingPoint num="30" id="2464" />
+<TGConnectingPoint num="31" id="2465" />
+<TGConnectingPoint num="32" id="2466" />
+<TGConnectingPoint num="33" id="2467" />
+<TGConnectingPoint num="34" id="2468" />
+<TGConnectingPoint num="35" id="2469" />
+<TGConnectingPoint num="36" id="2470" />
+<TGConnectingPoint num="37" id="2471" />
+<TGConnectingPoint num="38" id="2472" />
+<TGConnectingPoint num="39" id="2473" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="2476" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="2475" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="2483" >
+<cdparam x="416" y="379" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to state0" value="null" />
-<TGConnectingPoint num="0" id="3145" />
-<P1  x="407" y="70" id="3454" />
-<P2  x="407" y="95" id="3239" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="2482" />
+<P1  x="416" y="379" id="2518" />
+<P2  x="420" y="424" id="2554" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3144" >
-<father id="3146" num="0" />
-<cdparam x="407" y="110" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2481" >
+<father id="2483" num="0" />
+<cdparam x="431" y="403" />
+<sizeparam width="135" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3140" />
-<TGConnectingPoint num="1" id="3141" />
-<TGConnectingPoint num="2" id="3142" />
-<TGConnectingPoint num="3" id="3143" />
+<TGConnectingPoint num="0" id="2477" />
+<TGConnectingPoint num="1" id="2478" />
+<TGConnectingPoint num="2" id="2479" />
+<TGConnectingPoint num="3" id="2480" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9901,28 +8513,29 @@ the smart card and the terminal
 <computeMin value="" />
 <computeMax value="" />
 <probability value="" />
+<actions value="receivedData = m.data" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3153" >
-<cdparam x="407" y="127" />
-<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="3152" />
-<P1  x="407" y="127" id="3244" />
-<P2  x="407" y="153" id="3227" />
+<CONNECTOR type="5102" id="2490" >
+<cdparam x="407" y="273" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="2489" />
+<P1  x="407" y="273" id="2600" />
+<P2  x="416" y="339" id="2513" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3151" >
-<father id="3153" num="0" />
-<cdparam x="428" y="145" />
-<sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2488" >
+<father id="2490" num="0" />
+<cdparam x="419" y="312" />
+<sizeparam width="127" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3147" />
-<TGConnectingPoint num="1" id="3148" />
-<TGConnectingPoint num="2" id="3149" />
-<TGConnectingPoint num="3" id="3150" />
+<TGConnectingPoint num="0" id="2484" />
+<TGConnectingPoint num="1" id="2485" />
+<TGConnectingPoint num="2" id="2486" />
+<TGConnectingPoint num="3" id="2487" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9930,29 +8543,29 @@ the smart card and the terminal
 <computeMin value="" />
 <computeMax value="" />
 <probability value="" />
-<actions value="m.data = pubK.data" />
+<actions value="m = sdecrypt(m2, sk)" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3160" >
-<cdparam x="407" y="183" />
-<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="3159" />
-<P1  x="407" y="183" id="3228" />
-<P2  x="408" y="213" id="3187" />
+<CONNECTOR type="5102" id="2497" >
+<cdparam x="406" y="201" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from Send signal to state0" value="null" />
+<TGConnectingPoint num="0" id="2496" />
+<P1  x="406" y="201" id="2636" />
+<P2  x="407" y="233" id="2595" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3158" >
-<father id="3160" num="0" />
-<cdparam x="408" y="199" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2495" >
+<father id="2497" num="0" />
+<cdparam x="406" y="241" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3154" />
-<TGConnectingPoint num="1" id="3155" />
-<TGConnectingPoint num="2" id="3156" />
-<TGConnectingPoint num="3" id="3157" />
+<TGConnectingPoint num="0" id="2491" />
+<TGConnectingPoint num="1" id="2492" />
+<TGConnectingPoint num="2" id="2493" />
+<TGConnectingPoint num="3" id="2494" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9963,25 +8576,25 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3167" >
-<cdparam x="409" y="265" />
-<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="3166" />
-<P1  x="408" y="251" id="3192" />
-<P2  x="406" y="285" id="3175" />
+<CONNECTOR type="5102" id="2504" >
+<cdparam x="406" y="141" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to Send signal" value="null" />
+<TGConnectingPoint num="0" id="2503" />
+<P1  x="406" y="141" id="2652" />
+<P2  x="406" y="171" id="2635" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3165" >
-<father id="3167" num="0" />
-<cdparam x="409" y="281" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2502" >
+<father id="2504" num="0" />
+<cdparam x="406" y="181" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3161" />
-<TGConnectingPoint num="1" id="3162" />
-<TGConnectingPoint num="2" id="3163" />
-<TGConnectingPoint num="3" id="3164" />
+<TGConnectingPoint num="0" id="2498" />
+<TGConnectingPoint num="1" id="2499" />
+<TGConnectingPoint num="2" id="2500" />
+<TGConnectingPoint num="3" id="2501" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -9992,25 +8605,25 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3174" >
-<cdparam x="410" y="327" />
-<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="3173" />
-<P1  x="406" y="315" id="3176" />
-<P2  x="408" y="354" id="3414" />
+<CONNECTOR type="5102" id="2511" >
+<cdparam x="407" y="70" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to state0" value="null" />
+<TGConnectingPoint num="0" id="2510" />
+<P1  x="407" y="70" id="2687" />
+<P2  x="406" y="101" id="2647" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3172" >
-<father id="3174" num="0" />
-<cdparam x="426" y="337" />
-<sizeparam width="145" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2509" >
+<father id="2511" num="0" />
+<cdparam x="407" y="110" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="3168" />
-<TGConnectingPoint num="1" id="3169" />
-<TGConnectingPoint num="2" id="3170" />
-<TGConnectingPoint num="3" id="3171" />
+<TGConnectingPoint num="0" id="2505" />
+<TGConnectingPoint num="1" id="2506" />
+<TGConnectingPoint num="2" id="2507" />
+<TGConnectingPoint num="3" id="2508" />
 <extraparam>
 <guard value="[ ]" />
 <afterMin value="" />
@@ -10018,371 +8631,234 @@ the smart card and the terminal
 <computeMin value="" />
 <computeMax value="" />
 <probability value="" />
-<actions value="alicePubK.data = m.data" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="3185" >
-<cdparam x="376" y="290" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Receive signal" value="chin(m)" />
-<TGConnectingPoint num="0" id="3175" />
-<TGConnectingPoint num="1" id="3176" />
-<TGConnectingPoint num="2" id="3177" />
-<TGConnectingPoint num="3" id="3178" />
-<TGConnectingPoint num="4" id="3179" />
-<TGConnectingPoint num="5" id="3180" />
-<TGConnectingPoint num="6" id="3181" />
-<TGConnectingPoint num="7" id="3182" />
-<TGConnectingPoint num="8" id="3183" />
-<TGConnectingPoint num="9" id="3184" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3226" >
-<cdparam x="347" y="213" />
-<sizeparam width="123" height="38" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="receivingPubK" />
-<TGConnectingPoint num="0" id="3186" />
-<TGConnectingPoint num="1" id="3187" />
-<TGConnectingPoint num="2" id="3188" />
-<TGConnectingPoint num="3" id="3189" />
-<TGConnectingPoint num="4" id="3190" />
-<TGConnectingPoint num="5" id="3191" />
-<TGConnectingPoint num="6" id="3192" />
-<TGConnectingPoint num="7" id="3193" />
-<TGConnectingPoint num="8" id="3194" />
-<TGConnectingPoint num="9" id="3195" />
-<TGConnectingPoint num="10" id="3196" />
-<TGConnectingPoint num="11" id="3197" />
-<TGConnectingPoint num="12" id="3198" />
-<TGConnectingPoint num="13" id="3199" />
-<TGConnectingPoint num="14" id="3200" />
-<TGConnectingPoint num="15" id="3201" />
-<TGConnectingPoint num="16" id="3202" />
-<TGConnectingPoint num="17" id="3203" />
-<TGConnectingPoint num="18" id="3204" />
-<TGConnectingPoint num="19" id="3205" />
-<TGConnectingPoint num="20" id="3206" />
-<TGConnectingPoint num="21" id="3207" />
-<TGConnectingPoint num="22" id="3208" />
-<TGConnectingPoint num="23" id="3209" />
-<TGConnectingPoint num="24" id="3210" />
-<TGConnectingPoint num="25" id="3211" />
-<TGConnectingPoint num="26" id="3212" />
-<TGConnectingPoint num="27" id="3213" />
-<TGConnectingPoint num="28" id="3214" />
-<TGConnectingPoint num="29" id="3215" />
-<TGConnectingPoint num="30" id="3216" />
-<TGConnectingPoint num="31" id="3217" />
-<TGConnectingPoint num="32" id="3218" />
-<TGConnectingPoint num="33" id="3219" />
-<TGConnectingPoint num="34" id="3220" />
-<TGConnectingPoint num="35" id="3221" />
-<TGConnectingPoint num="36" id="3222" />
-<TGConnectingPoint num="37" id="3223" />
-<TGConnectingPoint num="38" id="3224" />
-<TGConnectingPoint num="39" id="3225" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="3237" >
-<cdparam x="377" y="158" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chout(m)" />
-<TGConnectingPoint num="0" id="3227" />
-<TGConnectingPoint num="1" id="3228" />
-<TGConnectingPoint num="2" id="3229" />
-<TGConnectingPoint num="3" id="3230" />
-<TGConnectingPoint num="4" id="3231" />
-<TGConnectingPoint num="5" id="3232" />
-<TGConnectingPoint num="6" id="3233" />
-<TGConnectingPoint num="7" id="3234" />
-<TGConnectingPoint num="8" id="3235" />
-<TGConnectingPoint num="9" id="3236" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3278" >
-<cdparam x="351" y="95" />
-<sizeparam width="113" height="32" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="sendingPubK" />
-<TGConnectingPoint num="0" id="3238" />
-<TGConnectingPoint num="1" id="3239" />
-<TGConnectingPoint num="2" id="3240" />
-<TGConnectingPoint num="3" id="3241" />
-<TGConnectingPoint num="4" id="3242" />
-<TGConnectingPoint num="5" id="3243" />
-<TGConnectingPoint num="6" id="3244" />
-<TGConnectingPoint num="7" id="3245" />
-<TGConnectingPoint num="8" id="3246" />
-<TGConnectingPoint num="9" id="3247" />
-<TGConnectingPoint num="10" id="3248" />
-<TGConnectingPoint num="11" id="3249" />
-<TGConnectingPoint num="12" id="3250" />
-<TGConnectingPoint num="13" id="3251" />
-<TGConnectingPoint num="14" id="3252" />
-<TGConnectingPoint num="15" id="3253" />
-<TGConnectingPoint num="16" id="3254" />
-<TGConnectingPoint num="17" id="3255" />
-<TGConnectingPoint num="18" id="3256" />
-<TGConnectingPoint num="19" id="3257" />
-<TGConnectingPoint num="20" id="3258" />
-<TGConnectingPoint num="21" id="3259" />
-<TGConnectingPoint num="22" id="3260" />
-<TGConnectingPoint num="23" id="3261" />
-<TGConnectingPoint num="24" id="3262" />
-<TGConnectingPoint num="25" id="3263" />
-<TGConnectingPoint num="26" id="3264" />
-<TGConnectingPoint num="27" id="3265" />
-<TGConnectingPoint num="28" id="3266" />
-<TGConnectingPoint num="29" id="3267" />
-<TGConnectingPoint num="30" id="3268" />
-<TGConnectingPoint num="31" id="3269" />
-<TGConnectingPoint num="32" id="3270" />
-<TGConnectingPoint num="33" id="3271" />
-<TGConnectingPoint num="34" id="3272" />
-<TGConnectingPoint num="35" id="3273" />
-<TGConnectingPoint num="36" id="3274" />
-<TGConnectingPoint num="37" id="3275" />
-<TGConnectingPoint num="38" id="3276" />
-<TGConnectingPoint num="39" id="3277" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3319" >
-<cdparam x="329" y="592" />
+<COMPONENT type="5106" id="2552" >
+<cdparam x="327" y="339" />
 <sizeparam width="178" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="messageDecrypted" />
-<TGConnectingPoint num="0" id="3279" />
-<TGConnectingPoint num="1" id="3280" />
-<TGConnectingPoint num="2" id="3281" />
-<TGConnectingPoint num="3" id="3282" />
-<TGConnectingPoint num="4" id="3283" />
-<TGConnectingPoint num="5" id="3284" />
-<TGConnectingPoint num="6" id="3285" />
-<TGConnectingPoint num="7" id="3286" />
-<TGConnectingPoint num="8" id="3287" />
-<TGConnectingPoint num="9" id="3288" />
-<TGConnectingPoint num="10" id="3289" />
-<TGConnectingPoint num="11" id="3290" />
-<TGConnectingPoint num="12" id="3291" />
-<TGConnectingPoint num="13" id="3292" />
-<TGConnectingPoint num="14" id="3293" />
-<TGConnectingPoint num="15" id="3294" />
-<TGConnectingPoint num="16" id="3295" />
-<TGConnectingPoint num="17" id="3296" />
-<TGConnectingPoint num="18" id="3297" />
-<TGConnectingPoint num="19" id="3298" />
-<TGConnectingPoint num="20" id="3299" />
-<TGConnectingPoint num="21" id="3300" />
-<TGConnectingPoint num="22" id="3301" />
-<TGConnectingPoint num="23" id="3302" />
-<TGConnectingPoint num="24" id="3303" />
-<TGConnectingPoint num="25" id="3304" />
-<TGConnectingPoint num="26" id="3305" />
-<TGConnectingPoint num="27" id="3306" />
-<TGConnectingPoint num="28" id="3307" />
-<TGConnectingPoint num="29" id="3308" />
-<TGConnectingPoint num="30" id="3309" />
-<TGConnectingPoint num="31" id="3310" />
-<TGConnectingPoint num="32" id="3311" />
-<TGConnectingPoint num="33" id="3312" />
-<TGConnectingPoint num="34" id="3313" />
-<TGConnectingPoint num="35" id="3314" />
-<TGConnectingPoint num="36" id="3315" />
-<TGConnectingPoint num="37" id="3316" />
-<TGConnectingPoint num="38" id="3317" />
-<TGConnectingPoint num="39" id="3318" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3360" >
-<cdparam x="352" y="677" />
+<TGConnectingPoint num="0" id="2512" />
+<TGConnectingPoint num="1" id="2513" />
+<TGConnectingPoint num="2" id="2514" />
+<TGConnectingPoint num="3" id="2515" />
+<TGConnectingPoint num="4" id="2516" />
+<TGConnectingPoint num="5" id="2517" />
+<TGConnectingPoint num="6" id="2518" />
+<TGConnectingPoint num="7" id="2519" />
+<TGConnectingPoint num="8" id="2520" />
+<TGConnectingPoint num="9" id="2521" />
+<TGConnectingPoint num="10" id="2522" />
+<TGConnectingPoint num="11" id="2523" />
+<TGConnectingPoint num="12" id="2524" />
+<TGConnectingPoint num="13" id="2525" />
+<TGConnectingPoint num="14" id="2526" />
+<TGConnectingPoint num="15" id="2527" />
+<TGConnectingPoint num="16" id="2528" />
+<TGConnectingPoint num="17" id="2529" />
+<TGConnectingPoint num="18" id="2530" />
+<TGConnectingPoint num="19" id="2531" />
+<TGConnectingPoint num="20" id="2532" />
+<TGConnectingPoint num="21" id="2533" />
+<TGConnectingPoint num="22" id="2534" />
+<TGConnectingPoint num="23" id="2535" />
+<TGConnectingPoint num="24" id="2536" />
+<TGConnectingPoint num="25" id="2537" />
+<TGConnectingPoint num="26" id="2538" />
+<TGConnectingPoint num="27" id="2539" />
+<TGConnectingPoint num="28" id="2540" />
+<TGConnectingPoint num="29" id="2541" />
+<TGConnectingPoint num="30" id="2542" />
+<TGConnectingPoint num="31" id="2543" />
+<TGConnectingPoint num="32" id="2544" />
+<TGConnectingPoint num="33" id="2545" />
+<TGConnectingPoint num="34" id="2546" />
+<TGConnectingPoint num="35" id="2547" />
+<TGConnectingPoint num="36" id="2548" />
+<TGConnectingPoint num="37" id="2549" />
+<TGConnectingPoint num="38" id="2550" />
+<TGConnectingPoint num="39" id="2551" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2593" >
+<cdparam x="350" y="424" />
 <sizeparam width="140" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="SecretDataReceived" />
-<TGConnectingPoint num="0" id="3320" />
-<TGConnectingPoint num="1" id="3321" />
-<TGConnectingPoint num="2" id="3322" />
-<TGConnectingPoint num="3" id="3323" />
-<TGConnectingPoint num="4" id="3324" />
-<TGConnectingPoint num="5" id="3325" />
-<TGConnectingPoint num="6" id="3326" />
-<TGConnectingPoint num="7" id="3327" />
-<TGConnectingPoint num="8" id="3328" />
-<TGConnectingPoint num="9" id="3329" />
-<TGConnectingPoint num="10" id="3330" />
-<TGConnectingPoint num="11" id="3331" />
-<TGConnectingPoint num="12" id="3332" />
-<TGConnectingPoint num="13" id="3333" />
-<TGConnectingPoint num="14" id="3334" />
-<TGConnectingPoint num="15" id="3335" />
-<TGConnectingPoint num="16" id="3336" />
-<TGConnectingPoint num="17" id="3337" />
-<TGConnectingPoint num="18" id="3338" />
-<TGConnectingPoint num="19" id="3339" />
-<TGConnectingPoint num="20" id="3340" />
-<TGConnectingPoint num="21" id="3341" />
-<TGConnectingPoint num="22" id="3342" />
-<TGConnectingPoint num="23" id="3343" />
-<TGConnectingPoint num="24" id="3344" />
-<TGConnectingPoint num="25" id="3345" />
-<TGConnectingPoint num="26" id="3346" />
-<TGConnectingPoint num="27" id="3347" />
-<TGConnectingPoint num="28" id="3348" />
-<TGConnectingPoint num="29" id="3349" />
-<TGConnectingPoint num="30" id="3350" />
-<TGConnectingPoint num="31" id="3351" />
-<TGConnectingPoint num="32" id="3352" />
-<TGConnectingPoint num="33" id="3353" />
-<TGConnectingPoint num="34" id="3354" />
-<TGConnectingPoint num="35" id="3355" />
-<TGConnectingPoint num="36" id="3356" />
-<TGConnectingPoint num="37" id="3357" />
-<TGConnectingPoint num="38" id="3358" />
-<TGConnectingPoint num="39" id="3359" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3401" >
-<cdparam x="338" y="486" />
+<TGConnectingPoint num="0" id="2553" />
+<TGConnectingPoint num="1" id="2554" />
+<TGConnectingPoint num="2" id="2555" />
+<TGConnectingPoint num="3" id="2556" />
+<TGConnectingPoint num="4" id="2557" />
+<TGConnectingPoint num="5" id="2558" />
+<TGConnectingPoint num="6" id="2559" />
+<TGConnectingPoint num="7" id="2560" />
+<TGConnectingPoint num="8" id="2561" />
+<TGConnectingPoint num="9" id="2562" />
+<TGConnectingPoint num="10" id="2563" />
+<TGConnectingPoint num="11" id="2564" />
+<TGConnectingPoint num="12" id="2565" />
+<TGConnectingPoint num="13" id="2566" />
+<TGConnectingPoint num="14" id="2567" />
+<TGConnectingPoint num="15" id="2568" />
+<TGConnectingPoint num="16" id="2569" />
+<TGConnectingPoint num="17" id="2570" />
+<TGConnectingPoint num="18" id="2571" />
+<TGConnectingPoint num="19" id="2572" />
+<TGConnectingPoint num="20" id="2573" />
+<TGConnectingPoint num="21" id="2574" />
+<TGConnectingPoint num="22" id="2575" />
+<TGConnectingPoint num="23" id="2576" />
+<TGConnectingPoint num="24" id="2577" />
+<TGConnectingPoint num="25" id="2578" />
+<TGConnectingPoint num="26" id="2579" />
+<TGConnectingPoint num="27" id="2580" />
+<TGConnectingPoint num="28" id="2581" />
+<TGConnectingPoint num="29" id="2582" />
+<TGConnectingPoint num="30" id="2583" />
+<TGConnectingPoint num="31" id="2584" />
+<TGConnectingPoint num="32" id="2585" />
+<TGConnectingPoint num="33" id="2586" />
+<TGConnectingPoint num="34" id="2587" />
+<TGConnectingPoint num="35" id="2588" />
+<TGConnectingPoint num="36" id="2589" />
+<TGConnectingPoint num="37" id="2590" />
+<TGConnectingPoint num="38" id="2591" />
+<TGConnectingPoint num="39" id="2592" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2634" >
+<cdparam x="336" y="233" />
 <sizeparam width="142" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="messageDecrypt" />
-<TGConnectingPoint num="0" id="3361" />
-<TGConnectingPoint num="1" id="3362" />
-<TGConnectingPoint num="2" id="3363" />
-<TGConnectingPoint num="3" id="3364" />
-<TGConnectingPoint num="4" id="3365" />
-<TGConnectingPoint num="5" id="3366" />
-<TGConnectingPoint num="6" id="3367" />
-<TGConnectingPoint num="7" id="3368" />
-<TGConnectingPoint num="8" id="3369" />
-<TGConnectingPoint num="9" id="3370" />
-<TGConnectingPoint num="10" id="3371" />
-<TGConnectingPoint num="11" id="3372" />
-<TGConnectingPoint num="12" id="3373" />
-<TGConnectingPoint num="13" id="3374" />
-<TGConnectingPoint num="14" id="3375" />
-<TGConnectingPoint num="15" id="3376" />
-<TGConnectingPoint num="16" id="3377" />
-<TGConnectingPoint num="17" id="3378" />
-<TGConnectingPoint num="18" id="3379" />
-<TGConnectingPoint num="19" id="3380" />
-<TGConnectingPoint num="20" id="3381" />
-<TGConnectingPoint num="21" id="3382" />
-<TGConnectingPoint num="22" id="3383" />
-<TGConnectingPoint num="23" id="3384" />
-<TGConnectingPoint num="24" id="3385" />
-<TGConnectingPoint num="25" id="3386" />
-<TGConnectingPoint num="26" id="3387" />
-<TGConnectingPoint num="27" id="3388" />
-<TGConnectingPoint num="28" id="3389" />
-<TGConnectingPoint num="29" id="3390" />
-<TGConnectingPoint num="30" id="3391" />
-<TGConnectingPoint num="31" id="3392" />
-<TGConnectingPoint num="32" id="3393" />
-<TGConnectingPoint num="33" id="3394" />
-<TGConnectingPoint num="34" id="3395" />
-<TGConnectingPoint num="35" id="3396" />
-<TGConnectingPoint num="36" id="3397" />
-<TGConnectingPoint num="37" id="3398" />
-<TGConnectingPoint num="38" id="3399" />
-<TGConnectingPoint num="39" id="3400" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="3412" >
-<cdparam x="374" y="429" />
+<TGConnectingPoint num="0" id="2594" />
+<TGConnectingPoint num="1" id="2595" />
+<TGConnectingPoint num="2" id="2596" />
+<TGConnectingPoint num="3" id="2597" />
+<TGConnectingPoint num="4" id="2598" />
+<TGConnectingPoint num="5" id="2599" />
+<TGConnectingPoint num="6" id="2600" />
+<TGConnectingPoint num="7" id="2601" />
+<TGConnectingPoint num="8" id="2602" />
+<TGConnectingPoint num="9" id="2603" />
+<TGConnectingPoint num="10" id="2604" />
+<TGConnectingPoint num="11" id="2605" />
+<TGConnectingPoint num="12" id="2606" />
+<TGConnectingPoint num="13" id="2607" />
+<TGConnectingPoint num="14" id="2608" />
+<TGConnectingPoint num="15" id="2609" />
+<TGConnectingPoint num="16" id="2610" />
+<TGConnectingPoint num="17" id="2611" />
+<TGConnectingPoint num="18" id="2612" />
+<TGConnectingPoint num="19" id="2613" />
+<TGConnectingPoint num="20" id="2614" />
+<TGConnectingPoint num="21" id="2615" />
+<TGConnectingPoint num="22" id="2616" />
+<TGConnectingPoint num="23" id="2617" />
+<TGConnectingPoint num="24" id="2618" />
+<TGConnectingPoint num="25" id="2619" />
+<TGConnectingPoint num="26" id="2620" />
+<TGConnectingPoint num="27" id="2621" />
+<TGConnectingPoint num="28" id="2622" />
+<TGConnectingPoint num="29" id="2623" />
+<TGConnectingPoint num="30" id="2624" />
+<TGConnectingPoint num="31" id="2625" />
+<TGConnectingPoint num="32" id="2626" />
+<TGConnectingPoint num="33" id="2627" />
+<TGConnectingPoint num="34" id="2628" />
+<TGConnectingPoint num="35" id="2629" />
+<TGConnectingPoint num="36" id="2630" />
+<TGConnectingPoint num="37" id="2631" />
+<TGConnectingPoint num="38" id="2632" />
+<TGConnectingPoint num="39" id="2633" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="2645" >
+<cdparam x="372" y="176" />
 <sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="chin(m2)" />
-<TGConnectingPoint num="0" id="3402" />
-<TGConnectingPoint num="1" id="3403" />
-<TGConnectingPoint num="2" id="3404" />
-<TGConnectingPoint num="3" id="3405" />
-<TGConnectingPoint num="4" id="3406" />
-<TGConnectingPoint num="5" id="3407" />
-<TGConnectingPoint num="6" id="3408" />
-<TGConnectingPoint num="7" id="3409" />
-<TGConnectingPoint num="8" id="3410" />
-<TGConnectingPoint num="9" id="3411" />
+<TGConnectingPoint num="0" id="2635" />
+<TGConnectingPoint num="1" id="2636" />
+<TGConnectingPoint num="2" id="2637" />
+<TGConnectingPoint num="3" id="2638" />
+<TGConnectingPoint num="4" id="2639" />
+<TGConnectingPoint num="5" id="2640" />
+<TGConnectingPoint num="6" id="2641" />
+<TGConnectingPoint num="7" id="2642" />
+<TGConnectingPoint num="8" id="2643" />
+<TGConnectingPoint num="9" id="2644" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="3453" >
-<cdparam x="342" y="354" />
+<COMPONENT type="5106" id="2686" >
+<cdparam x="340" y="101" />
 <sizeparam width="132" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="state0" value="waitingForMessage" />
-<TGConnectingPoint num="0" id="3413" />
-<TGConnectingPoint num="1" id="3414" />
-<TGConnectingPoint num="2" id="3415" />
-<TGConnectingPoint num="3" id="3416" />
-<TGConnectingPoint num="4" id="3417" />
-<TGConnectingPoint num="5" id="3418" />
-<TGConnectingPoint num="6" id="3419" />
-<TGConnectingPoint num="7" id="3420" />
-<TGConnectingPoint num="8" id="3421" />
-<TGConnectingPoint num="9" id="3422" />
-<TGConnectingPoint num="10" id="3423" />
-<TGConnectingPoint num="11" id="3424" />
-<TGConnectingPoint num="12" id="3425" />
-<TGConnectingPoint num="13" id="3426" />
-<TGConnectingPoint num="14" id="3427" />
-<TGConnectingPoint num="15" id="3428" />
-<TGConnectingPoint num="16" id="3429" />
-<TGConnectingPoint num="17" id="3430" />
-<TGConnectingPoint num="18" id="3431" />
-<TGConnectingPoint num="19" id="3432" />
-<TGConnectingPoint num="20" id="3433" />
-<TGConnectingPoint num="21" id="3434" />
-<TGConnectingPoint num="22" id="3435" />
-<TGConnectingPoint num="23" id="3436" />
-<TGConnectingPoint num="24" id="3437" />
-<TGConnectingPoint num="25" id="3438" />
-<TGConnectingPoint num="26" id="3439" />
-<TGConnectingPoint num="27" id="3440" />
-<TGConnectingPoint num="28" id="3441" />
-<TGConnectingPoint num="29" id="3442" />
-<TGConnectingPoint num="30" id="3443" />
-<TGConnectingPoint num="31" id="3444" />
-<TGConnectingPoint num="32" id="3445" />
-<TGConnectingPoint num="33" id="3446" />
-<TGConnectingPoint num="34" id="3447" />
-<TGConnectingPoint num="35" id="3448" />
-<TGConnectingPoint num="36" id="3449" />
-<TGConnectingPoint num="37" id="3450" />
-<TGConnectingPoint num="38" id="3451" />
-<TGConnectingPoint num="39" id="3452" />
+<TGConnectingPoint num="0" id="2646" />
+<TGConnectingPoint num="1" id="2647" />
+<TGConnectingPoint num="2" id="2648" />
+<TGConnectingPoint num="3" id="2649" />
+<TGConnectingPoint num="4" id="2650" />
+<TGConnectingPoint num="5" id="2651" />
+<TGConnectingPoint num="6" id="2652" />
+<TGConnectingPoint num="7" id="2653" />
+<TGConnectingPoint num="8" id="2654" />
+<TGConnectingPoint num="9" id="2655" />
+<TGConnectingPoint num="10" id="2656" />
+<TGConnectingPoint num="11" id="2657" />
+<TGConnectingPoint num="12" id="2658" />
+<TGConnectingPoint num="13" id="2659" />
+<TGConnectingPoint num="14" id="2660" />
+<TGConnectingPoint num="15" id="2661" />
+<TGConnectingPoint num="16" id="2662" />
+<TGConnectingPoint num="17" id="2663" />
+<TGConnectingPoint num="18" id="2664" />
+<TGConnectingPoint num="19" id="2665" />
+<TGConnectingPoint num="20" id="2666" />
+<TGConnectingPoint num="21" id="2667" />
+<TGConnectingPoint num="22" id="2668" />
+<TGConnectingPoint num="23" id="2669" />
+<TGConnectingPoint num="24" id="2670" />
+<TGConnectingPoint num="25" id="2671" />
+<TGConnectingPoint num="26" id="2672" />
+<TGConnectingPoint num="27" id="2673" />
+<TGConnectingPoint num="28" id="2674" />
+<TGConnectingPoint num="29" id="2675" />
+<TGConnectingPoint num="30" id="2676" />
+<TGConnectingPoint num="31" id="2677" />
+<TGConnectingPoint num="32" id="2678" />
+<TGConnectingPoint num="33" id="2679" />
+<TGConnectingPoint num="34" id="2680" />
+<TGConnectingPoint num="35" id="2681" />
+<TGConnectingPoint num="36" id="2682" />
+<TGConnectingPoint num="37" id="2683" />
+<TGConnectingPoint num="38" id="2684" />
+<TGConnectingPoint num="39" id="2685" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5100" id="3455" >
+<COMPONENT type="5100" id="2688" >
 <cdparam x="400" y="50" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3454" />
+<TGConnectingPoint num="0" id="2687" />
 </COMPONENT>
 
 
@@ -10393,7 +8869,7 @@ the smart card and the terminal
 
 
 
-<Modeling type="AVATAR Design" nameTab="DHWithCertificateSecurityProtocol" >
+<Modeling type="AVATAR Design" nameTab="DHSecurityProtocol" >
 <AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
 <MainCode value="void __user_init() {"/>
 <MainCode value="}"/>
@@ -10401,299 +8877,184 @@ the smart card and the terminal
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="5002" id="3461" >
+<CONNECTOR type="5002" id="2694" >
 <cdparam x="568" y="220" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from Block0 to Block0" value="" />
-<TGConnectingPoint num="0" id="3458" />
-<TGConnectingPoint num="1" id="3459" />
-<TGConnectingPoint num="2" id="3460" />
-<P1  x="459" y="106" id="3601" />
-<P2  x="459" y="192" id="3594" />
-<Point x="492" y="119" />
-<Point x="492" y="174" />
+<TGConnectingPoint num="0" id="2691" />
+<TGConnectingPoint num="1" id="2692" />
+<TGConnectingPoint num="2" id="2693" />
+<P1  x="459" y="199" id="2791" />
+<P2  x="459" y="254" id="2784" />
+<Point x="490" y="199" />
+<Point x="490" y="254" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <iso value="in chin(Message msg)" />
 <osd value="out chout(Message msg)" />
 <FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" />
 </extraparam>
-</CONNECTOR><SUBCOMPONENT type="-1" id="3456" >
-<father id="3461" num="0" />
-<cdparam x="492" y="119" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2689" >
+<father id="2694" num="0" />
+<cdparam x="490" y="199" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3457" >
-<father id="3461" num="1" />
-<cdparam x="492" y="174" />
+<SUBCOMPONENT type="-1" id="2690" >
+<father id="2694" num="1" />
+<cdparam x="490" y="254" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<COMPONENT type="5003" id="3470" >
-<cdparam x="450" y="340" />
-<sizeparam width="200" height="100" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="DataType0" value="Key" />
-<TGConnectingPoint num="0" id="3462" />
-<TGConnectingPoint num="1" id="3463" />
-<TGConnectingPoint num="2" id="3464" />
-<TGConnectingPoint num="3" id="3465" />
-<TGConnectingPoint num="4" id="3466" />
-<TGConnectingPoint num="5" id="3467" />
-<TGConnectingPoint num="6" id="3468" />
-<TGConnectingPoint num="7" id="3469" />
-<extraparam>
-<Attribute access="2" id="data" value="0" type="8" typeOther="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5003" id="3479" >
-<cdparam x="50" y="340" />
-<sizeparam width="200" height="100" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="DataType0" value="Message" />
-<TGConnectingPoint num="0" id="3471" />
-<TGConnectingPoint num="1" id="3472" />
-<TGConnectingPoint num="2" id="3473" />
-<TGConnectingPoint num="3" id="3474" />
-<TGConnectingPoint num="4" id="3475" />
-<TGConnectingPoint num="5" id="3476" />
-<TGConnectingPoint num="6" id="3477" />
-<TGConnectingPoint num="7" id="3478" />
-<extraparam>
-<Attribute access="2" id="data" value="0" type="8" typeOther="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="302" id="3496" >
-<cdparam x="566" y="97" />
-<sizeparam width="520" height="188" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+
+<COMPONENT type="302" id="2711" >
+<cdparam x="517" y="154" />
+<sizeparam width="520" height="110" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Proverif Pragma" value="#PrivatePublicKeys InterfaceDevice privK pubK
 #PrivatePublicKeys SmartCard privK pubK
-#PrivatePublicKeys CA privK pubK
-#InitialSystemKnowledge SmartCard.interfaceDeviceID CA.interfaceDeviceID
-#InitialSystemKnowledge InterfaceDevice.smartCardID CA.smartCardID
-#InitialSystemKnowledge InterfaceDevice.pubK CA.interfaceDevicePubK
-#InitialSystemKnowledge SmartCard.pubK CA.smartCardPubK
-#InitialSystemKnowledge CA.pubK SmartCard.CAPubK InterfaceDevice.CAPubK
 
 #Confidentiality InterfaceDevice.secretData
 #Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
 " />
-<TGConnectingPoint num="0" id="3480" />
-<TGConnectingPoint num="1" id="3481" />
-<TGConnectingPoint num="2" id="3482" />
-<TGConnectingPoint num="3" id="3483" />
-<TGConnectingPoint num="4" id="3484" />
-<TGConnectingPoint num="5" id="3485" />
-<TGConnectingPoint num="6" id="3486" />
-<TGConnectingPoint num="7" id="3487" />
-<TGConnectingPoint num="8" id="3488" />
-<TGConnectingPoint num="9" id="3489" />
-<TGConnectingPoint num="10" id="3490" />
-<TGConnectingPoint num="11" id="3491" />
-<TGConnectingPoint num="12" id="3492" />
-<TGConnectingPoint num="13" id="3493" />
-<TGConnectingPoint num="14" id="3494" />
-<TGConnectingPoint num="15" id="3495" />
+<TGConnectingPoint num="0" id="2695" />
+<TGConnectingPoint num="1" id="2696" />
+<TGConnectingPoint num="2" id="2697" />
+<TGConnectingPoint num="3" id="2698" />
+<TGConnectingPoint num="4" id="2699" />
+<TGConnectingPoint num="5" id="2700" />
+<TGConnectingPoint num="6" id="2701" />
+<TGConnectingPoint num="7" id="2702" />
+<TGConnectingPoint num="8" id="2703" />
+<TGConnectingPoint num="9" id="2704" />
+<TGConnectingPoint num="10" id="2705" />
+<TGConnectingPoint num="11" id="2706" />
+<TGConnectingPoint num="12" id="2707" />
+<TGConnectingPoint num="13" id="2708" />
+<TGConnectingPoint num="14" id="2709" />
+<TGConnectingPoint num="15" id="2710" />
 <extraparam>
 <Line value="#PrivatePublicKeys InterfaceDevice privK pubK" />
 <Line value="#PrivatePublicKeys SmartCard privK pubK" />
-<Line value="#PrivatePublicKeys CA privK pubK" />
-<Line value="#InitialSystemKnowledge SmartCard.interfaceDeviceID CA.interfaceDeviceID" />
-<Line value="#InitialSystemKnowledge InterfaceDevice.smartCardID CA.smartCardID" />
-<Line value="#InitialSystemKnowledge InterfaceDevice.pubK CA.interfaceDevicePubK" />
-<Line value="#InitialSystemKnowledge SmartCard.pubK CA.smartCardPubK" />
-<Line value="#InitialSystemKnowledge CA.pubK SmartCard.CAPubK InterfaceDevice.CAPubK" />
 <Line value="" />
 <Line value="#Confidentiality InterfaceDevice.secretData" />
 <Line value="#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="3505" >
+<COMPONENT type="5003" id="2720" >
 <cdparam x="260" y="373" />
 <sizeparam width="129" height="61" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Message" />
-<TGConnectingPoint num="0" id="3497" />
-<TGConnectingPoint num="1" id="3498" />
-<TGConnectingPoint num="2" id="3499" />
-<TGConnectingPoint num="3" id="3500" />
-<TGConnectingPoint num="4" id="3501" />
-<TGConnectingPoint num="5" id="3502" />
-<TGConnectingPoint num="6" id="3503" />
-<TGConnectingPoint num="7" id="3504" />
+<TGConnectingPoint num="0" id="2712" />
+<TGConnectingPoint num="1" id="2713" />
+<TGConnectingPoint num="2" id="2714" />
+<TGConnectingPoint num="3" id="2715" />
+<TGConnectingPoint num="4" id="2716" />
+<TGConnectingPoint num="5" id="2717" />
+<TGConnectingPoint num="6" id="2718" />
+<TGConnectingPoint num="7" id="2719" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="3514" >
+<COMPONENT type="5003" id="2729" >
 <cdparam x="68" y="372" />
 <sizeparam width="123" height="62" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="DataType0" value="Key" />
-<TGConnectingPoint num="0" id="3506" />
-<TGConnectingPoint num="1" id="3507" />
-<TGConnectingPoint num="2" id="3508" />
-<TGConnectingPoint num="3" id="3509" />
-<TGConnectingPoint num="4" id="3510" />
-<TGConnectingPoint num="5" id="3511" />
-<TGConnectingPoint num="6" id="3512" />
-<TGConnectingPoint num="7" id="3513" />
+<TGConnectingPoint num="0" id="2721" />
+<TGConnectingPoint num="1" id="2722" />
+<TGConnectingPoint num="2" id="2723" />
+<TGConnectingPoint num="3" id="2724" />
+<TGConnectingPoint num="4" id="2725" />
+<TGConnectingPoint num="5" id="2726" />
+<TGConnectingPoint num="6" id="2727" />
+<TGConnectingPoint num="7" id="2728" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="3614" >
-<cdparam x="21" y="20" />
-<sizeparam width="438" height="344" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5000" id="2804" >
+<cdparam x="21" y="145" />
+<sizeparam width="438" height="219" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Block0" value="System" />
-<TGConnectingPoint num="0" id="3590" />
-<TGConnectingPoint num="1" id="3591" />
-<TGConnectingPoint num="2" id="3592" />
-<TGConnectingPoint num="3" id="3593" />
-<TGConnectingPoint num="4" id="3594" />
-<TGConnectingPoint num="5" id="3595" />
-<TGConnectingPoint num="6" id="3596" />
-<TGConnectingPoint num="7" id="3597" />
-<TGConnectingPoint num="8" id="3598" />
-<TGConnectingPoint num="9" id="3599" />
-<TGConnectingPoint num="10" id="3600" />
-<TGConnectingPoint num="11" id="3601" />
-<TGConnectingPoint num="12" id="3602" />
-<TGConnectingPoint num="13" id="3603" />
-<TGConnectingPoint num="14" id="3604" />
-<TGConnectingPoint num="15" id="3605" />
-<TGConnectingPoint num="16" id="3606" />
-<TGConnectingPoint num="17" id="3607" />
-<TGConnectingPoint num="18" id="3608" />
-<TGConnectingPoint num="19" id="3609" />
-<TGConnectingPoint num="20" id="3610" />
-<TGConnectingPoint num="21" id="3611" />
-<TGConnectingPoint num="22" id="3612" />
-<TGConnectingPoint num="23" id="3613" />
+<TGConnectingPoint num="0" id="2780" />
+<TGConnectingPoint num="1" id="2781" />
+<TGConnectingPoint num="2" id="2782" />
+<TGConnectingPoint num="3" id="2783" />
+<TGConnectingPoint num="4" id="2784" />
+<TGConnectingPoint num="5" id="2785" />
+<TGConnectingPoint num="6" id="2786" />
+<TGConnectingPoint num="7" id="2787" />
+<TGConnectingPoint num="8" id="2788" />
+<TGConnectingPoint num="9" id="2789" />
+<TGConnectingPoint num="10" id="2790" />
+<TGConnectingPoint num="11" id="2791" />
+<TGConnectingPoint num="12" id="2792" />
+<TGConnectingPoint num="13" id="2793" />
+<TGConnectingPoint num="14" id="2794" />
+<TGConnectingPoint num="15" id="2795" />
+<TGConnectingPoint num="16" id="2796" />
+<TGConnectingPoint num="17" id="2797" />
+<TGConnectingPoint num="18" id="2798" />
+<TGConnectingPoint num="19" id="2799" />
+<TGConnectingPoint num="20" id="2800" />
+<TGConnectingPoint num="21" id="2801" />
+<TGConnectingPoint num="22" id="2802" />
+<TGConnectingPoint num="23" id="2803" />
 <extraparam>
+<blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 <Signal value="in chin(Message msg)" attached="true" />
 <Signal value="out chout(Message msg)" attached="true" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="5000" id="3539" >
-<father id="3614" num="0" />
-<cdparam x="115" y="249" />
-<sizeparam width="261" height="83" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="177" minY="0" maxY="261" />
-<infoparam name="Block0" value="CA" />
-<TGConnectingPoint num="0" id="3515" />
-<TGConnectingPoint num="1" id="3516" />
-<TGConnectingPoint num="2" id="3517" />
-<TGConnectingPoint num="3" id="3518" />
-<TGConnectingPoint num="4" id="3519" />
-<TGConnectingPoint num="5" id="3520" />
-<TGConnectingPoint num="6" id="3521" />
-<TGConnectingPoint num="7" id="3522" />
-<TGConnectingPoint num="8" id="3523" />
-<TGConnectingPoint num="9" id="3524" />
-<TGConnectingPoint num="10" id="3525" />
-<TGConnectingPoint num="11" id="3526" />
-<TGConnectingPoint num="12" id="3527" />
-<TGConnectingPoint num="13" id="3528" />
-<TGConnectingPoint num="14" id="3529" />
-<TGConnectingPoint num="15" id="3530" />
-<TGConnectingPoint num="16" id="3531" />
-<TGConnectingPoint num="17" id="3532" />
-<TGConnectingPoint num="18" id="3533" />
-<TGConnectingPoint num="19" id="3534" />
-<TGConnectingPoint num="20" id="3535" />
-<TGConnectingPoint num="21" id="3536" />
-<TGConnectingPoint num="22" id="3537" />
-<TGConnectingPoint num="23" id="3538" />
-<extraparam>
-<CryptoBlock value="true" />
-<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="newK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="newCert" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="newID" value="" type="8" typeOther="" />
-<Attribute access="0" id="interfaceDevicePubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="smartCardPubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="interfaceDeviceID" value="" type="8" typeOther="" />
-<Attribute access="0" id="smartCardID" value="" type="8" typeOther="" />
-<Method value="Message aencrypt(Message msg, Key k)" />
-<Method value="Message adecrypt(Message msg, Key k)" />
-<Method value="Key pk(Key k)" />
-<Method value="Message sign(Message msg, Key k)" />
-<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
-<Method value="Message cert(Key k, Message msg)" />
-<Method value="bool verifyCert(Message cert, Key k)" />
-<Method value="Key getpk(Message cert)" />
-<Method value="Message sencrypt(Message msg, Key k)" />
-<Method value="Message sdecrypt(Message msg, Key k)" />
-<Method value="Key DH(Key pubK, Key privK)" />
-<Method value="Message hash(Message msg)" />
-<Method value="Message MAC(Message msg, Key k)" />
-<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
-<Method value="Message concat2(Message msg1, Message msg2)" />
-<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
-<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
-<Method value="get2(Message msg, Message msg1, Message msg2)" />
-<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
-<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="3564" >
-<father id="3614" num="1" />
-<cdparam x="36" y="108" />
+<SUBCOMPONENT type="5000" id="2754" >
+<father id="2804" num="0" />
+<cdparam x="36" y="233" />
 <sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="223" minY="0" maxY="218" />
+<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
 <infoparam name="Block0" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="3540" />
-<TGConnectingPoint num="1" id="3541" />
-<TGConnectingPoint num="2" id="3542" />
-<TGConnectingPoint num="3" id="3543" />
-<TGConnectingPoint num="4" id="3544" />
-<TGConnectingPoint num="5" id="3545" />
-<TGConnectingPoint num="6" id="3546" />
-<TGConnectingPoint num="7" id="3547" />
-<TGConnectingPoint num="8" id="3548" />
-<TGConnectingPoint num="9" id="3549" />
-<TGConnectingPoint num="10" id="3550" />
-<TGConnectingPoint num="11" id="3551" />
-<TGConnectingPoint num="12" id="3552" />
-<TGConnectingPoint num="13" id="3553" />
-<TGConnectingPoint num="14" id="3554" />
-<TGConnectingPoint num="15" id="3555" />
-<TGConnectingPoint num="16" id="3556" />
-<TGConnectingPoint num="17" id="3557" />
-<TGConnectingPoint num="18" id="3558" />
-<TGConnectingPoint num="19" id="3559" />
-<TGConnectingPoint num="20" id="3560" />
-<TGConnectingPoint num="21" id="3561" />
-<TGConnectingPoint num="22" id="3562" />
-<TGConnectingPoint num="23" id="3563" />
+<TGConnectingPoint num="0" id="2730" />
+<TGConnectingPoint num="1" id="2731" />
+<TGConnectingPoint num="2" id="2732" />
+<TGConnectingPoint num="3" id="2733" />
+<TGConnectingPoint num="4" id="2734" />
+<TGConnectingPoint num="5" id="2735" />
+<TGConnectingPoint num="6" id="2736" />
+<TGConnectingPoint num="7" id="2737" />
+<TGConnectingPoint num="8" id="2738" />
+<TGConnectingPoint num="9" id="2739" />
+<TGConnectingPoint num="10" id="2740" />
+<TGConnectingPoint num="11" id="2741" />
+<TGConnectingPoint num="12" id="2742" />
+<TGConnectingPoint num="13" id="2743" />
+<TGConnectingPoint num="14" id="2744" />
+<TGConnectingPoint num="15" id="2745" />
+<TGConnectingPoint num="16" id="2746" />
+<TGConnectingPoint num="17" id="2747" />
+<TGConnectingPoint num="18" id="2748" />
+<TGConnectingPoint num="19" id="2749" />
+<TGConnectingPoint num="20" id="2750" />
+<TGConnectingPoint num="21" id="2751" />
+<TGConnectingPoint num="22" id="2752" />
+<TGConnectingPoint num="23" id="2753" />
 <extraparam>
+<blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
 <Attribute access="0" id="secretData" value="" type="8" typeOther="" />
 <Attribute access="0" id="m" value="" type="5" typeOther="Message" />
@@ -10701,12 +9062,7 @@ the smart card and the terminal
 <Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sig" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="certOK" value="" type="4" typeOther="" />
-<Attribute access="0" id="smartCardID" value="" type="8" typeOther="" />
-<Attribute access="0" id="smartCardPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="bobPubK" value="" type="5" typeOther="Key" />
 <Method value="Message encrypt(Message msg, Key k)" />
 <Method value="Message decrypt(Message msg, Key k)" />
 <Method value="Message sencrypt(Message msg, Key k)" />
@@ -10731,38 +9087,39 @@ the smart card and the terminal
 <Method value="Message hash(Message msg)" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="3589" >
-<father id="3614" num="2" />
-<cdparam x="263" y="108" />
+<SUBCOMPONENT type="5000" id="2779" >
+<father id="2804" num="1" />
+<cdparam x="263" y="233" />
 <sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="299" minY="0" maxY="218" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
 <infoparam name="Block0" value="SmartCard" />
-<TGConnectingPoint num="0" id="3565" />
-<TGConnectingPoint num="1" id="3566" />
-<TGConnectingPoint num="2" id="3567" />
-<TGConnectingPoint num="3" id="3568" />
-<TGConnectingPoint num="4" id="3569" />
-<TGConnectingPoint num="5" id="3570" />
-<TGConnectingPoint num="6" id="3571" />
-<TGConnectingPoint num="7" id="3572" />
-<TGConnectingPoint num="8" id="3573" />
-<TGConnectingPoint num="9" id="3574" />
-<TGConnectingPoint num="10" id="3575" />
-<TGConnectingPoint num="11" id="3576" />
-<TGConnectingPoint num="12" id="3577" />
-<TGConnectingPoint num="13" id="3578" />
-<TGConnectingPoint num="14" id="3579" />
-<TGConnectingPoint num="15" id="3580" />
-<TGConnectingPoint num="16" id="3581" />
-<TGConnectingPoint num="17" id="3582" />
-<TGConnectingPoint num="18" id="3583" />
-<TGConnectingPoint num="19" id="3584" />
-<TGConnectingPoint num="20" id="3585" />
-<TGConnectingPoint num="21" id="3586" />
-<TGConnectingPoint num="22" id="3587" />
-<TGConnectingPoint num="23" id="3588" />
+<TGConnectingPoint num="0" id="2755" />
+<TGConnectingPoint num="1" id="2756" />
+<TGConnectingPoint num="2" id="2757" />
+<TGConnectingPoint num="3" id="2758" />
+<TGConnectingPoint num="4" id="2759" />
+<TGConnectingPoint num="5" id="2760" />
+<TGConnectingPoint num="6" id="2761" />
+<TGConnectingPoint num="7" id="2762" />
+<TGConnectingPoint num="8" id="2763" />
+<TGConnectingPoint num="9" id="2764" />
+<TGConnectingPoint num="10" id="2765" />
+<TGConnectingPoint num="11" id="2766" />
+<TGConnectingPoint num="12" id="2767" />
+<TGConnectingPoint num="13" id="2768" />
+<TGConnectingPoint num="14" id="2769" />
+<TGConnectingPoint num="15" id="2770" />
+<TGConnectingPoint num="16" id="2771" />
+<TGConnectingPoint num="17" id="2772" />
+<TGConnectingPoint num="18" id="2773" />
+<TGConnectingPoint num="19" id="2774" />
+<TGConnectingPoint num="20" id="2775" />
+<TGConnectingPoint num="21" id="2776" />
+<TGConnectingPoint num="22" id="2777" />
+<TGConnectingPoint num="23" id="2778" />
 <extraparam>
+<blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
 <Attribute access="0" id="m" value="" type="5" typeOther="Message" />
 <Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
@@ -10771,12 +9128,6 @@ the smart card and the terminal
 <Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
 <Attribute access="0" id="alicePubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="sig" value="" type="5" typeOther="Message" />
-<Attribute access="0" id="certOK" value="" type="4" typeOther="" />
-<Attribute access="0" id="interfaceDeviceID" value="" type="8" typeOther="" />
-<Attribute access="0" id="interfaceDevicePubK" value="" type="5" typeOther="Key" />
 <Method value="Message encrypt(Message msg, Key k)" />
 <Method value="Message decrypt(Message msg, Key k)" />
 <Method value="Message sencrypt(Message msg, Key k)" />
@@ -10805,2254 +9156,3072 @@ the smart card and the terminal
 
 </AVATARBlockDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="System" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3616" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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" />
-<TGConnectingPoint num="0" id="3615" />
-</COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3618" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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" />
-<TGConnectingPoint num="0" id="3617" />
-</COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3620" >
-<cdparam x="400" y="50" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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" />
-<TGConnectingPoint num="0" id="3619" />
-</COMPONENT>
-
-
-</AVATARStateMachineDiagramPanel>
-
-<AVATARStateMachineDiagramPanel name="CA" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3622" >
+<AVATARStateMachineDiagramPanel name="System" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="5100" id="2806" >
 <cdparam x="400" y="50" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="3621" />
+<TGConnectingPoint num="0" id="2805" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-</Modeling>
-
-
-
-
-<Modeling type="Sysmlsec Methodology" nameTab="SysMLSec_Methodology" >
-<SysmlsecMethodologyDiagramPanel name="SysMLSec_Methodology" minX="10" maxX="2000" minY="10" maxY="1200" zoom="0.8000000000000002" >
-<COMPONENT type="5705" id="3627" >
-<cdparam x="520" y="400" />
-<sizeparam width="144" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Properties" />
-<TGConnectingPoint num="0" id="3623" />
-<TGConnectingPoint num="1" id="3624" />
-<TGConnectingPoint num="2" id="3625" />
-<TGConnectingPoint num="3" id="3626" />
-</COMPONENT>
-
-<COMPONENT type="5706" id="3632" >
-<cdparam x="880" y="480" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Prototyping" />
-<TGConnectingPoint num="0" id="3628" />
-<TGConnectingPoint num="1" id="3629" />
-<TGConnectingPoint num="2" id="3630" />
-<TGConnectingPoint num="3" id="3631" />
-</COMPONENT>
-
-<COMPONENT type="5704" id="3641" >
-<cdparam x="800" y="400" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Design" />
-<TGConnectingPoint num="0" id="3636" />
-<TGConnectingPoint num="1" id="3637" />
-<TGConnectingPoint num="2" id="3638" />
-<TGConnectingPoint num="3" id="3639" />
-<TGConnectingPoint num="4" id="3640" />
-</COMPONENT>
-<SUBCOMPONENT type="5707" id="3633" >
-<father id="3641" num="0" />
-<cdparam x="804" y="432" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="1005" maxX="1005" minY="540" maxY="540" />
-<infoparam name="value " value="BasicSecurityProtocol" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3634" >
-<father id="3641" num="1" />
-<cdparam x="804" y="444" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="1005" maxX="1005" minY="555" maxY="555" />
-<infoparam name="value " value="DHSecurityProtocol" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3635" >
-<father id="3641" num="2" />
-<cdparam x="804" y="456" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="2813" >
+<cdparam x="418" y="632" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="2812" />
+<P1  x="418" y="632" id="2980" />
+<P2  x="422" y="677" id="3016" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2811" >
+<father id="2813" num="0" />
+<cdparam x="433" y="656" />
+<sizeparam width="135" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1005" maxX="1005" minY="570" maxY="570" />
-<infoparam name="value " value="DHWithCertificateSecurityProtocol" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2807" />
+<TGConnectingPoint num="1" id="2808" />
+<TGConnectingPoint num="2" id="2809" />
+<TGConnectingPoint num="3" id="2810" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+<actions value="receivedData = m.data" />
+</extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5703" id="3647" >
-<cdparam x="720" y="320" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="5102" id="2820" >
+<cdparam x="409" y="526" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="2819" />
+<P1  x="409" y="526" id="3062" />
+<P2  x="418" y="592" id="2975" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2818" >
+<father id="2820" num="0" />
+<cdparam x="431" y="551" />
+<sizeparam width="151" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Analysis" />
-<TGConnectingPoint num="0" id="3642" />
-<TGConnectingPoint num="1" id="3643" />
-<TGConnectingPoint num="2" id="3644" />
-<TGConnectingPoint num="3" id="3645" />
-<TGConnectingPoint num="4" id="3646" />
-</COMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2814" />
+<TGConnectingPoint num="1" id="2815" />
+<TGConnectingPoint num="2" id="2816" />
+<TGConnectingPoint num="3" id="2817" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+<actions value="sk = DH(alicePubK, privK)" />
+<actions value="m = sdecrypt(m2, sk)" />
+</extraparam>
+</SUBCOMPONENT>
 
-<COMPONENT type="5711" id="3652" >
-<cdparam x="709" y="80" />
-<sizeparam width="181" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="5102" id="2827" >
+<cdparam x="408" y="454" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from Send signal to state0" value="null" />
+<TGConnectingPoint num="0" id="2826" />
+<P1  x="408" y="454" id="3098" />
+<P2  x="409" y="486" id="3057" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2825" >
+<father id="2827" num="0" />
+<cdparam x="408" y="494" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Communication pattern" />
-<TGConnectingPoint num="0" id="3648" />
-<TGConnectingPoint num="1" id="3649" />
-<TGConnectingPoint num="2" id="3650" />
-<TGConnectingPoint num="3" id="3651" />
-</COMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2821" />
+<TGConnectingPoint num="1" id="2822" />
+<TGConnectingPoint num="2" id="2823" />
+<TGConnectingPoint num="3" id="2824" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
+</SUBCOMPONENT>
 
-<COMPONENT type="5710" id="3659" >
-<cdparam x="720" y="180" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="5102" id="2834" >
+<cdparam x="408" y="394" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to Send signal" value="null" />
+<TGConnectingPoint num="0" id="2833" />
+<P1  x="408" y="394" id="3114" />
+<P2  x="408" y="424" id="3097" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2832" >
+<father id="2834" num="0" />
+<cdparam x="408" y="434" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Mapping" />
-<TGConnectingPoint num="0" id="3653" />
-<TGConnectingPoint num="1" id="3654" />
-<TGConnectingPoint num="2" id="3655" />
-<TGConnectingPoint num="3" id="3656" />
-<TGConnectingPoint num="4" id="3657" />
-<TGConnectingPoint num="5" id="3658" />
-</COMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2828" />
+<TGConnectingPoint num="1" id="2829" />
+<TGConnectingPoint num="2" id="2830" />
+<TGConnectingPoint num="3" id="2831" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
+</SUBCOMPONENT>
 
-<COMPONENT type="5709" id="3667" >
-<cdparam x="920" y="80" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Architecture view" />
-<TGConnectingPoint num="0" id="3663" />
-<TGConnectingPoint num="1" id="3664" />
-<TGConnectingPoint num="2" id="3665" />
-<TGConnectingPoint num="3" id="3666" />
-</COMPONENT>
-<SUBCOMPONENT type="5707" id="3660" >
-<father id="3667" num="0" />
-<cdparam x="924" y="112" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="5102" id="2841" >
+<cdparam x="407" y="70" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to state0" value="null" />
+<TGConnectingPoint num="0" id="2840" />
+<P1  x="407" y="70" id="3149" />
+<P2  x="407" y="95" id="2934" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2839" >
+<father id="2841" num="0" />
+<cdparam x="407" y="110" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1155" maxX="1155" minY="140" maxY="140" />
-<infoparam name="value " value="Mapping1" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2835" />
+<TGConnectingPoint num="1" id="2836" />
+<TGConnectingPoint num="2" id="2837" />
+<TGConnectingPoint num="3" id="2838" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3661" >
-<father id="3667" num="1" />
-<cdparam x="924" y="124" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="5102" id="2848" >
+<cdparam x="407" y="127" />
+<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="2847" />
+<P1  x="407" y="127" id="2939" />
+<P2  x="407" y="153" id="2922" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2846" >
+<father id="2848" num="0" />
+<cdparam x="428" y="145" />
+<sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1155" maxX="1155" minY="155" maxY="155" />
-<infoparam name="value " value="Mapping2" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2842" />
+<TGConnectingPoint num="1" id="2843" />
+<TGConnectingPoint num="2" id="2844" />
+<TGConnectingPoint num="3" id="2845" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+<actions value="m.data = pubK.data" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3662" >
-<father id="3667" num="2" />
-<cdparam x="924" y="136" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="5102" id="2855" >
+<cdparam x="407" y="183" />
+<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="2854" />
+<P1  x="407" y="183" id="2923" />
+<P2  x="408" y="213" id="2882" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2853" >
+<father id="2855" num="0" />
+<cdparam x="408" y="199" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="1155" maxX="1155" minY="170" maxY="170" />
-<infoparam name="value " value="Mapping2_Sec" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2849" />
+<TGConnectingPoint num="1" id="2850" />
+<TGConnectingPoint num="2" id="2851" />
+<TGConnectingPoint num="3" id="2852" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5713" id="3673" >
-<cdparam x="520" y="80" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Functional view" />
-<TGConnectingPoint num="0" id="3669" />
-<TGConnectingPoint num="1" id="3670" />
-<TGConnectingPoint num="2" id="3671" />
-<TGConnectingPoint num="3" id="3672" />
-</COMPONENT>
-<SUBCOMPONENT type="5707" id="3668" >
-<father id="3673" num="0" />
-<cdparam x="524" y="112" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="5102" id="2862" >
+<cdparam x="409" y="265" />
+<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="2861" />
+<P1  x="408" y="251" id="2887" />
+<P2  x="406" y="285" id="2870" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2860" >
+<father id="2862" num="0" />
+<cdparam x="409" y="281" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="655" maxX="655" minY="140" maxY="140" />
-<infoparam name="value " value="AppC" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2856" />
+<TGConnectingPoint num="1" id="2857" />
+<TGConnectingPoint num="2" id="2858" />
+<TGConnectingPoint num="3" id="2859" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5719" id="3679" >
-<cdparam x="280" y="120" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="5102" id="2869" >
+<cdparam x="410" y="327" />
+<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="2868" />
+<P1  x="406" y="315" id="2871" />
+<P2  x="408" y="354" id="3109" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2867" >
+<father id="2869" num="0" />
+<cdparam x="426" y="337" />
+<sizeparam width="145" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Faults" />
-<TGConnectingPoint num="0" id="3674" />
-<TGConnectingPoint num="1" id="3675" />
-<TGConnectingPoint num="2" id="3676" />
-<TGConnectingPoint num="3" id="3677" />
-<TGConnectingPoint num="4" id="3678" />
-</COMPONENT>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="2863" />
+<TGConnectingPoint num="1" id="2864" />
+<TGConnectingPoint num="2" id="2865" />
+<TGConnectingPoint num="3" id="2866" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+<actions value="alicePubK.data = m.data" />
+</extraparam>
+</SUBCOMPONENT>
 
-<COMPONENT type="5712" id="3686" >
-<cdparam x="280" y="440" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5104" id="2880" >
+<cdparam x="376" y="290" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Attacks" />
-<TGConnectingPoint num="0" id="3681" />
-<TGConnectingPoint num="1" id="3682" />
-<TGConnectingPoint num="2" id="3683" />
-<TGConnectingPoint num="3" id="3684" />
-<TGConnectingPoint num="4" id="3685" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Receive signal" value="chin(m)" />
+<TGConnectingPoint num="0" id="2870" />
+<TGConnectingPoint num="1" id="2871" />
+<TGConnectingPoint num="2" id="2872" />
+<TGConnectingPoint num="3" id="2873" />
+<TGConnectingPoint num="4" id="2874" />
+<TGConnectingPoint num="5" id="2875" />
+<TGConnectingPoint num="6" id="2876" />
+<TGConnectingPoint num="7" id="2877" />
+<TGConnectingPoint num="8" id="2878" />
+<TGConnectingPoint num="9" id="2879" />
 </COMPONENT>
-<SUBCOMPONENT type="5707" id="3680" >
-<father id="3686" num="0" />
-<cdparam x="284" y="472" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="355" maxX="355" minY="590" maxY="590" />
-<infoparam name="value " value="Attack Trees" />
-</SUBCOMPONENT>
 
-<COMPONENT type="5702" id="3696" >
-<cdparam x="280" y="280" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="2921" >
+<cdparam x="347" y="213" />
+<sizeparam width="123" height="38" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Requirements" />
-<TGConnectingPoint num="0" id="3688" />
-<TGConnectingPoint num="1" id="3689" />
-<TGConnectingPoint num="2" id="3690" />
-<TGConnectingPoint num="3" id="3691" />
-<TGConnectingPoint num="4" id="3692" />
-<TGConnectingPoint num="5" id="3693" />
-<TGConnectingPoint num="6" id="3694" />
-<TGConnectingPoint num="7" id="3695" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="State" value="receivingPubK" />
+<TGConnectingPoint num="0" id="2881" />
+<TGConnectingPoint num="1" id="2882" />
+<TGConnectingPoint num="2" id="2883" />
+<TGConnectingPoint num="3" id="2884" />
+<TGConnectingPoint num="4" id="2885" />
+<TGConnectingPoint num="5" id="2886" />
+<TGConnectingPoint num="6" id="2887" />
+<TGConnectingPoint num="7" id="2888" />
+<TGConnectingPoint num="8" id="2889" />
+<TGConnectingPoint num="9" id="2890" />
+<TGConnectingPoint num="10" id="2891" />
+<TGConnectingPoint num="11" id="2892" />
+<TGConnectingPoint num="12" id="2893" />
+<TGConnectingPoint num="13" id="2894" />
+<TGConnectingPoint num="14" id="2895" />
+<TGConnectingPoint num="15" id="2896" />
+<TGConnectingPoint num="16" id="2897" />
+<TGConnectingPoint num="17" id="2898" />
+<TGConnectingPoint num="18" id="2899" />
+<TGConnectingPoint num="19" id="2900" />
+<TGConnectingPoint num="20" id="2901" />
+<TGConnectingPoint num="21" id="2902" />
+<TGConnectingPoint num="22" id="2903" />
+<TGConnectingPoint num="23" id="2904" />
+<TGConnectingPoint num="24" id="2905" />
+<TGConnectingPoint num="25" id="2906" />
+<TGConnectingPoint num="26" id="2907" />
+<TGConnectingPoint num="27" id="2908" />
+<TGConnectingPoint num="28" id="2909" />
+<TGConnectingPoint num="29" id="2910" />
+<TGConnectingPoint num="30" id="2911" />
+<TGConnectingPoint num="31" id="2912" />
+<TGConnectingPoint num="32" id="2913" />
+<TGConnectingPoint num="33" id="2914" />
+<TGConnectingPoint num="34" id="2915" />
+<TGConnectingPoint num="35" id="2916" />
+<TGConnectingPoint num="36" id="2917" />
+<TGConnectingPoint num="37" id="2918" />
+<TGConnectingPoint num="38" id="2919" />
+<TGConnectingPoint num="39" id="2920" />
+<extraparam>
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="5707" id="3687" >
-<father id="3696" num="0" />
-<cdparam x="284" y="312" />
-<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="355" maxX="355" minY="390" maxY="390" />
-<infoparam name="value " value="Requirements" />
-</SUBCOMPONENT>
 
-<COMPONENT type="5701" id="3701" >
-<cdparam x="40" y="280" />
-<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5103" id="2932" >
+<cdparam x="377" y="158" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="TGComponent" value="Assumptions" />
-<TGConnectingPoint num="0" id="3697" />
-<TGConnectingPoint num="1" id="3698" />
-<TGConnectingPoint num="2" id="3699" />
-<TGConnectingPoint num="3" id="3700" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Send signal" value="chout(m)" />
+<TGConnectingPoint num="0" id="2922" />
+<TGConnectingPoint num="1" id="2923" />
+<TGConnectingPoint num="2" id="2924" />
+<TGConnectingPoint num="3" id="2925" />
+<TGConnectingPoint num="4" id="2926" />
+<TGConnectingPoint num="5" id="2927" />
+<TGConnectingPoint num="6" id="2928" />
+<TGConnectingPoint num="7" id="2929" />
+<TGConnectingPoint num="8" id="2930" />
+<TGConnectingPoint num="9" id="2931" />
 </COMPONENT>
 
-<COMPONENT type="304" id="3718" >
-<cdparam x="504" y="52" />
-<sizeparam width="600" height="200" minWidth="16" minHeight="16" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="2973" >
+<cdparam x="351" y="95" />
+<sizeparam width="113" height="32" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Info" value="SW/HW Partitioning" />
-<TGConnectingPoint num="0" id="3702" />
-<TGConnectingPoint num="1" id="3703" />
-<TGConnectingPoint num="2" id="3704" />
-<TGConnectingPoint num="3" id="3705" />
-<TGConnectingPoint num="4" id="3706" />
-<TGConnectingPoint num="5" id="3707" />
-<TGConnectingPoint num="6" id="3708" />
-<TGConnectingPoint num="7" id="3709" />
-<TGConnectingPoint num="8" id="3710" />
-<TGConnectingPoint num="9" id="3711" />
-<TGConnectingPoint num="10" id="3712" />
-<TGConnectingPoint num="11" id="3713" />
-<TGConnectingPoint num="12" id="3714" />
-<TGConnectingPoint num="13" id="3715" />
-<TGConnectingPoint num="14" id="3716" />
-<TGConnectingPoint num="15" id="3717" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="State" value="sendingPubK" />
+<TGConnectingPoint num="0" id="2933" />
+<TGConnectingPoint num="1" id="2934" />
+<TGConnectingPoint num="2" id="2935" />
+<TGConnectingPoint num="3" id="2936" />
+<TGConnectingPoint num="4" id="2937" />
+<TGConnectingPoint num="5" id="2938" />
+<TGConnectingPoint num="6" id="2939" />
+<TGConnectingPoint num="7" id="2940" />
+<TGConnectingPoint num="8" id="2941" />
+<TGConnectingPoint num="9" id="2942" />
+<TGConnectingPoint num="10" id="2943" />
+<TGConnectingPoint num="11" id="2944" />
+<TGConnectingPoint num="12" id="2945" />
+<TGConnectingPoint num="13" id="2946" />
+<TGConnectingPoint num="14" id="2947" />
+<TGConnectingPoint num="15" id="2948" />
+<TGConnectingPoint num="16" id="2949" />
+<TGConnectingPoint num="17" id="2950" />
+<TGConnectingPoint num="18" id="2951" />
+<TGConnectingPoint num="19" id="2952" />
+<TGConnectingPoint num="20" id="2953" />
+<TGConnectingPoint num="21" id="2954" />
+<TGConnectingPoint num="22" id="2955" />
+<TGConnectingPoint num="23" id="2956" />
+<TGConnectingPoint num="24" id="2957" />
+<TGConnectingPoint num="25" id="2958" />
+<TGConnectingPoint num="26" id="2959" />
+<TGConnectingPoint num="27" id="2960" />
+<TGConnectingPoint num="28" id="2961" />
+<TGConnectingPoint num="29" id="2962" />
+<TGConnectingPoint num="30" id="2963" />
+<TGConnectingPoint num="31" id="2964" />
+<TGConnectingPoint num="32" id="2965" />
+<TGConnectingPoint num="33" id="2966" />
+<TGConnectingPoint num="34" id="2967" />
+<TGConnectingPoint num="35" id="2968" />
+<TGConnectingPoint num="36" id="2969" />
+<TGConnectingPoint num="37" id="2970" />
+<TGConnectingPoint num="38" id="2971" />
+<TGConnectingPoint num="39" id="2972" />
 <extraparam>
-<TextColor value="-1" />
-<FillColor value="-1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="304" id="3735" >
-<cdparam x="504" y="300" />
-<sizeparam width="600" height="260" minWidth="16" minHeight="16" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="3014" >
+<cdparam x="329" y="592" />
+<sizeparam width="178" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Info" value="SW Design" />
-<TGConnectingPoint num="0" id="3719" />
-<TGConnectingPoint num="1" id="3720" />
-<TGConnectingPoint num="2" id="3721" />
-<TGConnectingPoint num="3" id="3722" />
-<TGConnectingPoint num="4" id="3723" />
-<TGConnectingPoint num="5" id="3724" />
-<TGConnectingPoint num="6" id="3725" />
-<TGConnectingPoint num="7" id="3726" />
-<TGConnectingPoint num="8" id="3727" />
-<TGConnectingPoint num="9" id="3728" />
-<TGConnectingPoint num="10" id="3729" />
-<TGConnectingPoint num="11" id="3730" />
-<TGConnectingPoint num="12" id="3731" />
-<TGConnectingPoint num="13" id="3732" />
-<TGConnectingPoint num="14" id="3733" />
-<TGConnectingPoint num="15" id="3734" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="state0" value="messageDecrypted" />
+<TGConnectingPoint num="0" id="2974" />
+<TGConnectingPoint num="1" id="2975" />
+<TGConnectingPoint num="2" id="2976" />
+<TGConnectingPoint num="3" id="2977" />
+<TGConnectingPoint num="4" id="2978" />
+<TGConnectingPoint num="5" id="2979" />
+<TGConnectingPoint num="6" id="2980" />
+<TGConnectingPoint num="7" id="2981" />
+<TGConnectingPoint num="8" id="2982" />
+<TGConnectingPoint num="9" id="2983" />
+<TGConnectingPoint num="10" id="2984" />
+<TGConnectingPoint num="11" id="2985" />
+<TGConnectingPoint num="12" id="2986" />
+<TGConnectingPoint num="13" id="2987" />
+<TGConnectingPoint num="14" id="2988" />
+<TGConnectingPoint num="15" id="2989" />
+<TGConnectingPoint num="16" id="2990" />
+<TGConnectingPoint num="17" id="2991" />
+<TGConnectingPoint num="18" id="2992" />
+<TGConnectingPoint num="19" id="2993" />
+<TGConnectingPoint num="20" id="2994" />
+<TGConnectingPoint num="21" id="2995" />
+<TGConnectingPoint num="22" id="2996" />
+<TGConnectingPoint num="23" id="2997" />
+<TGConnectingPoint num="24" id="2998" />
+<TGConnectingPoint num="25" id="2999" />
+<TGConnectingPoint num="26" id="3000" />
+<TGConnectingPoint num="27" id="3001" />
+<TGConnectingPoint num="28" id="3002" />
+<TGConnectingPoint num="29" id="3003" />
+<TGConnectingPoint num="30" id="3004" />
+<TGConnectingPoint num="31" id="3005" />
+<TGConnectingPoint num="32" id="3006" />
+<TGConnectingPoint num="33" id="3007" />
+<TGConnectingPoint num="34" id="3008" />
+<TGConnectingPoint num="35" id="3009" />
+<TGConnectingPoint num="36" id="3010" />
+<TGConnectingPoint num="37" id="3011" />
+<TGConnectingPoint num="38" id="3012" />
+<TGConnectingPoint num="39" id="3013" />
 <extraparam>
-<TextColor value="-1" />
-<FillColor value="-1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="304" id="3752" >
-<cdparam x="264" y="80" />
-<sizeparam width="192" height="440" minWidth="16" minHeight="16" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="3055" >
+<cdparam x="352" y="677" />
+<sizeparam width="140" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="state0" value="SecretDataReceived" />
+<TGConnectingPoint num="0" id="3015" />
+<TGConnectingPoint num="1" id="3016" />
+<TGConnectingPoint num="2" id="3017" />
+<TGConnectingPoint num="3" id="3018" />
+<TGConnectingPoint num="4" id="3019" />
+<TGConnectingPoint num="5" id="3020" />
+<TGConnectingPoint num="6" id="3021" />
+<TGConnectingPoint num="7" id="3022" />
+<TGConnectingPoint num="8" id="3023" />
+<TGConnectingPoint num="9" id="3024" />
+<TGConnectingPoint num="10" id="3025" />
+<TGConnectingPoint num="11" id="3026" />
+<TGConnectingPoint num="12" id="3027" />
+<TGConnectingPoint num="13" id="3028" />
+<TGConnectingPoint num="14" id="3029" />
+<TGConnectingPoint num="15" id="3030" />
+<TGConnectingPoint num="16" id="3031" />
+<TGConnectingPoint num="17" id="3032" />
+<TGConnectingPoint num="18" id="3033" />
+<TGConnectingPoint num="19" id="3034" />
+<TGConnectingPoint num="20" id="3035" />
+<TGConnectingPoint num="21" id="3036" />
+<TGConnectingPoint num="22" id="3037" />
+<TGConnectingPoint num="23" id="3038" />
+<TGConnectingPoint num="24" id="3039" />
+<TGConnectingPoint num="25" id="3040" />
+<TGConnectingPoint num="26" id="3041" />
+<TGConnectingPoint num="27" id="3042" />
+<TGConnectingPoint num="28" id="3043" />
+<TGConnectingPoint num="29" id="3044" />
+<TGConnectingPoint num="30" id="3045" />
+<TGConnectingPoint num="31" id="3046" />
+<TGConnectingPoint num="32" id="3047" />
+<TGConnectingPoint num="33" id="3048" />
+<TGConnectingPoint num="34" id="3049" />
+<TGConnectingPoint num="35" id="3050" />
+<TGConnectingPoint num="36" id="3051" />
+<TGConnectingPoint num="37" id="3052" />
+<TGConnectingPoint num="38" id="3053" />
+<TGConnectingPoint num="39" id="3054" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3096" >
+<cdparam x="338" y="486" />
+<sizeparam width="142" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="state0" value="messageDecrypt" />
+<TGConnectingPoint num="0" id="3056" />
+<TGConnectingPoint num="1" id="3057" />
+<TGConnectingPoint num="2" id="3058" />
+<TGConnectingPoint num="3" id="3059" />
+<TGConnectingPoint num="4" id="3060" />
+<TGConnectingPoint num="5" id="3061" />
+<TGConnectingPoint num="6" id="3062" />
+<TGConnectingPoint num="7" id="3063" />
+<TGConnectingPoint num="8" id="3064" />
+<TGConnectingPoint num="9" id="3065" />
+<TGConnectingPoint num="10" id="3066" />
+<TGConnectingPoint num="11" id="3067" />
+<TGConnectingPoint num="12" id="3068" />
+<TGConnectingPoint num="13" id="3069" />
+<TGConnectingPoint num="14" id="3070" />
+<TGConnectingPoint num="15" id="3071" />
+<TGConnectingPoint num="16" id="3072" />
+<TGConnectingPoint num="17" id="3073" />
+<TGConnectingPoint num="18" id="3074" />
+<TGConnectingPoint num="19" id="3075" />
+<TGConnectingPoint num="20" id="3076" />
+<TGConnectingPoint num="21" id="3077" />
+<TGConnectingPoint num="22" id="3078" />
+<TGConnectingPoint num="23" id="3079" />
+<TGConnectingPoint num="24" id="3080" />
+<TGConnectingPoint num="25" id="3081" />
+<TGConnectingPoint num="26" id="3082" />
+<TGConnectingPoint num="27" id="3083" />
+<TGConnectingPoint num="28" id="3084" />
+<TGConnectingPoint num="29" id="3085" />
+<TGConnectingPoint num="30" id="3086" />
+<TGConnectingPoint num="31" id="3087" />
+<TGConnectingPoint num="32" id="3088" />
+<TGConnectingPoint num="33" id="3089" />
+<TGConnectingPoint num="34" id="3090" />
+<TGConnectingPoint num="35" id="3091" />
+<TGConnectingPoint num="36" id="3092" />
+<TGConnectingPoint num="37" id="3093" />
+<TGConnectingPoint num="38" id="3094" />
+<TGConnectingPoint num="39" id="3095" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="3107" >
+<cdparam x="374" y="429" />
+<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Send signal" value="chin(m2)" />
+<TGConnectingPoint num="0" id="3097" />
+<TGConnectingPoint num="1" id="3098" />
+<TGConnectingPoint num="2" id="3099" />
+<TGConnectingPoint num="3" id="3100" />
+<TGConnectingPoint num="4" id="3101" />
+<TGConnectingPoint num="5" id="3102" />
+<TGConnectingPoint num="6" id="3103" />
+<TGConnectingPoint num="7" id="3104" />
+<TGConnectingPoint num="8" id="3105" />
+<TGConnectingPoint num="9" id="3106" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3148" >
+<cdparam x="342" y="354" />
+<sizeparam width="132" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="state0" value="waitingForMessage" />
+<TGConnectingPoint num="0" id="3108" />
+<TGConnectingPoint num="1" id="3109" />
+<TGConnectingPoint num="2" id="3110" />
+<TGConnectingPoint num="3" id="3111" />
+<TGConnectingPoint num="4" id="3112" />
+<TGConnectingPoint num="5" id="3113" />
+<TGConnectingPoint num="6" id="3114" />
+<TGConnectingPoint num="7" id="3115" />
+<TGConnectingPoint num="8" id="3116" />
+<TGConnectingPoint num="9" id="3117" />
+<TGConnectingPoint num="10" id="3118" />
+<TGConnectingPoint num="11" id="3119" />
+<TGConnectingPoint num="12" id="3120" />
+<TGConnectingPoint num="13" id="3121" />
+<TGConnectingPoint num="14" id="3122" />
+<TGConnectingPoint num="15" id="3123" />
+<TGConnectingPoint num="16" id="3124" />
+<TGConnectingPoint num="17" id="3125" />
+<TGConnectingPoint num="18" id="3126" />
+<TGConnectingPoint num="19" id="3127" />
+<TGConnectingPoint num="20" id="3128" />
+<TGConnectingPoint num="21" id="3129" />
+<TGConnectingPoint num="22" id="3130" />
+<TGConnectingPoint num="23" id="3131" />
+<TGConnectingPoint num="24" id="3132" />
+<TGConnectingPoint num="25" id="3133" />
+<TGConnectingPoint num="26" id="3134" />
+<TGConnectingPoint num="27" id="3135" />
+<TGConnectingPoint num="28" id="3136" />
+<TGConnectingPoint num="29" id="3137" />
+<TGConnectingPoint num="30" id="3138" />
+<TGConnectingPoint num="31" id="3139" />
+<TGConnectingPoint num="32" id="3140" />
+<TGConnectingPoint num="33" id="3141" />
+<TGConnectingPoint num="34" id="3142" />
+<TGConnectingPoint num="35" id="3143" />
+<TGConnectingPoint num="36" id="3144" />
+<TGConnectingPoint num="37" id="3145" />
+<TGConnectingPoint num="38" id="3146" />
+<TGConnectingPoint num="39" id="3147" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3150" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3149" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="3157" >
+<cdparam x="411" y="567" />
+<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="3156" />
+<P1  x="411" y="567" id="3360" />
+<P2  x="420" y="613" id="3319" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3155" >
+<father id="3157" num="0" />
+<cdparam x="453" y="610" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="Info" value="Req / faults / attacks" />
-<TGConnectingPoint num="0" id="3736" />
-<TGConnectingPoint num="1" id="3737" />
-<TGConnectingPoint num="2" id="3738" />
-<TGConnectingPoint num="3" id="3739" />
-<TGConnectingPoint num="4" id="3740" />
-<TGConnectingPoint num="5" id="3741" />
-<TGConnectingPoint num="6" id="3742" />
-<TGConnectingPoint num="7" id="3743" />
-<TGConnectingPoint num="8" id="3744" />
-<TGConnectingPoint num="9" id="3745" />
-<TGConnectingPoint num="10" id="3746" />
-<TGConnectingPoint num="11" id="3747" />
-<TGConnectingPoint num="12" id="3748" />
-<TGConnectingPoint num="13" id="3749" />
-<TGConnectingPoint num="14" id="3750" />
-<TGConnectingPoint num="15" id="3751" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3151" />
+<TGConnectingPoint num="1" id="3152" />
+<TGConnectingPoint num="2" id="3153" />
+<TGConnectingPoint num="3" id="3154" />
 <extraparam>
-<TextColor value="-1" />
-<FillColor value="-1" />
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
 </extraparam>
-</COMPONENT>
+</SUBCOMPONENT>
 
-<CONNECTOR type="6004" id="3754" >
-<cdparam x="1000" y="136" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3753" />
-<P1  x="1000" y="136" id="3663" />
-<P2  x="832" y="180" id="3654" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="6004" id="3756" >
-<cdparam x="800" y="136" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3755" />
-<P1  x="799" y="136" id="3648" />
-<P2  x="800" y="180" id="3655" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="6004" id="3758" >
-<cdparam x="600" y="136" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3757" />
-<P1  x="600" y="136" id="3669" />
-<P2  x="768" y="180" id="3653" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5718" id="3764" >
-<cdparam x="440" y="308" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3761" />
-<TGConnectingPoint num="1" id="3762" />
-<TGConnectingPoint num="2" id="3763" />
-<P1  x="440" y="308" id="3688" />
-<P2  x="592" y="400" id="3623" />
-<Point x="476" y="308" />
-<Point x="476" y="360" />
+<CONNECTOR type="5102" id="3164" >
+<cdparam x="496" y="703" />
+<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="3163" />
+<P1  x="420" y="663" id="3324" />
+<P2  x="438" y="703" id="3370" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3759" >
-<father id="3764" num="0" />
-<cdparam x="476" y="308" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3162" >
+<father id="3164" num="0" />
+<cdparam x="453" y="697" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3158" />
+<TGConnectingPoint num="1" id="3159" />
+<TGConnectingPoint num="2" id="3160" />
+<TGConnectingPoint num="3" id="3161" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3760" >
-<father id="3764" num="1" />
-<cdparam x="476" y="360" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="5102" id="3171" >
+<cdparam x="411" y="508" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to stop state" value="null" />
+<TGConnectingPoint num="0" id="3170" />
+<P1  x="411" y="508" id="3378" />
+<P2  x="411" y="537" id="3359" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3169" >
+<father id="3171" num="0" />
+<cdparam x="411" y="548" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3165" />
+<TGConnectingPoint num="1" id="3166" />
+<TGConnectingPoint num="2" id="3167" />
+<TGConnectingPoint num="3" id="3168" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5718" id="3768" >
-<cdparam x="832" y="456" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3766" />
-<TGConnectingPoint num="1" id="3767" />
-<P1  x="832" y="456" id="3637" />
-<P2  x="880" y="508" id="3628" />
-<Point x="848" y="500" />
+<CONNECTOR type="5102" id="3178" >
+<cdparam x="411" y="389" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="3177" />
+<P1  x="411" y="389" id="3419" />
+<P2  x="411" y="468" id="3373" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3765" >
-<father id="3768" num="0" />
-<cdparam x="848" y="500" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3176" >
+<father id="3178" num="0" />
+<cdparam x="439" y="414" />
+<sizeparam width="148" height="45" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3172" />
+<TGConnectingPoint num="1" id="3173" />
+<TGConnectingPoint num="2" id="3174" />
+<TGConnectingPoint num="3" id="3175" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+<actions value="sk = DH(bobPubK, privK)" />
+<actions value="m.data = secretData" />
+<actions value="m1 = sencrypt(m, sk)" />
+</extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5718" id="3772" >
-<cdparam x="768" y="376" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3770" />
-<TGConnectingPoint num="1" id="3771" />
-<P1  x="768" y="376" id="3643" />
-<P2  x="800" y="428" id="3636" />
-<Point x="768" y="420" />
+<CONNECTOR type="5102" id="3185" >
+<cdparam x="407" y="70" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to state0" value="null" />
+<TGConnectingPoint num="0" id="3184" />
+<P1  x="407" y="70" id="3454" />
+<P2  x="405" y="91" id="3278" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3769" >
-<father id="3772" num="0" />
-<cdparam x="768" y="420" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3183" >
+<father id="3185" num="0" />
+<cdparam x="407" y="110" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3179" />
+<TGConnectingPoint num="1" id="3180" />
+<TGConnectingPoint num="2" id="3181" />
+<TGConnectingPoint num="3" id="3182" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5718" id="3774" >
-<cdparam x="376" y="440" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3773" />
-<P1  x="376" y="440" id="3682" />
-<P2  x="376" y="336" id="3690" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5718" id="3776" >
-<cdparam x="376" y="176" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3775" />
-<P1  x="376" y="176" id="3675" />
-<P2  x="376" y="280" id="3691" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5718" id="3778" >
-<cdparam x="328" y="280" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3777" />
-<P1  x="328" y="280" id="3692" />
-<P2  x="328" y="176" id="3674" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="5718" id="3780" >
-<cdparam x="328" y="336" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
-<TGConnectingPoint num="0" id="3779" />
-<P1  x="328" y="336" id="3689" />
-<P2  x="328" y="440" id="3681" />
+<CONNECTOR type="5102" id="3192" >
+<cdparam x="392" y="122" />
+<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="3191" />
+<P1  x="392" y="122" id="3306" />
+<P2  x="392" y="150" id="3266" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</SysmlsecMethodologyDiagramPanel>
+</CONNECTOR><SUBCOMPONENT type="-1" id="3190" >
+<father id="3192" num="0" />
+<cdparam x="411" y="142" />
+<sizeparam width="120" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3186" />
+<TGConnectingPoint num="1" id="3187" />
+<TGConnectingPoint num="2" id="3188" />
+<TGConnectingPoint num="3" id="3189" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+<actions value="m.data = pubK.data" />
+</extraparam>
+</SUBCOMPONENT>
 
-</Modeling>
+<CONNECTOR type="5102" id="3199" >
+<cdparam x="391" y="166" />
+<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="3198" />
+<P1  x="392" y="180" id="3267" />
+<P2  x="380" y="224" id="3242" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3197" >
+<father id="3199" num="0" />
+<cdparam x="390" y="188" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3193" />
+<TGConnectingPoint num="1" id="3194" />
+<TGConnectingPoint num="2" id="3195" />
+<TGConnectingPoint num="3" id="3196" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
+</SUBCOMPONENT>
 
+<CONNECTOR type="5102" id="3206" >
+<cdparam x="380" y="258" />
+<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="3205" />
+<P1  x="380" y="258" id="3254" />
+<P2  x="386" y="287" id="3214" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3204" >
+<father id="3206" num="0" />
+<cdparam x="377" y="267" />
+<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3200" />
+<TGConnectingPoint num="1" id="3201" />
+<TGConnectingPoint num="2" id="3202" />
+<TGConnectingPoint num="3" id="3203" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+</extraparam>
+</SUBCOMPONENT>
 
+<CONNECTOR type="5102" id="3213" >
+<cdparam x="375" y="306" />
+<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="3212" />
+<P1  x="386" y="317" id="3215" />
+<P2  x="377" y="349" id="3421" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3211" >
+<father id="3213" num="0" />
+<cdparam x="396" y="336" />
+<sizeparam width="142" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="List of all parameters of an Avatar SMD transition" value="" />
+<TGConnectingPoint num="0" id="3207" />
+<TGConnectingPoint num="1" id="3208" />
+<TGConnectingPoint num="2" id="3209" />
+<TGConnectingPoint num="3" id="3210" />
+<extraparam>
+<guard value="[ ]" />
+<afterMin value="" />
+<afterMax value="" />
+<computeMin value="" />
+<computeMax value="" />
+<probability value="" />
+<actions value="bobPubK.data = m.data" />
+</extraparam>
+</SUBCOMPONENT>
 
+<COMPONENT type="5104" id="3224" >
+<cdparam x="356" y="292" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Receive signal" value="chin(m)" />
+<TGConnectingPoint num="0" id="3214" />
+<TGConnectingPoint num="1" id="3215" />
+<TGConnectingPoint num="2" id="3216" />
+<TGConnectingPoint num="3" id="3217" />
+<TGConnectingPoint num="4" id="3218" />
+<TGConnectingPoint num="5" id="3219" />
+<TGConnectingPoint num="6" id="3220" />
+<TGConnectingPoint num="7" id="3221" />
+<TGConnectingPoint num="8" id="3222" />
+<TGConnectingPoint num="9" id="3223" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3265" >
+<cdparam x="338" y="224" />
+<sizeparam width="114" height="34" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="State" value="receivingPubK" />
+<TGConnectingPoint num="0" id="3225" />
+<TGConnectingPoint num="1" id="3226" />
+<TGConnectingPoint num="2" id="3227" />
+<TGConnectingPoint num="3" id="3228" />
+<TGConnectingPoint num="4" id="3229" />
+<TGConnectingPoint num="5" id="3230" />
+<TGConnectingPoint num="6" id="3231" />
+<TGConnectingPoint num="7" id="3232" />
+<TGConnectingPoint num="8" id="3233" />
+<TGConnectingPoint num="9" id="3234" />
+<TGConnectingPoint num="10" id="3235" />
+<TGConnectingPoint num="11" id="3236" />
+<TGConnectingPoint num="12" id="3237" />
+<TGConnectingPoint num="13" id="3238" />
+<TGConnectingPoint num="14" id="3239" />
+<TGConnectingPoint num="15" id="3240" />
+<TGConnectingPoint num="16" id="3241" />
+<TGConnectingPoint num="17" id="3242" />
+<TGConnectingPoint num="18" id="3243" />
+<TGConnectingPoint num="19" id="3244" />
+<TGConnectingPoint num="20" id="3245" />
+<TGConnectingPoint num="21" id="3246" />
+<TGConnectingPoint num="22" id="3247" />
+<TGConnectingPoint num="23" id="3248" />
+<TGConnectingPoint num="24" id="3249" />
+<TGConnectingPoint num="25" id="3250" />
+<TGConnectingPoint num="26" id="3251" />
+<TGConnectingPoint num="27" id="3252" />
+<TGConnectingPoint num="28" id="3253" />
+<TGConnectingPoint num="29" id="3254" />
+<TGConnectingPoint num="30" id="3255" />
+<TGConnectingPoint num="31" id="3256" />
+<TGConnectingPoint num="32" id="3257" />
+<TGConnectingPoint num="33" id="3258" />
+<TGConnectingPoint num="34" id="3259" />
+<TGConnectingPoint num="35" id="3260" />
+<TGConnectingPoint num="36" id="3261" />
+<TGConnectingPoint num="37" id="3262" />
+<TGConnectingPoint num="38" id="3263" />
+<TGConnectingPoint num="39" id="3264" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="3276" >
+<cdparam x="362" y="155" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Send signal" value="chout(m)" />
+<TGConnectingPoint num="0" id="3266" />
+<TGConnectingPoint num="1" id="3267" />
+<TGConnectingPoint num="2" id="3268" />
+<TGConnectingPoint num="3" id="3269" />
+<TGConnectingPoint num="4" id="3270" />
+<TGConnectingPoint num="5" id="3271" />
+<TGConnectingPoint num="6" id="3272" />
+<TGConnectingPoint num="7" id="3273" />
+<TGConnectingPoint num="8" id="3274" />
+<TGConnectingPoint num="9" id="3275" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3317" >
+<cdparam x="355" y="91" />
+<sizeparam width="100" height="31" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="State" value="sendingPubK" />
+<TGConnectingPoint num="0" id="3277" />
+<TGConnectingPoint num="1" id="3278" />
+<TGConnectingPoint num="2" id="3279" />
+<TGConnectingPoint num="3" id="3280" />
+<TGConnectingPoint num="4" id="3281" />
+<TGConnectingPoint num="5" id="3282" />
+<TGConnectingPoint num="6" id="3283" />
+<TGConnectingPoint num="7" id="3284" />
+<TGConnectingPoint num="8" id="3285" />
+<TGConnectingPoint num="9" id="3286" />
+<TGConnectingPoint num="10" id="3287" />
+<TGConnectingPoint num="11" id="3288" />
+<TGConnectingPoint num="12" id="3289" />
+<TGConnectingPoint num="13" id="3290" />
+<TGConnectingPoint num="14" id="3291" />
+<TGConnectingPoint num="15" id="3292" />
+<TGConnectingPoint num="16" id="3293" />
+<TGConnectingPoint num="17" id="3294" />
+<TGConnectingPoint num="18" id="3295" />
+<TGConnectingPoint num="19" id="3296" />
+<TGConnectingPoint num="20" id="3297" />
+<TGConnectingPoint num="21" id="3298" />
+<TGConnectingPoint num="22" id="3299" />
+<TGConnectingPoint num="23" id="3300" />
+<TGConnectingPoint num="24" id="3301" />
+<TGConnectingPoint num="25" id="3302" />
+<TGConnectingPoint num="26" id="3303" />
+<TGConnectingPoint num="27" id="3304" />
+<TGConnectingPoint num="28" id="3305" />
+<TGConnectingPoint num="29" id="3306" />
+<TGConnectingPoint num="30" id="3307" />
+<TGConnectingPoint num="31" id="3308" />
+<TGConnectingPoint num="32" id="3309" />
+<TGConnectingPoint num="33" id="3310" />
+<TGConnectingPoint num="34" id="3311" />
+<TGConnectingPoint num="35" id="3312" />
+<TGConnectingPoint num="36" id="3313" />
+<TGConnectingPoint num="37" id="3314" />
+<TGConnectingPoint num="38" id="3315" />
+<TGConnectingPoint num="39" id="3316" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3358" >
+<cdparam x="370" y="613" />
+<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="State" value="beforeFinish" />
+<TGConnectingPoint num="0" id="3318" />
+<TGConnectingPoint num="1" id="3319" />
+<TGConnectingPoint num="2" id="3320" />
+<TGConnectingPoint num="3" id="3321" />
+<TGConnectingPoint num="4" id="3322" />
+<TGConnectingPoint num="5" id="3323" />
+<TGConnectingPoint num="6" id="3324" />
+<TGConnectingPoint num="7" id="3325" />
+<TGConnectingPoint num="8" id="3326" />
+<TGConnectingPoint num="9" id="3327" />
+<TGConnectingPoint num="10" id="3328" />
+<TGConnectingPoint num="11" id="3329" />
+<TGConnectingPoint num="12" id="3330" />
+<TGConnectingPoint num="13" id="3331" />
+<TGConnectingPoint num="14" id="3332" />
+<TGConnectingPoint num="15" id="3333" />
+<TGConnectingPoint num="16" id="3334" />
+<TGConnectingPoint num="17" id="3335" />
+<TGConnectingPoint num="18" id="3336" />
+<TGConnectingPoint num="19" id="3337" />
+<TGConnectingPoint num="20" id="3338" />
+<TGConnectingPoint num="21" id="3339" />
+<TGConnectingPoint num="22" id="3340" />
+<TGConnectingPoint num="23" id="3341" />
+<TGConnectingPoint num="24" id="3342" />
+<TGConnectingPoint num="25" id="3343" />
+<TGConnectingPoint num="26" id="3344" />
+<TGConnectingPoint num="27" id="3345" />
+<TGConnectingPoint num="28" id="3346" />
+<TGConnectingPoint num="29" id="3347" />
+<TGConnectingPoint num="30" id="3348" />
+<TGConnectingPoint num="31" id="3349" />
+<TGConnectingPoint num="32" id="3350" />
+<TGConnectingPoint num="33" id="3351" />
+<TGConnectingPoint num="34" id="3352" />
+<TGConnectingPoint num="35" id="3353" />
+<TGConnectingPoint num="36" id="3354" />
+<TGConnectingPoint num="37" id="3355" />
+<TGConnectingPoint num="38" id="3356" />
+<TGConnectingPoint num="39" id="3357" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="3369" >
+<cdparam x="377" y="542" />
+<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Send signal" value="chout(m1)" />
+<TGConnectingPoint num="0" id="3359" />
+<TGConnectingPoint num="1" id="3360" />
+<TGConnectingPoint num="2" id="3361" />
+<TGConnectingPoint num="3" id="3362" />
+<TGConnectingPoint num="4" id="3363" />
+<TGConnectingPoint num="5" id="3364" />
+<TGConnectingPoint num="6" id="3365" />
+<TGConnectingPoint num="7" id="3366" />
+<TGConnectingPoint num="8" id="3367" />
+<TGConnectingPoint num="9" id="3368" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="3371" >
+<cdparam x="428" y="708" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="3370" />
+</COMPONENT>
 
-<Modeling type="TML Architecture" nameTab="Mapping2_Sec_enc" >
-<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
-<COMPONENT type="1102" id="3805" >
-<cdparam x="17" y="403" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="3412" >
+<cdparam x="340" y="468" />
+<sizeparam width="143" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="SecureBus1" value="name" />
-<TGConnectingPoint num="0" id="3781" />
-<TGConnectingPoint num="1" id="3782" />
-<TGConnectingPoint num="2" id="3783" />
-<TGConnectingPoint num="3" id="3784" />
-<TGConnectingPoint num="4" id="3785" />
-<TGConnectingPoint num="5" id="3786" />
-<TGConnectingPoint num="6" id="3787" />
-<TGConnectingPoint num="7" id="3788" />
-<TGConnectingPoint num="8" id="3789" />
-<TGConnectingPoint num="9" id="3790" />
-<TGConnectingPoint num="10" id="3791" />
-<TGConnectingPoint num="11" id="3792" />
-<TGConnectingPoint num="12" id="3793" />
-<TGConnectingPoint num="13" id="3794" />
-<TGConnectingPoint num="14" id="3795" />
-<TGConnectingPoint num="15" id="3796" />
-<TGConnectingPoint num="16" id="3797" />
-<TGConnectingPoint num="17" id="3798" />
-<TGConnectingPoint num="18" id="3799" />
-<TGConnectingPoint num="19" id="3800" />
-<TGConnectingPoint num="20" id="3801" />
-<TGConnectingPoint num="21" id="3802" />
-<TGConnectingPoint num="22" id="3803" />
-<TGConnectingPoint num="23" id="3804" />
+<infoparam name="state0" value="sendingMessage" />
+<TGConnectingPoint num="0" id="3372" />
+<TGConnectingPoint num="1" id="3373" />
+<TGConnectingPoint num="2" id="3374" />
+<TGConnectingPoint num="3" id="3375" />
+<TGConnectingPoint num="4" id="3376" />
+<TGConnectingPoint num="5" id="3377" />
+<TGConnectingPoint num="6" id="3378" />
+<TGConnectingPoint num="7" id="3379" />
+<TGConnectingPoint num="8" id="3380" />
+<TGConnectingPoint num="9" id="3381" />
+<TGConnectingPoint num="10" id="3382" />
+<TGConnectingPoint num="11" id="3383" />
+<TGConnectingPoint num="12" id="3384" />
+<TGConnectingPoint num="13" id="3385" />
+<TGConnectingPoint num="14" id="3386" />
+<TGConnectingPoint num="15" id="3387" />
+<TGConnectingPoint num="16" id="3388" />
+<TGConnectingPoint num="17" id="3389" />
+<TGConnectingPoint num="18" id="3390" />
+<TGConnectingPoint num="19" id="3391" />
+<TGConnectingPoint num="20" id="3392" />
+<TGConnectingPoint num="21" id="3393" />
+<TGConnectingPoint num="22" id="3394" />
+<TGConnectingPoint num="23" id="3395" />
+<TGConnectingPoint num="24" id="3396" />
+<TGConnectingPoint num="25" id="3397" />
+<TGConnectingPoint num="26" id="3398" />
+<TGConnectingPoint num="27" id="3399" />
+<TGConnectingPoint num="28" id="3400" />
+<TGConnectingPoint num="29" id="3401" />
+<TGConnectingPoint num="30" id="3402" />
+<TGConnectingPoint num="31" id="3403" />
+<TGConnectingPoint num="32" id="3404" />
+<TGConnectingPoint num="33" id="3405" />
+<TGConnectingPoint num="34" id="3406" />
+<TGConnectingPoint num="35" id="3407" />
+<TGConnectingPoint num="36" id="3408" />
+<TGConnectingPoint num="37" id="3409" />
+<TGConnectingPoint num="38" id="3410" />
+<TGConnectingPoint num="39" id="3411" />
 <extraparam>
-<info stereotype="BUS-RR" nodeName="SecureBus1" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1105" id="3830" >
-<cdparam x="55" y="511" />
-<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="3453" >
+<cdparam x="344" y="349" />
+<sizeparam width="134" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="secureMem1" value="name" />
-<TGConnectingPoint num="0" id="3806" />
-<TGConnectingPoint num="1" id="3807" />
-<TGConnectingPoint num="2" id="3808" />
-<TGConnectingPoint num="3" id="3809" />
-<TGConnectingPoint num="4" id="3810" />
-<TGConnectingPoint num="5" id="3811" />
-<TGConnectingPoint num="6" id="3812" />
-<TGConnectingPoint num="7" id="3813" />
-<TGConnectingPoint num="8" id="3814" />
-<TGConnectingPoint num="9" id="3815" />
-<TGConnectingPoint num="10" id="3816" />
-<TGConnectingPoint num="11" id="3817" />
-<TGConnectingPoint num="12" id="3818" />
-<TGConnectingPoint num="13" id="3819" />
-<TGConnectingPoint num="14" id="3820" />
-<TGConnectingPoint num="15" id="3821" />
-<TGConnectingPoint num="16" id="3822" />
-<TGConnectingPoint num="17" id="3823" />
-<TGConnectingPoint num="18" id="3824" />
-<TGConnectingPoint num="19" id="3825" />
-<TGConnectingPoint num="20" id="3826" />
-<TGConnectingPoint num="21" id="3827" />
-<TGConnectingPoint num="22" id="3828" />
-<TGConnectingPoint num="23" id="3829" />
+<infoparam name="state0" value="makingMessage" />
+<TGConnectingPoint num="0" id="3413" />
+<TGConnectingPoint num="1" id="3414" />
+<TGConnectingPoint num="2" id="3415" />
+<TGConnectingPoint num="3" id="3416" />
+<TGConnectingPoint num="4" id="3417" />
+<TGConnectingPoint num="5" id="3418" />
+<TGConnectingPoint num="6" id="3419" />
+<TGConnectingPoint num="7" id="3420" />
+<TGConnectingPoint num="8" id="3421" />
+<TGConnectingPoint num="9" id="3422" />
+<TGConnectingPoint num="10" id="3423" />
+<TGConnectingPoint num="11" id="3424" />
+<TGConnectingPoint num="12" id="3425" />
+<TGConnectingPoint num="13" id="3426" />
+<TGConnectingPoint num="14" id="3427" />
+<TGConnectingPoint num="15" id="3428" />
+<TGConnectingPoint num="16" id="3429" />
+<TGConnectingPoint num="17" id="3430" />
+<TGConnectingPoint num="18" id="3431" />
+<TGConnectingPoint num="19" id="3432" />
+<TGConnectingPoint num="20" id="3433" />
+<TGConnectingPoint num="21" id="3434" />
+<TGConnectingPoint num="22" id="3435" />
+<TGConnectingPoint num="23" id="3436" />
+<TGConnectingPoint num="24" id="3437" />
+<TGConnectingPoint num="25" id="3438" />
+<TGConnectingPoint num="26" id="3439" />
+<TGConnectingPoint num="27" id="3440" />
+<TGConnectingPoint num="28" id="3441" />
+<TGConnectingPoint num="29" id="3442" />
+<TGConnectingPoint num="30" id="3443" />
+<TGConnectingPoint num="31" id="3444" />
+<TGConnectingPoint num="32" id="3445" />
+<TGConnectingPoint num="33" id="3446" />
+<TGConnectingPoint num="34" id="3447" />
+<TGConnectingPoint num="35" id="3448" />
+<TGConnectingPoint num="36" id="3449" />
+<TGConnectingPoint num="37" id="3450" />
+<TGConnectingPoint num="38" id="3451" />
+<TGConnectingPoint num="39" id="3452" />
 <extraparam>
-<info stereotype="MEMORY" nodeName="secureMem1" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1111" id="5551" >
-<father id="3830" num="0" />
-<cdparam x="59" y="562" />
-<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="5100" id="3455" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
-<infoparam name="TGComponent" value="autoEncrypt_fromDtoSC" />
-<TGConnectingPoint num="0" id="5552" />
-<TGConnectingPoint num="1" id="5553" />
-<TGConnectingPoint num="2" id="5554" />
-<TGConnectingPoint num="3" id="5555" />
-<TGConnectingPoint num="4" id="5556" />
-<TGConnectingPoint num="5" id="5557" />
-<TGConnectingPoint num="6" id="5558" />
-<TGConnectingPoint num="7" id="5559" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3454" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+</Modeling>
+
+
+
+
+<Modeling type="AVATAR Design" nameTab="DHWithCertificateSecurityProtocol" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="1400" minY="10" maxY="900" zoom="1.0" >
+<MainCode value="void __user_init() {"/>
+<MainCode value="}"/>
+<Optimized value="true" />
+<Validated value="" />
+<Ignored value="" />
+
+<CONNECTOR type="5002" id="3461" >
+<cdparam x="568" y="220" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from Block0 to Block0" value="" />
+<TGConnectingPoint num="0" id="3458" />
+<TGConnectingPoint num="1" id="3459" />
+<TGConnectingPoint num="2" id="3460" />
+<P1  x="459" y="106" id="3601" />
+<P2  x="459" y="192" id="3594" />
+<Point x="492" y="119" />
+<Point x="492" y="174" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<info value="autoEncrypt_fromDtoSC" referenceKeyName="autoEncrypt_fromDtoSC" priority="5" typeName="key" />
+<iso value="in chin(Message msg)" />
+<osd value="out chout(Message msg)" />
+<FIFOType asynchronous="false" size="1" blocking="false" private="false" broadcast="false" lossy="false" />
 </extraparam>
+</CONNECTOR><SUBCOMPONENT type="-1" id="3456" >
+<father id="3461" num="0" />
+<cdparam x="492" y="119" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1111" id="5533" >
-<father id="3830" num="1" />
-<cdparam x="55" y="511" />
-<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="3457" >
+<father id="3461" num="1" />
+<cdparam x="492" y="174" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
-<infoparam name="TGComponent" value="autoEncrypt_fromSCtoD" />
-<TGConnectingPoint num="0" id="5534" />
-<TGConnectingPoint num="1" id="5535" />
-<TGConnectingPoint num="2" id="5536" />
-<TGConnectingPoint num="3" id="5537" />
-<TGConnectingPoint num="4" id="5538" />
-<TGConnectingPoint num="5" id="5539" />
-<TGConnectingPoint num="6" id="5540" />
-<TGConnectingPoint num="7" id="5541" />
-<extraparam>
-<info value="autoEncrypt_fromSCtoD" referenceKeyName="autoEncrypt_fromSCtoD" priority="5" typeName="key" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1105" id="3855" >
-<cdparam x="309" y="358" />
-<sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5003" id="3470" >
+<cdparam x="450" y="340" />
+<sizeparam width="200" height="100" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Memory0" value="name" />
-<TGConnectingPoint num="0" id="3831" />
-<TGConnectingPoint num="1" id="3832" />
-<TGConnectingPoint num="2" id="3833" />
-<TGConnectingPoint num="3" id="3834" />
-<TGConnectingPoint num="4" id="3835" />
-<TGConnectingPoint num="5" id="3836" />
-<TGConnectingPoint num="6" id="3837" />
-<TGConnectingPoint num="7" id="3838" />
-<TGConnectingPoint num="8" id="3839" />
-<TGConnectingPoint num="9" id="3840" />
-<TGConnectingPoint num="10" id="3841" />
-<TGConnectingPoint num="11" id="3842" />
-<TGConnectingPoint num="12" id="3843" />
-<TGConnectingPoint num="13" id="3844" />
-<TGConnectingPoint num="14" id="3845" />
-<TGConnectingPoint num="15" id="3846" />
-<TGConnectingPoint num="16" id="3847" />
-<TGConnectingPoint num="17" id="3848" />
-<TGConnectingPoint num="18" id="3849" />
-<TGConnectingPoint num="19" id="3850" />
-<TGConnectingPoint num="20" id="3851" />
-<TGConnectingPoint num="21" id="3852" />
-<TGConnectingPoint num="22" id="3853" />
-<TGConnectingPoint num="23" id="3854" />
+<infoparam name="DataType0" value="Key" />
+<TGConnectingPoint num="0" id="3462" />
+<TGConnectingPoint num="1" id="3463" />
+<TGConnectingPoint num="2" id="3464" />
+<TGConnectingPoint num="3" id="3465" />
+<TGConnectingPoint num="4" id="3466" />
+<TGConnectingPoint num="5" id="3467" />
+<TGConnectingPoint num="6" id="3468" />
+<TGConnectingPoint num="7" id="3469" />
 <extraparam>
-<info stereotype="MEMORY" nodeName="Memory0" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
+<Attribute access="2" id="data" value="0" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="3880" >
-<cdparam x="278" y="269" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5003" id="3479" >
+<cdparam x="50" y="340" />
+<sizeparam width="200" height="100" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Bus0" value="name" />
-<TGConnectingPoint num="0" id="3856" />
-<TGConnectingPoint num="1" id="3857" />
-<TGConnectingPoint num="2" id="3858" />
-<TGConnectingPoint num="3" id="3859" />
-<TGConnectingPoint num="4" id="3860" />
-<TGConnectingPoint num="5" id="3861" />
-<TGConnectingPoint num="6" id="3862" />
-<TGConnectingPoint num="7" id="3863" />
-<TGConnectingPoint num="8" id="3864" />
-<TGConnectingPoint num="9" id="3865" />
-<TGConnectingPoint num="10" id="3866" />
-<TGConnectingPoint num="11" id="3867" />
-<TGConnectingPoint num="12" id="3868" />
-<TGConnectingPoint num="13" id="3869" />
-<TGConnectingPoint num="14" id="3870" />
-<TGConnectingPoint num="15" id="3871" />
-<TGConnectingPoint num="16" id="3872" />
-<TGConnectingPoint num="17" id="3873" />
-<TGConnectingPoint num="18" id="3874" />
-<TGConnectingPoint num="19" id="3875" />
-<TGConnectingPoint num="20" id="3876" />
-<TGConnectingPoint num="21" id="3877" />
-<TGConnectingPoint num="22" id="3878" />
-<TGConnectingPoint num="23" id="3879" />
+<infoparam name="DataType0" value="Message" />
+<TGConnectingPoint num="0" id="3471" />
+<TGConnectingPoint num="1" id="3472" />
+<TGConnectingPoint num="2" id="3473" />
+<TGConnectingPoint num="3" id="3474" />
+<TGConnectingPoint num="4" id="3475" />
+<TGConnectingPoint num="5" id="3476" />
+<TGConnectingPoint num="6" id="3477" />
+<TGConnectingPoint num="7" id="3478" />
 <extraparam>
-<info stereotype="BUS-RR" nodeName="Bus0" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="5"  privacy="0"  referenceAttack="ReadDataFromBus" />
+<Attribute access="2" id="data" value="0" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="3914" >
-<cdparam x="574" y="227" />
-<sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="302" id="3496" >
+<cdparam x="566" y="97" />
+<sizeparam width="520" height="188" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU2" value="name" />
-<TGConnectingPoint num="0" id="3890" />
-<TGConnectingPoint num="1" id="3891" />
-<TGConnectingPoint num="2" id="3892" />
-<TGConnectingPoint num="3" id="3893" />
-<TGConnectingPoint num="4" id="3894" />
-<TGConnectingPoint num="5" id="3895" />
-<TGConnectingPoint num="6" id="3896" />
-<TGConnectingPoint num="7" id="3897" />
-<TGConnectingPoint num="8" id="3898" />
-<TGConnectingPoint num="9" id="3899" />
-<TGConnectingPoint num="10" id="3900" />
-<TGConnectingPoint num="11" id="3901" />
-<TGConnectingPoint num="12" id="3902" />
-<TGConnectingPoint num="13" id="3903" />
-<TGConnectingPoint num="14" id="3904" />
-<TGConnectingPoint num="15" id="3905" />
-<TGConnectingPoint num="16" id="3906" />
-<TGConnectingPoint num="17" id="3907" />
-<TGConnectingPoint num="18" id="3908" />
-<TGConnectingPoint num="19" id="3909" />
-<TGConnectingPoint num="20" id="3910" />
-<TGConnectingPoint num="21" id="3911" />
-<TGConnectingPoint num="22" id="3912" />
-<TGConnectingPoint num="23" id="3913" />
+<infoparam name="Proverif Pragma" value="#PrivatePublicKeys InterfaceDevice privK pubK
+#PrivatePublicKeys SmartCard privK pubK
+#PrivatePublicKeys CA privK pubK
+#InitialSystemKnowledge SmartCard.interfaceDeviceID CA.interfaceDeviceID
+#InitialSystemKnowledge InterfaceDevice.smartCardID CA.smartCardID
+#InitialSystemKnowledge InterfaceDevice.pubK CA.interfaceDevicePubK
+#InitialSystemKnowledge SmartCard.pubK CA.smartCardPubK
+#InitialSystemKnowledge CA.pubK SmartCard.CAPubK InterfaceDevice.CAPubK
+
+#Confidentiality InterfaceDevice.secretData
+#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
+" />
+<TGConnectingPoint num="0" id="3480" />
+<TGConnectingPoint num="1" id="3481" />
+<TGConnectingPoint num="2" id="3482" />
+<TGConnectingPoint num="3" id="3483" />
+<TGConnectingPoint num="4" id="3484" />
+<TGConnectingPoint num="5" id="3485" />
+<TGConnectingPoint num="6" id="3486" />
+<TGConnectingPoint num="7" id="3487" />
+<TGConnectingPoint num="8" id="3488" />
+<TGConnectingPoint num="9" id="3489" />
+<TGConnectingPoint num="10" id="3490" />
+<TGConnectingPoint num="11" id="3491" />
+<TGConnectingPoint num="12" id="3492" />
+<TGConnectingPoint num="13" id="3493" />
+<TGConnectingPoint num="14" id="3494" />
+<TGConnectingPoint num="15" id="3495" />
 <extraparam>
-<info stereotype="CPURR" nodeName="CPU2" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="4" MECType="0" encryption="0"/>
+<Line value="#PrivatePublicKeys InterfaceDevice privK pubK" />
+<Line value="#PrivatePublicKeys SmartCard privK pubK" />
+<Line value="#PrivatePublicKeys CA privK pubK" />
+<Line value="#InitialSystemKnowledge SmartCard.interfaceDeviceID CA.interfaceDeviceID" />
+<Line value="#InitialSystemKnowledge InterfaceDevice.smartCardID CA.smartCardID" />
+<Line value="#InitialSystemKnowledge InterfaceDevice.pubK CA.interfaceDevicePubK" />
+<Line value="#InitialSystemKnowledge SmartCard.pubK CA.smartCardPubK" />
+<Line value="#InitialSystemKnowledge CA.pubK SmartCard.CAPubK InterfaceDevice.CAPubK" />
+<Line value="" />
+<Line value="#Confidentiality InterfaceDevice.secretData" />
+<Line value="#Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="3889" >
-<father id="3914" num="0" />
-<cdparam x="604" y="279" />
-<sizeparam width="135" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="39" minY="0" maxY="95" />
-<infoparam name="TGComponent" value="AppC_enc::Timer" />
-<TGConnectingPoint num="0" id="3881" />
-<TGConnectingPoint num="1" id="3882" />
-<TGConnectingPoint num="2" id="3883" />
-<TGConnectingPoint num="3" id="3884" />
-<TGConnectingPoint num="4" id="3885" />
-<TGConnectingPoint num="5" id="3886" />
-<TGConnectingPoint num="6" id="3887" />
-<TGConnectingPoint num="7" id="3888" />
-<extraparam>
-<info value="AppC_enc::Timer" taskName="Timer" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
-</extraparam>
-</SUBCOMPONENT>
 
-<COMPONENT type="1100" id="3948" >
-<cdparam x="56" y="231" />
-<sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5003" id="3505" >
+<cdparam x="260" y="373" />
+<sizeparam width="129" height="61" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU1" value="name" />
-<TGConnectingPoint num="0" id="3924" />
-<TGConnectingPoint num="1" id="3925" />
-<TGConnectingPoint num="2" id="3926" />
-<TGConnectingPoint num="3" id="3927" />
-<TGConnectingPoint num="4" id="3928" />
-<TGConnectingPoint num="5" id="3929" />
-<TGConnectingPoint num="6" id="3930" />
-<TGConnectingPoint num="7" id="3931" />
-<TGConnectingPoint num="8" id="3932" />
-<TGConnectingPoint num="9" id="3933" />
-<TGConnectingPoint num="10" id="3934" />
-<TGConnectingPoint num="11" id="3935" />
-<TGConnectingPoint num="12" id="3936" />
-<TGConnectingPoint num="13" id="3937" />
-<TGConnectingPoint num="14" id="3938" />
-<TGConnectingPoint num="15" id="3939" />
-<TGConnectingPoint num="16" id="3940" />
-<TGConnectingPoint num="17" id="3941" />
-<TGConnectingPoint num="18" id="3942" />
-<TGConnectingPoint num="19" id="3943" />
-<TGConnectingPoint num="20" id="3944" />
-<TGConnectingPoint num="21" id="3945" />
-<TGConnectingPoint num="22" id="3946" />
-<TGConnectingPoint num="23" id="3947" />
+<infoparam name="DataType0" value="Message" />
+<TGConnectingPoint num="0" id="3497" />
+<TGConnectingPoint num="1" id="3498" />
+<TGConnectingPoint num="2" id="3499" />
+<TGConnectingPoint num="3" id="3500" />
+<TGConnectingPoint num="4" id="3501" />
+<TGConnectingPoint num="5" id="3502" />
+<TGConnectingPoint num="6" id="3503" />
+<TGConnectingPoint num="7" id="3504" />
 <extraparam>
-<info stereotype="CPURR" nodeName="CPU1" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="2" MECType="0" encryption="0"/>
+<Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="3923" >
-<father id="3948" num="0" />
-<cdparam x="32" y="276" />
-<sizeparam width="189" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="5003" id="3514" >
+<cdparam x="68" y="372" />
+<sizeparam width="123" height="62" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="-24" minY="0" maxY="86" />
-<infoparam name="TGComponent" value="AppC_enc::InterfaceDevice" />
-<TGConnectingPoint num="0" id="3915" />
-<TGConnectingPoint num="1" id="3916" />
-<TGConnectingPoint num="2" id="3917" />
-<TGConnectingPoint num="3" id="3918" />
-<TGConnectingPoint num="4" id="3919" />
-<TGConnectingPoint num="5" id="3920" />
-<TGConnectingPoint num="6" id="3921" />
-<TGConnectingPoint num="7" id="3922" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="DataType0" value="Key" />
+<TGConnectingPoint num="0" id="3506" />
+<TGConnectingPoint num="1" id="3507" />
+<TGConnectingPoint num="2" id="3508" />
+<TGConnectingPoint num="3" id="3509" />
+<TGConnectingPoint num="4" id="3510" />
+<TGConnectingPoint num="5" id="3511" />
+<TGConnectingPoint num="6" id="3512" />
+<TGConnectingPoint num="7" id="3513" />
 <extraparam>
-<info value="AppC_enc::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
+<Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
-</SUBCOMPONENT>
+</COMPONENT>
 
-<COMPONENT type="1100" id="4000" >
-<cdparam x="267" y="59" />
-<sizeparam width="272" height="167" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5000" id="3614" >
+<cdparam x="21" y="20" />
+<sizeparam width="438" height="344" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="CPU0" value="name" />
-<TGConnectingPoint num="0" id="3976" />
-<TGConnectingPoint num="1" id="3977" />
-<TGConnectingPoint num="2" id="3978" />
-<TGConnectingPoint num="3" id="3979" />
-<TGConnectingPoint num="4" id="3980" />
-<TGConnectingPoint num="5" id="3981" />
-<TGConnectingPoint num="6" id="3982" />
-<TGConnectingPoint num="7" id="3983" />
-<TGConnectingPoint num="8" id="3984" />
-<TGConnectingPoint num="9" id="3985" />
-<TGConnectingPoint num="10" id="3986" />
-<TGConnectingPoint num="11" id="3987" />
-<TGConnectingPoint num="12" id="3988" />
-<TGConnectingPoint num="13" id="3989" />
-<TGConnectingPoint num="14" id="3990" />
-<TGConnectingPoint num="15" id="3991" />
-<TGConnectingPoint num="16" id="3992" />
-<TGConnectingPoint num="17" id="3993" />
-<TGConnectingPoint num="18" id="3994" />
-<TGConnectingPoint num="19" id="3995" />
-<TGConnectingPoint num="20" id="3996" />
-<TGConnectingPoint num="21" id="3997" />
-<TGConnectingPoint num="22" id="3998" />
-<TGConnectingPoint num="23" id="3999" />
+<infoparam name="Block0" value="System" />
+<TGConnectingPoint num="0" id="3590" />
+<TGConnectingPoint num="1" id="3591" />
+<TGConnectingPoint num="2" id="3592" />
+<TGConnectingPoint num="3" id="3593" />
+<TGConnectingPoint num="4" id="3594" />
+<TGConnectingPoint num="5" id="3595" />
+<TGConnectingPoint num="6" id="3596" />
+<TGConnectingPoint num="7" id="3597" />
+<TGConnectingPoint num="8" id="3598" />
+<TGConnectingPoint num="9" id="3599" />
+<TGConnectingPoint num="10" id="3600" />
+<TGConnectingPoint num="11" id="3601" />
+<TGConnectingPoint num="12" id="3602" />
+<TGConnectingPoint num="13" id="3603" />
+<TGConnectingPoint num="14" id="3604" />
+<TGConnectingPoint num="15" id="3605" />
+<TGConnectingPoint num="16" id="3606" />
+<TGConnectingPoint num="17" id="3607" />
+<TGConnectingPoint num="18" id="3608" />
+<TGConnectingPoint num="19" id="3609" />
+<TGConnectingPoint num="20" id="3610" />
+<TGConnectingPoint num="21" id="3611" />
+<TGConnectingPoint num="22" id="3612" />
+<TGConnectingPoint num="23" id="3613" />
 <extraparam>
-<info stereotype="CPURR" nodeName="CPU0" />
-<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="18" execiTime="1" execcTime="1" clockRatio="3" MECType="0" encryption="0"/>
+<blockType data="block" color="-4072719" />
+<CryptoBlock value="false" />
+<Signal value="in chin(Message msg)" attached="true" />
+<Signal value="out chout(Message msg)" attached="true" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1101" id="3957" >
-<father id="4000" num="0" />
-<cdparam x="377" y="119" />
-<sizeparam width="162" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5000" id="3539" >
+<father id="3614" num="0" />
+<cdparam x="263" y="108" />
+<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="110" minY="0" maxY="130" />
-<infoparam name="TGComponent" value="AppC_enc::SmartCard" />
-<TGConnectingPoint num="0" id="3949" />
-<TGConnectingPoint num="1" id="3950" />
-<TGConnectingPoint num="2" id="3951" />
-<TGConnectingPoint num="3" id="3952" />
-<TGConnectingPoint num="4" id="3953" />
-<TGConnectingPoint num="5" id="3954" />
-<TGConnectingPoint num="6" id="3955" />
-<TGConnectingPoint num="7" id="3956" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="218" />
+<infoparam name="Block0" value="SmartCard" />
+<TGConnectingPoint num="0" id="3515" />
+<TGConnectingPoint num="1" id="3516" />
+<TGConnectingPoint num="2" id="3517" />
+<TGConnectingPoint num="3" id="3518" />
+<TGConnectingPoint num="4" id="3519" />
+<TGConnectingPoint num="5" id="3520" />
+<TGConnectingPoint num="6" id="3521" />
+<TGConnectingPoint num="7" id="3522" />
+<TGConnectingPoint num="8" id="3523" />
+<TGConnectingPoint num="9" id="3524" />
+<TGConnectingPoint num="10" id="3525" />
+<TGConnectingPoint num="11" id="3526" />
+<TGConnectingPoint num="12" id="3527" />
+<TGConnectingPoint num="13" id="3528" />
+<TGConnectingPoint num="14" id="3529" />
+<TGConnectingPoint num="15" id="3530" />
+<TGConnectingPoint num="16" id="3531" />
+<TGConnectingPoint num="17" id="3532" />
+<TGConnectingPoint num="18" id="3533" />
+<TGConnectingPoint num="19" id="3534" />
+<TGConnectingPoint num="20" id="3535" />
+<TGConnectingPoint num="21" id="3536" />
+<TGConnectingPoint num="22" id="3537" />
+<TGConnectingPoint num="23" id="3538" />
 <extraparam>
-<info value="AppC_enc::SmartCard" taskName="SmartCard" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
+<blockType data="cryptoblock" color="-4072719" />
+<CryptoBlock value="true" />
+<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="receivedData" value="" type="8" typeOther="" />
+<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="alicePubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="sig" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="certOK" value="" type="4" typeOther="" />
+<Attribute access="0" id="interfaceDeviceID" value="" type="8" typeOther="" />
+<Attribute access="0" id="interfaceDevicePubK" value="" type="5" typeOther="Key" />
+<Method value="Message encrypt(Message msg, Key k)" />
+<Method value="Message decrypt(Message msg, Key k)" />
+<Method value="Message sencrypt(Message msg, Key k)" />
+<Method value="Message sdecrypt(Message msg, Key k)" />
+<Method value="Message MAC(Message msg, Key k)" />
+<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
+<Method value="Message concat2(Message msg1, Message msg2)" />
+<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
+<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="get2(Message msg, Message msg1, Message msg2)" />
+<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
+<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="Message aencrypt(Message msg, Key k)" />
+<Method value="Message adecrypt(Message msg, Key k)" />
+<Method value="Key pk(Key k)" />
+<Method value="Message sign(Message msg, Key k)" />
+<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
+<Method value="Message cert(Key k, Message msg)" />
+<Method value="bool verifyCert(Message cert, Key k)" />
+<Method value="Key getpk(Message cert)" />
+<Method value="Key DH(Key pubK, Key privK)" />
+<Method value="Message hash(Message msg)" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="3966" >
-<father id="4000" num="1" />
-<cdparam x="293" y="165" />
-<sizeparam width="165" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5000" id="3564" >
+<father id="3614" num="1" />
+<cdparam x="36" y="108" />
+<sizeparam width="215" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="107" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC_enc::Application" />
-<TGConnectingPoint num="0" id="3958" />
-<TGConnectingPoint num="1" id="3959" />
-<TGConnectingPoint num="2" id="3960" />
-<TGConnectingPoint num="3" id="3961" />
-<TGConnectingPoint num="4" id="3962" />
-<TGConnectingPoint num="5" id="3963" />
-<TGConnectingPoint num="6" id="3964" />
-<TGConnectingPoint num="7" id="3965" />
+<cdrectangleparam minX="0" maxX="223" minY="0" maxY="218" />
+<infoparam name="Block0" value="InterfaceDevice" />
+<TGConnectingPoint num="0" id="3540" />
+<TGConnectingPoint num="1" id="3541" />
+<TGConnectingPoint num="2" id="3542" />
+<TGConnectingPoint num="3" id="3543" />
+<TGConnectingPoint num="4" id="3544" />
+<TGConnectingPoint num="5" id="3545" />
+<TGConnectingPoint num="6" id="3546" />
+<TGConnectingPoint num="7" id="3547" />
+<TGConnectingPoint num="8" id="3548" />
+<TGConnectingPoint num="9" id="3549" />
+<TGConnectingPoint num="10" id="3550" />
+<TGConnectingPoint num="11" id="3551" />
+<TGConnectingPoint num="12" id="3552" />
+<TGConnectingPoint num="13" id="3553" />
+<TGConnectingPoint num="14" id="3554" />
+<TGConnectingPoint num="15" id="3555" />
+<TGConnectingPoint num="16" id="3556" />
+<TGConnectingPoint num="17" id="3557" />
+<TGConnectingPoint num="18" id="3558" />
+<TGConnectingPoint num="19" id="3559" />
+<TGConnectingPoint num="20" id="3560" />
+<TGConnectingPoint num="21" id="3561" />
+<TGConnectingPoint num="22" id="3562" />
+<TGConnectingPoint num="23" id="3563" />
 <extraparam>
-<info value="AppC_enc::Application" taskName="Application" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
+<blockType data="cryptoblock" color="-4072719" />
+<CryptoBlock value="true" />
+<Attribute access="0" id="secretData" value="" type="8" typeOther="" />
+<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="sk" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="CAPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="sig" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="certOK" value="" type="4" typeOther="" />
+<Attribute access="0" id="smartCardID" value="" type="8" typeOther="" />
+<Attribute access="0" id="smartCardPubK" value="" type="5" typeOther="Key" />
+<Method value="Message encrypt(Message msg, Key k)" />
+<Method value="Message decrypt(Message msg, Key k)" />
+<Method value="Message sencrypt(Message msg, Key k)" />
+<Method value="Message sdecrypt(Message msg, Key k)" />
+<Method value="Message MAC(Message msg, Key k)" />
+<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
+<Method value="Message concat2(Message msg1, Message msg2)" />
+<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
+<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="get2(Message msg, Message msg1, Message msg2)" />
+<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
+<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="Message aencrypt(Message msg, Key k)" />
+<Method value="Message adecrypt(Message msg, Key k)" />
+<Method value="Key pk(Key k)" />
+<Method value="Message sign(Message msg, Key k)" />
+<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
+<Method value="Message cert(Key k, Message msg)" />
+<Method value="bool verifyCert(Message cert, Key k)" />
+<Method value="Key getpk(Message cert)" />
+<Method value="Key DH(Key pubK, Key privK)" />
+<Method value="Message hash(Message msg)" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="3975" >
-<father id="4000" num="2" />
-<cdparam x="277" y="90" />
-<sizeparam width="134" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5000" id="3589" >
+<father id="3614" num="2" />
+<cdparam x="115" y="249" />
+<sizeparam width="261" height="83" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="138" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC_enc::TCPIP" />
-<TGConnectingPoint num="0" id="3967" />
-<TGConnectingPoint num="1" id="3968" />
-<TGConnectingPoint num="2" id="3969" />
-<TGConnectingPoint num="3" id="3970" />
-<TGConnectingPoint num="4" id="3971" />
-<TGConnectingPoint num="5" id="3972" />
-<TGConnectingPoint num="6" id="3973" />
-<TGConnectingPoint num="7" id="3974" />
+<cdrectangleparam minX="0" maxX="177" minY="0" maxY="261" />
+<infoparam name="Block0" value="CA" />
+<TGConnectingPoint num="0" id="3565" />
+<TGConnectingPoint num="1" id="3566" />
+<TGConnectingPoint num="2" id="3567" />
+<TGConnectingPoint num="3" id="3568" />
+<TGConnectingPoint num="4" id="3569" />
+<TGConnectingPoint num="5" id="3570" />
+<TGConnectingPoint num="6" id="3571" />
+<TGConnectingPoint num="7" id="3572" />
+<TGConnectingPoint num="8" id="3573" />
+<TGConnectingPoint num="9" id="3574" />
+<TGConnectingPoint num="10" id="3575" />
+<TGConnectingPoint num="11" id="3576" />
+<TGConnectingPoint num="12" id="3577" />
+<TGConnectingPoint num="13" id="3578" />
+<TGConnectingPoint num="14" id="3579" />
+<TGConnectingPoint num="15" id="3580" />
+<TGConnectingPoint num="16" id="3581" />
+<TGConnectingPoint num="17" id="3582" />
+<TGConnectingPoint num="18" id="3583" />
+<TGConnectingPoint num="19" id="3584" />
+<TGConnectingPoint num="20" id="3585" />
+<TGConnectingPoint num="21" id="3586" />
+<TGConnectingPoint num="22" id="3587" />
+<TGConnectingPoint num="23" id="3588" />
 <extraparam>
-<info value="AppC_enc::TCPIP" taskName="TCPIP" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
+<blockType data="cryptoblock" color="-4072719" />
+<CryptoBlock value="true" />
+<Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="pubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="m" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="newK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="newCert" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m1" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="m2" value="" type="5" typeOther="Message" />
+<Attribute access="0" id="newID" value="" type="8" typeOther="" />
+<Attribute access="0" id="interfaceDevicePubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="smartCardPubK" value="" type="5" typeOther="Key" />
+<Attribute access="0" id="interfaceDeviceID" value="" type="8" typeOther="" />
+<Attribute access="0" id="smartCardID" value="" type="8" typeOther="" />
+<Method value="Message aencrypt(Message msg, Key k)" />
+<Method value="Message adecrypt(Message msg, Key k)" />
+<Method value="Key pk(Key k)" />
+<Method value="Message sign(Message msg, Key k)" />
+<Method value="bool verifySign(Message msg1, Message sig, Key k)" />
+<Method value="Message cert(Key k, Message msg)" />
+<Method value="bool verifyCert(Message cert, Key k)" />
+<Method value="Key getpk(Message cert)" />
+<Method value="Message sencrypt(Message msg, Key k)" />
+<Method value="Message sdecrypt(Message msg, Key k)" />
+<Method value="Key DH(Key pubK, Key privK)" />
+<Method value="Message hash(Message msg)" />
+<Method value="Message MAC(Message msg, Key k)" />
+<Method value="bool verifyMAC(Message msg, Key k, Message macmsg)" />
+<Method value="Message concat2(Message msg1, Message msg2)" />
+<Method value="Message concat3(Message msg1, Message msg2, Message msg3)" />
+<Method value="Message concat4(Message msg1, Message msg2, Message msg3, Message msg4)" />
+<Method value="get2(Message msg, Message msg1, Message msg2)" />
+<Method value="get3(Message msg, Message msg1, Message msg2, Message msg3)" />
+<Method value="get4(Message msg, Message msg1, Message msg2, Message msg3, Message msg4)" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1102" id="4025" >
-<cdparam x="630" y="38" />
-<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="SecureBus2" value="name" />
-<TGConnectingPoint num="0" id="4001" />
-<TGConnectingPoint num="1" id="4002" />
-<TGConnectingPoint num="2" id="4003" />
-<TGConnectingPoint num="3" id="4004" />
-<TGConnectingPoint num="4" id="4005" />
-<TGConnectingPoint num="5" id="4006" />
-<TGConnectingPoint num="6" id="4007" />
-<TGConnectingPoint num="7" id="4008" />
-<TGConnectingPoint num="8" id="4009" />
-<TGConnectingPoint num="9" id="4010" />
-<TGConnectingPoint num="10" id="4011" />
-<TGConnectingPoint num="11" id="4012" />
-<TGConnectingPoint num="12" id="4013" />
-<TGConnectingPoint num="13" id="4014" />
-<TGConnectingPoint num="14" id="4015" />
-<TGConnectingPoint num="15" id="4016" />
-<TGConnectingPoint num="16" id="4017" />
-<TGConnectingPoint num="17" id="4018" />
-<TGConnectingPoint num="18" id="4019" />
-<TGConnectingPoint num="19" id="4020" />
-<TGConnectingPoint num="20" id="4021" />
-<TGConnectingPoint num="21" id="4022" />
-<TGConnectingPoint num="22" id="4023" />
-<TGConnectingPoint num="23" id="4024" />
-<extraparam>
-<info stereotype="BUS-RR" nodeName="SecureBus2" />
-<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
-</extraparam>
-</COMPONENT>
 
-<COMPONENT type="1105" id="4050" >
-<cdparam x="780" y="123" />
-<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</AVATARBlockDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="System" minX="10" maxX="2500" minY="10" maxY="1500" >
+<COMPONENT type="5100" id="3616" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="secureMem2" value="name" />
-<TGConnectingPoint num="0" id="4026" />
-<TGConnectingPoint num="1" id="4027" />
-<TGConnectingPoint num="2" id="4028" />
-<TGConnectingPoint num="3" id="4029" />
-<TGConnectingPoint num="4" id="4030" />
-<TGConnectingPoint num="5" id="4031" />
-<TGConnectingPoint num="6" id="4032" />
-<TGConnectingPoint num="7" id="4033" />
-<TGConnectingPoint num="8" id="4034" />
-<TGConnectingPoint num="9" id="4035" />
-<TGConnectingPoint num="10" id="4036" />
-<TGConnectingPoint num="11" id="4037" />
-<TGConnectingPoint num="12" id="4038" />
-<TGConnectingPoint num="13" id="4039" />
-<TGConnectingPoint num="14" id="4040" />
-<TGConnectingPoint num="15" id="4041" />
-<TGConnectingPoint num="16" id="4042" />
-<TGConnectingPoint num="17" id="4043" />
-<TGConnectingPoint num="18" id="4044" />
-<TGConnectingPoint num="19" id="4045" />
-<TGConnectingPoint num="20" id="4046" />
-<TGConnectingPoint num="21" id="4047" />
-<TGConnectingPoint num="22" id="4048" />
-<TGConnectingPoint num="23" id="4049" />
-<extraparam>
-<info stereotype="MEMORY" nodeName="secureMem2" />
-<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="3615" />
 </COMPONENT>
-<SUBCOMPONENT type="1111" id="5560" >
-<father id="4050" num="0" />
-<cdparam x="789" y="182" />
-<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
-<infoparam name="TGComponent" value="autoEncrypt_fromDtoSC" />
-<TGConnectingPoint num="0" id="5561" />
-<TGConnectingPoint num="1" id="5562" />
-<TGConnectingPoint num="2" id="5563" />
-<TGConnectingPoint num="3" id="5564" />
-<TGConnectingPoint num="4" id="5565" />
-<TGConnectingPoint num="5" id="5566" />
-<TGConnectingPoint num="6" id="5567" />
-<TGConnectingPoint num="7" id="5568" />
-<extraparam>
-<info value="autoEncrypt_fromDtoSC" referenceKeyName="autoEncrypt_fromDtoSC" priority="5" typeName="key" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1111" id="5542" >
-<father id="4050" num="1" />
-<cdparam x="781" y="127" />
-<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
-<infoparam name="TGComponent" value="autoEncrypt_fromSCtoD" />
-<TGConnectingPoint num="0" id="5543" />
-<TGConnectingPoint num="1" id="5544" />
-<TGConnectingPoint num="2" id="5545" />
-<TGConnectingPoint num="3" id="5546" />
-<TGConnectingPoint num="4" id="5547" />
-<TGConnectingPoint num="5" id="5548" />
-<TGConnectingPoint num="6" id="5549" />
-<TGConnectingPoint num="7" id="5550" />
-<extraparam>
-<info value="autoEncrypt_fromSCtoD" referenceKeyName="autoEncrypt_fromSCtoD" priority="5" typeName="key" />
-</extraparam>
-</SUBCOMPONENT>
 
-<CONNECTOR type="125" id="4051" >
-<cdparam x="539" y="100" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="539" y="100" id="3987" />
-<P2  x="630" y="63" id="4004" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="4052" >
-<cdparam x="143" y="511" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="143" y="511" id="3807" />
-<P2  x="142" y="453" id="3787" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="4053" >
-<cdparam x="138" y="357" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="138" y="357" id="3930" />
-<P2  x="142" y="403" id="3782" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="4054" >
-<cdparam x="402" y="367" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from Memory0 to Bus0" value="{info}" />
-<P1  x="403" y="358" id="3832" />
-<P2  x="403" y="319" id="3862" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="4055" >
-<cdparam x="190" y="300" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU1 to Bus0" value="{info}" />
-<P1  x="221" y="294" id="3928" />
-<P2  x="278" y="294" id="3859" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="4056" >
-<cdparam x="662" y="310" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU2 to Bus0" value="{info}" />
-<P1  x="574" y="294" id="3893" />
-<P2  x="528" y="294" id="3860" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="4057" >
-<cdparam x="388" y="162" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from CPU0 to Bus0" value="{info}" />
-<P1  x="403" y="226" id="3982" />
-<P2  x="403" y="269" id="3857" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
-<CONNECTOR type="125" id="4058" >
-<cdparam x="812" y="190" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="{info}" />
-<P1  x="868" y="123" id="4027" />
-<P2  x="755" y="88" id="4007" />
-<AutomaticDrawing  data="true" />
-<extraparam>
-<info priority="0" />
-<spy value="false" />
-</extraparam>
-</CONNECTOR>
 
-</TMLArchiDiagramPanel>
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="CA" minX="10" maxX="2500" minY="10" maxY="1500" >
+<COMPONENT type="5100" id="3618" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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" />
+<TGConnectingPoint num="0" id="3617" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="2500" minY="10" maxY="1500" >
+<COMPONENT type="5100" id="3620" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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" />
+<TGConnectingPoint num="0" id="3619" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
+
+<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="2500" minY="10" maxY="1500" >
+<COMPONENT type="5100" id="3622" >
+<cdparam x="400" y="50" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" 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" />
+<TGConnectingPoint num="0" id="3621" />
+</COMPONENT>
+
+
+</AVATARStateMachineDiagramPanel>
 
 </Modeling>
 
 
 
 
-<Modeling type="TML Component Design" nameTab="AppC_enc" >
-<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="0" maxX="2724" minY="0" maxY="916" channels="true" events="true" requests="true" zoom="1.0000000000000018" >
-<CONNECTOR type="126" id="4059" >
-<cdparam x="535" y="347" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="556" y="347" id="4227" />
-<P2  x="547" y="382" id="4274" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4061" >
-<cdparam x="820" y="398" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="1025" y="497" id="4121" />
-<P2  x="761" y="574" id="4242" />
-<Point x="887" y="577" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4060" >
-<father id="4061" num="0" />
-<cdparam x="887" y="577" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<Modeling type="Sysmlsec Methodology" nameTab="SysMLSec_Methodology" >
+<SysmlsecMethodologyDiagramPanel name="SysMLSec_Methodology" minX="10" maxX="2000" minY="10" maxY="1200" zoom="0.8000000000000002" >
+<COMPONENT type="5705" id="3627" >
+<cdparam x="520" y="400" />
+<sizeparam width="144" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="1744" minY="0" maxY="587" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Properties" />
+<TGConnectingPoint num="0" id="3623" />
+<TGConnectingPoint num="1" id="3624" />
+<TGConnectingPoint num="2" id="3625" />
+<TGConnectingPoint num="3" id="3626" />
+</COMPONENT>
 
-<CONNECTOR type="126" id="4062" >
-<cdparam x="568" y="323" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="710" y="403" id="4244" />
-<P2  x="693" y="347" id="4205" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4063" >
-<cdparam x="522" y="390" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="382" id="4269" />
-<P2  x="466" y="335" id="4108" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4064" >
-<cdparam x="409" y="124" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="401" y="83" id="4110" />
-<P2  x="593" y="84" id="4229" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4065" >
-<cdparam x="656" y="426" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="552" id="4248" />
-<P2  x="969" y="495" id="4135" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4066" >
-<cdparam x="656" y="400" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="519" id="4250" />
-<P2  x="921" y="476" id="4133" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4067" >
-<cdparam x="602" y="327" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="750" y="406" id="4258" />
-<P2  x="828" y="375" id="4163" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4068" >
-<cdparam x="689" y="292" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="854" y="375" id="4167" />
-<P2  x="921" y="362" id="4143" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4069" >
-<cdparam x="656" y="377" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="491" id="4254" />
-<P2  x="921" y="453" id="4141" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4070" >
-<cdparam x="656" y="351" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="816" y="458" id="4252" />
-<P2  x="921" y="426" id="4139" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4071" >
-<cdparam x="741" y="296" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="921" y="397" id="4137" />
-<P2  x="816" y="429" id="4256" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4072" >
-<cdparam x="735" y="260" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="918" y="330" id="4145" />
-<P2  x="747" y="282" id="4217" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4073" >
-<cdparam x="641" y="230" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="747" y="248" id="4215" />
-<P2  x="918" y="291" id="4147" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4074" >
-<cdparam x="641" y="195" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="747" y="203" id="4213" />
-<P2  x="918" y="248" id="4149" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4075" >
-<cdparam x="740" y="353" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="828" y="375" id="4162" />
-<P2  x="747" y="314" id="4211" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4076" >
-<cdparam x="460" y="270" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="303" id="4221" />
-<P2  x="466" y="303" id="4102" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4077" >
-<cdparam x="387" y="129" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="464" y="126" id="4098" />
-<P2  x="524" y="126" id="4209" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4078" >
-<cdparam x="389" y="200" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="466" y="215" id="4104" />
-<P2  x="521" y="215" id="4223" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4079" >
-<cdparam x="460" y="236" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="521" y="260" id="4225" />
-<P2  x="466" y="260" id="4106" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4080" >
-<cdparam x="389" y="163" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="Connector between ports" />
-<P1  x="466" y="169" id="4100" />
-<P2  x="521" y="169" id="4219" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4081" >
-<cdparam x="967" y="190" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="918" y="198" id="4151" />
-<P2  x="747" y="124" id="4231" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4082" >
-<cdparam x="1028" y="535" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="630" y="345" id="4207" />
-<P2  x="669" y="406" id="4246" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4083" >
-<cdparam x="1308" y="303" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1222" y="378" id="4185" />
-<P2  x="1178" y="380" id="4131" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4084" >
-<cdparam x="1172" y="437" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="415" id="4129" />
-<P2  x="1222" y="413" id="4183" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="126" id="4087" >
-<cdparam x="1041" y="162" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="208" id="4127" />
-<P2  x="1178" y="276" id="4125" />
-<Point x="1227" y="207" />
-<Point x="1227" y="247" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4085" >
-<father id="4087" num="0" />
-<cdparam x="1227" y="207" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5706" id="3632" >
+<cdparam x="880" y="480" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Prototyping" />
+<TGConnectingPoint num="0" id="3628" />
+<TGConnectingPoint num="1" id="3629" />
+<TGConnectingPoint num="2" id="3630" />
+<TGConnectingPoint num="3" id="3631" />
+</COMPONENT>
+
+<COMPONENT type="5704" id="3641" >
+<cdparam x="800" y="400" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Design" />
+<TGConnectingPoint num="0" id="3636" />
+<TGConnectingPoint num="1" id="3637" />
+<TGConnectingPoint num="2" id="3638" />
+<TGConnectingPoint num="3" id="3639" />
+<TGConnectingPoint num="4" id="3640" />
+</COMPONENT>
+<SUBCOMPONENT type="5707" id="3633" >
+<father id="3641" num="0" />
+<cdparam x="804" y="456" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="1005" maxX="1005" minY="570" maxY="570" />
+<infoparam name="value " value="DHWithCertificateSecurityProtocol" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4086" >
-<father id="4087" num="1" />
-<cdparam x="1227" y="247" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5707" id="3634" >
+<father id="3641" num="1" />
+<cdparam x="804" y="444" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="1005" maxX="1005" minY="555" maxY="555" />
+<infoparam name="value " value="DHSecurityProtocol" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="5707" id="3635" >
+<father id="3641" num="2" />
+<cdparam x="804" y="432" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="1005" maxX="1005" minY="540" maxY="540" />
+<infoparam name="value " value="BasicSecurityProtocol" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="126" id="4088" >
-<cdparam x="877" y="343" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
-<P1  x="1178" y="454" id="4123" />
-<P2  x="1222" y="441" id="4181" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="1205" id="4097" >
-<cdparam x="1155" y="486" />
-<sizeparam width="205" height="105" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5703" id="3647" >
+<cdparam x="720" y="320" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Analysis" />
+<TGConnectingPoint num="0" id="3642" />
+<TGConnectingPoint num="1" id="3643" />
+<TGConnectingPoint num="2" id="3644" />
+<TGConnectingPoint num="3" id="3645" />
+<TGConnectingPoint num="4" id="3646" />
+</COMPONENT>
+
+<COMPONENT type="5711" id="3652" >
+<cdparam x="709" y="80" />
+<sizeparam width="181" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Communication pattern" />
+<TGConnectingPoint num="0" id="3648" />
+<TGConnectingPoint num="1" id="3649" />
+<TGConnectingPoint num="2" id="3650" />
+<TGConnectingPoint num="3" id="3651" />
+</COMPONENT>
+
+<COMPONENT type="5710" id="3659" >
+<cdparam x="720" y="180" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="2725" minY="0" maxY="917" />
-<infoparam name="Record component" value="TCP_CTRL" />
-<TGConnectingPoint num="0" id="4089" />
-<TGConnectingPoint num="1" id="4090" />
-<TGConnectingPoint num="2" id="4091" />
-<TGConnectingPoint num="3" id="4092" />
-<TGConnectingPoint num="4" id="4093" />
-<TGConnectingPoint num="5" id="4094" />
-<TGConnectingPoint num="6" id="4095" />
-<TGConnectingPoint num="7" id="4096" />
-<extraparam>
-<Attribute access="2" id="a" value="" type="0" typeOther="" />
-<Attribute access="2" id="state" value="" type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Mapping" />
+<TGConnectingPoint num="0" id="3653" />
+<TGConnectingPoint num="1" id="3654" />
+<TGConnectingPoint num="2" id="3655" />
+<TGConnectingPoint num="3" id="3656" />
+<TGConnectingPoint num="4" id="3657" />
+<TGConnectingPoint num="5" id="3658" />
 </COMPONENT>
 
-<COMPONENT type="1202" id="4120" >
-<cdparam x="163" y="96" />
-<sizeparam width="290" height="276" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5709" id="3667" >
+<cdparam x="920" y="80" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="2725" minY="0" maxY="917" />
-<infoparam name="TGComponent" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="4112" />
-<TGConnectingPoint num="1" id="4113" />
-<TGConnectingPoint num="2" id="4114" />
-<TGConnectingPoint num="3" id="4115" />
-<TGConnectingPoint num="4" id="4116" />
-<TGConnectingPoint num="5" id="4117" />
-<TGConnectingPoint num="6" id="4118" />
-<TGConnectingPoint num="7" id="4119" />
-<extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
-<Attribute access="2" id="i" value="0" type="0" typeOther="" />
-<Attribute access="2" id="nbOfComputedPackets" value="1" type="0" typeOther="" />
-<Attribute access="2" id="b" value="" type="4" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Architecture view" />
+<TGConnectingPoint num="0" id="3663" />
+<TGConnectingPoint num="1" id="3664" />
+<TGConnectingPoint num="2" id="3665" />
+<TGConnectingPoint num="3" id="3666" />
 </COMPONENT>
-<SUBCOMPONENT type="1203" id="4099" >
-<father id="4120" num="0" />
-<cdparam x="443" y="116" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5707" id="3660" >
+<father id="3667" num="0" />
+<cdparam x="924" y="136" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="4098" />
-<extraparam>
-<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="1155" maxX="1155" minY="170" maxY="170" />
+<infoparam name="value " value="Mapping2_Sec" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4101" >
-<father id="4120" num="1" />
-<cdparam x="440" y="156" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5707" id="3661" >
+<father id="3667" num="1" />
+<cdparam x="924" y="124" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="4100" />
-<extraparam>
-<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="1155" maxX="1155" minY="155" maxY="155" />
+<infoparam name="value " value="Mapping2" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4103" >
-<father id="4120" num="2" />
-<cdparam x="440" y="290" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5707" id="3662" >
+<father id="3667" num="2" />
+<cdparam x="924" y="112" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="4102" />
-<extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="1155" maxX="1155" minY="140" maxY="140" />
+<infoparam name="value " value="Mapping1" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4105" >
-<father id="4120" num="3" />
-<reference id="184" />
-<cdparam x="440" y="202" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="5713" id="3673" >
+<cdparam x="520" y="80" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="4104" />
-<extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4107" >
-<father id="4120" num="4" />
-<reference id="184" />
-<cdparam x="440" y="247" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Functional view" />
+<TGConnectingPoint num="0" id="3669" />
+<TGConnectingPoint num="1" id="3670" />
+<TGConnectingPoint num="2" id="3671" />
+<TGConnectingPoint num="3" id="3672" />
+</COMPONENT>
+<SUBCOMPONENT type="5707" id="3668" >
+<father id="3673" num="0" />
+<cdparam x="524" y="112" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="4106" />
-<extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="655" maxX="655" minY="140" maxY="140" />
+<infoparam name="value " value="AppC" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4109" >
-<father id="4120" num="5" />
-<cdparam x="440" y="322" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="5719" id="3679" >
+<cdparam x="280" y="120" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="4108" />
-<extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4111" >
-<father id="4120" num="6" />
-<reference id="184" />
-<cdparam x="388" y="83" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Faults" />
+<TGConnectingPoint num="0" id="3674" />
+<TGConnectingPoint num="1" id="3675" />
+<TGConnectingPoint num="2" id="3676" />
+<TGConnectingPoint num="3" id="3677" />
+<TGConnectingPoint num="4" id="3678" />
+</COMPONENT>
+
+<COMPONENT type="5712" id="3686" >
+<cdparam x="280" y="440" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event reset, pTS, end" />
-<TGConnectingPoint num="0" id="4110" />
-<extraparam>
-<Prop commName="reset, pTS, end" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Attacks" />
+<TGConnectingPoint num="0" id="3681" />
+<TGConnectingPoint num="1" id="3682" />
+<TGConnectingPoint num="2" id="3683" />
+<TGConnectingPoint num="3" id="3684" />
+<TGConnectingPoint num="4" id="3685" />
+</COMPONENT>
+<SUBCOMPONENT type="5707" id="3680" >
+<father id="3686" num="0" />
+<cdparam x="284" y="472" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="355" maxX="355" minY="590" maxY="590" />
+<infoparam name="value " value="Attack Trees" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1200" id="4296" >
-<cdparam x="534" y="93" />
-<sizeparam width="935" height="530" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5702" id="3696" >
+<cdparam x="280" y="280" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="2725" minY="0" maxY="917" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="4288" />
-<TGConnectingPoint num="1" id="4289" />
-<TGConnectingPoint num="2" id="4290" />
-<TGConnectingPoint num="3" id="4291" />
-<TGConnectingPoint num="4" id="4292" />
-<TGConnectingPoint num="5" id="4293" />
-<TGConnectingPoint num="6" id="4294" />
-<TGConnectingPoint num="7" id="4295" />
-<extraparam>
-<info hiddeni="false" />
-</extraparam>
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Requirements" />
+<TGConnectingPoint num="0" id="3688" />
+<TGConnectingPoint num="1" id="3689" />
+<TGConnectingPoint num="2" id="3690" />
+<TGConnectingPoint num="3" id="3691" />
+<TGConnectingPoint num="4" id="3692" />
+<TGConnectingPoint num="5" id="3693" />
+<TGConnectingPoint num="6" id="3694" />
+<TGConnectingPoint num="7" id="3695" />
 </COMPONENT>
-<SUBCOMPONENT type="1200" id="4204" >
-<father id="4296" num="0" />
-<cdparam x="841" y="133" />
-<sizeparam width="570" height="485" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5707" id="3687" >
+<father id="3696" num="0" />
+<cdparam x="284" y="312" />
+<sizeparam width="8" height="8" minWidth="8" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="365" minY="0" maxY="45" />
-<infoparam name="TGComponent" value="TCPIP Entities" />
-<TGConnectingPoint num="0" id="4196" />
-<TGConnectingPoint num="1" id="4197" />
-<TGConnectingPoint num="2" id="4198" />
-<TGConnectingPoint num="3" id="4199" />
-<TGConnectingPoint num="4" id="4200" />
-<TGConnectingPoint num="5" id="4201" />
-<TGConnectingPoint num="6" id="4202" />
-<TGConnectingPoint num="7" id="4203" />
-<extraparam>
-<info hiddeni="false" />
-</extraparam>
+<cdrectangleparam minX="355" maxX="355" minY="390" maxY="390" />
+<infoparam name="value " value="Requirements" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="4161" >
-<father id="4204" num="0" />
-<cdparam x="931" y="167" />
-<sizeparam width="236" height="317" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="5701" id="3701" >
+<cdparam x="40" y="280" />
+<sizeparam width="160" height="56" minWidth="8" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="334" minY="0" maxY="168" />
-<infoparam name="TGComponent" value="TCPIP" />
-<TGConnectingPoint num="0" id="4153" />
-<TGConnectingPoint num="1" id="4154" />
-<TGConnectingPoint num="2" id="4155" />
-<TGConnectingPoint num="3" id="4156" />
-<TGConnectingPoint num="4" id="4157" />
-<TGConnectingPoint num="5" id="4158" />
-<TGConnectingPoint num="6" id="4159" />
-<TGConnectingPoint num="7" id="4160" />
-<extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
-<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
-<Attribute access="2" id="i" value="" type="0" typeOther="" />
-<Attribute access="2" id="j" value="" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4122" >
-<father id="4161" num="0" />
-<cdparam x="1012" y="471" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="TGComponent" value="Assumptions" />
+<TGConnectingPoint num="0" id="3697" />
+<TGConnectingPoint num="1" id="3698" />
+<TGConnectingPoint num="2" id="3699" />
+<TGConnectingPoint num="3" id="3700" />
+</COMPONENT>
+
+<COMPONENT type="304" id="3718" >
+<cdparam x="504" y="52" />
+<sizeparam width="600" height="200" minWidth="16" minHeight="16" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="Primitive port" value="Event opened" />
-<TGConnectingPoint num="0" id="4121" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="Info" value="SW/HW Partitioning" />
+<TGConnectingPoint num="0" id="3702" />
+<TGConnectingPoint num="1" id="3703" />
+<TGConnectingPoint num="2" id="3704" />
+<TGConnectingPoint num="3" id="3705" />
+<TGConnectingPoint num="4" id="3706" />
+<TGConnectingPoint num="5" id="3707" />
+<TGConnectingPoint num="6" id="3708" />
+<TGConnectingPoint num="7" id="3709" />
+<TGConnectingPoint num="8" id="3710" />
+<TGConnectingPoint num="9" id="3711" />
+<TGConnectingPoint num="10" id="3712" />
+<TGConnectingPoint num="11" id="3713" />
+<TGConnectingPoint num="12" id="3714" />
+<TGConnectingPoint num="13" id="3715" />
+<TGConnectingPoint num="14" id="3716" />
+<TGConnectingPoint num="15" id="3717" />
 <extraparam>
-<Prop commName="opened" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<TextColor value="-1" />
+<FillColor value="-1" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4124" >
-<father id="4161" num="1" />
-<cdparam x="1157" y="444" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="304" id="3735" >
+<cdparam x="504" y="300" />
+<sizeparam width="600" height="260" minWidth="16" minHeight="16" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="4123" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="Info" value="SW Design" />
+<TGConnectingPoint num="0" id="3719" />
+<TGConnectingPoint num="1" id="3720" />
+<TGConnectingPoint num="2" id="3721" />
+<TGConnectingPoint num="3" id="3722" />
+<TGConnectingPoint num="4" id="3723" />
+<TGConnectingPoint num="5" id="3724" />
+<TGConnectingPoint num="6" id="3725" />
+<TGConnectingPoint num="7" id="3726" />
+<TGConnectingPoint num="8" id="3727" />
+<TGConnectingPoint num="9" id="3728" />
+<TGConnectingPoint num="10" id="3729" />
+<TGConnectingPoint num="11" id="3730" />
+<TGConnectingPoint num="12" id="3731" />
+<TGConnectingPoint num="13" id="3732" />
+<TGConnectingPoint num="14" id="3733" />
+<TGConnectingPoint num="15" id="3734" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<TextColor value="-1" />
+<FillColor value="-1" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4126" >
-<father id="4161" num="2" />
-<cdparam x="1157" y="266" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="304" id="3752" >
+<cdparam x="264" y="80" />
+<sizeparam width="192" height="440" minWidth="16" minHeight="16" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="4125" />
+<cdrectangleparam minX="8" maxX="1601" minY="8" maxY="961" />
+<infoparam name="Info" value="Req / faults / attacks" />
+<TGConnectingPoint num="0" id="3736" />
+<TGConnectingPoint num="1" id="3737" />
+<TGConnectingPoint num="2" id="3738" />
+<TGConnectingPoint num="3" id="3739" />
+<TGConnectingPoint num="4" id="3740" />
+<TGConnectingPoint num="5" id="3741" />
+<TGConnectingPoint num="6" id="3742" />
+<TGConnectingPoint num="7" id="3743" />
+<TGConnectingPoint num="8" id="3744" />
+<TGConnectingPoint num="9" id="3745" />
+<TGConnectingPoint num="10" id="3746" />
+<TGConnectingPoint num="11" id="3747" />
+<TGConnectingPoint num="12" id="3748" />
+<TGConnectingPoint num="13" id="3749" />
+<TGConnectingPoint num="14" id="3750" />
+<TGConnectingPoint num="15" id="3751" />
 <extraparam>
-<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<TextColor value="-1" />
+<FillColor value="-1" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4128" >
-<father id="4161" num="3" />
-<cdparam x="1157" y="198" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<CONNECTOR type="6004" id="3754" >
+<cdparam x="1000" y="136" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3753" />
+<P1  x="1000" y="136" id="3663" />
+<P2  x="832" y="180" id="3654" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="6004" id="3756" >
+<cdparam x="800" y="136" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3755" />
+<P1  x="799" y="136" id="3648" />
+<P2  x="800" y="180" id="3655" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="6004" id="3758" >
+<cdparam x="600" y="136" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3757" />
+<P1  x="600" y="136" id="3669" />
+<P2  x="768" y="180" id="3653" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5718" id="3764" >
+<cdparam x="440" y="308" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3761" />
+<TGConnectingPoint num="1" id="3762" />
+<TGConnectingPoint num="2" id="3763" />
+<P1  x="440" y="308" id="3688" />
+<P2  x="592" y="400" id="3623" />
+<Point x="476" y="308" />
+<Point x="476" y="360" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3759" >
+<father id="3764" num="0" />
+<cdparam x="476" y="308" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel temp" />
-<TGConnectingPoint num="0" id="4127" />
-<extraparam>
-<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4130" >
-<father id="4161" num="4" />
-<cdparam x="1157" y="405" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="3760" >
+<father id="3764" num="1" />
+<cdparam x="476" y="360" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="4129" />
-<extraparam>
-<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4132" >
-<father id="4161" num="5" />
-<cdparam x="1157" y="370" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="5718" id="3768" >
+<cdparam x="832" y="456" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3766" />
+<TGConnectingPoint num="1" id="3767" />
+<P1  x="832" y="456" id="3637" />
+<P2  x="880" y="508" id="3628" />
+<Point x="848" y="500" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3765" >
+<father id="3768" num="0" />
+<cdparam x="848" y="500" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="4131" />
-<extraparam>
-<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4134" >
-<father id="4161" num="6" />
-<cdparam x="921" y="466" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="5718" id="3772" >
+<cdparam x="768" y="376" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3770" />
+<TGConnectingPoint num="1" id="3771" />
+<P1  x="768" y="376" id="3643" />
+<P2  x="800" y="428" id="3636" />
+<Point x="768" y="420" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3769" >
+<father id="3772" num="0" />
+<cdparam x="768" y="420" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="4133" />
-<extraparam>
-<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4136" >
-<father id="4161" num="7" />
-<cdparam x="959" y="474" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="5718" id="3774" >
+<cdparam x="376" y="440" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3773" />
+<P1  x="376" y="440" id="3682" />
+<P2  x="376" y="336" id="3690" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5718" id="3776" >
+<cdparam x="376" y="176" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3775" />
+<P1  x="376" y="176" id="3675" />
+<P2  x="376" y="280" id="3691" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5718" id="3778" >
+<cdparam x="328" y="280" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3777" />
+<P1  x="328" y="280" id="3692" />
+<P2  x="328" y="176" id="3674" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="5718" id="3780" >
+<cdparam x="328" y="336" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1600" maxHeight="1600" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="&lt;&lt;deriveReqt&gt;&gt;" />
+<TGConnectingPoint num="0" id="3779" />
+<P1  x="328" y="336" id="3689" />
+<P2  x="328" y="440" id="3681" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</SysmlsecMethodologyDiagramPanel>
+
+</Modeling>
+
+
+
+
+<Modeling type="TML Architecture" nameTab="Mapping2_Sec_enc" >
+<TMLArchiDiagramPanel name="DIPLODOCUS architecture and mapping Diagram" minX="10" maxX="1400" minY="10" maxY="900" attributes="0" masterClockFrequency="200" >
+<COMPONENT type="1102" id="3805" >
+<cdparam x="17" y="403" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="4135" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="SecureBus1" value="name" />
+<TGConnectingPoint num="0" id="3781" />
+<TGConnectingPoint num="1" id="3782" />
+<TGConnectingPoint num="2" id="3783" />
+<TGConnectingPoint num="3" id="3784" />
+<TGConnectingPoint num="4" id="3785" />
+<TGConnectingPoint num="5" id="3786" />
+<TGConnectingPoint num="6" id="3787" />
+<TGConnectingPoint num="7" id="3788" />
+<TGConnectingPoint num="8" id="3789" />
+<TGConnectingPoint num="9" id="3790" />
+<TGConnectingPoint num="10" id="3791" />
+<TGConnectingPoint num="11" id="3792" />
+<TGConnectingPoint num="12" id="3793" />
+<TGConnectingPoint num="13" id="3794" />
+<TGConnectingPoint num="14" id="3795" />
+<TGConnectingPoint num="15" id="3796" />
+<TGConnectingPoint num="16" id="3797" />
+<TGConnectingPoint num="17" id="3798" />
+<TGConnectingPoint num="18" id="3799" />
+<TGConnectingPoint num="19" id="3800" />
+<TGConnectingPoint num="20" id="3801" />
+<TGConnectingPoint num="21" id="3802" />
+<TGConnectingPoint num="22" id="3803" />
+<TGConnectingPoint num="23" id="3804" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="BUS-RR" nodeName="SecureBus1" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4138" >
-<father id="4161" num="8" />
-<cdparam x="921" y="387" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="1105" id="3848" >
+<cdparam x="55" y="511" />
+<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="4137" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="secureMem1" value="name" />
+<TGConnectingPoint num="0" id="3824" />
+<TGConnectingPoint num="1" id="3825" />
+<TGConnectingPoint num="2" id="3826" />
+<TGConnectingPoint num="3" id="3827" />
+<TGConnectingPoint num="4" id="3828" />
+<TGConnectingPoint num="5" id="3829" />
+<TGConnectingPoint num="6" id="3830" />
+<TGConnectingPoint num="7" id="3831" />
+<TGConnectingPoint num="8" id="3832" />
+<TGConnectingPoint num="9" id="3833" />
+<TGConnectingPoint num="10" id="3834" />
+<TGConnectingPoint num="11" id="3835" />
+<TGConnectingPoint num="12" id="3836" />
+<TGConnectingPoint num="13" id="3837" />
+<TGConnectingPoint num="14" id="3838" />
+<TGConnectingPoint num="15" id="3839" />
+<TGConnectingPoint num="16" id="3840" />
+<TGConnectingPoint num="17" id="3841" />
+<TGConnectingPoint num="18" id="3842" />
+<TGConnectingPoint num="19" id="3843" />
+<TGConnectingPoint num="20" id="3844" />
+<TGConnectingPoint num="21" id="3845" />
+<TGConnectingPoint num="22" id="3846" />
+<TGConnectingPoint num="23" id="3847" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="MEMORY" nodeName="secureMem1" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4140" >
-<father id="4161" num="9" />
-<cdparam x="921" y="416" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1111" id="3814" >
+<father id="3848" num="0" />
+<cdparam x="55" y="511" />
+<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="4139" />
+<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
+<infoparam name="TGComponent" value="autoEncrypt_fromSCtoD" />
+<TGConnectingPoint num="0" id="3806" />
+<TGConnectingPoint num="1" id="3807" />
+<TGConnectingPoint num="2" id="3808" />
+<TGConnectingPoint num="3" id="3809" />
+<TGConnectingPoint num="4" id="3810" />
+<TGConnectingPoint num="5" id="3811" />
+<TGConnectingPoint num="6" id="3812" />
+<TGConnectingPoint num="7" id="3813" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info value="autoEncrypt_fromSCtoD" referenceKeyName="autoEncrypt_fromSCtoD" priority="5" typeName="key" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4142" >
-<father id="4161" num="10" />
-<cdparam x="921" y="443" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1111" id="3823" >
+<father id="3848" num="1" />
+<cdparam x="59" y="562" />
+<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="4141" />
+<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
+<infoparam name="TGComponent" value="autoEncrypt_fromDtoSC" />
+<TGConnectingPoint num="0" id="3815" />
+<TGConnectingPoint num="1" id="3816" />
+<TGConnectingPoint num="2" id="3817" />
+<TGConnectingPoint num="3" id="3818" />
+<TGConnectingPoint num="4" id="3819" />
+<TGConnectingPoint num="5" id="3820" />
+<TGConnectingPoint num="6" id="3821" />
+<TGConnectingPoint num="7" id="3822" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info value="autoEncrypt_fromDtoSC" referenceKeyName="autoEncrypt_fromDtoSC" priority="5" typeName="key" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4144" >
-<father id="4161" num="11" />
-<cdparam x="921" y="352" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1105" id="3873" >
+<cdparam x="309" y="358" />
+<sizeparam width="189" height="131" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="4143" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Memory0" value="name" />
+<TGConnectingPoint num="0" id="3849" />
+<TGConnectingPoint num="1" id="3850" />
+<TGConnectingPoint num="2" id="3851" />
+<TGConnectingPoint num="3" id="3852" />
+<TGConnectingPoint num="4" id="3853" />
+<TGConnectingPoint num="5" id="3854" />
+<TGConnectingPoint num="6" id="3855" />
+<TGConnectingPoint num="7" id="3856" />
+<TGConnectingPoint num="8" id="3857" />
+<TGConnectingPoint num="9" id="3858" />
+<TGConnectingPoint num="10" id="3859" />
+<TGConnectingPoint num="11" id="3860" />
+<TGConnectingPoint num="12" id="3861" />
+<TGConnectingPoint num="13" id="3862" />
+<TGConnectingPoint num="14" id="3863" />
+<TGConnectingPoint num="15" id="3864" />
+<TGConnectingPoint num="16" id="3865" />
+<TGConnectingPoint num="17" id="3866" />
+<TGConnectingPoint num="18" id="3867" />
+<TGConnectingPoint num="19" id="3868" />
+<TGConnectingPoint num="20" id="3869" />
+<TGConnectingPoint num="21" id="3870" />
+<TGConnectingPoint num="22" id="3871" />
+<TGConnectingPoint num="23" id="3872" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="MEMORY" nodeName="Memory0" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4146" >
-<father id="4161" num="12" />
-<cdparam x="918" y="317" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="1102" id="3898" >
+<cdparam x="278" y="269" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="4145" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="Bus0" value="name" />
+<TGConnectingPoint num="0" id="3874" />
+<TGConnectingPoint num="1" id="3875" />
+<TGConnectingPoint num="2" id="3876" />
+<TGConnectingPoint num="3" id="3877" />
+<TGConnectingPoint num="4" id="3878" />
+<TGConnectingPoint num="5" id="3879" />
+<TGConnectingPoint num="6" id="3880" />
+<TGConnectingPoint num="7" id="3881" />
+<TGConnectingPoint num="8" id="3882" />
+<TGConnectingPoint num="9" id="3883" />
+<TGConnectingPoint num="10" id="3884" />
+<TGConnectingPoint num="11" id="3885" />
+<TGConnectingPoint num="12" id="3886" />
+<TGConnectingPoint num="13" id="3887" />
+<TGConnectingPoint num="14" id="3888" />
+<TGConnectingPoint num="15" id="3889" />
+<TGConnectingPoint num="16" id="3890" />
+<TGConnectingPoint num="17" id="3891" />
+<TGConnectingPoint num="18" id="3892" />
+<TGConnectingPoint num="19" id="3893" />
+<TGConnectingPoint num="20" id="3894" />
+<TGConnectingPoint num="21" id="3895" />
+<TGConnectingPoint num="22" id="3896" />
+<TGConnectingPoint num="23" id="3897" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="BUS-RR" nodeName="Bus0" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="5"  privacy="0"  referenceAttack="ReadDataFromBus" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4148" >
-<father id="4161" num="13" />
-<cdparam x="918" y="278" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="1100" id="3932" >
+<cdparam x="574" y="227" />
+<sizeparam width="174" height="135" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="4147" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="CPU2" value="name" />
+<TGConnectingPoint num="0" id="3908" />
+<TGConnectingPoint num="1" id="3909" />
+<TGConnectingPoint num="2" id="3910" />
+<TGConnectingPoint num="3" id="3911" />
+<TGConnectingPoint num="4" id="3912" />
+<TGConnectingPoint num="5" id="3913" />
+<TGConnectingPoint num="6" id="3914" />
+<TGConnectingPoint num="7" id="3915" />
+<TGConnectingPoint num="8" id="3916" />
+<TGConnectingPoint num="9" id="3917" />
+<TGConnectingPoint num="10" id="3918" />
+<TGConnectingPoint num="11" id="3919" />
+<TGConnectingPoint num="12" id="3920" />
+<TGConnectingPoint num="13" id="3921" />
+<TGConnectingPoint num="14" id="3922" />
+<TGConnectingPoint num="15" id="3923" />
+<TGConnectingPoint num="16" id="3924" />
+<TGConnectingPoint num="17" id="3925" />
+<TGConnectingPoint num="18" id="3926" />
+<TGConnectingPoint num="19" id="3927" />
+<TGConnectingPoint num="20" id="3928" />
+<TGConnectingPoint num="21" id="3929" />
+<TGConnectingPoint num="22" id="3930" />
+<TGConnectingPoint num="23" id="3931" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="CPURR" nodeName="CPU2" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="4" MECType="0" encryption="0"/>
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4150" >
-<father id="4161" num="14" />
-<cdparam x="918" y="235" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1101" id="3907" >
+<father id="3932" num="0" />
+<cdparam x="604" y="279" />
+<sizeparam width="135" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="4149" />
+<cdrectangleparam minX="0" maxX="39" minY="0" maxY="95" />
+<infoparam name="TGComponent" value="AppC_enc::Timer" />
+<TGConnectingPoint num="0" id="3899" />
+<TGConnectingPoint num="1" id="3900" />
+<TGConnectingPoint num="2" id="3901" />
+<TGConnectingPoint num="3" id="3902" />
+<TGConnectingPoint num="4" id="3903" />
+<TGConnectingPoint num="5" id="3904" />
+<TGConnectingPoint num="6" id="3905" />
+<TGConnectingPoint num="7" id="3906" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info value="AppC_enc::Timer" taskName="Timer" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4152" >
-<father id="4161" num="15" />
-<cdparam x="918" y="185" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1100" id="3966" >
+<cdparam x="56" y="231" />
+<sizeparam width="165" height="126" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="4151" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="CPU1" value="name" />
+<TGConnectingPoint num="0" id="3942" />
+<TGConnectingPoint num="1" id="3943" />
+<TGConnectingPoint num="2" id="3944" />
+<TGConnectingPoint num="3" id="3945" />
+<TGConnectingPoint num="4" id="3946" />
+<TGConnectingPoint num="5" id="3947" />
+<TGConnectingPoint num="6" id="3948" />
+<TGConnectingPoint num="7" id="3949" />
+<TGConnectingPoint num="8" id="3950" />
+<TGConnectingPoint num="9" id="3951" />
+<TGConnectingPoint num="10" id="3952" />
+<TGConnectingPoint num="11" id="3953" />
+<TGConnectingPoint num="12" id="3954" />
+<TGConnectingPoint num="13" id="3955" />
+<TGConnectingPoint num="14" id="3956" />
+<TGConnectingPoint num="15" id="3957" />
+<TGConnectingPoint num="16" id="3958" />
+<TGConnectingPoint num="17" id="3959" />
+<TGConnectingPoint num="18" id="3960" />
+<TGConnectingPoint num="19" id="3961" />
+<TGConnectingPoint num="20" id="3962" />
+<TGConnectingPoint num="21" id="3963" />
+<TGConnectingPoint num="22" id="3964" />
+<TGConnectingPoint num="23" id="3965" />
 <extraparam>
-<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="CPURR" nodeName="CPU1" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="5" execiTime="1" execcTime="1" clockRatio="2" MECType="0" encryption="0"/>
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="4180" >
-<father id="4204" num="1" />
-<cdparam x="828" y="362" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="4162" />
-<TGConnectingPoint num="1" id="4163" />
-<TGConnectingPoint num="2" id="4164" />
-<TGConnectingPoint num="3" id="4165" />
-<TGConnectingPoint num="4" id="4166" />
-<TGConnectingPoint num="5" id="4167" />
-<TGConnectingPoint num="6" id="4168" />
-<TGConnectingPoint num="7" id="4169" />
-<TGConnectingPoint num="8" id="4170" />
-<TGConnectingPoint num="9" id="4171" />
-<TGConnectingPoint num="10" id="4172" />
-<TGConnectingPoint num="11" id="4173" />
-<TGConnectingPoint num="12" id="4174" />
-<TGConnectingPoint num="13" id="4175" />
-<TGConnectingPoint num="14" id="4176" />
-<TGConnectingPoint num="15" id="4177" />
-<TGConnectingPoint num="16" id="4178" />
-<TGConnectingPoint num="17" id="4179" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="4195" >
-<father id="4204" num="2" />
-<cdparam x="1232" y="328" />
-<sizeparam width="140" height="141" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1101" id="3941" >
+<father id="3966" num="0" />
+<cdparam x="32" y="276" />
+<sizeparam width="189" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="430" minY="0" maxY="344" />
-<infoparam name="TGComponent" value="Timer" />
-<TGConnectingPoint num="0" id="4187" />
-<TGConnectingPoint num="1" id="4188" />
-<TGConnectingPoint num="2" id="4189" />
-<TGConnectingPoint num="3" id="4190" />
-<TGConnectingPoint num="4" id="4191" />
-<TGConnectingPoint num="5" id="4192" />
-<TGConnectingPoint num="6" id="4193" />
-<TGConnectingPoint num="7" id="4194" />
+<cdrectangleparam minX="0" maxX="-24" minY="0" maxY="86" />
+<infoparam name="TGComponent" value="AppC_enc::InterfaceDevice" />
+<TGConnectingPoint num="0" id="3933" />
+<TGConnectingPoint num="1" id="3934" />
+<TGConnectingPoint num="2" id="3935" />
+<TGConnectingPoint num="3" id="3936" />
+<TGConnectingPoint num="4" id="3937" />
+<TGConnectingPoint num="5" id="3938" />
+<TGConnectingPoint num="6" id="3939" />
+<TGConnectingPoint num="7" id="3940" />
 <extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<info value="AppC_enc::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4182" >
-<father id="4195" num="0" />
-<cdparam x="1222" y="431" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1100" id="4018" >
+<cdparam x="267" y="59" />
+<sizeparam width="272" height="167" minWidth="150" minHeight="100" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="4181" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="CPU0" value="name" />
+<TGConnectingPoint num="0" id="3994" />
+<TGConnectingPoint num="1" id="3995" />
+<TGConnectingPoint num="2" id="3996" />
+<TGConnectingPoint num="3" id="3997" />
+<TGConnectingPoint num="4" id="3998" />
+<TGConnectingPoint num="5" id="3999" />
+<TGConnectingPoint num="6" id="4000" />
+<TGConnectingPoint num="7" id="4001" />
+<TGConnectingPoint num="8" id="4002" />
+<TGConnectingPoint num="9" id="4003" />
+<TGConnectingPoint num="10" id="4004" />
+<TGConnectingPoint num="11" id="4005" />
+<TGConnectingPoint num="12" id="4006" />
+<TGConnectingPoint num="13" id="4007" />
+<TGConnectingPoint num="14" id="4008" />
+<TGConnectingPoint num="15" id="4009" />
+<TGConnectingPoint num="16" id="4010" />
+<TGConnectingPoint num="17" id="4011" />
+<TGConnectingPoint num="18" id="4012" />
+<TGConnectingPoint num="19" id="4013" />
+<TGConnectingPoint num="20" id="4014" />
+<TGConnectingPoint num="21" id="4015" />
+<TGConnectingPoint num="22" id="4016" />
+<TGConnectingPoint num="23" id="4017" />
 <extraparam>
-<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="CPURR" nodeName="CPU0" />
+<attributes nbOfCores="1" byteDataSize="4"  schedulingPolicy="0"  sliceTime="10000"  goIdleTime="10"  maxConsecutiveIdleCycles="10"  pipelineSize="5"  taskSwitchingTime="20"  branchingPredictionPenalty="2"  cacheMiss="18" execiTime="1" execcTime="1" clockRatio="3" MECType="0" encryption="0"/>
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4184" >
-<father id="4195" num="1" />
-<cdparam x="1222" y="403" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1101" id="3975" >
+<father id="4018" num="0" />
+<cdparam x="277" y="90" />
+<sizeparam width="134" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="4183" />
-<extraparam>
-<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<cdrectangleparam minX="0" maxX="138" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC_enc::TCPIP" />
+<TGConnectingPoint num="0" id="3967" />
+<TGConnectingPoint num="1" id="3968" />
+<TGConnectingPoint num="2" id="3969" />
+<TGConnectingPoint num="3" id="3970" />
+<TGConnectingPoint num="4" id="3971" />
+<TGConnectingPoint num="5" id="3972" />
+<TGConnectingPoint num="6" id="3973" />
+<TGConnectingPoint num="7" id="3974" />
+<extraparam>
+<info value="AppC_enc::TCPIP" taskName="TCPIP" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4186" >
-<father id="4195" num="2" />
-<cdparam x="1222" y="368" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="3984" >
+<father id="4018" num="1" />
+<cdparam x="293" y="165" />
+<sizeparam width="165" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Event timeOut" />
-<TGConnectingPoint num="0" id="4185" />
+<cdrectangleparam minX="0" maxX="107" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC_enc::Application" />
+<TGConnectingPoint num="0" id="3976" />
+<TGConnectingPoint num="1" id="3977" />
+<TGConnectingPoint num="2" id="3978" />
+<TGConnectingPoint num="3" id="3979" />
+<TGConnectingPoint num="4" id="3980" />
+<TGConnectingPoint num="5" id="3981" />
+<TGConnectingPoint num="6" id="3982" />
+<TGConnectingPoint num="7" id="3983" />
 <extraparam>
-<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info value="AppC_enc::Application" taskName="Application" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="4241" >
-<father id="4296" num="1" />
-<cdparam x="534" y="97" />
-<sizeparam width="200" height="237" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="3993" >
+<father id="4018" num="2" />
+<cdparam x="377" y="119" />
+<sizeparam width="162" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" />
-<infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="4233" />
-<TGConnectingPoint num="1" id="4234" />
-<TGConnectingPoint num="2" id="4235" />
-<TGConnectingPoint num="3" id="4236" />
-<TGConnectingPoint num="4" id="4237" />
-<TGConnectingPoint num="5" id="4238" />
-<TGConnectingPoint num="6" id="4239" />
-<TGConnectingPoint num="7" id="4240" />
+<cdrectangleparam minX="0" maxX="110" minY="0" maxY="130" />
+<infoparam name="TGComponent" value="AppC_enc::SmartCard" />
+<TGConnectingPoint num="0" id="3985" />
+<TGConnectingPoint num="1" id="3986" />
+<TGConnectingPoint num="2" id="3987" />
+<TGConnectingPoint num="3" id="3988" />
+<TGConnectingPoint num="4" id="3989" />
+<TGConnectingPoint num="5" id="3990" />
+<TGConnectingPoint num="6" id="3991" />
+<TGConnectingPoint num="7" id="3992" />
 <extraparam>
-<Data isAttacker="No" />
-<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
-<Attribute access="2" id="a" value="0" type="0" typeOther="" />
-<Attribute access="2" id="b" value="" type="4" typeOther="" />
-<Attribute access="2" id="i" value="0" type="0" typeOther="" />
-<Attribute access="2" id="j" value="0" type="0" typeOther="" />
-<Attribute access="2" id="x" value="0" type="0" typeOther="" />
-<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
-<Attribute access="2" id="t" value="" type="0" typeOther="" />
+<info value="AppC_enc::SmartCard" taskName="SmartCard" referenceTaskName="AppC_enc" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4206" >
-<father id="4241" num="0" />
-<cdparam x="680" y="321" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1102" id="4043" >
+<cdparam x="630" y="38" />
+<sizeparam width="250" height="50" minWidth="100" minHeight="50" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="Primitive port" value="Event connectionOpened" />
-<TGConnectingPoint num="0" id="4205" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="SecureBus2" value="name" />
+<TGConnectingPoint num="0" id="4019" />
+<TGConnectingPoint num="1" id="4020" />
+<TGConnectingPoint num="2" id="4021" />
+<TGConnectingPoint num="3" id="4022" />
+<TGConnectingPoint num="4" id="4023" />
+<TGConnectingPoint num="5" id="4024" />
+<TGConnectingPoint num="6" id="4025" />
+<TGConnectingPoint num="7" id="4026" />
+<TGConnectingPoint num="8" id="4027" />
+<TGConnectingPoint num="9" id="4028" />
+<TGConnectingPoint num="10" id="4029" />
+<TGConnectingPoint num="11" id="4030" />
+<TGConnectingPoint num="12" id="4031" />
+<TGConnectingPoint num="13" id="4032" />
+<TGConnectingPoint num="14" id="4033" />
+<TGConnectingPoint num="15" id="4034" />
+<TGConnectingPoint num="16" id="4035" />
+<TGConnectingPoint num="17" id="4036" />
+<TGConnectingPoint num="18" id="4037" />
+<TGConnectingPoint num="19" id="4038" />
+<TGConnectingPoint num="20" id="4039" />
+<TGConnectingPoint num="21" id="4040" />
+<TGConnectingPoint num="22" id="4041" />
+<TGConnectingPoint num="23" id="4042" />
 <extraparam>
-<Prop commName="connectionOpened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="BUS-RR" nodeName="SecureBus2" />
+<attributes byteDataSize="4"  arbitrationPolicy="0"  sliceTime="10000"  pipelineSize="1"  clockRatio="1"  privacy="1"  referenceAttack="ReadDataFromBus" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4208" >
-<father id="4241" num="1" />
-<cdparam x="620" y="324" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="1105" id="4086" >
+<cdparam x="780" y="123" />
+<sizeparam width="176" height="106" minWidth="100" minHeight="35" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="4207" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="secureMem2" value="name" />
+<TGConnectingPoint num="0" id="4062" />
+<TGConnectingPoint num="1" id="4063" />
+<TGConnectingPoint num="2" id="4064" />
+<TGConnectingPoint num="3" id="4065" />
+<TGConnectingPoint num="4" id="4066" />
+<TGConnectingPoint num="5" id="4067" />
+<TGConnectingPoint num="6" id="4068" />
+<TGConnectingPoint num="7" id="4069" />
+<TGConnectingPoint num="8" id="4070" />
+<TGConnectingPoint num="9" id="4071" />
+<TGConnectingPoint num="10" id="4072" />
+<TGConnectingPoint num="11" id="4073" />
+<TGConnectingPoint num="12" id="4074" />
+<TGConnectingPoint num="13" id="4075" />
+<TGConnectingPoint num="14" id="4076" />
+<TGConnectingPoint num="15" id="4077" />
+<TGConnectingPoint num="16" id="4078" />
+<TGConnectingPoint num="17" id="4079" />
+<TGConnectingPoint num="18" id="4080" />
+<TGConnectingPoint num="19" id="4081" />
+<TGConnectingPoint num="20" id="4082" />
+<TGConnectingPoint num="21" id="4083" />
+<TGConnectingPoint num="22" id="4084" />
+<TGConnectingPoint num="23" id="4085" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info stereotype="MEMORY" nodeName="secureMem2" />
+<attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4210" >
-<father id="4241" num="2" />
-<cdparam x="524" y="116" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1111" id="4052" >
+<father id="4086" num="0" />
+<cdparam x="781" y="127" />
+<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="4209" />
+<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
+<infoparam name="TGComponent" value="autoEncrypt_fromSCtoD" />
+<TGConnectingPoint num="0" id="4044" />
+<TGConnectingPoint num="1" id="4045" />
+<TGConnectingPoint num="2" id="4046" />
+<TGConnectingPoint num="3" id="4047" />
+<TGConnectingPoint num="4" id="4048" />
+<TGConnectingPoint num="5" id="4049" />
+<TGConnectingPoint num="6" id="4050" />
+<TGConnectingPoint num="7" id="4051" />
 <extraparam>
-<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info value="autoEncrypt_fromSCtoD" referenceKeyName="autoEncrypt_fromSCtoD" priority="5" typeName="key" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4212" >
-<father id="4241" num="3" />
-<cdparam x="721" y="301" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1111" id="4061" >
+<father id="4086" num="1" />
+<cdparam x="789" y="182" />
+<sizeparam width="160" height="40" minWidth="75" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="4211" />
+<cdrectangleparam minX="0" maxX="16" minY="0" maxY="66" />
+<infoparam name="TGComponent" value="autoEncrypt_fromDtoSC" />
+<TGConnectingPoint num="0" id="4053" />
+<TGConnectingPoint num="1" id="4054" />
+<TGConnectingPoint num="2" id="4055" />
+<TGConnectingPoint num="3" id="4056" />
+<TGConnectingPoint num="4" id="4057" />
+<TGConnectingPoint num="5" id="4058" />
+<TGConnectingPoint num="6" id="4059" />
+<TGConnectingPoint num="7" id="4060" />
 <extraparam>
-<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info value="autoEncrypt_fromDtoSC" referenceKeyName="autoEncrypt_fromDtoSC" priority="5" typeName="key" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4214" >
-<father id="4241" num="4" />
-<cdparam x="721" y="190" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="4213" />
+
+<CONNECTOR type="125" id="4087" >
+<cdparam x="539" y="100" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="539" y="100" id="4005" />
+<P2  x="630" y="63" id="4022" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4216" >
-<father id="4241" num="5" />
-<cdparam x="721" y="235" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="4215" />
+</CONNECTOR>
+<CONNECTOR type="125" id="4088" >
+<cdparam x="143" y="511" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="143" y="511" id="3825" />
+<P2  x="142" y="453" id="3787" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4218" >
-<father id="4241" num="6" />
-<cdparam x="721" y="269" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="4217" />
+</CONNECTOR>
+<CONNECTOR type="125" id="4089" >
+<cdparam x="138" y="357" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="138" y="357" id="3948" />
+<P2  x="142" y="403" id="3782" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4220" >
-<father id="4241" num="7" />
-<cdparam x="521" y="156" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event data_Ready" />
-<TGConnectingPoint num="0" id="4219" />
+</CONNECTOR>
+<CONNECTOR type="125" id="4090" >
+<cdparam x="402" y="367" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from Memory0 to Bus0" value="{info}" />
+<P1  x="403" y="358" id="3850" />
+<P2  x="403" y="319" id="3880" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="1" typeOther="" />
-<Type type="2" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4222" >
-<father id="4241" num="8" />
-<cdparam x="521" y="290" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="4221" />
+</CONNECTOR>
+<CONNECTOR type="125" id="4091" >
+<cdparam x="190" y="300" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from CPU1 to Bus0" value="{info}" />
+<P1  x="221" y="294" id="3946" />
+<P2  x="278" y="294" id="3877" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4224" >
-<father id="4241" num="9" />
-<reference id="184" />
-<cdparam x="521" y="202" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="4223" />
+</CONNECTOR>
+<CONNECTOR type="125" id="4092" >
+<cdparam x="662" y="310" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from CPU2 to Bus0" value="{info}" />
+<P1  x="574" y="294" id="3911" />
+<P2  x="528" y="294" id="3878" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="null" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info priority="0" />
+<spy value="false" />
+</extraparam>
+</CONNECTOR>
+<CONNECTOR type="125" id="4093" >
+<cdparam x="388" y="162" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from CPU0 to Bus0" value="{info}" />
+<P1  x="403" y="226" id="4000" />
+<P2  x="403" y="269" id="3875" />
+<AutomaticDrawing  data="true" />
+<extraparam>
+<info priority="0" />
+<spy value="false" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4226" >
-<father id="4241" num="10" />
-<reference id="184" />
-<cdparam x="521" y="247" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromSCtoD" />
-<TGConnectingPoint num="0" id="4225" />
+</CONNECTOR>
+<CONNECTOR type="125" id="4094" >
+<cdparam x="812" y="190" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="{info}" />
+<P1  x="868" y="123" id="4063" />
+<P2  x="755" y="88" id="4025" />
+<AutomaticDrawing  data="true" />
 <extraparam>
-<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info priority="0" />
+<spy value="false" />
 </extraparam>
+</CONNECTOR>
+
+</TMLArchiDiagramPanel>
+
+</Modeling>
+
+
+
+
+<Modeling type="TML Component Design" nameTab="AppC_enc" >
+<TMLComponentTaskDiagramPanel name="TML Component Task Diagram" minX="0" maxX="2724" minY="0" maxY="916" channels="true" events="true" requests="true" zoom="1.0000000000000018" >
+<CONNECTOR type="126" id="4095" >
+<cdparam x="535" y="347" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="556" y="347" id="4207" />
+<P2  x="547" y="382" id="4162" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4097" >
+<cdparam x="820" y="398" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="1025" y="497" id="4304" />
+<P2  x="761" y="574" id="4192" />
+<Point x="887" y="577" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4096" >
+<father id="4097" num="0" />
+<cdparam x="887" y="577" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="1744" minY="0" maxY="587" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4228" >
-<father id="4241" num="11" />
-<cdparam x="543" y="321" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="126" id="4098" >
+<cdparam x="568" y="323" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="710" y="403" id="4190" />
+<P2  x="693" y="347" id="4229" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4099" >
+<cdparam x="522" y="390" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="521" y="382" id="4157" />
+<P2  x="466" y="335" id="4136" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4100" >
+<cdparam x="409" y="124" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="401" y="83" id="4134" />
+<P2  x="593" y="84" id="4205" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4101" >
+<cdparam x="656" y="426" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="816" y="552" id="4186" />
+<P2  x="969" y="495" id="4290" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4102" >
+<cdparam x="656" y="400" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="816" y="519" id="4184" />
+<P2  x="921" y="476" id="4292" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4103" >
+<cdparam x="602" y="327" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="750" y="406" id="4176" />
+<P2  x="828" y="375" id="4256" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4104" >
+<cdparam x="689" y="292" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="854" y="375" id="4260" />
+<P2  x="921" y="362" id="4282" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4105" >
+<cdparam x="656" y="377" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="816" y="491" id="4180" />
+<P2  x="921" y="453" id="4284" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4106" >
+<cdparam x="656" y="351" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="816" y="458" id="4182" />
+<P2  x="921" y="426" id="4286" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4107" >
+<cdparam x="741" y="296" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="921" y="397" id="4288" />
+<P2  x="816" y="429" id="4178" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4108" >
+<cdparam x="735" y="260" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="918" y="330" id="4280" />
+<P2  x="747" y="282" id="4217" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4109" >
+<cdparam x="641" y="230" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="747" y="248" id="4219" />
+<P2  x="918" y="291" id="4278" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4110" >
+<cdparam x="641" y="195" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="747" y="203" id="4221" />
+<P2  x="918" y="248" id="4276" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4111" >
+<cdparam x="740" y="353" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="828" y="375" id="4255" />
+<P2  x="747" y="314" id="4223" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4112" >
+<cdparam x="460" y="270" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="521" y="303" id="4213" />
+<P2  x="466" y="303" id="4142" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4113" >
+<cdparam x="387" y="129" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="464" y="126" id="4146" />
+<P2  x="524" y="126" id="4225" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4114" >
+<cdparam x="389" y="200" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="466" y="215" id="4140" />
+<P2  x="521" y="215" id="4211" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4115" >
+<cdparam x="460" y="236" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="521" y="260" id="4209" />
+<P2  x="466" y="260" id="4138" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4116" >
+<cdparam x="389" y="163" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="Connector between ports" />
+<P1  x="466" y="169" id="4144" />
+<P2  x="521" y="169" id="4215" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4117" >
+<cdparam x="967" y="190" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
+<P1  x="918" y="198" id="4274" />
+<P2  x="747" y="124" id="4203" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4118" >
+<cdparam x="1028" y="535" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
+<P1  x="630" y="345" id="4227" />
+<P2  x="669" y="406" id="4188" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4119" >
+<cdparam x="1308" y="303" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
+<P1  x="1222" y="378" id="4240" />
+<P2  x="1178" y="380" id="4294" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4120" >
+<cdparam x="1172" y="437" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
+<P1  x="1178" y="415" id="4296" />
+<P2  x="1222" y="413" id="4242" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="126" id="4123" >
+<cdparam x="1041" y="162" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
+<P1  x="1178" y="208" id="4298" />
+<P2  x="1178" y="276" id="4300" />
+<Point x="1227" y="207" />
+<Point x="1227" y="247" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4121" >
+<father id="4123" num="0" />
+<cdparam x="1227" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="4227" />
-<extraparam>
-<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4230" >
-<father id="4241" num="12" />
-<reference id="184" />
-<cdparam x="580" y="84" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="4122" >
+<father id="4123" num="1" />
+<cdparam x="1227" y="247" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event reset, pTS, end" />
-<TGConnectingPoint num="0" id="4229" />
-<extraparam>
-<Prop commName="reset, pTS, end" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-</extraparam>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4232" >
-<father id="4241" num="13" />
-<cdparam x="721" y="111" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<CONNECTOR type="126" id="4124" >
+<cdparam x="877" y="343" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from TGComponent to TGComponent" value="Connector between ports" />
+<P1  x="1178" y="454" id="4302" />
+<P2  x="1222" y="441" id="4244" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<COMPONENT type="1205" id="4133" >
+<cdparam x="1155" y="486" />
+<sizeparam width="205" height="105" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event send" />
-<TGConnectingPoint num="0" id="4231" />
+<cdrectangleparam minX="0" maxX="2725" minY="0" maxY="917" />
+<infoparam name="Record component" value="TCP_CTRL" />
+<TGConnectingPoint num="0" id="4125" />
+<TGConnectingPoint num="1" id="4126" />
+<TGConnectingPoint num="2" id="4127" />
+<TGConnectingPoint num="3" id="4128" />
+<TGConnectingPoint num="4" id="4129" />
+<TGConnectingPoint num="5" id="4130" />
+<TGConnectingPoint num="6" id="4131" />
+<TGConnectingPoint num="7" id="4132" />
 <extraparam>
-<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Attribute access="2" id="a" value="" type="0" typeOther="" />
+<Attribute access="2" id="state" value="" type="0" typeOther="" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1202" id="4268" >
-<father id="4296" num="2" />
-<cdparam x="565" y="416" />
-<sizeparam width="240" height="145" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+
+<COMPONENT type="1202" id="4156" >
+<cdparam x="163" y="96" />
+<sizeparam width="290" height="276" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" />
-<infoparam name="TGComponent" value="Application" />
-<TGConnectingPoint num="0" id="4260" />
-<TGConnectingPoint num="1" id="4261" />
-<TGConnectingPoint num="2" id="4262" />
-<TGConnectingPoint num="3" id="4263" />
-<TGConnectingPoint num="4" id="4264" />
-<TGConnectingPoint num="5" id="4265" />
-<TGConnectingPoint num="6" id="4266" />
-<TGConnectingPoint num="7" id="4267" />
+<cdrectangleparam minX="0" maxX="2725" minY="0" maxY="917" />
+<infoparam name="TGComponent" value="InterfaceDevice" />
+<TGConnectingPoint num="0" id="4148" />
+<TGConnectingPoint num="1" id="4149" />
+<TGConnectingPoint num="2" id="4150" />
+<TGConnectingPoint num="3" id="4151" />
+<TGConnectingPoint num="4" id="4152" />
+<TGConnectingPoint num="5" id="4153" />
+<TGConnectingPoint num="6" id="4154" />
+<TGConnectingPoint num="7" id="4155" />
 <extraparam>
 <Data isAttacker="No" />
+<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Attribute access="2" id="i" value="0" type="0" typeOther="" />
+<Attribute access="2" id="nbOfComputedPackets" value="1" type="0" typeOther="" />
+<Attribute access="2" id="b" value="" type="4" typeOther="" />
 </extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4243" >
-<father id="4268" num="0" />
-<cdparam x="748" y="548" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</COMPONENT>
+<SUBCOMPONENT type="1203" id="4135" >
+<father id="4156" num="0" />
+<reference id="184" />
+<cdparam x="388" y="83" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
-<infoparam name="Primitive port" value="Event opened" />
-<TGConnectingPoint num="0" id="4242" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<TGConnectingPoint num="0" id="4134" />
 <extraparam>
-<Prop commName="opened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="reset, pTS, end" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -13060,16 +12229,16 @@ the smart card and the terminal
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4245" >
-<father id="4268" num="1" />
-<cdparam x="697" y="403" />
-<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4137" >
+<father id="4156" num="1" />
+<cdparam x="440" y="322" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
-<infoparam name="Primitive port" value="Event connectionOpened" />
-<TGConnectingPoint num="0" id="4244" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="4136" />
 <extraparam>
-<Prop commName="connectionOpened" commType="1" origin="true" finite="true" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -13077,16 +12246,17 @@ the smart card and the terminal
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4247" >
-<father id="4268" num="2" />
-<cdparam x="659" y="406" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4139" >
+<father id="4156" num="2" />
+<reference id="184" />
+<cdparam x="440" y="247" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="4246" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="4138" />
 <extraparam>
-<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromSCtoD" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -13094,16 +12264,17 @@ the smart card and the terminal
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4249" >
-<father id="4268" num="3" />
-<cdparam x="795" y="542" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4141" >
+<father id="4156" num="3" />
+<reference id="184" />
+<cdparam x="440" y="202" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="4248" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="4140" />
 <extraparam>
-<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="fromDtoSC" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -13111,16 +12282,16 @@ the smart card and the terminal
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4251" >
-<father id="4268" num="4" />
-<cdparam x="795" y="509" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4143" >
+<father id="4156" num="4" />
+<cdparam x="440" y="290" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event receive_Application" />
-<TGConnectingPoint num="0" id="4250" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="4142" />
 <extraparam>
-<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="data_Ready_SC" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -13128,33 +12299,33 @@ the smart card and the terminal
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4253" >
-<father id="4268" num="5" />
-<cdparam x="795" y="448" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4145" >
+<father id="4156" num="5" />
+<cdparam x="440" y="156" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="4252" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="4144" />
 <extraparam>
-<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<Prop commName="data_Ready" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4255" >
-<father id="4268" num="6" />
-<cdparam x="795" y="481" />
+<SUBCOMPONENT type="1203" id="4147" >
+<father id="4156" num="6" />
+<cdparam x="443" y="116" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Event send_TCP" />
-<TGConnectingPoint num="0" id="4254" />
+<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="4146" />
 <extraparam>
-<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Prop commName="activation" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
 <Type type="0" typeOther="" />
@@ -13162,31 +12333,78 @@ the smart card and the terminal
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4257" >
-<father id="4268" num="7" />
-<cdparam x="795" y="419" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1200" id="4332" >
+<cdparam x="534" y="93" />
+<sizeparam width="935" height="530" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="4256" />
+<cdrectangleparam minX="0" maxX="2725" minY="0" maxY="917" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="4324" />
+<TGConnectingPoint num="1" id="4325" />
+<TGConnectingPoint num="2" id="4326" />
+<TGConnectingPoint num="3" id="4327" />
+<TGConnectingPoint num="4" id="4328" />
+<TGConnectingPoint num="5" id="4329" />
+<TGConnectingPoint num="6" id="4330" />
+<TGConnectingPoint num="7" id="4331" />
 <extraparam>
-<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
-<Type type="0" typeOther="" />
+<info hiddeni="false" />
+</extraparam>
+</COMPONENT>
+<SUBCOMPONENT type="1201" id="4175" >
+<father id="4332" num="0" />
+<cdparam x="521" y="369" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-13" maxX="922" minY="-13" maxY="517" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="4157" />
+<TGConnectingPoint num="1" id="4158" />
+<TGConnectingPoint num="2" id="4159" />
+<TGConnectingPoint num="3" id="4160" />
+<TGConnectingPoint num="4" id="4161" />
+<TGConnectingPoint num="5" id="4162" />
+<TGConnectingPoint num="6" id="4163" />
+<TGConnectingPoint num="7" id="4164" />
+<TGConnectingPoint num="8" id="4165" />
+<TGConnectingPoint num="9" id="4166" />
+<TGConnectingPoint num="10" id="4167" />
+<TGConnectingPoint num="11" id="4168" />
+<TGConnectingPoint num="12" id="4169" />
+<TGConnectingPoint num="13" id="4170" />
+<TGConnectingPoint num="14" id="4171" />
+<TGConnectingPoint num="15" id="4172" />
+<TGConnectingPoint num="16" id="4173" />
+<TGConnectingPoint num="17" id="4174" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="4202" >
+<father id="4332" num="1" />
+<cdparam x="565" y="416" />
+<sizeparam width="240" height="145" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="4194" />
+<TGConnectingPoint num="1" id="4195" />
+<TGConnectingPoint num="2" id="4196" />
+<TGConnectingPoint num="3" id="4197" />
+<TGConnectingPoint num="4" id="4198" />
+<TGConnectingPoint num="5" id="4199" />
+<TGConnectingPoint num="6" id="4200" />
+<TGConnectingPoint num="7" id="4201" />
+<extraparam>
+<Data isAttacker="No" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="4259" >
-<father id="4268" num="8" />
+<SUBCOMPONENT type="1203" id="4177" >
+<father id="4202" num="0" />
 <cdparam x="740" y="406" />
 <sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
 <infoparam name="TGComponent" value="Request start_TCP_IP" />
-<TGConnectingPoint num="0" id="4258" />
+<TGConnectingPoint num="0" id="4176" />
 <extraparam>
 <Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
 <Type type="0" typeOther="" />
@@ -13196,1612 +12414,1406 @@ the smart card and the terminal
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1201" id="4287" >
-<father id="4296" num="3" />
-<cdparam x="521" y="369" />
-<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="922" minY="-13" maxY="517" />
-<infoparam name="Composite port" value="" />
-<TGConnectingPoint num="0" id="4269" />
-<TGConnectingPoint num="1" id="4270" />
-<TGConnectingPoint num="2" id="4271" />
-<TGConnectingPoint num="3" id="4272" />
-<TGConnectingPoint num="4" id="4273" />
-<TGConnectingPoint num="5" id="4274" />
-<TGConnectingPoint num="6" id="4275" />
-<TGConnectingPoint num="7" id="4276" />
-<TGConnectingPoint num="8" id="4277" />
-<TGConnectingPoint num="9" id="4278" />
-<TGConnectingPoint num="10" id="4279" />
-<TGConnectingPoint num="11" id="4280" />
-<TGConnectingPoint num="12" id="4281" />
-<TGConnectingPoint num="13" id="4282" />
-<TGConnectingPoint num="14" id="4283" />
-<TGConnectingPoint num="15" id="4284" />
-<TGConnectingPoint num="16" id="4285" />
-<TGConnectingPoint num="17" id="4286" />
-</SUBCOMPONENT>
-
-
-</TMLComponentTaskDiagramPanel>
-
-<TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="1110" >
-<CONNECTOR type="115" id="5507" >
-<cdparam x="614" y="1010" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="631" y="895" id="5506" />
-<P2  x="659" y="979" id="4369" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="1036" id="5504" >
-<cdparam x="624" y="850" />
-<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1010" />
-<infoparam name="decrypt" value="null" />
-<TGConnectingPoint num="0" id="5505" />
-<TGConnectingPoint num="1" id="5506" />
-<extraparam>
-<Data secPattern="autoEncrypt_fromSCtoD" />
-</extraparam>
-</COMPONENT>
-
-<CONNECTOR type="115" id="5495" >
-<cdparam x="433" y="608" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="466" y="513" id="5491" />
-<P2  x="476" y="553" id="4350" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="1035" id="5489" >
-<cdparam x="459" y="468" />
-<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="encrypt" value="null" />
-<TGConnectingPoint num="0" id="5490" />
-<TGConnectingPoint num="1" id="5491" />
-<extraparam>
-<Data secContext="autoEncrypt_fromDtoSC" type="Symmetric Encryption" overhead="0" size="" encTime="100" decTime="100" nonce="" key="" algorithm="" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4299" >
-<cdparam x="320" y="433" />
-<sizeparam width="40" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="end()" />
-<TGConnectingPoint num="0" id="4297" />
-<TGConnectingPoint num="1" id="4298" />
-<latencyCheck />
-<extraparam>
-<Data eventName="end" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1012" id="4307" >
-<cdparam x="546" y="376" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4303" />
-<TGConnectingPoint num="1" id="4304" />
-<TGConnectingPoint num="2" id="4305" />
-<TGConnectingPoint num="3" id="4306" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="4300" >
-<father id="4307" num="0" />
-<cdparam x="521" y="386" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4301" >
-<father id="4307" num="1" />
-<cdparam x="581" y="386" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4302" >
-<father id="4307" num="2" />
-<cdparam x="566" y="421" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1012" id="4315" >
-<cdparam x="644" y="627" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4311" />
-<TGConnectingPoint num="1" id="4312" />
-<TGConnectingPoint num="2" id="4313" />
-<TGConnectingPoint num="3" id="4314" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="4308" >
-<father id="4315" num="0" />
-<cdparam x="599" y="637" />
-<sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ x==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4309" >
-<father id="4315" num="1" />
-<cdparam x="679" y="637" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4310" >
-<father id="4315" num="2" />
-<cdparam x="664" y="672" />
-<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ x&gt;0 ]" />
-</SUBCOMPONENT>
-
-<COMPONENT type="1000" id="4317" >
-<cdparam x="222" y="58" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4316" />
-</COMPONENT>
-
-<COMPONENT type="1007" id="4320" >
-<cdparam x="192" y="137" />
-<sizeparam width="72" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="activation()" />
-<TGConnectingPoint num="0" id="4318" />
-<TGConnectingPoint num="1" id="4319" />
-<extraparam>
-<Data requestName="activation" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4323" >
-<cdparam x="205" y="237" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="reset()" />
-<TGConnectingPoint num="0" id="4321" />
-<TGConnectingPoint num="1" id="4322" />
-<latencyCheck />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="4326" >
-<cdparam x="173" y="288" />
-<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="answerToReset() " />
-<TGConnectingPoint num="0" id="4324" />
-<TGConnectingPoint num="1" id="4325" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4329" >
-<cdparam x="208" y="337" />
-<sizeparam width="40" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4179" >
+<father id="4202" num="1" />
+<cdparam x="795" y="419" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTS()" />
-<TGConnectingPoint num="0" id="4327" />
-<TGConnectingPoint num="1" id="4328" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="4178" />
 <extraparam>
-<Data eventName="pTS" nbOfParams="5" />
+<Prop commName="fromTtoA" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="4332" >
-<cdparam x="390" y="152" />
-<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4181" >
+<father id="4202" num="2" />
+<cdparam x="795" y="481" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTSConfirm() " />
-<TGConnectingPoint num="0" id="4330" />
-<TGConnectingPoint num="1" id="4331" />
-<breakpoint />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="4180" />
 <extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
+<Prop commName="send_TCP" commType="1" origin="true" finite="false" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="4349" >
-<cdparam x="453" y="214" />
-<sizeparam width="105" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4183" >
+<father id="4202" num="3" />
+<cdparam x="795" y="448" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="data exchange
-" />
-<TGConnectingPoint num="0" id="4333" />
-<TGConnectingPoint num="1" id="4334" />
-<TGConnectingPoint num="2" id="4335" />
-<TGConnectingPoint num="3" id="4336" />
-<TGConnectingPoint num="4" id="4337" />
-<TGConnectingPoint num="5" id="4338" />
-<TGConnectingPoint num="6" id="4339" />
-<TGConnectingPoint num="7" id="4340" />
-<TGConnectingPoint num="8" id="4341" />
-<TGConnectingPoint num="9" id="4342" />
-<TGConnectingPoint num="10" id="4343" />
-<TGConnectingPoint num="11" id="4344" />
-<TGConnectingPoint num="12" id="4345" />
-<TGConnectingPoint num="13" id="4346" />
-<TGConnectingPoint num="14" id="4347" />
-<TGConnectingPoint num="15" id="4348" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="4182" />
 <extraparam>
-<Line value="data exchange" />
+<Prop commName="open, abort, close" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="4352" >
-<cdparam x="433" y="558" />
-<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4185" >
+<father id="4202" num="4" />
+<cdparam x="795" y="509" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromDtoSC(1)" />
-<TGConnectingPoint num="0" id="4350" />
-<TGConnectingPoint num="1" id="4351" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="4184" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="autoEncrypt_fromDtoSC" isAttacker="No" />
+<Prop commName="receive_Application" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4355" >
-<cdparam x="422" y="617" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4187" >
+<father id="4202" num="5" />
+<cdparam x="795" y="542" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready(x, b)" />
-<TGConnectingPoint num="0" id="4353" />
-<TGConnectingPoint num="1" id="4354" />
-<latencyCheck />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="4186" />
 <extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-<Param index="0" value="x" />
-<Param index="1" value="b" />
+<Prop commName="fromAtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4357" >
-<cdparam x="466" y="680" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4356" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="4360" >
-<cdparam x="593" y="447" />
-<sizeparam width="133" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4189" >
+<father id="4202" num="6" />
+<cdparam x="659" y="406" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?data_Ready_SC()" />
-<TGConnectingPoint num="0" id="4358" />
-<TGConnectingPoint num="1" id="4359" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="4188" />
 <extraparam>
-<Data eventName="data_Ready_SC" variable="x" />
+<Prop commName="start_Application" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4362" >
-<cdparam x="569" y="687" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4361" />
-</COMPONENT>
-
-<COMPONENT type="1009" id="4365" >
-<cdparam x="614" y="810" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4191" >
+<father id="4202" num="7" />
+<cdparam x="697" y="403" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromSCtoD(1) " />
-<TGConnectingPoint num="0" id="4363" />
-<TGConnectingPoint num="1" id="4364" />
+<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
+<infoparam name="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="4190" />
 <extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="autoEncrypt_fromSCtoD" isAttacker="No" />
+<Prop commName="connectionOpened" commType="1" origin="true" finite="true" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="4368" >
-<cdparam x="604" y="729" />
-<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4193" >
+<father id="4202" num="8" />
+<cdparam x="748" y="548" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready_SC() " />
-<TGConnectingPoint num="0" id="4366" />
-<TGConnectingPoint num="1" id="4367" />
-<accessibility />
+<cdrectangleparam minX="-13" maxX="227" minY="-13" maxY="132" />
+<infoparam name="Primitive port" value="Event opened" />
+<TGConnectingPoint num="0" id="4192" />
 <extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
+<Prop commName="opened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4370" >
-<cdparam x="649" y="984" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4369" />
-</COMPONENT>
-
-<COMPONENT type="1014" id="4374" >
-<cdparam x="307" y="287" />
-<sizeparam width="254" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="4239" >
+<father id="4332" num="2" />
+<cdparam x="534" y="97" />
+<sizeparam width="200" height="237" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(i=0;i&lt;nbOfComputedPackets;i = i +1)" />
-<TGConnectingPoint num="0" id="4371" />
-<TGConnectingPoint num="1" id="4372" />
-<TGConnectingPoint num="2" id="4373" />
+<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" />
+<infoparam name="TGComponent" value="SmartCard" />
+<TGConnectingPoint num="0" id="4231" />
+<TGConnectingPoint num="1" id="4232" />
+<TGConnectingPoint num="2" id="4233" />
+<TGConnectingPoint num="3" id="4234" />
+<TGConnectingPoint num="4" id="4235" />
+<TGConnectingPoint num="5" id="4236" />
+<TGConnectingPoint num="6" id="4237" />
+<TGConnectingPoint num="7" id="4238" />
 <extraparam>
-<Data init="i=0" condition="i&lt;nbOfComputedPackets" increment="i = i +1" />
+<Data isAttacker="No" />
+<Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="" type="4" typeOther="" />
+<Attribute access="2" id="i" value="0" type="0" typeOther="" />
+<Attribute access="2" id="j" value="0" type="0" typeOther="" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
+<Attribute access="2" id="t" value="" type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4376" >
-<cdparam x="330" y="587" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4375" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="4377" >
-<cdparam x="434" y="177" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="434" y="177" id="4331" />
-<P2  x="434" y="282" id="4371" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4378" >
-<cdparam x="340" y="568" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="340" y="458" id="4298" />
-<P2  x="340" y="582" id="4375" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4379" >
-<cdparam x="434" y="312" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="434" y="312" id="4373" />
-<P2  x="340" y="428" id="4297" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4380" >
-<cdparam x="561" y="301" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="561" y="301" id="4372" />
-<P2  x="561" y="366" id="4303" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4385" >
-<cdparam x="78" y="363" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="362" id="4328" />
-<P2  x="434" y="147" id="4330" />
-<Point x="228" y="382" />
-<Point x="228" y="382" />
-<Point x="286" y="376" />
-<Point x="285" y="127" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4381" >
-<father id="4385" num="0" />
-<cdparam x="228" y="382" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4204" >
+<father id="4239" num="0" />
+<cdparam x="721" y="111" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="4203" />
+<extraparam>
+<Prop commName="send" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4382" >
-<father id="4385" num="1" />
-<cdparam x="228" y="382" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4206" >
+<father id="4239" num="1" />
+<reference id="184" />
+<cdparam x="580" y="84" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<TGConnectingPoint num="0" id="4205" />
+<extraparam>
+<Prop commName="reset, pTS, end" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4383" >
-<father id="4385" num="2" />
-<cdparam x="286" y="376" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4208" >
+<father id="4239" num="2" />
+<cdparam x="543" y="321" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="4207" />
+<extraparam>
+<Prop commName="answerToReset, pTSConfirm" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4384" >
-<father id="4385" num="3" />
-<cdparam x="285" y="127" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4210" >
+<father id="4239" num="3" />
+<reference id="184" />
+<cdparam x="521" y="247" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="4209" />
+<extraparam>
+<Prop commName="fromSCtoD" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="true" checkConfStatus="1" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-
-<CONNECTOR type="115" id="4386" >
-<cdparam x="228" y="57" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to send request" value="null" />
-<P1  x="229" y="78" id="4316" />
-<P2  x="228" y="132" id="4318" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4387" >
-<cdparam x="228" y="162" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to send event" value="null" />
-<P1  x="228" y="162" id="4319" />
-<P2  x="228" y="232" id="4321" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4388" >
-<cdparam x="228" y="284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="228" y="313" id="4325" />
-<P2  x="228" y="332" id="4327" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4389" >
-<cdparam x="528" y="391" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to write channel" value="null" />
-<P1  x="521" y="391" id="4304" />
-<P2  x="466" y="463" id="5490" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4390" >
-<cdparam x="476" y="583" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="476" y="583" id="4351" />
-<P2  x="476" y="612" id="4353" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4391" >
-<cdparam x="471" y="639" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="476" y="642" id="4354" />
-<P2  x="476" y="675" id="4356" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4392" >
-<cdparam x="619" y="642" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="619" y="642" id="4312" />
-<P2  x="579" y="682" id="4361" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4393" >
-<cdparam x="580" y="405" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to notified event" value="null" />
-<P1  x="601" y="391" id="4305" />
-<P2  x="659" y="442" id="4358" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4394" >
-<cdparam x="659" y="582" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="659" y="472" id="4359" />
-<P2  x="659" y="617" id="4311" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4395" >
-<cdparam x="659" y="682" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="659" y="682" id="4314" />
-<P2  x="659" y="724" id="4366" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4396" >
-<cdparam x="670" y="754" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="659" y="754" id="4367" />
-<P2  x="659" y="805" id="4363" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4397" >
-<cdparam x="659" y="935" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to stop state" value="null" />
-<P1  x="659" y="835" id="4364" />
-<P2  x="631" y="845" id="5505" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4398" >
-<cdparam x="228" y="262" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="228" y="262" id="4322" />
-<P2  x="228" y="283" id="4324" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1013" id="4402" >
-<cdparam x="505" y="259" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4212" >
+<father id="4239" num="4" />
+<reference id="184" />
+<cdparam x="521" y="202" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4400" />
-<TGConnectingPoint num="1" id="4401" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="4399" >
-<father id="4402" num="0" />
-<cdparam x="520" y="279" />
-<sizeparam width="16" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="4211" />
+<extraparam>
+<Prop commName="fromDtoSC" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="40" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="null" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4214" >
+<father id="4239" num="5" />
+<cdparam x="521" y="290" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="10" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="4213" />
+<extraparam>
+<Prop commName="data_Ready_SC" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-
-<COMPONENT type="1010" id="4405" >
-<cdparam x="479" y="129" />
-<sizeparam width="66" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4216" >
+<father id="4239" num="6" />
+<cdparam x="521" y="156" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="opened() " />
-<TGConnectingPoint num="0" id="4403" />
-<TGConnectingPoint num="1" id="4404" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="4215" />
 <extraparam>
-<Data eventName="opened" nbOfParams="5" />
+<Prop commName="data_Ready" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="uint_16" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="1" typeOther="" />
+<Type type="2" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4408" >
-<cdparam x="449" y="192" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4218" >
+<father id="4239" num="7" />
+<cdparam x="721" y="269" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="connectionOpened()" />
-<TGConnectingPoint num="0" id="4406" />
-<TGConnectingPoint num="1" id="4407" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="4217" />
 <extraparam>
-<Data eventName="connectionOpened" nbOfParams="5" />
+<Prop commName="fromTtoP" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1012" id="4416" >
-<cdparam x="495" y="514" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4220" >
+<father id="4239" num="8" />
+<cdparam x="721" y="235" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4412" />
-<TGConnectingPoint num="1" id="4413" />
-<TGConnectingPoint num="2" id="4414" />
-<TGConnectingPoint num="3" id="4415" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="4409" >
-<father id="4416" num="0" />
-<cdparam x="470" y="524" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="4219" />
+<extraparam>
+<Prop commName="fromPtoT" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4222" >
+<father id="4239" num="9" />
+<cdparam x="721" y="190" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ ]" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="4221" />
+<extraparam>
+<Prop commName="receive" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4410" >
-<father id="4416" num="1" />
-<cdparam x="530" y="524" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4224" >
+<father id="4239" num="10" />
+<cdparam x="721" y="301" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ ]" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="4223" />
+<extraparam>
+<Prop commName="start_TCP_IP" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4411" >
-<father id="4416" num="2" />
-<cdparam x="515" y="559" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4226" >
+<father id="4239" num="11" />
+<cdparam x="524" y="116" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="4225" />
+<extraparam>
+<Prop commName="activation" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
 </SUBCOMPONENT>
-
-<COMPONENT type="1000" id="4418" >
-<cdparam x="498" y="33" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4417" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="4421" >
-<cdparam x="482" y="71" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="4228" >
+<father id="4239" num="12" />
+<cdparam x="620" y="324" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="open()" />
-<TGConnectingPoint num="0" id="4419" />
-<TGConnectingPoint num="1" id="4420" />
+<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="4227" />
 <extraparam>
-<Data eventName="open" nbOfParams="5" />
+<Prop commName="start_Application" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="4424" >
-<cdparam x="469" y="353" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4230" >
+<father id="4239" num="13" />
+<cdparam x="680" y="321" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="4422" />
-<TGConnectingPoint num="1" id="4423" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="4229" />
 <extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Prop commName="connectionOpened" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4427" >
-<cdparam x="471" y="399" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1200" id="4323" >
+<father id="4332" num="3" />
+<cdparam x="841" y="133" />
+<sizeparam width="570" height="485" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="send_TCP()" />
-<TGConnectingPoint num="0" id="4425" />
-<TGConnectingPoint num="1" id="4426" />
-<accessibility />
+<cdrectangleparam minX="0" maxX="365" minY="0" maxY="45" />
+<infoparam name="TGComponent" value="TCPIP Entities" />
+<TGConnectingPoint num="0" id="4315" />
+<TGConnectingPoint num="1" id="4316" />
+<TGConnectingPoint num="2" id="4317" />
+<TGConnectingPoint num="3" id="4318" />
+<TGConnectingPoint num="4" id="4319" />
+<TGConnectingPoint num="5" id="4320" />
+<TGConnectingPoint num="6" id="4321" />
+<TGConnectingPoint num="7" id="4322" />
 <extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
+<info hiddeni="false" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4429" >
-<cdparam x="577" y="648" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4428" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="4432" >
-<cdparam x="563" y="589" />
-<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="4254" >
+<father id="4323" num="0" />
+<cdparam x="1232" y="328" />
+<sizeparam width="140" height="141" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="4430" />
-<TGConnectingPoint num="1" id="4431" />
+<cdrectangleparam minX="0" maxX="430" minY="0" maxY="344" />
+<infoparam name="TGComponent" value="Timer" />
+<TGConnectingPoint num="0" id="4246" />
+<TGConnectingPoint num="1" id="4247" />
+<TGConnectingPoint num="2" id="4248" />
+<TGConnectingPoint num="3" id="4249" />
+<TGConnectingPoint num="4" id="4250" />
+<TGConnectingPoint num="5" id="4251" />
+<TGConnectingPoint num="6" id="4252" />
+<TGConnectingPoint num="7" id="4253" />
 <extraparam>
-<Data eventName="abort" nbOfParams="5" />
+<Data isAttacker="No" />
+<Attribute access="2" id="x" value="0" type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4435" >
-<cdparam x="410" y="597" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4241" >
+<father id="4254" num="0" />
+<cdparam x="1222" y="368" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="close()" />
-<TGConnectingPoint num="0" id="4433" />
-<TGConnectingPoint num="1" id="4434" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="4240" />
 <extraparam>
-<Data eventName="close" nbOfParams="5" />
+<Prop commName="timeOut" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4437" >
-<cdparam x="423" y="646" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4436" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="4438" >
-<cdparam x="510" y="294" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="510" y="294" id="4401" />
-<P2  x="509" y="348" id="4422" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4439" >
-<cdparam x="508" y="424" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="508" y="424" id="4426" />
-<P2  x="510" y="504" id="4412" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4440" >
-<cdparam x="512" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="512" y="154" id="4404" />
-<P2  x="511" y="187" id="4406" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4441" >
-<cdparam x="594" y="221" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="511" y="217" id="4407" />
-<P2  x="510" y="254" id="4400" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4442" >
-<cdparam x="506" y="36" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to send event" value="null" />
-<P1  x="505" y="53" id="4417" />
-<P2  x="505" y="66" id="4419" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4443" >
-<cdparam x="508" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="505" y="96" id="4420" />
-<P2  x="512" y="124" id="4403" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4444" >
-<cdparam x="509" y="397" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="509" y="378" id="4423" />
-<P2  x="508" y="394" id="4425" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4445" >
-<cdparam x="587" y="614" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="587" y="614" id="4431" />
-<P2  x="587" y="643" id="4428" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4446" >
-<cdparam x="471" y="608" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="470" y="529" id="4413" />
-<P2  x="433" y="592" id="4433" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4447" >
-<cdparam x="433" y="622" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="433" y="622" id="4434" />
-<P2  x="433" y="641" id="4436" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4448" >
-<cdparam x="551" y="608" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="550" y="529" id="4414" />
-<P2  x="587" y="584" id="4430" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="1110" >
-<CONNECTOR type="115" id="5532" >
-<cdparam x="546" y="633" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="563" y="518" id="5531" />
-<P2  x="591" y="567" id="4510" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="1036" id="5529" >
-<cdparam x="556" y="473" />
-<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4243" >
+<father id="4254" num="1" />
+<cdparam x="1222" y="403" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1010" />
-<infoparam name="decrypt" value="null" />
-<TGConnectingPoint num="0" id="5530" />
-<TGConnectingPoint num="1" id="5531" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="4242" />
 <extraparam>
-<Data secPattern="autoEncrypt_fromDtoSC" />
+<Prop commName="req_Timer" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<CONNECTOR type="115" id="5520" >
-<cdparam x="250" y="773" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="257" y="708" id="5516" />
-<P2  x="293" y="718" id="4507" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<COMPONENT type="1035" id="5514" >
-<cdparam x="250" y="663" />
-<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4245" >
+<father id="4254" num="2" />
+<cdparam x="1222" y="431" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="encrypt" value="null" />
-<TGConnectingPoint num="0" id="5515" />
-<TGConnectingPoint num="1" id="5516" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="4244" />
 <extraparam>
-<Data secContext="autoEncrypt_fromSCtoD" type="Symmetric Encryption" overhead="0" size="" encTime="100" decTime="100" nonce="" key="" algorithm="" />
+<Prop commName="stop" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4450" >
-<cdparam x="430" y="408" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="4273" >
+<father id="4323" num="1" />
+<cdparam x="828" y="362" />
+<sizeparam width="26" height="26" minWidth="10" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4449" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="4453" >
-<cdparam x="418" y="364" />
-<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="4255" />
+<TGConnectingPoint num="1" id="4256" />
+<TGConnectingPoint num="2" id="4257" />
+<TGConnectingPoint num="3" id="4258" />
+<TGConnectingPoint num="4" id="4259" />
+<TGConnectingPoint num="5" id="4260" />
+<TGConnectingPoint num="6" id="4261" />
+<TGConnectingPoint num="7" id="4262" />
+<TGConnectingPoint num="8" id="4263" />
+<TGConnectingPoint num="9" id="4264" />
+<TGConnectingPoint num="10" id="4265" />
+<TGConnectingPoint num="11" id="4266" />
+<TGConnectingPoint num="12" id="4267" />
+<TGConnectingPoint num="13" id="4268" />
+<TGConnectingPoint num="14" id="4269" />
+<TGConnectingPoint num="15" id="4270" />
+<TGConnectingPoint num="16" id="4271" />
+<TGConnectingPoint num="17" id="4272" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="4314" >
+<father id="4323" num="2" />
+<cdparam x="931" y="167" />
+<sizeparam width="236" height="317" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="end() " />
-<TGConnectingPoint num="0" id="4451" />
-<TGConnectingPoint num="1" id="4452" />
+<cdrectangleparam minX="0" maxX="334" minY="0" maxY="168" />
+<infoparam name="TGComponent" value="TCPIP" />
+<TGConnectingPoint num="0" id="4306" />
+<TGConnectingPoint num="1" id="4307" />
+<TGConnectingPoint num="2" id="4308" />
+<TGConnectingPoint num="3" id="4309" />
+<TGConnectingPoint num="4" id="4310" />
+<TGConnectingPoint num="5" id="4311" />
+<TGConnectingPoint num="6" id="4312" />
+<TGConnectingPoint num="7" id="4313" />
 <extraparam>
-<Data eventName="end" nbOfParams="5" />
+<Data isAttacker="No" />
+<Attribute access="2" id="wind" value="64" type="0" typeOther="" />
+<Attribute access="2" id="seqNum" value="0" type="0" typeOther="" />
+<Attribute access="2" id="i" value="" type="0" typeOther="" />
+<Attribute access="2" id="j" value="" type="0" typeOther="" />
+<Attribute access="2" id="a" value="0" type="0" typeOther="" />
+<Attribute access="2" id="b" value="0" type="0" typeOther="" />
+<Attribute access="2" id="tcpctrl" value="" type="5" typeOther="TCP_CTRL" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="4456" >
-<cdparam x="238" y="201" />
-<sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4275" >
+<father id="4314" num="0" />
+<cdparam x="918" y="185" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="connectionOpened() " />
-<TGConnectingPoint num="0" id="4454" />
-<TGConnectingPoint num="1" id="4455" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="4274" />
 <extraparam>
-<Data eventName="connectionOpened" nbOfParams="5" />
+<Prop commName="send" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1000" id="4458" >
-<cdparam x="159" y="66" />
-<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4457" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="4461" >
-<cdparam x="141" y="129" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4277" >
+<father id="4314" num="1" />
+<cdparam x="918" y="235" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="reset() " />
-<TGConnectingPoint num="0" id="4459" />
-<TGConnectingPoint num="1" id="4460" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="4276" />
 <extraparam>
-<Data eventName="reset" nbOfParams="5" />
+<Prop commName="receive" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4464" >
-<cdparam x="113" y="182" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4279" >
+<father id="4314" num="2" />
+<cdparam x="918" y="278" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="answerToReset()" />
-<TGConnectingPoint num="0" id="4462" />
-<TGConnectingPoint num="1" id="4463" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="4278" />
 <extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
+<Prop commName="fromPtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="4467" >
-<cdparam x="144" y="237" />
-<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4281" >
+<father id="4314" num="3" />
+<cdparam x="918" y="317" />
+<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTS() " />
-<TGConnectingPoint num="0" id="4465" />
-<TGConnectingPoint num="1" id="4466" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="4280" />
 <extraparam>
-<Data eventName="pTS" nbOfParams="5" />
+<Prop commName="fromTtoP" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4470" >
-<cdparam x="124" y="308" />
-<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4283" >
+<father id="4314" num="4" />
+<cdparam x="921" y="352" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTSConfirm()" />
-<TGConnectingPoint num="0" id="4468" />
-<TGConnectingPoint num="1" id="4469" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="4282" />
 <extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
+<Prop commName="start_TCP_IP" commType="2" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="4487" >
-<cdparam x="376" y="98" />
-<sizeparam width="233" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4285" >
+<father id="4314" num="5" />
+<cdparam x="921" y="443" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="UML Note" value="The first two layers of the OSI model 
-are used to communicate between 
-the smart card and the terminal
-" />
-<TGConnectingPoint num="0" id="4471" />
-<TGConnectingPoint num="1" id="4472" />
-<TGConnectingPoint num="2" id="4473" />
-<TGConnectingPoint num="3" id="4474" />
-<TGConnectingPoint num="4" id="4475" />
-<TGConnectingPoint num="5" id="4476" />
-<TGConnectingPoint num="6" id="4477" />
-<TGConnectingPoint num="7" id="4478" />
-<TGConnectingPoint num="8" id="4479" />
-<TGConnectingPoint num="9" id="4480" />
-<TGConnectingPoint num="10" id="4481" />
-<TGConnectingPoint num="11" id="4482" />
-<TGConnectingPoint num="12" id="4483" />
-<TGConnectingPoint num="13" id="4484" />
-<TGConnectingPoint num="14" id="4485" />
-<TGConnectingPoint num="15" id="4486" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="4284" />
 <extraparam>
-<Line value="The first two layers of the OSI model " />
-<Line value="are used to communicate between " />
-<Line value="the smart card and the terminal" />
+<Prop commName="send_TCP" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="4490" >
-<cdparam x="254" y="97" />
-<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4287" >
+<father id="4314" num="6" />
+<cdparam x="921" y="416" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_TCP_IP()" />
-<TGConnectingPoint num="0" id="4488" />
-<TGConnectingPoint num="1" id="4489" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="4286" />
 <extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
+<Prop commName="open, abort, close" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="4493" >
-<cdparam x="241" y="148" />
-<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4289" >
+<father id="4314" num="7" />
+<cdparam x="921" y="387" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="4491" />
-<TGConnectingPoint num="1" id="4492" />
-<breakpoint />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="4288" />
 <extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
+<Prop commName="fromTtoA" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4495" >
-<cdparam x="581" y="760" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4494" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="4498" >
-<cdparam x="240" y="571" />
-<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4291" >
+<father id="4314" num="8" />
+<cdparam x="959" y="474" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready_SC()" />
-<TGConnectingPoint num="0" id="4496" />
-<TGConnectingPoint num="1" id="4497" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="4290" />
 <extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
+<Prop commName="fromAtoT" commType="0" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="4500" >
-<cdparam x="283" y="757" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4293" >
+<father id="4314" num="9" />
+<cdparam x="921" y="466" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4499" />
-</COMPONENT>
-
-<COMPONENT type="1009" id="4503" >
-<cdparam x="252" y="429" />
-<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="4292" />
+<extraparam>
+<Prop commName="receive_Application" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4295" >
+<father id="4314" num="10" />
+<cdparam x="1157" y="370" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="4501" />
-<TGConnectingPoint num="1" id="4502" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="4294" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Prop commName="timeOut" commType="1" origin="false" finite="false" blocking="true" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="4506" >
-<cdparam x="268" y="385" />
-<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4297" >
+<father id="4314" num="11" />
+<cdparam x="1157" y="405" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="send() " />
-<TGConnectingPoint num="0" id="4504" />
-<TGConnectingPoint num="1" id="4505" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="4296" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Prop commName="req_Timer" commType="2" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="4509" >
-<cdparam x="250" y="723" />
-<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4299" >
+<father id="4314" num="12" />
+<cdparam x="1157" y="198" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromSCtoD(1)" />
-<TGConnectingPoint num="0" id="4507" />
-<TGConnectingPoint num="1" id="4508" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="4298" />
 <extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="autoEncrypt_fromSCtoD" isAttacker="No" />
+<Prop commName="temp" commType="0" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="4512" >
-<cdparam x="562" y="572" />
-<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4301" >
+<father id="4314" num="13" />
+<cdparam x="1157" y="266" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="4510" />
-<TGConnectingPoint num="1" id="4511" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Channel temp" />
+<TGConnectingPoint num="0" id="4300" />
 <extraparam>
-<Data eventName="receive" nbOfParams="5" />
+<Prop commName="temp" commType="0" origin="false" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1009" id="4515" >
-<cdparam x="546" y="433" />
-<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4303" >
+<father id="4314" num="14" />
+<cdparam x="1157" y="444" />
+<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC(1) " />
-<TGConnectingPoint num="0" id="4513" />
-<TGConnectingPoint num="1" id="4514" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="4302" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="autoEncrypt_fromDtoSC" isAttacker="No" />
+<Prop commName="stop" commType="1" origin="true" finite="true" blocking="false" maxSamples="1" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="-1" dataFlowType="VOID" associatedEvent="VOID" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="4518" >
-<cdparam x="552" y="609" />
-<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="4305" >
+<father id="4314" num="15" />
+<cdparam x="1012" y="471" />
+<sizeparam width="26" height="26" minWidth="1" minHeight="1" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="4516" />
-<TGConnectingPoint num="1" id="4517" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="Primitive port" value="Event opened" />
+<TGConnectingPoint num="0" id="4304" />
 <extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Prop commName="opened" commType="1" origin="true" finite="false" blocking="false" maxSamples="8" widthSamples="4" isLossy="false" isPrex="false" isPostex="false" lossPercentage="0" maxNbOfLoss="0" dataFlowType="int16_t" associatedEvent="" checkConf="false" checkConfStatus="0" checkAuth="false" checkWeakAuthStatus="0" checkStrongAuthStatus="0" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
 </extraparam>
-</COMPONENT>
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="4521" >
-<cdparam x="536" y="390" />
-<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+</TMLComponentTaskDiagramPanel>
+
+<TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="1110" >
+<COMPONENT type="1036" id="4335" >
+<cdparam x="624" y="850" />
+<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready(t, b) " />
-<TGConnectingPoint num="0" id="4519" />
-<TGConnectingPoint num="1" id="4520" />
-<breakpoint />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="decrypt" value="null" />
+<TGConnectingPoint num="0" id="4333" />
+<TGConnectingPoint num="1" id="4334" />
 <extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-<Param index="0" value="t" />
-<Param index="1" value="b" />
+<Data secPattern="autoEncrypt_fromSCtoD" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="4525" >
-<cdparam x="236" y="261" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1035" id="4338" >
+<cdparam x="459" y="468" />
+<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
-<TGConnectingPoint num="0" id="4522" />
-<TGConnectingPoint num="1" id="4523" />
-<TGConnectingPoint num="2" id="4524" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="encrypt" value="null" />
+<TGConnectingPoint num="0" id="4336" />
+<TGConnectingPoint num="1" id="4337" />
 <extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
+<Data secContext="autoEncrypt_fromDtoSC" type="Symmetric Encryption" overhead="0" size="" encTime="100" decTime="100" nonce="" key="" algorithm="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="4527" >
-<cdparam x="275" y="309" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4526" />
-</COMPONENT>
-
-<COMPONENT type="1018" id="4538" >
-<cdparam x="424" y="285" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="4528" />
-<TGConnectingPoint num="1" id="4529" />
-<TGConnectingPoint num="2" id="4530" />
-<TGConnectingPoint num="3" id="4531" />
-<TGConnectingPoint num="4" id="4532" />
-<TGConnectingPoint num="5" id="4533" />
-<TGConnectingPoint num="6" id="4534" />
-<TGConnectingPoint num="7" id="4535" />
-<TGConnectingPoint num="8" id="4536" />
-<TGConnectingPoint num="9" id="4537" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="4539" >
-<cdparam x="302" y="227" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="302" y="226" id="4455" />
-<P2  x="298" y="256" id="4522" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4544" >
-<cdparam x="111" y="331" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="166" y="333" id="4469" />
-<P2  x="298" y="92" id="4488" />
-<Point x="166" y="353" />
-<Point x="225" y="353" />
-<Point x="225" y="72" />
-<Point x="278" y="72" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="4540" >
-<father id="4544" num="0" />
-<cdparam x="166" y="353" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4541" >
-<father id="4544" num="1" />
-<cdparam x="225" y="353" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4542" >
-<father id="4544" num="2" />
-<cdparam x="225" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4543" >
-<father id="4544" num="3" />
-<cdparam x="278" y="72" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
-<infoparam name="point " value="null" />
-</SUBCOMPONENT>
-
-<CONNECTOR type="115" id="4545" >
-<cdparam x="166" y="64" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to wait event" value="null" />
-<P1  x="166" y="86" id="4457" />
-<P2  x="166" y="124" id="4459" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4546" >
-<cdparam x="166" y="154" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="154" id="4460" />
-<P2  x="166" y="177" id="4462" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4547" >
-<cdparam x="312" y="133" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to send request" value="null" />
-<P1  x="298" y="122" id="4489" />
-<P2  x="298" y="143" id="4491" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4548" >
-<cdparam x="286" y="421" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="293" y="410" id="4505" />
-<P2  x="293" y="424" id="4501" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4549" >
-<cdparam x="286" y="586" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="293" y="454" id="4502" />
-<P2  x="293" y="566" id="4496" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4550" >
-<cdparam x="286" y="748" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="293" y="596" id="4497" />
-<P2  x="257" y="658" id="5515" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4551" >
-<cdparam x="286" y="804" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="293" y="748" id="4508" />
-<P2  x="293" y="752" id="4499" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4552" >
-<cdparam x="607" y="580" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to send event" value="null" />
-<P1  x="591" y="458" id="4514" />
-<P2  x="563" y="468" id="5530" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4553" >
-<cdparam x="606" y="734" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to write channel" value="null" />
-<P1  x="591" y="597" id="4511" />
-<P2  x="591" y="604" id="4516" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4554" >
-<cdparam x="609" y="427" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="591" y="415" id="4520" />
-<P2  x="591" y="428" id="4513" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4555" >
-<cdparam x="606" y="796" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="591" y="634" id="4517" />
-<P2  x="591" y="755" id="4494" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4556" >
-<cdparam x="298" y="173" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to for loop" value="null" />
-<P1  x="298" y="173" id="4492" />
-<P2  x="302" y="196" id="4454" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4557" >
-<cdparam x="328" y="291" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to stop state" value="null" />
-<P1  x="298" y="286" id="4524" />
-<P2  x="285" y="304" id="4526" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4558" >
-<cdparam x="385" y="404" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="399" y="300" id="4529" />
-<P2  x="293" y="380" id="4504" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4559" >
-<cdparam x="533" y="562" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from select to wait event" value="null" />
-<P1  x="479" y="300" id="4530" />
-<P2  x="591" y="385" id="4519" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4560" >
-<cdparam x="391" y="341" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to select" value="null" />
-<P1  x="361" y="275" id="4523" />
-<P2  x="439" y="275" id="4528" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4561" >
-<cdparam x="164" y="262" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to send event" value="null" />
-<P1  x="166" y="262" id="4466" />
-<P2  x="166" y="303" id="4468" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4562" >
-<cdparam x="166" y="207" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to wait event" value="null" />
-<P1  x="166" y="207" id="4463" />
-<P2  x="166" y="232" id="4465" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4563" >
-<cdparam x="439" y="340" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="439" y="340" id="4531" />
-<P2  x="440" y="359" id="4451" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="4564" >
-<cdparam x="440" y="389" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="440" y="389" id="4452" />
-<P2  x="440" y="403" id="4449" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
+<COMPONENT type="1008" id="4341" >
+<cdparam x="320" y="433" />
+<sizeparam width="40" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="end()" />
+<TGConnectingPoint num="0" id="4339" />
+<TGConnectingPoint num="1" id="4340" />
+<latencyCheck />
+<extraparam>
+<Data eventName="end" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-</TMLActivityDiagramPanel>
+<COMPONENT type="1012" id="4349" >
+<cdparam x="546" y="376" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="4345" />
+<TGConnectingPoint num="1" id="4346" />
+<TGConnectingPoint num="2" id="4347" />
+<TGConnectingPoint num="3" id="4348" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="4342" >
+<father id="4349" num="0" />
+<cdparam x="521" y="386" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="4343" >
+<father id="4349" num="1" />
+<cdparam x="581" y="386" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="4344" >
+<father id="4349" num="2" />
+<cdparam x="566" y="421" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
 
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="4572" >
-<cdparam x="509" y="222" />
+<COMPONENT type="1012" id="4357" >
+<cdparam x="644" y="627" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4568" />
-<TGConnectingPoint num="1" id="4569" />
-<TGConnectingPoint num="2" id="4570" />
-<TGConnectingPoint num="3" id="4571" />
+<TGConnectingPoint num="0" id="4353" />
+<TGConnectingPoint num="1" id="4354" />
+<TGConnectingPoint num="2" id="4355" />
+<TGConnectingPoint num="3" id="4356" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4565" >
-<father id="4572" num="0" />
-<cdparam x="464" y="232" />
+<SUBCOMPONENT type="-1" id="4350" >
+<father id="4357" num="0" />
+<cdparam x="599" y="637" />
 <sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4566" >
-<father id="4572" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="4351" >
+<father id="4357" num="1" />
+<cdparam x="679" y="637" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ x&gt;0 ]" />
+<infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4567" >
-<father id="4572" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="4352" >
+<father id="4357" num="2" />
+<cdparam x="664" y="672" />
+<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<infoparam name="guard 3" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="4574" >
-<cdparam x="489" y="26" />
+<COMPONENT type="1000" id="4359" >
+<cdparam x="222" y="58" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4573" />
+<TGConnectingPoint num="0" id="4358" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4576" >
-<cdparam x="417" y="407" />
+<COMPONENT type="1007" id="4362" >
+<cdparam x="192" y="137" />
+<sizeparam width="72" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send request" value="activation()" />
+<TGConnectingPoint num="0" id="4360" />
+<TGConnectingPoint num="1" id="4361" />
+<extraparam>
+<Data requestName="activation" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="4365" >
+<cdparam x="205" y="237" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="reset()" />
+<TGConnectingPoint num="0" id="4363" />
+<TGConnectingPoint num="1" id="4364" />
+<latencyCheck />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="4368" >
+<cdparam x="173" y="288" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="answerToReset() " />
+<TGConnectingPoint num="0" id="4366" />
+<TGConnectingPoint num="1" id="4367" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="4371" >
+<cdparam x="208" y="337" />
+<sizeparam width="40" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="pTS()" />
+<TGConnectingPoint num="0" id="4369" />
+<TGConnectingPoint num="1" id="4370" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="4374" >
+<cdparam x="390" y="152" />
+<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="pTSConfirm() " />
+<TGConnectingPoint num="0" id="4372" />
+<TGConnectingPoint num="1" id="4373" />
+<breakpoint />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="4391" >
+<cdparam x="453" y="214" />
+<sizeparam width="105" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="UML Note" value="data exchange
+" />
+<TGConnectingPoint num="0" id="4375" />
+<TGConnectingPoint num="1" id="4376" />
+<TGConnectingPoint num="2" id="4377" />
+<TGConnectingPoint num="3" id="4378" />
+<TGConnectingPoint num="4" id="4379" />
+<TGConnectingPoint num="5" id="4380" />
+<TGConnectingPoint num="6" id="4381" />
+<TGConnectingPoint num="7" id="4382" />
+<TGConnectingPoint num="8" id="4383" />
+<TGConnectingPoint num="9" id="4384" />
+<TGConnectingPoint num="10" id="4385" />
+<TGConnectingPoint num="11" id="4386" />
+<TGConnectingPoint num="12" id="4387" />
+<TGConnectingPoint num="13" id="4388" />
+<TGConnectingPoint num="14" id="4389" />
+<TGConnectingPoint num="15" id="4390" />
+<extraparam>
+<Line value="data exchange" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="4394" >
+<cdparam x="433" y="558" />
+<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="write channel" value="fromDtoSC(1)" />
+<TGConnectingPoint num="0" id="4392" />
+<TGConnectingPoint num="1" id="4393" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="autoEncrypt_fromDtoSC" isAttacker="No" isEncForm="Yes" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="4397" >
+<cdparam x="422" y="617" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="data_Ready(x, b)" />
+<TGConnectingPoint num="0" id="4395" />
+<TGConnectingPoint num="1" id="4396" />
+<latencyCheck />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+<Param index="0" value="x" />
+<Param index="1" value="b" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="4399" >
+<cdparam x="466" y="680" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4575" />
+<TGConnectingPoint num="0" id="4398" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="4579" >
-<cdparam x="396" y="339" />
-<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="4402" >
+<cdparam x="593" y="447" />
+<sizeparam width="133" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="timeOut()" />
-<TGConnectingPoint num="0" id="4577" />
-<TGConnectingPoint num="1" id="4578" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="notified event" value="x=?data_Ready_SC()" />
+<TGConnectingPoint num="0" id="4400" />
+<TGConnectingPoint num="1" id="4401" />
 <extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
+<Data eventName="data_Ready_SC" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="4582" >
-<cdparam x="599" y="300" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="4404" >
+<cdparam x="569" y="687" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="stop() " />
-<TGConnectingPoint num="0" id="4580" />
-<TGConnectingPoint num="1" id="4581" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="4403" />
+</COMPONENT>
+
+<COMPONENT type="1009" id="4407" >
+<cdparam x="614" y="810" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="read channel" value="fromSCtoD(1) " />
+<TGConnectingPoint num="0" id="4405" />
+<TGConnectingPoint num="1" id="4406" />
 <extraparam>
-<Data eventName="stop" nbOfParams="5" />
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="autoEncrypt_fromSCtoD" isAttacker="No" isEncForm="Yes" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="4584" >
-<cdparam x="612" y="365" />
+<COMPONENT type="1010" id="4410" >
+<cdparam x="604" y="729" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="data_Ready_SC() " />
+<TGConnectingPoint num="0" id="4408" />
+<TGConnectingPoint num="1" id="4409" />
+<accessibility />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="4412" >
+<cdparam x="649" y="984" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4583" />
+<TGConnectingPoint num="0" id="4411" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="4587" >
-<cdparam x="491" y="157" />
-<sizeparam width="70" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="4416" >
+<cdparam x="307" y="287" />
+<sizeparam width="254" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?stop()" />
-<TGConnectingPoint num="0" id="4585" />
-<TGConnectingPoint num="1" id="4586" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="for loop" value="for(i=0;i&lt;nbOfComputedPackets;i = i +1)" />
+<TGConnectingPoint num="0" id="4413" />
+<TGConnectingPoint num="1" id="4414" />
+<TGConnectingPoint num="2" id="4415" />
 <extraparam>
-<Data eventName="stop" variable="x" />
+<Data init="i=0" condition="i&lt;nbOfComputedPackets" increment="i = i +1" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="4588" >
-<cdparam x="496" y="46" />
+<COMPONENT type="1001" id="4418" >
+<cdparam x="330" y="587" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="4417" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="4419" >
+<cdparam x="614" y="1010" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="631" y="895" id="4334" />
+<P2  x="659" y="979" id="4411" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4420" >
+<cdparam x="433" y="608" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="466" y="513" id="4337" />
+<P2  x="476" y="553" id="4392" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4421" >
+<cdparam x="434" y="177" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="434" y="177" id="4373" />
+<P2  x="434" y="282" id="4413" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4422" >
+<cdparam x="340" y="568" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="340" y="458" id="4340" />
+<P2  x="340" y="582" id="4417" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4423" >
+<cdparam x="434" y="312" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="434" y="312" id="4415" />
+<P2  x="340" y="428" id="4339" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4424" >
+<cdparam x="561" y="301" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="561" y="301" id="4414" />
+<P2  x="561" y="366" id="4345" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4429" >
+<cdparam x="78" y="363" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="228" y="362" id="4370" />
+<P2  x="434" y="147" id="4372" />
+<Point x="228" y="382" />
+<Point x="228" y="382" />
+<Point x="286" y="376" />
+<Point x="285" y="127" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="4425" >
+<father id="4429" num="0" />
+<cdparam x="228" y="382" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="4426" >
+<father id="4429" num="1" />
+<cdparam x="228" y="382" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="4427" >
+<father id="4429" num="2" />
+<cdparam x="286" y="376" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="4428" >
+<father id="4429" num="3" />
+<cdparam x="285" y="127" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="496" y="46" id="4573" />
-<P2  x="526" y="152" id="4585" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+
+<CONNECTOR type="115" id="4430" >
+<cdparam x="228" y="57" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to send request" value="null" />
+<P1  x="229" y="78" id="4358" />
+<P2  x="228" y="132" id="4360" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="4589" >
-<cdparam x="484" y="237" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector" value="null" />
-<P1  x="484" y="237" id="4569" />
-<P2  x="427" y="334" id="4577" />
+<CONNECTOR type="115" id="4431" >
+<cdparam x="228" y="162" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send request to send event" value="null" />
+<P1  x="228" y="162" id="4361" />
+<P2  x="228" y="232" id="4363" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="4590" >
-<cdparam x="427" y="364" />
+<CONNECTOR type="115" id="4432" >
+<cdparam x="228" y="284" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="228" y="313" id="4367" />
+<P2  x="228" y="332" id="4369" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4433" >
+<cdparam x="528" y="391" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to write channel" value="null" />
+<P1  x="521" y="391" id="4346" />
+<P2  x="466" y="463" id="4336" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4434" >
+<cdparam x="476" y="583" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="476" y="583" id="4393" />
+<P2  x="476" y="612" id="4395" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4435" >
+<cdparam x="471" y="639" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to stop state" value="null" />
-<P1  x="427" y="364" id="4578" />
-<P2  x="427" y="402" id="4575" />
+<P1  x="476" y="642" id="4396" />
+<P2  x="476" y="675" id="4398" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="4591" >
-<cdparam x="622" y="325" />
+<CONNECTOR type="115" id="4436" >
+<cdparam x="619" y="642" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="622" y="325" id="4581" />
-<P2  x="622" y="360" id="4583" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="619" y="642" id="4354" />
+<P2  x="579" y="682" id="4403" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="4592" >
-<cdparam x="524" y="175" />
+<CONNECTOR type="115" id="4437" >
+<cdparam x="580" y="405" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to notified event" value="null" />
+<P1  x="601" y="391" id="4347" />
+<P2  x="659" y="442" id="4400" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4438" >
+<cdparam x="659" y="582" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from notified event to choice" value="null" />
-<P1  x="526" y="182" id="4586" />
-<P2  x="524" y="212" id="4568" />
+<P1  x="659" y="472" id="4401" />
+<P2  x="659" y="617" id="4353" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="4593" >
-<cdparam x="564" y="237" />
+<CONNECTOR type="115" id="4439" >
+<cdparam x="659" y="682" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to wait event" value="null" />
-<P1  x="564" y="237" id="4570" />
-<P2  x="622" y="295" id="4580" />
+<P1  x="659" y="682" id="4356" />
+<P2  x="659" y="724" id="4408" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4440" >
+<cdparam x="670" y="754" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="659" y="754" id="4409" />
+<P2  x="659" y="805" id="4405" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4441" >
+<cdparam x="659" y="935" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to stop state" value="null" />
+<P1  x="659" y="835" id="4406" />
+<P2  x="631" y="845" id="4333" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="4442" >
+<cdparam x="228" y="262" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="228" y="262" id="4364" />
+<P2  x="228" y="283" id="4366" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
 <TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1008" id="4596" >
+<COMPONENT type="1008" id="4445" >
 <cdparam x="159" y="424" />
 <sizeparam width="62" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="opened()" />
-<TGConnectingPoint num="0" id="4594" />
-<TGConnectingPoint num="1" id="4595" />
+<TGConnectingPoint num="0" id="4443" />
+<TGConnectingPoint num="1" id="4444" />
 <extraparam>
 <Data eventName="opened" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1012" id="4604" >
+<COMPONENT type="1012" id="4453" >
 <cdparam x="2086" y="1378" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4600" />
-<TGConnectingPoint num="1" id="4601" />
-<TGConnectingPoint num="2" id="4602" />
-<TGConnectingPoint num="3" id="4603" />
+<TGConnectingPoint num="0" id="4449" />
+<TGConnectingPoint num="1" id="4450" />
+<TGConnectingPoint num="2" id="4451" />
+<TGConnectingPoint num="3" id="4452" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4597" >
-<father id="4604" num="0" />
+<SUBCOMPONENT type="-1" id="4446" >
+<father id="4453" num="0" />
 <cdparam x="2061" y="1388" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4598" >
-<father id="4604" num="1" />
+<SUBCOMPONENT type="-1" id="4447" >
+<father id="4453" num="1" />
 <cdparam x="2121" y="1388" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4599" >
-<father id="4604" num="2" />
+<SUBCOMPONENT type="-1" id="4448" >
+<father id="4453" num="2" />
 <cdparam x="2106" y="1426" />
 <sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -14809,35 +13821,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4612" >
+<COMPONENT type="1012" id="4461" >
 <cdparam x="2262" y="951" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4608" />
-<TGConnectingPoint num="1" id="4609" />
-<TGConnectingPoint num="2" id="4610" />
-<TGConnectingPoint num="3" id="4611" />
+<TGConnectingPoint num="0" id="4457" />
+<TGConnectingPoint num="1" id="4458" />
+<TGConnectingPoint num="2" id="4459" />
+<TGConnectingPoint num="3" id="4460" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4605" >
-<father id="4612" num="0" />
+<SUBCOMPONENT type="-1" id="4454" >
+<father id="4461" num="0" />
 <cdparam x="2212" y="961" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4606" >
-<father id="4612" num="1" />
+<SUBCOMPONENT type="-1" id="4455" >
+<father id="4461" num="1" />
 <cdparam x="2301" y="975" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4607" >
-<father id="4612" num="2" />
+<SUBCOMPONENT type="-1" id="4456" >
+<father id="4461" num="2" />
 <cdparam x="2282" y="996" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -14845,35 +13857,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4620" >
+<COMPONENT type="1012" id="4469" >
 <cdparam x="1981" y="1346" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4616" />
-<TGConnectingPoint num="1" id="4617" />
-<TGConnectingPoint num="2" id="4618" />
-<TGConnectingPoint num="3" id="4619" />
+<TGConnectingPoint num="0" id="4465" />
+<TGConnectingPoint num="1" id="4466" />
+<TGConnectingPoint num="2" id="4467" />
+<TGConnectingPoint num="3" id="4468" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4613" >
-<father id="4620" num="0" />
+<SUBCOMPONENT type="-1" id="4462" >
+<father id="4469" num="0" />
 <cdparam x="1934" y="1356" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4614" >
-<father id="4620" num="1" />
+<SUBCOMPONENT type="-1" id="4463" >
+<father id="4469" num="1" />
 <cdparam x="2016" y="1356" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4615" >
-<father id="4620" num="2" />
+<SUBCOMPONENT type="-1" id="4464" >
+<father id="4469" num="2" />
 <cdparam x="2001" y="1391" />
 <sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -14881,35 +13893,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4628" >
+<COMPONENT type="1012" id="4477" >
 <cdparam x="1811" y="1269" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4624" />
-<TGConnectingPoint num="1" id="4625" />
-<TGConnectingPoint num="2" id="4626" />
-<TGConnectingPoint num="3" id="4627" />
+<TGConnectingPoint num="0" id="4473" />
+<TGConnectingPoint num="1" id="4474" />
+<TGConnectingPoint num="2" id="4475" />
+<TGConnectingPoint num="3" id="4476" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4621" >
-<father id="4628" num="0" />
+<SUBCOMPONENT type="-1" id="4470" >
+<father id="4477" num="0" />
 <cdparam x="1762" y="1279" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4622" >
-<father id="4628" num="1" />
+<SUBCOMPONENT type="-1" id="4471" >
+<father id="4477" num="1" />
 <cdparam x="1846" y="1279" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4623" >
-<father id="4628" num="2" />
+<SUBCOMPONENT type="-1" id="4472" >
+<father id="4477" num="2" />
 <cdparam x="1831" y="1314" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -14917,35 +13929,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4636" >
+<COMPONENT type="1012" id="4485" >
 <cdparam x="1713" y="1141" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4632" />
-<TGConnectingPoint num="1" id="4633" />
-<TGConnectingPoint num="2" id="4634" />
-<TGConnectingPoint num="3" id="4635" />
+<TGConnectingPoint num="0" id="4481" />
+<TGConnectingPoint num="1" id="4482" />
+<TGConnectingPoint num="2" id="4483" />
+<TGConnectingPoint num="3" id="4484" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4629" >
-<father id="4636" num="0" />
+<SUBCOMPONENT type="-1" id="4478" >
+<father id="4485" num="0" />
 <cdparam x="1688" y="1151" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4630" >
-<father id="4636" num="1" />
+<SUBCOMPONENT type="-1" id="4479" >
+<father id="4485" num="1" />
 <cdparam x="1748" y="1151" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4631" >
-<father id="4636" num="2" />
+<SUBCOMPONENT type="-1" id="4480" >
+<father id="4485" num="2" />
 <cdparam x="1733" y="1186" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -14953,17 +13965,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4640" >
+<COMPONENT type="1013" id="4489" >
 <cdparam x="1524" y="1254" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4638" />
-<TGConnectingPoint num="1" id="4639" />
+<TGConnectingPoint num="0" id="4487" />
+<TGConnectingPoint num="1" id="4488" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4637" >
-<father id="4640" num="0" />
+<SUBCOMPONENT type="-1" id="4486" >
+<father id="4489" num="0" />
 <cdparam x="1539" y="1274" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -14971,17 +13983,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4644" >
+<COMPONENT type="1013" id="4493" >
 <cdparam x="1524" y="1064" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4642" />
-<TGConnectingPoint num="1" id="4643" />
+<TGConnectingPoint num="0" id="4491" />
+<TGConnectingPoint num="1" id="4492" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4641" >
-<father id="4644" num="0" />
+<SUBCOMPONENT type="-1" id="4490" >
+<father id="4493" num="0" />
 <cdparam x="1538" y="1088" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -14989,35 +14001,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4652" >
+<COMPONENT type="1012" id="4501" >
 <cdparam x="1592" y="1006" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4648" />
-<TGConnectingPoint num="1" id="4649" />
-<TGConnectingPoint num="2" id="4650" />
-<TGConnectingPoint num="3" id="4651" />
+<TGConnectingPoint num="0" id="4497" />
+<TGConnectingPoint num="1" id="4498" />
+<TGConnectingPoint num="2" id="4499" />
+<TGConnectingPoint num="3" id="4500" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4645" >
-<father id="4652" num="0" />
+<SUBCOMPONENT type="-1" id="4494" >
+<father id="4501" num="0" />
 <cdparam x="1542" y="1016" />
 <sizeparam width="124" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4646" >
-<father id="4652" num="1" />
+<SUBCOMPONENT type="-1" id="4495" >
+<father id="4501" num="1" />
 <cdparam x="1627" y="1016" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4647" >
-<father id="4652" num="2" />
+<SUBCOMPONENT type="-1" id="4496" >
+<father id="4501" num="2" />
 <cdparam x="1612" y="1051" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15025,35 +14037,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4660" >
+<COMPONENT type="1012" id="4509" >
 <cdparam x="1713" y="875" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4656" />
-<TGConnectingPoint num="1" id="4657" />
-<TGConnectingPoint num="2" id="4658" />
-<TGConnectingPoint num="3" id="4659" />
+<TGConnectingPoint num="0" id="4505" />
+<TGConnectingPoint num="1" id="4506" />
+<TGConnectingPoint num="2" id="4507" />
+<TGConnectingPoint num="3" id="4508" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4653" >
-<father id="4660" num="0" />
+<SUBCOMPONENT type="-1" id="4502" >
+<father id="4509" num="0" />
 <cdparam x="1688" y="885" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4654" >
-<father id="4660" num="1" />
+<SUBCOMPONENT type="-1" id="4503" >
+<father id="4509" num="1" />
 <cdparam x="1748" y="885" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4655" >
-<father id="4660" num="2" />
+<SUBCOMPONENT type="-1" id="4504" >
+<father id="4509" num="2" />
 <cdparam x="1733" y="920" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15061,17 +14073,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4664" >
+<COMPONENT type="1013" id="4513" >
 <cdparam x="1636" y="1235" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4662" />
-<TGConnectingPoint num="1" id="4663" />
+<TGConnectingPoint num="0" id="4511" />
+<TGConnectingPoint num="1" id="4512" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4661" >
-<father id="4664" num="0" />
+<SUBCOMPONENT type="-1" id="4510" >
+<father id="4513" num="0" />
 <cdparam x="1655" y="1254" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15079,17 +14091,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4668" >
+<COMPONENT type="1013" id="4517" >
 <cdparam x="2232" y="1059" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4666" />
-<TGConnectingPoint num="1" id="4667" />
+<TGConnectingPoint num="0" id="4515" />
+<TGConnectingPoint num="1" id="4516" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4665" >
-<father id="4668" num="0" />
+<SUBCOMPONENT type="-1" id="4514" >
+<father id="4517" num="0" />
 <cdparam x="2219" y="1083" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15097,17 +14109,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4672" >
+<COMPONENT type="1013" id="4521" >
 <cdparam x="2312" y="1024" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4670" />
-<TGConnectingPoint num="1" id="4671" />
+<TGConnectingPoint num="0" id="4519" />
+<TGConnectingPoint num="1" id="4520" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4669" >
-<father id="4672" num="0" />
+<SUBCOMPONENT type="-1" id="4518" >
+<father id="4521" num="0" />
 <cdparam x="2288" y="1044" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15115,35 +14127,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4680" >
+<COMPONENT type="1012" id="4529" >
 <cdparam x="1193" y="1020" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4676" />
-<TGConnectingPoint num="1" id="4677" />
-<TGConnectingPoint num="2" id="4678" />
-<TGConnectingPoint num="3" id="4679" />
+<TGConnectingPoint num="0" id="4525" />
+<TGConnectingPoint num="1" id="4526" />
+<TGConnectingPoint num="2" id="4527" />
+<TGConnectingPoint num="3" id="4528" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4673" >
-<father id="4680" num="0" />
+<SUBCOMPONENT type="-1" id="4522" >
+<father id="4529" num="0" />
 <cdparam x="1168" y="1030" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4674" >
-<father id="4680" num="1" />
+<SUBCOMPONENT type="-1" id="4523" >
+<father id="4529" num="1" />
 <cdparam x="1228" y="1030" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4675" >
-<father id="4680" num="2" />
+<SUBCOMPONENT type="-1" id="4524" >
+<father id="4529" num="2" />
 <cdparam x="1213" y="1065" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15151,17 +14163,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4684" >
+<COMPONENT type="1013" id="4533" >
 <cdparam x="1203" y="1107" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4682" />
-<TGConnectingPoint num="1" id="4683" />
+<TGConnectingPoint num="0" id="4531" />
+<TGConnectingPoint num="1" id="4532" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4681" >
-<father id="4684" num="0" />
+<SUBCOMPONENT type="-1" id="4530" >
+<father id="4533" num="0" />
 <cdparam x="1218" y="1127" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15169,35 +14181,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4692" >
+<COMPONENT type="1012" id="4541" >
 <cdparam x="557" y="712" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4688" />
-<TGConnectingPoint num="1" id="4689" />
-<TGConnectingPoint num="2" id="4690" />
-<TGConnectingPoint num="3" id="4691" />
+<TGConnectingPoint num="0" id="4537" />
+<TGConnectingPoint num="1" id="4538" />
+<TGConnectingPoint num="2" id="4539" />
+<TGConnectingPoint num="3" id="4540" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4685" >
-<father id="4692" num="0" />
+<SUBCOMPONENT type="-1" id="4534" >
+<father id="4541" num="0" />
 <cdparam x="482" y="747" />
 <sizeparam width="120" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4686" >
-<father id="4692" num="1" />
+<SUBCOMPONENT type="-1" id="4535" >
+<father id="4541" num="1" />
 <cdparam x="592" y="722" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4687" >
-<father id="4692" num="2" />
+<SUBCOMPONENT type="-1" id="4536" >
+<father id="4541" num="2" />
 <cdparam x="577" y="757" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15205,17 +14217,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4696" >
+<COMPONENT type="1013" id="4545" >
 <cdparam x="717" y="694" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4694" />
-<TGConnectingPoint num="1" id="4695" />
+<TGConnectingPoint num="0" id="4543" />
+<TGConnectingPoint num="1" id="4544" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4693" >
-<father id="4696" num="0" />
+<SUBCOMPONENT type="-1" id="4542" >
+<father id="4545" num="0" />
 <cdparam x="732" y="714" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15223,17 +14235,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4700" >
+<COMPONENT type="1013" id="4549" >
 <cdparam x="938" y="1025" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4698" />
-<TGConnectingPoint num="1" id="4699" />
+<TGConnectingPoint num="0" id="4547" />
+<TGConnectingPoint num="1" id="4548" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4697" >
-<father id="4700" num="0" />
+<SUBCOMPONENT type="-1" id="4546" >
+<father id="4549" num="0" />
 <cdparam x="953" y="1045" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15241,35 +14253,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4708" >
+<COMPONENT type="1012" id="4557" >
 <cdparam x="1034" y="939" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4704" />
-<TGConnectingPoint num="1" id="4705" />
-<TGConnectingPoint num="2" id="4706" />
-<TGConnectingPoint num="3" id="4707" />
+<TGConnectingPoint num="0" id="4553" />
+<TGConnectingPoint num="1" id="4554" />
+<TGConnectingPoint num="2" id="4555" />
+<TGConnectingPoint num="3" id="4556" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4701" >
-<father id="4708" num="0" />
+<SUBCOMPONENT type="-1" id="4550" >
+<father id="4557" num="0" />
 <cdparam x="959" y="974" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4702" >
-<father id="4708" num="1" />
+<SUBCOMPONENT type="-1" id="4551" >
+<father id="4557" num="1" />
 <cdparam x="1070" y="949" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4703" >
-<father id="4708" num="2" />
+<SUBCOMPONENT type="-1" id="4552" >
+<father id="4557" num="2" />
 <cdparam x="1054" y="984" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15277,17 +14289,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4712" >
+<COMPONENT type="1013" id="4561" >
 <cdparam x="795" y="1009" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4710" />
-<TGConnectingPoint num="1" id="4711" />
+<TGConnectingPoint num="0" id="4559" />
+<TGConnectingPoint num="1" id="4560" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4709" >
-<father id="4712" num="0" />
+<SUBCOMPONENT type="-1" id="4558" >
+<father id="4561" num="0" />
 <cdparam x="818" y="1031" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15295,35 +14307,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4720" >
+<COMPONENT type="1012" id="4569" >
 <cdparam x="828" y="869" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4716" />
-<TGConnectingPoint num="1" id="4717" />
-<TGConnectingPoint num="2" id="4718" />
-<TGConnectingPoint num="3" id="4719" />
+<TGConnectingPoint num="0" id="4565" />
+<TGConnectingPoint num="1" id="4566" />
+<TGConnectingPoint num="2" id="4567" />
+<TGConnectingPoint num="3" id="4568" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4713" >
-<father id="4720" num="0" />
+<SUBCOMPONENT type="-1" id="4562" >
+<father id="4569" num="0" />
 <cdparam x="753" y="885" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4714" >
-<father id="4720" num="1" />
+<SUBCOMPONENT type="-1" id="4563" >
+<father id="4569" num="1" />
 <cdparam x="863" y="879" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4715" >
-<father id="4720" num="2" />
+<SUBCOMPONENT type="-1" id="4564" >
+<father id="4569" num="2" />
 <cdparam x="848" y="914" />
 <sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15331,17 +14343,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4724" >
+<COMPONENT type="1013" id="4573" >
 <cdparam x="341" y="764" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4722" />
-<TGConnectingPoint num="1" id="4723" />
+<TGConnectingPoint num="0" id="4571" />
+<TGConnectingPoint num="1" id="4572" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4721" >
-<father id="4724" num="0" />
+<SUBCOMPONENT type="-1" id="4570" >
+<father id="4573" num="0" />
 <cdparam x="354" y="785" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15349,17 +14361,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4728" >
+<COMPONENT type="1013" id="4577" >
 <cdparam x="127" y="794" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4726" />
-<TGConnectingPoint num="1" id="4727" />
+<TGConnectingPoint num="0" id="4575" />
+<TGConnectingPoint num="1" id="4576" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4725" >
-<father id="4728" num="0" />
+<SUBCOMPONENT type="-1" id="4574" >
+<father id="4577" num="0" />
 <cdparam x="146" y="818" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15367,35 +14379,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4736" >
+<COMPONENT type="1012" id="4585" >
 <cdparam x="993" y="780" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4732" />
-<TGConnectingPoint num="1" id="4733" />
-<TGConnectingPoint num="2" id="4734" />
-<TGConnectingPoint num="3" id="4735" />
+<TGConnectingPoint num="0" id="4581" />
+<TGConnectingPoint num="1" id="4582" />
+<TGConnectingPoint num="2" id="4583" />
+<TGConnectingPoint num="3" id="4584" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4729" >
-<father id="4736" num="0" />
+<SUBCOMPONENT type="-1" id="4578" >
+<father id="4585" num="0" />
 <cdparam x="949" y="793" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4730" >
-<father id="4736" num="1" />
+<SUBCOMPONENT type="-1" id="4579" >
+<father id="4585" num="1" />
 <cdparam x="1028" y="790" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4731" >
-<father id="4736" num="2" />
+<SUBCOMPONENT type="-1" id="4580" >
+<father id="4585" num="2" />
 <cdparam x="1013" y="825" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15403,17 +14415,17 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4740" >
+<COMPONENT type="1013" id="4589" >
 <cdparam x="1003" y="701" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4738" />
-<TGConnectingPoint num="1" id="4739" />
+<TGConnectingPoint num="0" id="4587" />
+<TGConnectingPoint num="1" id="4588" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4737" >
-<father id="4740" num="0" />
+<SUBCOMPONENT type="-1" id="4586" >
+<father id="4589" num="0" />
 <cdparam x="1018" y="721" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15421,17 +14433,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4744" >
+<COMPONENT type="1013" id="4593" >
 <cdparam x="459" y="783" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4742" />
-<TGConnectingPoint num="1" id="4743" />
+<TGConnectingPoint num="0" id="4591" />
+<TGConnectingPoint num="1" id="4592" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4741" >
-<father id="4744" num="0" />
+<SUBCOMPONENT type="-1" id="4590" >
+<father id="4593" num="0" />
 <cdparam x="474" y="802" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15439,17 +14451,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4748" >
+<COMPONENT type="1013" id="4597" >
 <cdparam x="225" y="863" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4746" />
-<TGConnectingPoint num="1" id="4747" />
+<TGConnectingPoint num="0" id="4595" />
+<TGConnectingPoint num="1" id="4596" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4745" >
-<father id="4748" num="0" />
+<SUBCOMPONENT type="-1" id="4594" >
+<father id="4597" num="0" />
 <cdparam x="245" y="885" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15457,17 +14469,17 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="4752" >
+<COMPONENT type="1013" id="4601" >
 <cdparam x="1044" y="1057" />
 <sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="4750" />
-<TGConnectingPoint num="1" id="4751" />
+<TGConnectingPoint num="0" id="4599" />
+<TGConnectingPoint num="1" id="4600" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4749" >
-<father id="4752" num="0" />
+<SUBCOMPONENT type="-1" id="4598" >
+<father id="4601" num="0" />
 <cdparam x="1059" y="1077" />
 <sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15475,35 +14487,35 @@ the smart card and the terminal
 <infoparam name="value of the delay" value="b" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4760" >
+<COMPONENT type="1012" id="4609" >
 <cdparam x="173" y="486" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4756" />
-<TGConnectingPoint num="1" id="4757" />
-<TGConnectingPoint num="2" id="4758" />
-<TGConnectingPoint num="3" id="4759" />
+<TGConnectingPoint num="0" id="4605" />
+<TGConnectingPoint num="1" id="4606" />
+<TGConnectingPoint num="2" id="4607" />
+<TGConnectingPoint num="3" id="4608" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4753" >
-<father id="4760" num="0" />
+<SUBCOMPONENT type="-1" id="4602" >
+<father id="4609" num="0" />
 <cdparam x="98" y="496" />
 <sizeparam width="112" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4754" >
-<father id="4760" num="1" />
+<SUBCOMPONENT type="-1" id="4603" >
+<father id="4609" num="1" />
 <cdparam x="208" y="496" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4755" >
-<father id="4760" num="2" />
+<SUBCOMPONENT type="-1" id="4604" >
+<father id="4609" num="2" />
 <cdparam x="193" y="531" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15511,35 +14523,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4768" >
+<COMPONENT type="1012" id="4617" >
 <cdparam x="359" y="192" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4764" />
-<TGConnectingPoint num="1" id="4765" />
-<TGConnectingPoint num="2" id="4766" />
-<TGConnectingPoint num="3" id="4767" />
+<TGConnectingPoint num="0" id="4613" />
+<TGConnectingPoint num="1" id="4614" />
+<TGConnectingPoint num="2" id="4615" />
+<TGConnectingPoint num="3" id="4616" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4761" >
-<father id="4768" num="0" />
+<SUBCOMPONENT type="-1" id="4610" >
+<father id="4617" num="0" />
 <cdparam x="317" y="202" />
 <sizeparam width="81" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4762" >
-<father id="4768" num="1" />
+<SUBCOMPONENT type="-1" id="4611" >
+<father id="4617" num="1" />
 <cdparam x="394" y="202" />
 <sizeparam width="91" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4763" >
-<father id="4768" num="2" />
+<SUBCOMPONENT type="-1" id="4612" >
+<father id="4617" num="2" />
 <cdparam x="379" y="237" />
 <sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15547,35 +14559,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4776" >
+<COMPONENT type="1012" id="4625" >
 <cdparam x="449" y="582" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4772" />
-<TGConnectingPoint num="1" id="4773" />
-<TGConnectingPoint num="2" id="4774" />
-<TGConnectingPoint num="3" id="4775" />
+<TGConnectingPoint num="0" id="4621" />
+<TGConnectingPoint num="1" id="4622" />
+<TGConnectingPoint num="2" id="4623" />
+<TGConnectingPoint num="3" id="4624" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4769" >
-<father id="4776" num="0" />
+<SUBCOMPONENT type="-1" id="4618" >
+<father id="4625" num="0" />
 <cdparam x="404" y="592" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4770" >
-<father id="4776" num="1" />
+<SUBCOMPONENT type="-1" id="4619" >
+<father id="4625" num="1" />
 <cdparam x="500" y="599" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4771" >
-<father id="4776" num="2" />
+<SUBCOMPONENT type="-1" id="4620" >
+<father id="4625" num="2" />
 <cdparam x="469" y="627" />
 <sizeparam width="252" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15583,35 +14595,35 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="4784" >
+<COMPONENT type="1012" id="4633" >
 <cdparam x="274" y="564" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="4780" />
-<TGConnectingPoint num="1" id="4781" />
-<TGConnectingPoint num="2" id="4782" />
-<TGConnectingPoint num="3" id="4783" />
+<TGConnectingPoint num="0" id="4629" />
+<TGConnectingPoint num="1" id="4630" />
+<TGConnectingPoint num="2" id="4631" />
+<TGConnectingPoint num="3" id="4632" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="4777" >
-<father id="4784" num="0" />
+<SUBCOMPONENT type="-1" id="4626" >
+<father id="4633" num="0" />
 <cdparam x="228" y="574" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4778" >
-<father id="4784" num="1" />
+<SUBCOMPONENT type="-1" id="4627" >
+<father id="4633" num="1" />
 <cdparam x="317" y="584" />
 <sizeparam width="39" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="4779" >
-<father id="4784" num="2" />
+<SUBCOMPONENT type="-1" id="4628" >
+<father id="4633" num="2" />
 <cdparam x="306" y="616" />
 <sizeparam width="116" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15619,16 +14631,16 @@ the smart card and the terminal
 <infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="4786" >
+<COMPONENT type="1000" id="4635" >
 <cdparam x="227" y="27" />
 <sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="start state" value="null" />
-<TGConnectingPoint num="0" id="4785" />
+<TGConnectingPoint num="0" id="4634" />
 </COMPONENT>
 
-<COMPONENT type="301" id="4803" >
+<COMPONENT type="301" id="4652" >
 <cdparam x="10" y="30" />
 <sizeparam width="92" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15645,22 +14657,22 @@ the smart card and the terminal
 9: close wait
 10:last ack
 " />
-<TGConnectingPoint num="0" id="4787" />
-<TGConnectingPoint num="1" id="4788" />
-<TGConnectingPoint num="2" id="4789" />
-<TGConnectingPoint num="3" id="4790" />
-<TGConnectingPoint num="4" id="4791" />
-<TGConnectingPoint num="5" id="4792" />
-<TGConnectingPoint num="6" id="4793" />
-<TGConnectingPoint num="7" id="4794" />
-<TGConnectingPoint num="8" id="4795" />
-<TGConnectingPoint num="9" id="4796" />
-<TGConnectingPoint num="10" id="4797" />
-<TGConnectingPoint num="11" id="4798" />
-<TGConnectingPoint num="12" id="4799" />
-<TGConnectingPoint num="13" id="4800" />
-<TGConnectingPoint num="14" id="4801" />
-<TGConnectingPoint num="15" id="4802" />
+<TGConnectingPoint num="0" id="4636" />
+<TGConnectingPoint num="1" id="4637" />
+<TGConnectingPoint num="2" id="4638" />
+<TGConnectingPoint num="3" id="4639" />
+<TGConnectingPoint num="4" id="4640" />
+<TGConnectingPoint num="5" id="4641" />
+<TGConnectingPoint num="6" id="4642" />
+<TGConnectingPoint num="7" id="4643" />
+<TGConnectingPoint num="8" id="4644" />
+<TGConnectingPoint num="9" id="4645" />
+<TGConnectingPoint num="10" id="4646" />
+<TGConnectingPoint num="11" id="4647" />
+<TGConnectingPoint num="12" id="4648" />
+<TGConnectingPoint num="13" id="4649" />
+<TGConnectingPoint num="14" id="4650" />
+<TGConnectingPoint num="15" id="4651" />
 <extraparam>
 <Line value="0: closed" />
 <Line value="1: Listen" />
@@ -15676,223 +14688,223 @@ the smart card and the terminal
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="4806" >
+<COMPONENT type="1011" id="4655" >
 <cdparam x="98" y="549" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="4804" />
-<TGConnectingPoint num="1" id="4805" />
+<TGConnectingPoint num="0" id="4653" />
+<TGConnectingPoint num="1" id="4654" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4808" >
+<COMPONENT type="1001" id="4657" >
 <cdparam x="138" y="615" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4807" />
+<TGConnectingPoint num="0" id="4656" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="4811" >
+<COMPONENT type="1009" id="4660" >
 <cdparam x="967" y="585" />
 <sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromPtoT(1) " />
-<TGConnectingPoint num="0" id="4809" />
-<TGConnectingPoint num="1" id="4810" />
+<TGConnectingPoint num="0" id="4658" />
+<TGConnectingPoint num="1" id="4659" />
 <extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1014" id="4815" >
+<COMPONENT type="1014" id="4664" >
 <cdparam x="150" y="85" />
 <sizeparam width="170" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" />
-<TGConnectingPoint num="0" id="4812" />
-<TGConnectingPoint num="1" id="4813" />
-<TGConnectingPoint num="2" id="4814" />
+<TGConnectingPoint num="0" id="4661" />
+<TGConnectingPoint num="1" id="4662" />
+<TGConnectingPoint num="2" id="4663" />
 <extraparam>
 <Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="4817" >
+<COMPONENT type="1001" id="4666" >
 <cdparam x="225" y="207" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4816" />
+<TGConnectingPoint num="0" id="4665" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="4820" >
+<COMPONENT type="1011" id="4669" >
 <cdparam x="187" y="144" />
 <sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=0" />
-<TGConnectingPoint num="0" id="4818" />
-<TGConnectingPoint num="1" id="4819" />
+<TGConnectingPoint num="0" id="4667" />
+<TGConnectingPoint num="1" id="4668" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="4823" >
+<COMPONENT type="1017" id="4672" >
 <cdparam x="316" y="133" />
 <sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="notified event" value="tcpctrl.a=?abort()" />
-<TGConnectingPoint num="0" id="4821" />
-<TGConnectingPoint num="1" id="4822" />
+<TGConnectingPoint num="0" id="4670" />
+<TGConnectingPoint num="1" id="4671" />
 <extraparam>
 <Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="4826" >
+<COMPONENT type="1009" id="4675" >
 <cdparam x="692" y="589" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="4824" />
-<TGConnectingPoint num="1" id="4825" />
+<TGConnectingPoint num="0" id="4673" />
+<TGConnectingPoint num="1" id="4674" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="4829" >
+<COMPONENT type="1010" id="4678" >
 <cdparam x="689" y="534" />
 <sizeparam width="67" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="timeOut() " />
-<TGConnectingPoint num="0" id="4827" />
-<TGConnectingPoint num="1" id="4828" />
+<TGConnectingPoint num="0" id="4676" />
+<TGConnectingPoint num="1" id="4677" />
 <extraparam>
 <Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="4832" >
+<COMPONENT type="1010" id="4681" >
 <cdparam x="977" y="528" />
 <sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="receive() " />
-<TGConnectingPoint num="0" id="4830" />
-<TGConnectingPoint num="1" id="4831" />
+<TGConnectingPoint num="0" id="4679" />
+<TGConnectingPoint num="1" id="4680" />
 <extraparam>
 <Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="4835" >
+<COMPONENT type="1010" id="4684" >
 <cdparam x="439" y="492" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="close() " />
-<TGConnectingPoint num="0" id="4833" />
-<TGConnectingPoint num="1" id="4834" />
+<TGConnectingPoint num="0" id="4682" />
+<TGConnectingPoint num="1" id="4683" />
 <extraparam>
 <Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="4838" >
+<COMPONENT type="1010" id="4687" >
 <cdparam x="250" y="468" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="send_TCP() " />
-<TGConnectingPoint num="0" id="4836" />
-<TGConnectingPoint num="1" id="4837" />
+<TGConnectingPoint num="0" id="4685" />
+<TGConnectingPoint num="1" id="4686" />
 <extraparam>
 <Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="4841" >
+<COMPONENT type="1010" id="4690" >
 <cdparam x="163" y="383" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="open() " />
-<TGConnectingPoint num="0" id="4839" />
-<TGConnectingPoint num="1" id="4840" />
+<TGConnectingPoint num="0" id="4688" />
+<TGConnectingPoint num="1" id="4689" />
 <breakpoint />
 <extraparam>
 <Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1018" id="4852" >
+<COMPONENT type="1018" id="4701" >
 <cdparam x="449" y="267" />
 <sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="4842" />
-<TGConnectingPoint num="1" id="4843" />
-<TGConnectingPoint num="2" id="4844" />
-<TGConnectingPoint num="3" id="4845" />
-<TGConnectingPoint num="4" id="4846" />
-<TGConnectingPoint num="5" id="4847" />
-<TGConnectingPoint num="6" id="4848" />
-<TGConnectingPoint num="7" id="4849" />
-<TGConnectingPoint num="8" id="4850" />
-<TGConnectingPoint num="9" id="4851" />
+<TGConnectingPoint num="0" id="4691" />
+<TGConnectingPoint num="1" id="4692" />
+<TGConnectingPoint num="2" id="4693" />
+<TGConnectingPoint num="3" id="4694" />
+<TGConnectingPoint num="4" id="4695" />
+<TGConnectingPoint num="5" id="4696" />
+<TGConnectingPoint num="6" id="4697" />
+<TGConnectingPoint num="7" id="4698" />
+<TGConnectingPoint num="8" id="4699" />
+<TGConnectingPoint num="9" id="4700" />
 <breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4854" >
+<COMPONENT type="1001" id="4703" >
 <cdparam x="218" y="529" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4853" />
+<TGConnectingPoint num="0" id="4702" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4856" >
+<COMPONENT type="1001" id="4705" >
 <cdparam x="319" y="614" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4855" />
+<TGConnectingPoint num="0" id="4704" />
 </COMPONENT>
 
-<COMPONENT type="1010" id="4859" >
+<COMPONENT type="1010" id="4708" >
 <cdparam x="275" y="228" />
 <sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="abort() " />
-<TGConnectingPoint num="0" id="4857" />
-<TGConnectingPoint num="1" id="4858" />
+<TGConnectingPoint num="0" id="4706" />
+<TGConnectingPoint num="1" id="4707" />
 <extraparam>
 <Data eventName="abort" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="4861" >
+<COMPONENT type="1001" id="4710" >
 <cdparam x="291" y="290" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4860" />
+<TGConnectingPoint num="0" id="4709" />
 </COMPONENT>
 
-<COMPONENT type="301" id="4878" >
+<COMPONENT type="301" id="4727" >
 <cdparam x="602" y="86" />
 <sizeparam width="360" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -15902,22 +14914,22 @@ ou depaquitiser un paquet TCP
 
 On prend b=1 comme exemple
 " />
-<TGConnectingPoint num="0" id="4862" />
-<TGConnectingPoint num="1" id="4863" />
-<TGConnectingPoint num="2" id="4864" />
-<TGConnectingPoint num="3" id="4865" />
-<TGConnectingPoint num="4" id="4866" />
-<TGConnectingPoint num="5" id="4867" />
-<TGConnectingPoint num="6" id="4868" />
-<TGConnectingPoint num="7" id="4869" />
-<TGConnectingPoint num="8" id="4870" />
-<TGConnectingPoint num="9" id="4871" />
-<TGConnectingPoint num="10" id="4872" />
-<TGConnectingPoint num="11" id="4873" />
-<TGConnectingPoint num="12" id="4874" />
-<TGConnectingPoint num="13" id="4875" />
-<TGConnectingPoint num="14" id="4876" />
-<TGConnectingPoint num="15" id="4877" />
+<TGConnectingPoint num="0" id="4711" />
+<TGConnectingPoint num="1" id="4712" />
+<TGConnectingPoint num="2" id="4713" />
+<TGConnectingPoint num="3" id="4714" />
+<TGConnectingPoint num="4" id="4715" />
+<TGConnectingPoint num="5" id="4716" />
+<TGConnectingPoint num="6" id="4717" />
+<TGConnectingPoint num="7" id="4718" />
+<TGConnectingPoint num="8" id="4719" />
+<TGConnectingPoint num="9" id="4720" />
+<TGConnectingPoint num="10" id="4721" />
+<TGConnectingPoint num="11" id="4722" />
+<TGConnectingPoint num="12" id="4723" />
+<TGConnectingPoint num="13" id="4724" />
+<TGConnectingPoint num="14" id="4725" />
+<TGConnectingPoint num="15" id="4726" />
 <extraparam>
 <Line value="b est le nombre d&apos;instructions necessaires pour paquetiser" />
 <Line value="ou depaquitiser un paquet TCP" />
@@ -15926,2488 +14938,3486 @@ On prend b=1 comme exemple
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="4881" >
+<COMPONENT type="1009" id="4730" >
 <cdparam x="188" y="808" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromAtoT(1) " />
-<TGConnectingPoint num="0" id="4879" />
-<TGConnectingPoint num="1" id="4880" />
+<TGConnectingPoint num="0" id="4728" />
+<TGConnectingPoint num="1" id="4729" />
 <extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="4884" >
+<COMPONENT type="1006" id="4733" >
 <cdparam x="191" y="1002" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="4882" />
-<TGConnectingPoint num="1" id="4883" />
+<TGConnectingPoint num="0" id="4731" />
+<TGConnectingPoint num="1" id="4732" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="4886" >
+<COMPONENT type="1001" id="4735" >
 <cdparam x="220" y="1237" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4885" />
+<TGConnectingPoint num="0" id="4734" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="4889" >
+<COMPONENT type="1011" id="4738" >
 <cdparam x="414" y="1032" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =5" />
-<TGConnectingPoint num="0" id="4887" />
-<TGConnectingPoint num="1" id="4888" />
+<TGConnectingPoint num="0" id="4736" />
+<TGConnectingPoint num="1" id="4737" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4891" >
+<COMPONENT type="1001" id="4740" >
 <cdparam x="454" y="1213" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4890" />
+<TGConnectingPoint num="0" id="4739" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="4894" >
+<COMPONENT type="1011" id="4743" >
 <cdparam x="84" y="1041" />
 <sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=3" />
-<TGConnectingPoint num="0" id="4892" />
-<TGConnectingPoint num="1" id="4893" />
+<TGConnectingPoint num="0" id="4741" />
+<TGConnectingPoint num="1" id="4742" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="4897" >
+<COMPONENT type="1006" id="4746" >
 <cdparam x="93" y="938" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="4895" />
-<TGConnectingPoint num="1" id="4896" />
+<TGConnectingPoint num="0" id="4744" />
+<TGConnectingPoint num="1" id="4745" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="4900" >
+<COMPONENT type="1011" id="4749" >
 <cdparam x="292" y="1026" />
 <sizeparam width="108" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =10" />
-<TGConnectingPoint num="0" id="4898" />
-<TGConnectingPoint num="1" id="4899" />
+<TGConnectingPoint num="0" id="4747" />
+<TGConnectingPoint num="1" id="4748" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4902" >
+<COMPONENT type="1001" id="4751" >
 <cdparam x="336" y="1229" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4901" />
+<TGConnectingPoint num="0" id="4750" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="4905" >
+<COMPONENT type="1006" id="4754" >
 <cdparam x="425" y="941" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="4903" />
-<TGConnectingPoint num="1" id="4904" />
+<TGConnectingPoint num="0" id="4752" />
+<TGConnectingPoint num="1" id="4753" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="4908" >
+<COMPONENT type="1006" id="4757" >
 <cdparam x="307" y="900" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="4906" />
-<TGConnectingPoint num="1" id="4907" />
+<TGConnectingPoint num="0" id="4755" />
+<TGConnectingPoint num="1" id="4756" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="4910" >
+<COMPONENT type="1001" id="4759" >
 <cdparam x="790" y="1270" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4909" />
+<TGConnectingPoint num="0" id="4758" />
 </COMPONENT>
 
-<COMPONENT type="301" id="4927" >
+<COMPONENT type="301" id="4776" >
 <cdparam x="998" y="850" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Final
 " />
-<TGConnectingPoint num="0" id="4911" />
-<TGConnectingPoint num="1" id="4912" />
-<TGConnectingPoint num="2" id="4913" />
-<TGConnectingPoint num="3" id="4914" />
-<TGConnectingPoint num="4" id="4915" />
-<TGConnectingPoint num="5" id="4916" />
-<TGConnectingPoint num="6" id="4917" />
-<TGConnectingPoint num="7" id="4918" />
-<TGConnectingPoint num="8" id="4919" />
-<TGConnectingPoint num="9" id="4920" />
-<TGConnectingPoint num="10" id="4921" />
-<TGConnectingPoint num="11" id="4922" />
-<TGConnectingPoint num="12" id="4923" />
-<TGConnectingPoint num="13" id="4924" />
-<TGConnectingPoint num="14" id="4925" />
-<TGConnectingPoint num="15" id="4926" />
+<TGConnectingPoint num="0" id="4760" />
+<TGConnectingPoint num="1" id="4761" />
+<TGConnectingPoint num="2" id="4762" />
+<TGConnectingPoint num="3" id="4763" />
+<TGConnectingPoint num="4" id="4764" />
+<TGConnectingPoint num="5" id="4765" />
+<TGConnectingPoint num="6" id="4766" />
+<TGConnectingPoint num="7" id="4767" />
+<TGConnectingPoint num="8" id="4768" />
+<TGConnectingPoint num="9" id="4769" />
+<TGConnectingPoint num="10" id="4770" />
+<TGConnectingPoint num="11" id="4771" />
+<TGConnectingPoint num="12" id="4772" />
+<TGConnectingPoint num="13" id="4773" />
+<TGConnectingPoint num="14" id="4774" />
+<TGConnectingPoint num="15" id="4775" />
 <extraparam>
 <Line value="Final" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="4930" >
+<COMPONENT type="1011" id="4779" >
 <cdparam x="678" y="965" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="4928" />
-<TGConnectingPoint num="1" id="4929" />
+<TGConnectingPoint num="0" id="4777" />
+<TGConnectingPoint num="1" id="4778" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4932" >
+<COMPONENT type="1001" id="4781" >
 <cdparam x="718" y="1032" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4931" />
+<TGConnectingPoint num="0" id="4780" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="4935" >
+<COMPONENT type="1006" id="4784" >
 <cdparam x="761" y="1086" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="4933" />
-<TGConnectingPoint num="1" id="4934" />
+<TGConnectingPoint num="0" id="4782" />
+<TGConnectingPoint num="1" id="4783" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="4952" >
+<COMPONENT type="301" id="4801" >
 <cdparam x="781" y="950" />
 <sizeparam width="89" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Active Open
 " />
-<TGConnectingPoint num="0" id="4936" />
-<TGConnectingPoint num="1" id="4937" />
-<TGConnectingPoint num="2" id="4938" />
-<TGConnectingPoint num="3" id="4939" />
-<TGConnectingPoint num="4" id="4940" />
-<TGConnectingPoint num="5" id="4941" />
-<TGConnectingPoint num="6" id="4942" />
-<TGConnectingPoint num="7" id="4943" />
-<TGConnectingPoint num="8" id="4944" />
-<TGConnectingPoint num="9" id="4945" />
-<TGConnectingPoint num="10" id="4946" />
-<TGConnectingPoint num="11" id="4947" />
-<TGConnectingPoint num="12" id="4948" />
-<TGConnectingPoint num="13" id="4949" />
-<TGConnectingPoint num="14" id="4950" />
-<TGConnectingPoint num="15" id="4951" />
+<TGConnectingPoint num="0" id="4785" />
+<TGConnectingPoint num="1" id="4786" />
+<TGConnectingPoint num="2" id="4787" />
+<TGConnectingPoint num="3" id="4788" />
+<TGConnectingPoint num="4" id="4789" />
+<TGConnectingPoint num="5" id="4790" />
+<TGConnectingPoint num="6" id="4791" />
+<TGConnectingPoint num="7" id="4792" />
+<TGConnectingPoint num="8" id="4793" />
+<TGConnectingPoint num="9" id="4794" />
+<TGConnectingPoint num="10" id="4795" />
+<TGConnectingPoint num="11" id="4796" />
+<TGConnectingPoint num="12" id="4797" />
+<TGConnectingPoint num="13" id="4798" />
+<TGConnectingPoint num="14" id="4799" />
+<TGConnectingPoint num="15" id="4800" />
 <extraparam>
 <Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="4969" >
+<COMPONENT type="301" id="4818" >
 <cdparam x="715" y="907" />
 <sizeparam width="97" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Passive Open
 " />
-<TGConnectingPoint num="0" id="4953" />
-<TGConnectingPoint num="1" id="4954" />
-<TGConnectingPoint num="2" id="4955" />
-<TGConnectingPoint num="3" id="4956" />
-<TGConnectingPoint num="4" id="4957" />
-<TGConnectingPoint num="5" id="4958" />
-<TGConnectingPoint num="6" id="4959" />
-<TGConnectingPoint num="7" id="4960" />
-<TGConnectingPoint num="8" id="4961" />
-<TGConnectingPoint num="9" id="4962" />
-<TGConnectingPoint num="10" id="4963" />
-<TGConnectingPoint num="11" id="4964" />
-<TGConnectingPoint num="12" id="4965" />
-<TGConnectingPoint num="13" id="4966" />
-<TGConnectingPoint num="14" id="4967" />
-<TGConnectingPoint num="15" id="4968" />
+<TGConnectingPoint num="0" id="4802" />
+<TGConnectingPoint num="1" id="4803" />
+<TGConnectingPoint num="2" id="4804" />
+<TGConnectingPoint num="3" id="4805" />
+<TGConnectingPoint num="4" id="4806" />
+<TGConnectingPoint num="5" id="4807" />
+<TGConnectingPoint num="6" id="4808" />
+<TGConnectingPoint num="7" id="4809" />
+<TGConnectingPoint num="8" id="4810" />
+<TGConnectingPoint num="9" id="4811" />
+<TGConnectingPoint num="10" id="4812" />
+<TGConnectingPoint num="11" id="4813" />
+<TGConnectingPoint num="12" id="4814" />
+<TGConnectingPoint num="13" id="4815" />
+<TGConnectingPoint num="14" id="4816" />
+<TGConnectingPoint num="15" id="4817" />
 <extraparam>
 <Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="4972" >
+<COMPONENT type="1011" id="4821" >
 <cdparam x="750" y="1193" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =3" />
-<TGConnectingPoint num="0" id="4970" />
-<TGConnectingPoint num="1" id="4971" />
+<TGConnectingPoint num="0" id="4819" />
+<TGConnectingPoint num="1" id="4820" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="4975" >
+<COMPONENT type="1011" id="4824" >
 <cdparam x="446" y="768" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="4973" />
-<TGConnectingPoint num="1" id="4974" />
+<TGConnectingPoint num="0" id="4822" />
+<TGConnectingPoint num="1" id="4823" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="4977" >
+<COMPONENT type="1001" id="4826" >
 <cdparam x="486" y="830" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="4976" />
+<TGConnectingPoint num="0" id="4825" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="4980" >
+<COMPONENT type="1006" id="4829" >
 <cdparam x="904" y="1123" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="4978" />
-<TGConnectingPoint num="1" id="4979" />
+<TGConnectingPoint num="0" id="4827" />
+<TGConnectingPoint num="1" id="4828" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="4997" >
+<COMPONENT type="301" id="4846" >
 <cdparam x="884" y="1068" />
 <sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="4981" />
-<TGConnectingPoint num="1" id="4982" />
-<TGConnectingPoint num="2" id="4983" />
-<TGConnectingPoint num="3" id="4984" />
-<TGConnectingPoint num="4" id="4985" />
-<TGConnectingPoint num="5" id="4986" />
-<TGConnectingPoint num="6" id="4987" />
-<TGConnectingPoint num="7" id="4988" />
-<TGConnectingPoint num="8" id="4989" />
-<TGConnectingPoint num="9" id="4990" />
-<TGConnectingPoint num="10" id="4991" />
-<TGConnectingPoint num="11" id="4992" />
-<TGConnectingPoint num="12" id="4993" />
-<TGConnectingPoint num="13" id="4994" />
-<TGConnectingPoint num="14" id="4995" />
-<TGConnectingPoint num="15" id="4996" />
+<TGConnectingPoint num="0" id="4830" />
+<TGConnectingPoint num="1" id="4831" />
+<TGConnectingPoint num="2" id="4832" />
+<TGConnectingPoint num="3" id="4833" />
+<TGConnectingPoint num="4" id="4834" />
+<TGConnectingPoint num="5" id="4835" />
+<TGConnectingPoint num="6" id="4836" />
+<TGConnectingPoint num="7" id="4837" />
+<TGConnectingPoint num="8" id="4838" />
+<TGConnectingPoint num="9" id="4839" />
+<TGConnectingPoint num="10" id="4840" />
+<TGConnectingPoint num="11" id="4841" />
+<TGConnectingPoint num="12" id="4842" />
+<TGConnectingPoint num="13" id="4843" />
+<TGConnectingPoint num="14" id="4844" />
+<TGConnectingPoint num="15" id="4845" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="5000" >
+<COMPONENT type="1011" id="4849" >
 <cdparam x="893" y="1234" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =9" />
-<TGConnectingPoint num="0" id="4998" />
-<TGConnectingPoint num="1" id="4999" />
+<TGConnectingPoint num="0" id="4847" />
+<TGConnectingPoint num="1" id="4848" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5002" >
+<COMPONENT type="1001" id="4851" >
 <cdparam x="933" y="1311" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5001" />
+<TGConnectingPoint num="0" id="4850" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="5005" >
+<COMPONENT type="1006" id="4854" >
 <cdparam x="1010" y="1155" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="5003" />
-<TGConnectingPoint num="1" id="5004" />
+<TGConnectingPoint num="0" id="4852" />
+<TGConnectingPoint num="1" id="4853" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="5022" >
+<COMPONENT type="301" id="4871" >
 <cdparam x="1000" y="1094" />
 <sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="5006" />
-<TGConnectingPoint num="1" id="5007" />
-<TGConnectingPoint num="2" id="5008" />
-<TGConnectingPoint num="3" id="5009" />
-<TGConnectingPoint num="4" id="5010" />
-<TGConnectingPoint num="5" id="5011" />
-<TGConnectingPoint num="6" id="5012" />
-<TGConnectingPoint num="7" id="5013" />
-<TGConnectingPoint num="8" id="5014" />
-<TGConnectingPoint num="9" id="5015" />
-<TGConnectingPoint num="10" id="5016" />
-<TGConnectingPoint num="11" id="5017" />
-<TGConnectingPoint num="12" id="5018" />
-<TGConnectingPoint num="13" id="5019" />
-<TGConnectingPoint num="14" id="5020" />
-<TGConnectingPoint num="15" id="5021" />
+<TGConnectingPoint num="0" id="4855" />
+<TGConnectingPoint num="1" id="4856" />
+<TGConnectingPoint num="2" id="4857" />
+<TGConnectingPoint num="3" id="4858" />
+<TGConnectingPoint num="4" id="4859" />
+<TGConnectingPoint num="5" id="4860" />
+<TGConnectingPoint num="6" id="4861" />
+<TGConnectingPoint num="7" id="4862" />
+<TGConnectingPoint num="8" id="4863" />
+<TGConnectingPoint num="9" id="4864" />
+<TGConnectingPoint num="10" id="4865" />
+<TGConnectingPoint num="11" id="4866" />
+<TGConnectingPoint num="12" id="4867" />
+<TGConnectingPoint num="13" id="4868" />
+<TGConnectingPoint num="14" id="4869" />
+<TGConnectingPoint num="15" id="4870" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="5025" >
+<COMPONENT type="1011" id="4874" >
 <cdparam x="999" y="1266" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =7" />
-<TGConnectingPoint num="0" id="5023" />
-<TGConnectingPoint num="1" id="5024" />
+<TGConnectingPoint num="0" id="4872" />
+<TGConnectingPoint num="1" id="4873" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5027" >
+<COMPONENT type="1001" id="4876" >
 <cdparam x="1039" y="1341" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5026" />
+<TGConnectingPoint num="0" id="4875" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="5030" >
+<COMPONENT type="1006" id="4879" >
 <cdparam x="683" y="758" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="5028" />
-<TGConnectingPoint num="1" id="5029" />
+<TGConnectingPoint num="0" id="4877" />
+<TGConnectingPoint num="1" id="4878" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5032" >
+<COMPONENT type="1001" id="4881" >
 <cdparam x="712" y="865" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5031" />
+<TGConnectingPoint num="0" id="4880" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="5035" >
+<COMPONENT type="1007" id="4884" >
 <cdparam x="93" y="1100" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="5033" />
-<TGConnectingPoint num="1" id="5034" />
+<TGConnectingPoint num="0" id="4882" />
+<TGConnectingPoint num="1" id="4883" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5038" >
+<COMPONENT type="1006" id="4887" >
 <cdparam x="104" y="1167" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="5036" />
-<TGConnectingPoint num="1" id="5037" />
+<TGConnectingPoint num="0" id="4885" />
+<TGConnectingPoint num="1" id="4886" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5040" >
+<COMPONENT type="1001" id="4889" >
 <cdparam x="122" y="1236" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5039" />
+<TGConnectingPoint num="0" id="4888" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="5043" >
+<COMPONENT type="1007" id="4892" >
 <cdparam x="191" y="1102" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="5041" />
-<TGConnectingPoint num="1" id="5042" />
+<TGConnectingPoint num="0" id="4890" />
+<TGConnectingPoint num="1" id="4891" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5046" >
+<COMPONENT type="1006" id="4895" >
 <cdparam x="202" y="1169" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="5044" />
-<TGConnectingPoint num="1" id="5045" />
+<TGConnectingPoint num="0" id="4893" />
+<TGConnectingPoint num="1" id="4894" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="5049" >
+<COMPONENT type="1007" id="4898" >
 <cdparam x="307" y="1106" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="5047" />
-<TGConnectingPoint num="1" id="5048" />
+<TGConnectingPoint num="0" id="4896" />
+<TGConnectingPoint num="1" id="4897" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5052" >
+<COMPONENT type="1006" id="4901" >
 <cdparam x="318" y="1173" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="5050" />
-<TGConnectingPoint num="1" id="5051" />
+<TGConnectingPoint num="0" id="4899" />
+<TGConnectingPoint num="1" id="4900" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="5055" >
+<COMPONENT type="1007" id="4904" >
 <cdparam x="425" y="1090" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="5053" />
-<TGConnectingPoint num="1" id="5054" />
+<TGConnectingPoint num="0" id="4902" />
+<TGConnectingPoint num="1" id="4903" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5058" >
+<COMPONENT type="1006" id="4907" >
 <cdparam x="436" y="1159" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="5056" />
-<TGConnectingPoint num="1" id="5057" />
+<TGConnectingPoint num="0" id="4905" />
+<TGConnectingPoint num="1" id="4906" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="5061" >
+<COMPONENT type="1011" id="4910" >
 <cdparam x="56" y="861" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="5059" />
-<TGConnectingPoint num="1" id="5060" />
+<TGConnectingPoint num="0" id="4908" />
+<TGConnectingPoint num="1" id="4909" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5064" >
+<COMPONENT type="1011" id="4913" >
 <cdparam x="154" y="940" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="5062" />
-<TGConnectingPoint num="1" id="5063" />
+<TGConnectingPoint num="0" id="4911" />
+<TGConnectingPoint num="1" id="4912" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5067" >
+<COMPONENT type="1011" id="4916" >
 <cdparam x="388" y="865" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="5065" />
-<TGConnectingPoint num="1" id="5066" />
+<TGConnectingPoint num="0" id="4914" />
+<TGConnectingPoint num="1" id="4915" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5070" >
+<COMPONENT type="1011" id="4919" >
 <cdparam x="270" y="831" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="5068" />
-<TGConnectingPoint num="1" id="5069" />
+<TGConnectingPoint num="0" id="4917" />
+<TGConnectingPoint num="1" id="4918" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="5073" >
+<COMPONENT type="1008" id="4922" >
 <cdparam x="207" y="1052" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5071" />
-<TGConnectingPoint num="1" id="5072" />
+<TGConnectingPoint num="0" id="4920" />
+<TGConnectingPoint num="1" id="4921" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5076" >
+<COMPONENT type="1008" id="4925" >
 <cdparam x="323" y="962" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5074" />
-<TGConnectingPoint num="1" id="5075" />
+<TGConnectingPoint num="0" id="4923" />
+<TGConnectingPoint num="1" id="4924" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5079" >
+<COMPONENT type="1008" id="4928" >
 <cdparam x="441" y="983" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5077" />
-<TGConnectingPoint num="1" id="5078" />
+<TGConnectingPoint num="0" id="4926" />
+<TGConnectingPoint num="1" id="4927" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5082" >
+<COMPONENT type="1008" id="4931" >
 <cdparam x="109" y="986" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5080" />
-<TGConnectingPoint num="1" id="5081" />
+<TGConnectingPoint num="0" id="4929" />
+<TGConnectingPoint num="1" id="4930" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5085" >
+<COMPONENT type="1008" id="4934" >
 <cdparam x="699" y="813" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5083" />
-<TGConnectingPoint num="1" id="5084" />
+<TGConnectingPoint num="0" id="4932" />
+<TGConnectingPoint num="1" id="4933" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5088" >
+<COMPONENT type="1008" id="4937" >
 <cdparam x="777" y="1141" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5086" />
-<TGConnectingPoint num="1" id="5087" />
+<TGConnectingPoint num="0" id="4935" />
+<TGConnectingPoint num="1" id="4936" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5091" >
+<COMPONENT type="1008" id="4940" >
 <cdparam x="920" y="1178" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5089" />
-<TGConnectingPoint num="1" id="5090" />
+<TGConnectingPoint num="0" id="4938" />
+<TGConnectingPoint num="1" id="4939" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5094" >
+<COMPONENT type="1008" id="4943" >
 <cdparam x="1026" y="1211" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5092" />
-<TGConnectingPoint num="1" id="5093" />
+<TGConnectingPoint num="0" id="4941" />
+<TGConnectingPoint num="1" id="4942" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5096" >
+<COMPONENT type="1001" id="4945" >
 <cdparam x="602" y="762" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5095" />
+<TGConnectingPoint num="0" id="4944" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5098" >
+<COMPONENT type="1001" id="4947" >
 <cdparam x="873" y="922" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5097" />
+<TGConnectingPoint num="0" id="4946" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="5101" >
+<COMPONENT type="1006" id="4950" >
 <cdparam x="1169" y="1214" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="5099" />
-<TGConnectingPoint num="1" id="5100" />
+<TGConnectingPoint num="0" id="4948" />
+<TGConnectingPoint num="1" id="4949" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="5118" >
+<COMPONENT type="301" id="4967" >
 <cdparam x="1159" y="1153" />
 <sizeparam width="108" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="5102" />
-<TGConnectingPoint num="1" id="5103" />
-<TGConnectingPoint num="2" id="5104" />
-<TGConnectingPoint num="3" id="5105" />
-<TGConnectingPoint num="4" id="5106" />
-<TGConnectingPoint num="5" id="5107" />
-<TGConnectingPoint num="6" id="5108" />
-<TGConnectingPoint num="7" id="5109" />
-<TGConnectingPoint num="8" id="5110" />
-<TGConnectingPoint num="9" id="5111" />
-<TGConnectingPoint num="10" id="5112" />
-<TGConnectingPoint num="11" id="5113" />
-<TGConnectingPoint num="12" id="5114" />
-<TGConnectingPoint num="13" id="5115" />
-<TGConnectingPoint num="14" id="5116" />
-<TGConnectingPoint num="15" id="5117" />
+<TGConnectingPoint num="0" id="4951" />
+<TGConnectingPoint num="1" id="4952" />
+<TGConnectingPoint num="2" id="4953" />
+<TGConnectingPoint num="3" id="4954" />
+<TGConnectingPoint num="4" id="4955" />
+<TGConnectingPoint num="5" id="4956" />
+<TGConnectingPoint num="6" id="4957" />
+<TGConnectingPoint num="7" id="4958" />
+<TGConnectingPoint num="8" id="4959" />
+<TGConnectingPoint num="9" id="4960" />
+<TGConnectingPoint num="10" id="4961" />
+<TGConnectingPoint num="11" id="4962" />
+<TGConnectingPoint num="12" id="4963" />
+<TGConnectingPoint num="13" id="4964" />
+<TGConnectingPoint num="14" id="4965" />
+<TGConnectingPoint num="15" id="4966" />
 <extraparam>
 <Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="5121" >
+<COMPONENT type="1011" id="4970" >
 <cdparam x="1158" y="1295" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="5119" />
-<TGConnectingPoint num="1" id="5120" />
+<TGConnectingPoint num="0" id="4968" />
+<TGConnectingPoint num="1" id="4969" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5123" >
+<COMPONENT type="1001" id="4972" >
 <cdparam x="1198" y="1471" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5122" />
+<TGConnectingPoint num="0" id="4971" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5126" >
+<COMPONENT type="1011" id="4975" >
 <cdparam x="1158" y="1402" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="5124" />
-<TGConnectingPoint num="1" id="5125" />
+<TGConnectingPoint num="0" id="4973" />
+<TGConnectingPoint num="1" id="4974" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="5129" >
+<COMPONENT type="1008" id="4978" >
 <cdparam x="1185" y="1351" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5127" />
-<TGConnectingPoint num="1" id="5128" />
+<TGConnectingPoint num="0" id="4976" />
+<TGConnectingPoint num="1" id="4977" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5131" >
+<COMPONENT type="1001" id="4980" >
 <cdparam x="1277" y="1070" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5130" />
+<TGConnectingPoint num="0" id="4979" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5133" >
+<COMPONENT type="1001" id="4982" >
 <cdparam x="1519" y="1457" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5132" />
+<TGConnectingPoint num="0" id="4981" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="5136" >
+<COMPONENT type="1006" id="4985" >
 <cdparam x="1489" y="1132" />
 <sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoA(1)" />
-<TGConnectingPoint num="0" id="5134" />
-<TGConnectingPoint num="1" id="5135" />
+<TGConnectingPoint num="0" id="4983" />
+<TGConnectingPoint num="1" id="4984" />
 <extraparam>
-<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5139" >
+<COMPONENT type="1006" id="4988" >
 <cdparam x="1490" y="1348" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="5137" />
-<TGConnectingPoint num="1" id="5138" />
+<TGConnectingPoint num="0" id="4986" />
+<TGConnectingPoint num="1" id="4987" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5142" >
+<COMPONENT type="1008" id="4991" >
 <cdparam x="1707" y="1026" />
 <sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="stop()" />
-<TGConnectingPoint num="0" id="5140" />
-<TGConnectingPoint num="1" id="5141" />
+<TGConnectingPoint num="0" id="4989" />
+<TGConnectingPoint num="1" id="4990" />
 <extraparam>
 <Data eventName="stop" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="5159" >
+<COMPONENT type="301" id="5008" >
 <cdparam x="1759" y="1192" />
 <sizeparam width="86" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Correct ack
 " />
-<TGConnectingPoint num="0" id="5143" />
-<TGConnectingPoint num="1" id="5144" />
-<TGConnectingPoint num="2" id="5145" />
-<TGConnectingPoint num="3" id="5146" />
-<TGConnectingPoint num="4" id="5147" />
-<TGConnectingPoint num="5" id="5148" />
-<TGConnectingPoint num="6" id="5149" />
-<TGConnectingPoint num="7" id="5150" />
-<TGConnectingPoint num="8" id="5151" />
-<TGConnectingPoint num="9" id="5152" />
-<TGConnectingPoint num="10" id="5153" />
-<TGConnectingPoint num="11" id="5154" />
-<TGConnectingPoint num="12" id="5155" />
-<TGConnectingPoint num="13" id="5156" />
-<TGConnectingPoint num="14" id="5157" />
-<TGConnectingPoint num="15" id="5158" />
+<TGConnectingPoint num="0" id="4992" />
+<TGConnectingPoint num="1" id="4993" />
+<TGConnectingPoint num="2" id="4994" />
+<TGConnectingPoint num="3" id="4995" />
+<TGConnectingPoint num="4" id="4996" />
+<TGConnectingPoint num="5" id="4997" />
+<TGConnectingPoint num="6" id="4998" />
+<TGConnectingPoint num="7" id="4999" />
+<TGConnectingPoint num="8" id="5000" />
+<TGConnectingPoint num="9" id="5001" />
+<TGConnectingPoint num="10" id="5002" />
+<TGConnectingPoint num="11" id="5003" />
+<TGConnectingPoint num="12" id="5004" />
+<TGConnectingPoint num="13" id="5005" />
+<TGConnectingPoint num="14" id="5006" />
+<TGConnectingPoint num="15" id="5007" />
 <extraparam>
 <Line value="Correct ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="5176" >
+<COMPONENT type="301" id="5025" >
 <cdparam x="1635" y="1168" />
 <sizeparam width="71" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="false ack
 " />
-<TGConnectingPoint num="0" id="5160" />
-<TGConnectingPoint num="1" id="5161" />
-<TGConnectingPoint num="2" id="5162" />
-<TGConnectingPoint num="3" id="5163" />
-<TGConnectingPoint num="4" id="5164" />
-<TGConnectingPoint num="5" id="5165" />
-<TGConnectingPoint num="6" id="5166" />
-<TGConnectingPoint num="7" id="5167" />
-<TGConnectingPoint num="8" id="5168" />
-<TGConnectingPoint num="9" id="5169" />
-<TGConnectingPoint num="10" id="5170" />
-<TGConnectingPoint num="11" id="5171" />
-<TGConnectingPoint num="12" id="5172" />
-<TGConnectingPoint num="13" id="5173" />
-<TGConnectingPoint num="14" id="5174" />
-<TGConnectingPoint num="15" id="5175" />
+<TGConnectingPoint num="0" id="5009" />
+<TGConnectingPoint num="1" id="5010" />
+<TGConnectingPoint num="2" id="5011" />
+<TGConnectingPoint num="3" id="5012" />
+<TGConnectingPoint num="4" id="5013" />
+<TGConnectingPoint num="5" id="5014" />
+<TGConnectingPoint num="6" id="5015" />
+<TGConnectingPoint num="7" id="5016" />
+<TGConnectingPoint num="8" id="5017" />
+<TGConnectingPoint num="9" id="5018" />
+<TGConnectingPoint num="10" id="5019" />
+<TGConnectingPoint num="11" id="5020" />
+<TGConnectingPoint num="12" id="5021" />
+<TGConnectingPoint num="13" id="5022" />
+<TGConnectingPoint num="14" id="5023" />
+<TGConnectingPoint num="15" id="5024" />
 <extraparam>
 <Line value="false ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5179" >
+<COMPONENT type="1006" id="5028" >
 <cdparam x="1602" y="1299" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="5177" />
-<TGConnectingPoint num="1" id="5178" />
+<TGConnectingPoint num="0" id="5026" />
+<TGConnectingPoint num="1" id="5027" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5181" >
+<COMPONENT type="1001" id="5030" >
 <cdparam x="1631" y="1468" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5180" />
+<TGConnectingPoint num="0" id="5029" />
 </COMPONENT>
 
-<COMPONENT type="301" id="5198" >
+<COMPONENT type="301" id="5047" >
 <cdparam x="1469" y="1295" />
 <sizeparam width="127" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="return acknowldge
 " />
-<TGConnectingPoint num="0" id="5182" />
-<TGConnectingPoint num="1" id="5183" />
-<TGConnectingPoint num="2" id="5184" />
-<TGConnectingPoint num="3" id="5185" />
-<TGConnectingPoint num="4" id="5186" />
-<TGConnectingPoint num="5" id="5187" />
-<TGConnectingPoint num="6" id="5188" />
-<TGConnectingPoint num="7" id="5189" />
-<TGConnectingPoint num="8" id="5190" />
-<TGConnectingPoint num="9" id="5191" />
-<TGConnectingPoint num="10" id="5192" />
-<TGConnectingPoint num="11" id="5193" />
-<TGConnectingPoint num="12" id="5194" />
-<TGConnectingPoint num="13" id="5195" />
-<TGConnectingPoint num="14" id="5196" />
-<TGConnectingPoint num="15" id="5197" />
+<TGConnectingPoint num="0" id="5031" />
+<TGConnectingPoint num="1" id="5032" />
+<TGConnectingPoint num="2" id="5033" />
+<TGConnectingPoint num="3" id="5034" />
+<TGConnectingPoint num="4" id="5035" />
+<TGConnectingPoint num="5" id="5036" />
+<TGConnectingPoint num="6" id="5037" />
+<TGConnectingPoint num="7" id="5038" />
+<TGConnectingPoint num="8" id="5039" />
+<TGConnectingPoint num="9" id="5040" />
+<TGConnectingPoint num="10" id="5041" />
+<TGConnectingPoint num="11" id="5042" />
+<TGConnectingPoint num="12" id="5043" />
+<TGConnectingPoint num="13" id="5044" />
+<TGConnectingPoint num="14" id="5045" />
+<TGConnectingPoint num="15" id="5046" />
 <extraparam>
 <Line value="return acknowldge" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="5215" >
+<COMPONENT type="301" id="5064" >
 <cdparam x="1620" y="927" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="data
 " />
-<TGConnectingPoint num="0" id="5199" />
-<TGConnectingPoint num="1" id="5200" />
-<TGConnectingPoint num="2" id="5201" />
-<TGConnectingPoint num="3" id="5202" />
-<TGConnectingPoint num="4" id="5203" />
-<TGConnectingPoint num="5" id="5204" />
-<TGConnectingPoint num="6" id="5205" />
-<TGConnectingPoint num="7" id="5206" />
-<TGConnectingPoint num="8" id="5207" />
-<TGConnectingPoint num="9" id="5208" />
-<TGConnectingPoint num="10" id="5209" />
-<TGConnectingPoint num="11" id="5210" />
-<TGConnectingPoint num="12" id="5211" />
-<TGConnectingPoint num="13" id="5212" />
-<TGConnectingPoint num="14" id="5213" />
-<TGConnectingPoint num="15" id="5214" />
+<TGConnectingPoint num="0" id="5048" />
+<TGConnectingPoint num="1" id="5049" />
+<TGConnectingPoint num="2" id="5050" />
+<TGConnectingPoint num="3" id="5051" />
+<TGConnectingPoint num="4" id="5052" />
+<TGConnectingPoint num="5" id="5053" />
+<TGConnectingPoint num="6" id="5054" />
+<TGConnectingPoint num="7" id="5055" />
+<TGConnectingPoint num="8" id="5056" />
+<TGConnectingPoint num="9" id="5057" />
+<TGConnectingPoint num="10" id="5058" />
+<TGConnectingPoint num="11" id="5059" />
+<TGConnectingPoint num="12" id="5060" />
+<TGConnectingPoint num="13" id="5061" />
+<TGConnectingPoint num="14" id="5062" />
+<TGConnectingPoint num="15" id="5063" />
 <extraparam>
 <Line value="data" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5218" >
+<COMPONENT type="1008" id="5067" >
 <cdparam x="1506" y="1405" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5216" />
-<TGConnectingPoint num="1" id="5217" />
+<TGConnectingPoint num="0" id="5065" />
+<TGConnectingPoint num="1" id="5066" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="5221" >
+<COMPONENT type="1008" id="5070" >
 <cdparam x="1618" y="1348" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5219" />
-<TGConnectingPoint num="1" id="5220" />
+<TGConnectingPoint num="0" id="5068" />
+<TGConnectingPoint num="1" id="5069" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5224" >
+<COMPONENT type="1006" id="5073" >
 <cdparam x="1613" y="1404" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="5222" />
-<TGConnectingPoint num="1" id="5223" />
+<TGConnectingPoint num="0" id="5071" />
+<TGConnectingPoint num="1" id="5072" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5226" >
+<COMPONENT type="1001" id="5075" >
 <cdparam x="1730" y="1335" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5225" />
+<TGConnectingPoint num="0" id="5074" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5229" >
+<COMPONENT type="1011" id="5078" >
 <cdparam x="1776" y="1349" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =4" />
-<TGConnectingPoint num="0" id="5227" />
-<TGConnectingPoint num="1" id="5228" />
+<TGConnectingPoint num="0" id="5076" />
+<TGConnectingPoint num="1" id="5077" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5231" >
+<COMPONENT type="1001" id="5080" >
 <cdparam x="1816" y="1457" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5230" />
+<TGConnectingPoint num="0" id="5079" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5234" >
+<COMPONENT type="1011" id="5083" >
 <cdparam x="1870" y="1411" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =6" />
-<TGConnectingPoint num="0" id="5232" />
-<TGConnectingPoint num="1" id="5233" />
+<TGConnectingPoint num="0" id="5081" />
+<TGConnectingPoint num="1" id="5082" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5236" >
+<COMPONENT type="1001" id="5085" >
 <cdparam x="1910" y="1481" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5235" />
+<TGConnectingPoint num="0" id="5084" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5238" >
+<COMPONENT type="1001" id="5087" >
 <cdparam x="1986" y="1543" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5237" />
+<TGConnectingPoint num="0" id="5086" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5241" >
+<COMPONENT type="1011" id="5090" >
 <cdparam x="2051" y="1466" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="5239" />
-<TGConnectingPoint num="1" id="5240" />
+<TGConnectingPoint num="0" id="5088" />
+<TGConnectingPoint num="1" id="5089" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5243" >
+<COMPONENT type="1001" id="5092" >
 <cdparam x="2091" y="1537" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5242" />
+<TGConnectingPoint num="0" id="5091" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5246" >
+<COMPONENT type="1011" id="5095" >
 <cdparam x="1946" y="1493" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="5244" />
-<TGConnectingPoint num="1" id="5245" />
+<TGConnectingPoint num="0" id="5093" />
+<TGConnectingPoint num="1" id="5094" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="5249" >
+<COMPONENT type="1011" id="5098" >
 <cdparam x="1946" y="1434" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="5247" />
-<TGConnectingPoint num="1" id="5248" />
+<TGConnectingPoint num="0" id="5096" />
+<TGConnectingPoint num="1" id="5097" />
 </COMPONENT>
 
-<COMPONENT type="301" id="5266" >
+<COMPONENT type="301" id="5115" >
 <cdparam x="1825" y="889" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="Syn
 " />
-<TGConnectingPoint num="0" id="5250" />
-<TGConnectingPoint num="1" id="5251" />
-<TGConnectingPoint num="2" id="5252" />
-<TGConnectingPoint num="3" id="5253" />
-<TGConnectingPoint num="4" id="5254" />
-<TGConnectingPoint num="5" id="5255" />
-<TGConnectingPoint num="6" id="5256" />
-<TGConnectingPoint num="7" id="5257" />
-<TGConnectingPoint num="8" id="5258" />
-<TGConnectingPoint num="9" id="5259" />
-<TGConnectingPoint num="10" id="5260" />
-<TGConnectingPoint num="11" id="5261" />
-<TGConnectingPoint num="12" id="5262" />
-<TGConnectingPoint num="13" id="5263" />
-<TGConnectingPoint num="14" id="5264" />
-<TGConnectingPoint num="15" id="5265" />
+<TGConnectingPoint num="0" id="5099" />
+<TGConnectingPoint num="1" id="5100" />
+<TGConnectingPoint num="2" id="5101" />
+<TGConnectingPoint num="3" id="5102" />
+<TGConnectingPoint num="4" id="5103" />
+<TGConnectingPoint num="5" id="5104" />
+<TGConnectingPoint num="6" id="5105" />
+<TGConnectingPoint num="7" id="5106" />
+<TGConnectingPoint num="8" id="5107" />
+<TGConnectingPoint num="9" id="5108" />
+<TGConnectingPoint num="10" id="5109" />
+<TGConnectingPoint num="11" id="5110" />
+<TGConnectingPoint num="12" id="5111" />
+<TGConnectingPoint num="13" id="5112" />
+<TGConnectingPoint num="14" id="5113" />
+<TGConnectingPoint num="15" id="5114" />
 <extraparam>
 <Line value="Syn" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="5283" >
+<COMPONENT type="301" id="5132" >
 <cdparam x="1707" y="945" />
 <sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="ack
 " />
-<TGConnectingPoint num="0" id="5267" />
-<TGConnectingPoint num="1" id="5268" />
-<TGConnectingPoint num="2" id="5269" />
-<TGConnectingPoint num="3" id="5270" />
-<TGConnectingPoint num="4" id="5271" />
-<TGConnectingPoint num="5" id="5272" />
-<TGConnectingPoint num="6" id="5273" />
-<TGConnectingPoint num="7" id="5274" />
-<TGConnectingPoint num="8" id="5275" />
-<TGConnectingPoint num="9" id="5276" />
-<TGConnectingPoint num="10" id="5277" />
-<TGConnectingPoint num="11" id="5278" />
-<TGConnectingPoint num="12" id="5279" />
-<TGConnectingPoint num="13" id="5280" />
-<TGConnectingPoint num="14" id="5281" />
-<TGConnectingPoint num="15" id="5282" />
+<TGConnectingPoint num="0" id="5116" />
+<TGConnectingPoint num="1" id="5117" />
+<TGConnectingPoint num="2" id="5118" />
+<TGConnectingPoint num="3" id="5119" />
+<TGConnectingPoint num="4" id="5120" />
+<TGConnectingPoint num="5" id="5121" />
+<TGConnectingPoint num="6" id="5122" />
+<TGConnectingPoint num="7" id="5123" />
+<TGConnectingPoint num="8" id="5124" />
+<TGConnectingPoint num="9" id="5125" />
+<TGConnectingPoint num="10" id="5126" />
+<TGConnectingPoint num="11" id="5127" />
+<TGConnectingPoint num="12" id="5128" />
+<TGConnectingPoint num="13" id="5129" />
+<TGConnectingPoint num="14" id="5130" />
+<TGConnectingPoint num="15" id="5131" />
 <extraparam>
 <Line value="ack" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5286" >
+<COMPONENT type="1006" id="5135" >
 <cdparam x="2198" y="1198" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="5284" />
-<TGConnectingPoint num="1" id="5285" />
+<TGConnectingPoint num="0" id="5133" />
+<TGConnectingPoint num="1" id="5134" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5288" >
+<COMPONENT type="1001" id="5137" >
 <cdparam x="2227" y="1483" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5287" />
+<TGConnectingPoint num="0" id="5136" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="5291" >
+<COMPONENT type="1007" id="5140" >
 <cdparam x="2198" y="1298" />
 <sizeparam width="78" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="5289" />
-<TGConnectingPoint num="1" id="5290" />
+<TGConnectingPoint num="0" id="5138" />
+<TGConnectingPoint num="1" id="5139" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="5294" >
+<COMPONENT type="1006" id="5143" >
 <cdparam x="2209" y="1365" />
 <sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="5292" />
-<TGConnectingPoint num="1" id="5293" />
+<TGConnectingPoint num="0" id="5141" />
+<TGConnectingPoint num="1" id="5142" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="5297" >
+<COMPONENT type="1011" id="5146" >
 <cdparam x="2161" y="1136" />
 <sizeparam width="153" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="5295" />
-<TGConnectingPoint num="1" id="5296" />
+<TGConnectingPoint num="0" id="5144" />
+<TGConnectingPoint num="1" id="5145" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="5300" >
+<COMPONENT type="1008" id="5149" >
 <cdparam x="2214" y="1248" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5298" />
-<TGConnectingPoint num="1" id="5299" />
+<TGConnectingPoint num="0" id="5147" />
+<TGConnectingPoint num="1" id="5148" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="5303" >
+<COMPONENT type="1011" id="5152" >
 <cdparam x="2187" y="1424" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="5301" />
-<TGConnectingPoint num="1" id="5302" />
+<TGConnectingPoint num="0" id="5150" />
+<TGConnectingPoint num="1" id="5151" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="5306" >
+<COMPONENT type="1006" id="5155" >
 <cdparam x="2278" y="1122" />
 <sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="5304" />
-<TGConnectingPoint num="1" id="5305" />
+<TGConnectingPoint num="0" id="5153" />
+<TGConnectingPoint num="1" id="5154" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="5323" >
+<COMPONENT type="301" id="5172" >
 <cdparam x="2283" y="1065" />
 <sizeparam width="114" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="UML Note" value="send Ack of SYN
 " />
-<TGConnectingPoint num="0" id="5307" />
-<TGConnectingPoint num="1" id="5308" />
-<TGConnectingPoint num="2" id="5309" />
-<TGConnectingPoint num="3" id="5310" />
-<TGConnectingPoint num="4" id="5311" />
-<TGConnectingPoint num="5" id="5312" />
-<TGConnectingPoint num="6" id="5313" />
-<TGConnectingPoint num="7" id="5314" />
-<TGConnectingPoint num="8" id="5315" />
-<TGConnectingPoint num="9" id="5316" />
-<TGConnectingPoint num="10" id="5317" />
-<TGConnectingPoint num="11" id="5318" />
-<TGConnectingPoint num="12" id="5319" />
-<TGConnectingPoint num="13" id="5320" />
-<TGConnectingPoint num="14" id="5321" />
-<TGConnectingPoint num="15" id="5322" />
+<TGConnectingPoint num="0" id="5156" />
+<TGConnectingPoint num="1" id="5157" />
+<TGConnectingPoint num="2" id="5158" />
+<TGConnectingPoint num="3" id="5159" />
+<TGConnectingPoint num="4" id="5160" />
+<TGConnectingPoint num="5" id="5161" />
+<TGConnectingPoint num="6" id="5162" />
+<TGConnectingPoint num="7" id="5163" />
+<TGConnectingPoint num="8" id="5164" />
+<TGConnectingPoint num="9" id="5165" />
+<TGConnectingPoint num="10" id="5166" />
+<TGConnectingPoint num="11" id="5167" />
+<TGConnectingPoint num="12" id="5168" />
+<TGConnectingPoint num="13" id="5169" />
+<TGConnectingPoint num="14" id="5170" />
+<TGConnectingPoint num="15" id="5171" />
 <extraparam>
 <Line value="send Ack of SYN" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="5326" >
+<COMPONENT type="1011" id="5175" >
 <cdparam x="2267" y="1267" />
 <sizeparam width="100" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="5324" />
-<TGConnectingPoint num="1" id="5325" />
+<TGConnectingPoint num="0" id="5173" />
+<TGConnectingPoint num="1" id="5174" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5328" >
+<COMPONENT type="1001" id="5177" >
 <cdparam x="2307" y="1324" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5327" />
+<TGConnectingPoint num="0" id="5176" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="5331" >
+<COMPONENT type="1008" id="5180" >
 <cdparam x="2294" y="1199" />
 <sizeparam width="46" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="5329" />
-<TGConnectingPoint num="1" id="5330" />
+<TGConnectingPoint num="0" id="5178" />
+<TGConnectingPoint num="1" id="5179" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="5333" >
+<COMPONENT type="1001" id="5182" >
 <cdparam x="1637" y="1057" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5332" />
+<TGConnectingPoint num="0" id="5181" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5335" >
+<COMPONENT type="1001" id="5184" >
 <cdparam x="2168" y="1421" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5334" />
+<TGConnectingPoint num="0" id="5183" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="5337" >
+<COMPONENT type="1001" id="5186" >
 <cdparam x="2267" y="1039" />
 <sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="5336" />
+<TGConnectingPoint num="0" id="5185" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="5340" >
+<COMPONENT type="1008" id="5189" >
 <cdparam x="1465" y="1192" />
 <sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="receive_Application()" />
-<TGConnectingPoint num="0" id="5338" />
-<TGConnectingPoint num="1" id="5339" />
+<TGConnectingPoint num="0" id="5187" />
+<TGConnectingPoint num="1" id="5188" />
 <extraparam>
 <Data eventName="receive_Application" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="5343" >
+<COMPONENT type="1009" id="5192" >
 <cdparam x="1698" y="1086" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="5341" />
-<TGConnectingPoint num="1" id="5342" />
+<TGConnectingPoint num="0" id="5190" />
+<TGConnectingPoint num="1" id="5191" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="5344" >
+<CONNECTOR type="115" id="5193" >
 <cdparam x="192" y="445" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<P1  x="190" y="449" id="4595" />
-<P2  x="188" y="476" id="4756" />
+<P1  x="190" y="449" id="4444" />
+<P2  x="188" y="476" id="4605" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5194" >
+<cdparam x="1048" y="795" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1048" y="795" id="4583" />
+<P2  x="1728" y="865" id="4505" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5195" >
+<cdparam x="1048" y="795" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1089" y="954" id="4555" />
+<P2  x="1208" y="1010" id="4525" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5196" >
+<cdparam x="1008" y="610" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to execI" value="null" />
+<P1  x="1008" y="610" id="4659" />
+<P2  x="1008" y="696" id="4587" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5197" >
+<cdparam x="722" y="614" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from read channel to execI" value="null" />
+<P1  x="722" y="614" id="4674" />
+<P2  x="722" y="689" id="4543" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5198" >
+<cdparam x="504" y="597" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="504" y="597" id="4623" />
+<P2  x="572" y="702" id="4537" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5199" >
+<cdparam x="464" y="637" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="464" y="637" id="4624" />
+<P2  x="464" y="778" id="4591" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5200" >
+<cdparam x="424" y="597" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="424" y="597" id="4622" />
+<P2  x="346" y="759" id="4571" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5201" >
+<cdparam x="289" y="619" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to read channel" value="null" />
+<P1  x="289" y="619" id="4632" />
+<P2  x="230" y="803" id="4728" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5202" >
+<cdparam x="249" y="579" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="249" y="579" id="4630" />
+<P2  x="132" y="789" id="4575" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5203" >
+<cdparam x="371" y="93" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to notified event" value="null" />
+<P1  x="320" y="99" id="4662" />
+<P2  x="374" y="128" id="4670" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5204" >
+<cdparam x="234" y="169" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="235" y="169" id="4668" />
+<P2  x="235" y="202" id="4665" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5205" >
+<cdparam x="234" y="104" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from for loop to action state" value="null" />
+<P1  x="235" y="110" id="4663" />
+<P2  x="235" y="139" id="4667" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5206" >
+<cdparam x="234" y="47" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from start state to for loop" value="null" />
+<P1  x="234" y="47" id="4634" />
+<P2  x="235" y="80" id="4661" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5207" >
+<cdparam x="425" y="162" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="374" y="158" id="4671" />
+<P2  x="374" y="182" id="4613" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5208" >
+<cdparam x="564" y="482" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="464" y="322" id="4697" />
+<P2  x="722" y="529" id="4676" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5209" >
+<cdparam x="722" y="559" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="722" y="559" id="4677" />
+<P2  x="722" y="584" id="4673" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5210" >
+<cdparam x="604" y="442" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="504" y="282" id="4693" />
+<P2  x="1008" y="523" id="4679" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5211" >
+<cdparam x="1007" y="553" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="1008" y="553" id="4680" />
+<P2  x="1008" y="580" id="4658" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5212" >
+<cdparam x="524" y="442" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="464" y="322" id="4694" />
+<P2  x="464" y="487" id="4682" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5345" >
-<cdparam x="1048" y="795" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1048" y="795" id="4734" />
-<P2  x="1728" y="865" id="4656" />
+<CONNECTOR type="115" id="5213" >
+<cdparam x="330" y="428" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="4695" />
+<P2  x="289" y="463" id="4685" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5346" >
-<cdparam x="1048" y="795" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1089" y="954" id="4706" />
-<P2  x="1208" y="1010" id="4676" />
+<CONNECTOR type="115" id="5214" >
+<cdparam x="318" y="520" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="289" y="493" id="4686" />
+<P2  x="289" y="554" id="4629" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5347" >
-<cdparam x="1008" y="610" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to execI" value="null" />
-<P1  x="1008" y="610" id="4810" />
-<P2  x="1008" y="696" id="4738" />
+<CONNECTOR type="115" id="5215" >
+<cdparam x="160" y="481" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="148" y="501" id="4606" />
+<P2  x="148" y="544" id="4653" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5348" >
-<cdparam x="722" y="614" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="5216" >
+<cdparam x="290" y="388" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="4692" />
+<P2  x="188" y="378" id="4688" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5217" >
+<cdparam x="229" y="467" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="188" y="408" id="4689" />
+<P2  x="190" y="419" id="4443" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5218" >
+<cdparam x="228" y="501" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="228" y="501" id="4607" />
+<P2  x="228" y="524" id="4702" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5219" >
+<cdparam x="334" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="334" y="207" id="4614" />
+<P2  x="301" y="223" id="4706" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5220" >
+<cdparam x="301" y="253" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="301" y="253" id="4707" />
+<P2  x="301" y="285" id="4709" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5221" >
+<cdparam x="464" y="517" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="464" y="517" id="4683" />
+<P2  x="464" y="572" id="4621" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5222" >
+<cdparam x="329" y="579" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="329" y="579" id="4631" />
+<P2  x="329" y="609" id="4704" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5223" >
+<cdparam x="126" y="574" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="148" y="574" id="4654" />
+<P2  x="148" y="610" id="4656" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5224" >
+<cdparam x="414" y="207" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to select" value="null" />
+<P1  x="414" y="207" id="4615" />
+<P2  x="464" y="257" id="4691" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5225" >
+<cdparam x="230" y="833" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from read channel to execI" value="null" />
-<P1  x="722" y="614" id="4825" />
-<P2  x="722" y="689" id="4694" />
+<P1  x="230" y="833" id="4729" />
+<P2  x="230" y="858" id="4595" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5349" >
-<cdparam x="504" y="597" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="5226" >
+<cdparam x="716" y="749" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="504" y="597" id="4774" />
-<P2  x="572" y="702" id="4688" />
+<P1  x="968" y="795" id="4582" />
+<P2  x="843" y="859" id="4565" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5350" >
-<cdparam x="464" y="637" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="464" y="637" id="4775" />
-<P2  x="464" y="778" id="4742" />
+<CONNECTOR type="115" id="5227" >
+<cdparam x="720" y="1074" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="728" y="990" id="4778" />
+<P2  x="728" y="1027" id="4780" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5351" >
-<cdparam x="424" y="597" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="5228" >
+<cdparam x="733" y="899" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="803" y="884" id="4566" />
+<P2  x="728" y="960" id="4777" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5229" >
+<cdparam x="800" y="938" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="424" y="597" id="4773" />
-<P2  x="346" y="759" id="4722" />
+<P1  x="843" y="924" id="4568" />
+<P2  x="800" y="1004" id="4559" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5352" >
-<cdparam x="289" y="619" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to read channel" value="null" />
-<P1  x="289" y="619" id="4783" />
-<P2  x="230" y="803" id="4879" />
+<CONNECTOR type="115" id="5230" >
+<cdparam x="800" y="1057" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="800" y="1044" id="4560" />
+<P2  x="800" y="1081" id="4782" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5353" >
-<cdparam x="249" y="579" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="1000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="5231" >
+<cdparam x="132" y="886" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="132" y="886" id="4909" />
+<P2  x="132" y="933" id="4744" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5232" >
+<cdparam x="943" y="1061" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="943" y="1060" id="4548" />
+<P2  x="943" y="1118" id="4827" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5233" >
+<cdparam x="1049" y="1093" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1049" y="1092" id="4600" />
+<P2  x="1049" y="1150" id="4852" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5234" >
+<cdparam x="1049" y="994" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to execI" value="null" />
-<P1  x="249" y="579" id="4781" />
-<P2  x="132" y="789" id="4726" />
+<P1  x="1049" y="994" id="4556" />
+<P2  x="1049" y="1052" id="4599" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5354" >
-<cdparam x="371" y="93" />
+<CONNECTOR type="115" id="5235" >
+<cdparam x="696" y="742" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to notified event" value="null" />
-<P1  x="320" y="99" id="4813" />
-<P2  x="374" y="128" id="4821" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="722" y="729" id="4544" />
+<P2  x="722" y="753" id="4877" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5355" >
-<cdparam x="234" y="169" />
+<CONNECTOR type="115" id="5236" >
+<cdparam x="132" y="1125" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="235" y="169" id="4819" />
-<P2  x="235" y="202" id="4816" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="132" y="1125" id="4883" />
+<P2  x="132" y="1162" id="4885" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5356" >
-<cdparam x="234" y="104" />
+<CONNECTOR type="115" id="5237" >
+<cdparam x="132" y="1192" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from for loop to action state" value="null" />
-<P1  x="235" y="110" id="4814" />
-<P2  x="235" y="139" id="4818" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="132" y="1192" id="4886" />
+<P2  x="132" y="1231" id="4888" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5357" >
-<cdparam x="234" y="47" />
+<CONNECTOR type="115" id="5238" >
+<cdparam x="132" y="1066" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from start state to for loop" value="null" />
-<P1  x="234" y="47" id="4785" />
-<P2  x="235" y="80" id="4812" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="132" y="1066" id="4742" />
+<P2  x="132" y="1095" id="4882" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5358" >
-<cdparam x="425" y="162" />
+<CONNECTOR type="115" id="5239" >
+<cdparam x="229" y="1127" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from notified event to choice" value="null" />
-<P1  x="374" y="158" id="4822" />
-<P2  x="374" y="182" id="4764" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="230" y="1127" id="4891" />
+<P2  x="230" y="1164" id="4893" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5359" >
-<cdparam x="564" y="482" />
+<CONNECTOR type="115" id="5240" >
+<cdparam x="346" y="1131" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="4848" />
-<P2  x="722" y="529" id="4827" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="346" y="1131" id="4897" />
+<P2  x="346" y="1168" id="4899" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5360" >
-<cdparam x="722" y="559" />
+<CONNECTOR type="115" id="5241" >
+<cdparam x="346" y="1051" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="722" y="559" id="4828" />
-<P2  x="722" y="584" id="4824" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="346" y="1051" id="4748" />
+<P2  x="346" y="1101" id="4896" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5361" >
-<cdparam x="604" y="442" />
+<CONNECTOR type="115" id="5242" >
+<cdparam x="437" y="1118" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="504" y="282" id="4844" />
-<P2  x="1008" y="523" id="4830" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="464" y="1115" id="4903" />
+<P2  x="464" y="1154" id="4905" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5362" >
-<cdparam x="1007" y="553" />
+<CONNECTOR type="115" id="5243" >
+<cdparam x="438" y="1057" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to read channel" value="null" />
-<P1  x="1008" y="553" id="4831" />
-<P2  x="1008" y="580" id="4809" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="464" y="1057" id="4737" />
+<P2  x="464" y="1085" id="4902" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5363" >
-<cdparam x="524" y="442" />
+<CONNECTOR type="115" id="5244" >
+<cdparam x="132" y="808" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="464" y="322" id="4845" />
-<P2  x="464" y="487" id="4833" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="132" y="829" id="4576" />
+<P2  x="132" y="856" id="4908" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5245" >
+<cdparam x="230" y="898" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="230" y="898" id="4596" />
+<P2  x="230" y="935" id="4911" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5246" >
+<cdparam x="230" y="965" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="230" y="965" id="4912" />
+<P2  x="230" y="997" id="4731" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5247" >
+<cdparam x="346" y="799" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="346" y="799" id="4572" />
+<P2  x="346" y="826" id="4917" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5248" >
+<cdparam x="346" y="856" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="346" y="856" id="4918" />
+<P2  x="346" y="895" id="4755" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5249" >
+<cdparam x="439" y="818" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="464" y="818" id="4592" />
+<P2  x="464" y="860" id="4914" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5250" >
+<cdparam x="439" y="890" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="464" y="890" id="4915" />
+<P2  x="464" y="936" id="4752" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5251" >
+<cdparam x="132" y="963" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="132" y="963" id="4745" />
+<P2  x="132" y="981" id="4929" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5252" >
+<cdparam x="132" y="1011" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="132" y="1011" id="4930" />
+<P2  x="132" y="1036" id="4741" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5253" >
+<cdparam x="230" y="1027" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="230" y="1027" id="4732" />
+<P2  x="230" y="1047" id="4920" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5254" >
+<cdparam x="228" y="1088" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="230" y="1077" id="4921" />
+<P2  x="230" y="1097" id="4890" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5255" >
+<cdparam x="346" y="925" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="346" y="925" id="4756" />
+<P2  x="346" y="957" id="4923" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5256" >
+<cdparam x="348" y="987" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="346" y="987" id="4924" />
+<P2  x="346" y="1021" id="4747" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5257" >
+<cdparam x="439" y="966" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="464" y="966" id="4753" />
+<P2  x="464" y="978" id="4926" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5258" >
+<cdparam x="438" y="1008" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="464" y="1008" id="4927" />
+<P2  x="464" y="1027" id="4736" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5259" >
+<cdparam x="722" y="783" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="722" y="783" id="4878" />
+<P2  x="722" y="808" id="4932" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5260" >
+<cdparam x="722" y="838" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="722" y="838" id="4933" />
+<P2  x="722" y="860" id="4880" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5261" >
+<cdparam x="800" y="1111" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="800" y="1111" id="4783" />
+<P2  x="800" y="1136" id="4935" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5262" >
+<cdparam x="798" y="1166" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="800" y="1166" id="4936" />
+<P2  x="800" y="1188" id="4819" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5263" >
+<cdparam x="943" y="1148" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="943" y="1148" id="4828" />
+<P2  x="943" y="1173" id="4938" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5264" >
+<cdparam x="950" y="1201" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="943" y="1203" id="4939" />
+<P2  x="943" y="1229" id="4847" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5364" >
-<cdparam x="330" y="428" />
+<CONNECTOR type="115" id="5265" >
+<cdparam x="1049" y="1180" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="4846" />
-<P2  x="289" y="463" id="4836" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1049" y="1180" id="4853" />
+<P2  x="1049" y="1206" id="4941" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5365" >
-<cdparam x="318" y="520" />
+<CONNECTOR type="115" id="5266" >
+<cdparam x="1049" y="1223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="289" y="493" id="4837" />
-<P2  x="289" y="554" id="4780" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="1049" y="1236" id="4942" />
+<P2  x="1049" y="1261" id="4872" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5366" >
-<cdparam x="160" y="481" />
+<CONNECTOR type="115" id="5267" >
+<cdparam x="883" y="884" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="148" y="501" id="4757" />
-<P2  x="148" y="544" id="4804" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="883" y="884" id="4567" />
+<P2  x="883" y="917" id="4946" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5367" >
-<cdparam x="290" y="388" />
+<CONNECTOR type="115" id="5268" >
+<cdparam x="612" y="727" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="424" y="282" id="4843" />
-<P2  x="188" y="378" id="4839" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="612" y="727" id="4539" />
+<P2  x="612" y="757" id="4944" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5368" >
-<cdparam x="229" y="467" />
+<CONNECTOR type="115" id="5269" >
+<cdparam x="532" y="727" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="188" y="408" id="4840" />
-<P2  x="190" y="419" id="4594" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="532" y="727" id="4538" />
+<P2  x="496" y="763" id="4822" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5369" >
-<cdparam x="228" y="501" />
+<CONNECTOR type="115" id="5270" >
+<cdparam x="799" y="1218" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="228" y="501" id="4758" />
-<P2  x="228" y="524" id="4853" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="800" y="1218" id="4820" />
+<P2  x="800" y="1265" id="4758" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5370" >
-<cdparam x="334" y="207" />
+<CONNECTOR type="115" id="5271" >
+<cdparam x="1009" y="954" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to wait event" value="null" />
-<P1  x="334" y="207" id="4765" />
-<P2  x="301" y="223" id="4857" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1009" y="954" id="4554" />
+<P2  x="943" y="1020" id="4547" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5371" >
-<cdparam x="301" y="253" />
+<CONNECTOR type="115" id="5272" >
+<cdparam x="229" y="1194" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to stop state" value="null" />
-<P1  x="301" y="253" id="4858" />
-<P2  x="301" y="285" id="4860" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="230" y="1194" id="4894" />
+<P2  x="230" y="1232" id="4734" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5372" >
-<cdparam x="464" y="517" />
+<CONNECTOR type="115" id="5273" >
+<cdparam x="346" y="1198" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from wait event to choice" value="null" />
-<P1  x="464" y="517" id="4834" />
-<P2  x="464" y="572" id="4772" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="346" y="1198" id="4900" />
+<P2  x="346" y="1224" id="4750" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5373" >
-<cdparam x="329" y="579" />
+<CONNECTOR type="115" id="5274" >
+<cdparam x="438" y="1184" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="329" y="579" id="4782" />
-<P2  x="329" y="609" id="4855" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="464" y="1184" id="4906" />
+<P2  x="464" y="1208" id="4739" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5374" >
-<cdparam x="126" y="574" />
+<CONNECTOR type="115" id="5275" >
+<cdparam x="496" y="793" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="148" y="574" id="4805" />
-<P2  x="148" y="610" id="4807" />
+<P1  x="496" y="793" id="4823" />
+<P2  x="496" y="825" id="4825" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5375" >
-<cdparam x="414" y="207" />
+<CONNECTOR type="115" id="5276" >
+<cdparam x="943" y="1259" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to select" value="null" />
-<P1  x="414" y="207" id="4766" />
-<P2  x="464" y="257" id="4842" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="943" y="1259" id="4848" />
+<P2  x="943" y="1306" id="4850" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5376" >
-<cdparam x="230" y="833" />
+<CONNECTOR type="115" id="5277" >
+<cdparam x="1008" y="736" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to execI" value="null" />
-<P1  x="230" y="833" id="4880" />
-<P2  x="230" y="858" id="4746" />
+<infoparam name="connector from execI to choice" value="null" />
+<P1  x="1008" y="736" id="4588" />
+<P2  x="1008" y="770" id="4581" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5377" >
-<cdparam x="716" y="749" />
+<CONNECTOR type="115" id="5278" >
+<cdparam x="1008" y="835" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="968" y="795" id="4733" />
-<P2  x="843" y="859" id="4716" />
+<P1  x="1008" y="835" id="4584" />
+<P2  x="1049" y="929" id="4553" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5378" >
-<cdparam x="720" y="1074" />
+<CONNECTOR type="115" id="5279" >
+<cdparam x="1049" y="1291" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to stop state" value="null" />
-<P1  x="728" y="990" id="4929" />
-<P2  x="728" y="1027" id="4931" />
+<P1  x="1049" y="1291" id="4873" />
+<P2  x="1049" y="1336" id="4875" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5379" >
-<cdparam x="733" y="899" />
+<CONNECTOR type="115" id="5280" >
+<cdparam x="1208" y="1152" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="803" y="884" id="4717" />
-<P2  x="728" y="960" id="4928" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1208" y="1142" id="4532" />
+<P2  x="1208" y="1209" id="4948" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5380" >
-<cdparam x="800" y="938" />
+<CONNECTOR type="115" id="5281" >
+<cdparam x="1208" y="1239" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="843" y="924" id="4719" />
-<P2  x="800" y="1004" id="4710" />
+<infoparam name="connector from write channel to action state" value="null" />
+<P1  x="1208" y="1239" id="4949" />
+<P2  x="1208" y="1290" id="4968" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5381" >
-<cdparam x="800" y="1057" />
+<CONNECTOR type="115" id="5282" >
+<cdparam x="1208" y="1320" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="800" y="1044" id="4711" />
-<P2  x="800" y="1081" id="4933" />
+<infoparam name="connector from action state to send event" value="null" />
+<P1  x="1208" y="1320" id="4969" />
+<P2  x="1208" y="1346" id="4976" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5382" >
-<cdparam x="132" y="886" />
+<CONNECTOR type="115" id="5283" >
+<cdparam x="1206" y="1385" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="132" y="886" id="5060" />
-<P2  x="132" y="933" id="4895" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="1208" y="1376" id="4977" />
+<P2  x="1208" y="1397" id="4973" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5383" >
-<cdparam x="943" y="1061" />
+<CONNECTOR type="115" id="5284" >
+<cdparam x="1206" y="1088" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="943" y="1060" id="4699" />
-<P2  x="943" y="1118" id="4978" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1208" y="1075" id="4528" />
+<P2  x="1208" y="1102" id="4531" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5384" >
-<cdparam x="1049" y="1093" />
+<CONNECTOR type="115" id="5285" >
+<cdparam x="1248" y="1035" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1049" y="1092" id="4751" />
-<P2  x="1049" y="1150" id="5003" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1248" y="1035" id="4527" />
+<P2  x="1287" y="1065" id="4979" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5385" >
-<cdparam x="1049" y="994" />
+<CONNECTOR type="115" id="5286" >
+<cdparam x="1207" y="1427" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1049" y="994" id="4707" />
-<P2  x="1049" y="1052" id="4750" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1208" y="1427" id="4974" />
+<P2  x="1208" y="1466" id="4971" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5386" >
-<cdparam x="696" y="742" />
+<CONNECTOR type="115" id="5287" >
+<cdparam x="1553" y="1019" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="722" y="729" id="4695" />
-<P2  x="722" y="753" id="5028" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1567" y="1021" id="4498" />
+<P2  x="1529" y="1059" id="4491" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5387" >
-<cdparam x="132" y="1125" />
+<CONNECTOR type="115" id="5288" >
+<cdparam x="1529" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="132" y="1125" id="5034" />
-<P2  x="132" y="1162" id="5036" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1529" y="1289" id="4488" />
+<P2  x="1529" y="1343" id="4986" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5388" >
-<cdparam x="132" y="1192" />
+<CONNECTOR type="115" id="5289" >
+<cdparam x="1684" y="929" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="132" y="1192" id="5037" />
-<P2  x="132" y="1231" id="5039" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="1728" y="930" id="4508" />
+<P2  x="1728" y="1021" id="4989" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5389" >
-<cdparam x="132" y="1066" />
+<CONNECTOR type="115" id="5290" >
+<cdparam x="1615" y="1283" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="132" y="1066" id="4893" />
-<P2  x="132" y="1095" id="5033" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1641" y="1270" id="4512" />
+<P2  x="1641" y="1294" id="5026" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5390" >
-<cdparam x="229" y="1127" />
+<CONNECTOR type="115" id="5291" >
+<cdparam x="1641" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="230" y="1127" id="5042" />
-<P2  x="230" y="1164" id="5044" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1641" y="1324" id="5027" />
+<P2  x="1641" y="1343" id="5068" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5391" >
-<cdparam x="346" y="1131" />
+<CONNECTOR type="115" id="5292" >
+<cdparam x="1529" y="1373" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="346" y="1131" id="5048" />
-<P2  x="346" y="1168" id="5050" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1529" y="1373" id="4987" />
+<P2  x="1529" y="1400" id="5065" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5392" >
-<cdparam x="346" y="1051" />
+<CONNECTOR type="115" id="5293" >
+<cdparam x="1529" y="1422" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="346" y="1051" id="4899" />
-<P2  x="346" y="1101" id="5047" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="1529" y="1430" id="5066" />
+<P2  x="1529" y="1452" id="4981" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5393" >
-<cdparam x="437" y="1118" />
+<CONNECTOR type="115" id="5294" >
+<cdparam x="1642" y="1373" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="464" y="1115" id="5054" />
-<P2  x="464" y="1154" id="5056" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="1641" y="1373" id="5069" />
+<P2  x="1641" y="1399" id="5071" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5394" >
-<cdparam x="438" y="1057" />
+<CONNECTOR type="115" id="5295" >
+<cdparam x="1956" y="1361" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send request" value="null" />
-<P1  x="464" y="1057" id="4888" />
-<P2  x="464" y="1085" id="5053" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1956" y="1361" id="4466" />
+<P2  x="1920" y="1406" id="5081" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5395" >
-<cdparam x="132" y="808" />
+<CONNECTOR type="115" id="5296" >
+<cdparam x="2100" y="1490" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="132" y="829" id="4727" />
-<P2  x="132" y="856" id="5059" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2101" y="1491" id="5089" />
+<P2  x="2101" y="1532" id="5091" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5396" >
-<cdparam x="230" y="898" />
+<CONNECTOR type="115" id="5297" >
+<cdparam x="1996" y="1401" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="230" y="898" id="4747" />
-<P2  x="230" y="935" id="5062" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1996" y="1401" id="4468" />
+<P2  x="1996" y="1429" id="5096" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5397" >
-<cdparam x="230" y="965" />
+<CONNECTOR type="115" id="5298" >
+<cdparam x="1996" y="1459" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="230" y="965" id="5063" />
-<P2  x="230" y="997" id="4882" />
+<infoparam name="connector from action state to action state" value="null" />
+<P1  x="1996" y="1459" id="5097" />
+<P2  x="1996" y="1488" id="5093" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5398" >
-<cdparam x="346" y="799" />
+<CONNECTOR type="115" id="5299" >
+<cdparam x="2021" y="1038" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="346" y="799" id="4723" />
-<P2  x="346" y="826" id="5068" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2237" y="966" id="4458" />
+<P2  x="2237" y="1054" id="4515" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5399" >
-<cdparam x="346" y="856" />
+<CONNECTOR type="115" id="5300" >
+<cdparam x="2217" y="1323" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="346" y="856" id="5069" />
-<P2  x="346" y="895" id="4906" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="2237" y="1323" id="5139" />
+<P2  x="2237" y="1360" id="5141" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5400" >
-<cdparam x="439" y="818" />
+<CONNECTOR type="115" id="5301" >
+<cdparam x="2218" y="1094" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from execI to action state" value="null" />
-<P1  x="464" y="818" id="4743" />
-<P2  x="464" y="860" id="5065" />
+<P1  x="2237" y="1094" id="4516" />
+<P2  x="2237" y="1131" id="5144" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5401" >
-<cdparam x="439" y="890" />
+<CONNECTOR type="115" id="5302" >
+<cdparam x="2218" y="1161" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from action state to write channel" value="null" />
-<P1  x="464" y="890" id="5066" />
-<P2  x="464" y="936" id="4903" />
+<P1  x="2237" y="1161" id="5145" />
+<P2  x="2237" y="1193" id="5133" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5402" >
-<cdparam x="132" y="963" />
+<CONNECTOR type="115" id="5303" >
+<cdparam x="2218" y="1223" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="132" y="963" id="4896" />
-<P2  x="132" y="981" id="5080" />
+<P1  x="2237" y="1223" id="5134" />
+<P2  x="2237" y="1243" id="5147" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5403" >
-<cdparam x="132" y="1011" />
+<CONNECTOR type="115" id="5304" >
+<cdparam x="2216" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="132" y="1011" id="5081" />
-<P2  x="132" y="1036" id="4892" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="2237" y="1273" id="5148" />
+<P2  x="2237" y="1293" id="5138" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5404" >
-<cdparam x="230" y="1027" />
+<CONNECTOR type="115" id="5305" >
+<cdparam x="2217" y="1390" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="230" y="1027" id="4883" />
-<P2  x="230" y="1047" id="5071" />
+<infoparam name="connector from write channel to action state" value="null" />
+<P1  x="2237" y="1390" id="5142" />
+<P2  x="2237" y="1419" id="5150" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5405" >
-<cdparam x="228" y="1088" />
+<CONNECTOR type="115" id="5306" >
+<cdparam x="2341" y="1060" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="230" y="1077" id="5072" />
-<P2  x="230" y="1097" id="5041" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="2317" y="1059" id="4520" />
+<P2  x="2317" y="1117" id="5153" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5406" >
-<cdparam x="346" y="925" />
+<CONNECTOR type="115" id="5307" >
+<cdparam x="1529" y="1099" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="346" y="925" id="4907" />
-<P2  x="346" y="957" id="5074" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1529" y="1099" id="4492" />
+<P2  x="1529" y="1127" id="4983" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5407" >
-<cdparam x="348" y="987" />
+<CONNECTOR type="115" id="5308" >
+<cdparam x="2101" y="1433" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="346" y="987" id="5075" />
-<P2  x="346" y="1021" id="4898" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="2101" y="1433" id="4452" />
+<P2  x="2101" y="1461" id="5088" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5408" >
-<cdparam x="439" y="966" />
+<CONNECTOR type="115" id="5309" >
+<cdparam x="2158" y="1460" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="464" y="966" id="4904" />
-<P2  x="464" y="978" id="5077" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2141" y="1393" id="4451" />
+<P2  x="2178" y="1416" id="5183" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5409" >
-<cdparam x="438" y="1008" />
+<CONNECTOR type="115" id="5310" >
+<cdparam x="1688" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="464" y="1008" id="5078" />
-<P2  x="464" y="1027" id="4887" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1688" y="890" id="4506" />
+<P2  x="1607" y="996" id="4497" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5410" >
-<cdparam x="722" y="783" />
+<CONNECTOR type="115" id="5311" >
+<cdparam x="1768" y="890" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="722" y="783" id="5029" />
-<P2  x="722" y="808" id="5083" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="890" id="4507" />
+<P2  x="2277" y="941" id="4457" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5411" >
-<cdparam x="722" y="838" />
+<CONNECTOR type="115" id="5312" >
+<cdparam x="2317" y="966" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="722" y="838" id="5084" />
-<P2  x="722" y="860" id="5031" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2317" y="966" id="4459" />
+<P2  x="2317" y="1019" id="4519" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5412" >
-<cdparam x="800" y="1111" />
+<CONNECTOR type="115" id="5313" >
+<cdparam x="2341" y="1147" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="800" y="1111" id="4934" />
-<P2  x="800" y="1136" id="5086" />
+<P1  x="2317" y="1147" id="5154" />
+<P2  x="2317" y="1194" id="5178" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5413" >
-<cdparam x="798" y="1166" />
+<CONNECTOR type="115" id="5314" >
+<cdparam x="2341" y="1224" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="800" y="1166" id="5087" />
-<P2  x="800" y="1188" id="4970" />
+<infoparam name="connector from send event to send event" value="null" />
+<P1  x="2317" y="1224" id="5179" />
+<P2  x="2317" y="1262" id="5173" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5414" >
-<cdparam x="943" y="1148" />
+<CONNECTOR type="115" id="5315" >
+<cdparam x="1731" y="1051" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="943" y="1148" id="4979" />
-<P2  x="943" y="1173" id="5089" />
+<infoparam name="connector from send event to choice" value="null" />
+<P1  x="1728" y="1051" id="4990" />
+<P2  x="1728" y="1081" id="5190" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5415" >
-<cdparam x="950" y="1201" />
+<CONNECTOR type="115" id="5316" >
+<cdparam x="1647" y="1021" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="943" y="1203" id="5090" />
-<P2  x="943" y="1229" id="4998" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="1647" y="1021" id="4499" />
+<P2  x="1647" y="1052" id="5181" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5416" >
-<cdparam x="1049" y="1180" />
+<CONNECTOR type="115" id="5317" >
+<cdparam x="1826" y="1324" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1049" y="1180" id="5004" />
-<P2  x="1049" y="1206" id="5092" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1826" y="1324" id="4476" />
+<P2  x="1826" y="1344" id="5076" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5417" >
-<cdparam x="1049" y="1223" />
+<CONNECTOR type="115" id="5318" >
+<cdparam x="1826" y="1374" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="1049" y="1236" id="5093" />
-<P2  x="1049" y="1261" id="5023" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1826" y="1374" id="5077" />
+<P2  x="1826" y="1452" id="5079" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5418" >
-<cdparam x="883" y="884" />
+<CONNECTOR type="115" id="5319" >
+<cdparam x="1786" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to stop state" value="null" />
-<P1  x="883" y="884" id="4718" />
-<P2  x="883" y="917" id="5097" />
+<P1  x="1786" y="1284" id="4474" />
+<P2  x="1740" y="1330" id="5074" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5419" >
-<cdparam x="612" y="727" />
+<CONNECTOR type="115" id="5320" >
+<cdparam x="1920" y="1436" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="612" y="727" id="4690" />
-<P2  x="612" y="757" id="5095" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1920" y="1436" id="5082" />
+<P2  x="1920" y="1476" id="5084" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5420" >
-<cdparam x="532" y="727" />
+<CONNECTOR type="115" id="5321" >
+<cdparam x="1996" y="1518" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="532" y="727" id="4689" />
-<P2  x="496" y="763" id="4973" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="1996" y="1518" id="5094" />
+<P2  x="1996" y="1538" id="5086" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5421" >
-<cdparam x="799" y="1218" />
+<CONNECTOR type="115" id="5322" >
+<cdparam x="2036" y="1361" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="800" y="1218" id="4971" />
-<P2  x="800" y="1265" id="4909" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="2036" y="1361" id="4467" />
+<P2  x="2101" y="1368" id="4449" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5422" >
-<cdparam x="1009" y="954" />
+<CONNECTOR type="115" id="5323" >
+<cdparam x="1866" y="1284" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1009" y="954" id="4705" />
-<P2  x="943" y="1020" id="4698" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1866" y="1284" id="4475" />
+<P2  x="1996" y="1336" id="4465" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5423" >
-<cdparam x="229" y="1194" />
+<CONNECTOR type="115" id="5324" >
+<cdparam x="2341" y="1292" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="230" y="1194" id="5045" />
-<P2  x="230" y="1232" id="4885" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2317" y="1292" id="5174" />
+<P2  x="2317" y="1319" id="5176" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5424" >
-<cdparam x="346" y="1198" />
+<CONNECTOR type="115" id="5325" >
+<cdparam x="2217" y="1449" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="346" y="1198" id="5051" />
-<P2  x="346" y="1224" id="4901" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2237" y="1449" id="5151" />
+<P2  x="2237" y="1478" id="5136" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5425" >
-<cdparam x="438" y="1184" />
+<CONNECTOR type="115" id="5326" >
+<cdparam x="2277" y="1006" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2277" y="1006" id="4460" />
+<P2  x="2277" y="1034" id="5185" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="5327" >
+<cdparam x="1642" y="1429" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="464" y="1184" id="5057" />
-<P2  x="464" y="1208" id="4890" />
+<P1  x="1641" y="1429" id="5072" />
+<P2  x="1641" y="1463" id="5029" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5426" >
-<cdparam x="496" y="793" />
+<CONNECTOR type="115" id="5328" >
+<cdparam x="1529" y="1157" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="496" y="793" id="4974" />
-<P2  x="496" y="825" id="4976" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="1529" y="1157" id="4984" />
+<P2  x="1529" y="1187" id="5187" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5427" >
-<cdparam x="943" y="1259" />
+<CONNECTOR type="115" id="5329" >
+<cdparam x="1529" y="1217" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="943" y="1259" id="4999" />
-<P2  x="943" y="1306" id="5001" />
+<infoparam name="connector from send event to execI" value="null" />
+<P1  x="1529" y="1217" id="5188" />
+<P2  x="1529" y="1249" id="4487" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5428" >
-<cdparam x="1008" y="736" />
+<CONNECTOR type="115" id="5330" >
+<cdparam x="1691" y="1156" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to choice" value="null" />
-<P1  x="1008" y="736" id="4739" />
-<P2  x="1008" y="770" id="4732" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1688" y="1156" id="4482" />
+<P2  x="1641" y="1230" id="4511" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5429" >
-<cdparam x="1008" y="835" />
+<CONNECTOR type="115" id="5331" >
+<cdparam x="1771" y="1156" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from choice to choice" value="null" />
-<P1  x="1008" y="835" id="4735" />
-<P2  x="1049" y="929" id="4704" />
+<P1  x="1768" y="1156" id="4483" />
+<P2  x="1826" y="1259" id="4473" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5430" >
-<cdparam x="1049" y="1291" />
+<CONNECTOR type="115" id="5332" >
+<cdparam x="1731" y="1111" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1049" y="1291" id="5024" />
-<P2  x="1049" y="1336" id="5026" />
+<infoparam name="connector from read channel to choice" value="null" />
+<P1  x="1728" y="1111" id="5191" />
+<P2  x="1728" y="1131" id="4481" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="5340" >
+<cdparam x="509" y="222" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="5336" />
+<TGConnectingPoint num="1" id="5337" />
+<TGConnectingPoint num="2" id="5338" />
+<TGConnectingPoint num="3" id="5339" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="5333" >
+<father id="5340" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ x==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5334" >
+<father id="5340" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ x&gt;0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5335" >
+<father id="5340" num="2" />
+<cdparam x="529" y="267" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1000" id="5342" >
+<cdparam x="489" y="26" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="5341" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="5344" >
+<cdparam x="417" y="407" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5343" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="5347" >
+<cdparam x="396" y="339" />
+<sizeparam width="63" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="5345" />
+<TGConnectingPoint num="1" id="5346" />
+<extraparam>
+<Data eventName="timeOut" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="5350" >
+<cdparam x="599" y="300" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="5348" />
+<TGConnectingPoint num="1" id="5349" />
+<extraparam>
+<Data eventName="stop" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="5352" >
+<cdparam x="612" y="365" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5351" />
+</COMPONENT>
+
+<COMPONENT type="1017" id="5355" >
+<cdparam x="491" y="157" />
+<sizeparam width="70" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="5353" />
+<TGConnectingPoint num="1" id="5354" />
+<extraparam>
+<Data eventName="stop" variable="x" />
+</extraparam>
+</COMPONENT>
+
+<CONNECTOR type="115" id="5356" >
+<cdparam x="496" y="46" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="496" y="46" id="5341" />
+<P2  x="526" y="152" id="5353" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5431" >
-<cdparam x="1208" y="1152" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1208" y="1142" id="4683" />
-<P2  x="1208" y="1209" id="5099" />
+<CONNECTOR type="115" id="5357" >
+<cdparam x="484" y="237" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="484" y="237" id="5337" />
+<P2  x="427" y="334" id="5345" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5432" >
-<cdparam x="1208" y="1239" />
+<CONNECTOR type="115" id="5358" >
+<cdparam x="427" y="364" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to action state" value="null" />
-<P1  x="1208" y="1239" id="5100" />
-<P2  x="1208" y="1290" id="5119" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="427" y="364" id="5346" />
+<P2  x="427" y="402" id="5343" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5433" >
-<cdparam x="1208" y="1320" />
+<CONNECTOR type="115" id="5359" >
+<cdparam x="622" y="325" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to send event" value="null" />
-<P1  x="1208" y="1320" id="5120" />
-<P2  x="1208" y="1346" id="5127" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="622" y="325" id="5349" />
+<P2  x="622" y="360" id="5351" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5434" >
-<cdparam x="1206" y="1385" />
+<CONNECTOR type="115" id="5360" >
+<cdparam x="524" y="175" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to action state" value="null" />
-<P1  x="1208" y="1376" id="5128" />
-<P2  x="1208" y="1397" id="5124" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="526" y="182" id="5354" />
+<P2  x="524" y="212" id="5336" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5435" >
-<cdparam x="1206" y="1088" />
+<CONNECTOR type="115" id="5361" >
+<cdparam x="564" y="237" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1208" y="1075" id="4679" />
-<P2  x="1208" y="1102" id="4682" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="564" y="237" id="5338" />
+<P2  x="622" y="295" id="5348" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5436" >
-<cdparam x="1248" y="1035" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1248" y="1035" id="4678" />
-<P2  x="1287" y="1065" id="5130" />
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="1110" >
+<COMPONENT type="1036" id="5364" >
+<cdparam x="556" y="473" />
+<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="decrypt" value="null" />
+<TGConnectingPoint num="0" id="5362" />
+<TGConnectingPoint num="1" id="5363" />
+<extraparam>
+<Data secPattern="autoEncrypt_fromDtoSC" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1035" id="5367" >
+<cdparam x="250" y="663" />
+<sizeparam width="15" height="35" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="encrypt" value="null" />
+<TGConnectingPoint num="0" id="5365" />
+<TGConnectingPoint num="1" id="5366" />
+<extraparam>
+<Data secContext="autoEncrypt_fromSCtoD" type="Symmetric Encryption" overhead="0" size="" encTime="100" decTime="100" nonce="" key="" algorithm="" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="5369" >
+<cdparam x="430" y="408" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5368" />
+</COMPONENT>
+
+<COMPONENT type="1010" id="5372" >
+<cdparam x="418" y="364" />
+<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="end() " />
+<TGConnectingPoint num="0" id="5370" />
+<TGConnectingPoint num="1" id="5371" />
+<extraparam>
+<Data eventName="end" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="5375" >
+<cdparam x="238" y="201" />
+<sizeparam width="129" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="connectionOpened() " />
+<TGConnectingPoint num="0" id="5373" />
+<TGConnectingPoint num="1" id="5374" />
+<extraparam>
+<Data eventName="connectionOpened" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1000" id="5377" >
+<cdparam x="159" y="66" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="5376" />
+</COMPONENT>
+
+<COMPONENT type="1010" id="5380" >
+<cdparam x="141" y="129" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="5378" />
+<TGConnectingPoint num="1" id="5379" />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="5383" >
+<cdparam x="113" y="182" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="5381" />
+<TGConnectingPoint num="1" id="5382" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="5386" >
+<cdparam x="144" y="237" />
+<sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="pTS() " />
+<TGConnectingPoint num="0" id="5384" />
+<TGConnectingPoint num="1" id="5385" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="5389" >
+<cdparam x="124" y="308" />
+<sizeparam width="85" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="5387" />
+<TGConnectingPoint num="1" id="5388" />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="5406" >
+<cdparam x="376" y="98" />
+<sizeparam width="233" height="39" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="UML Note" value="The first two layers of the OSI model 
+are used to communicate between 
+the smart card and the terminal
+" />
+<TGConnectingPoint num="0" id="5390" />
+<TGConnectingPoint num="1" id="5391" />
+<TGConnectingPoint num="2" id="5392" />
+<TGConnectingPoint num="3" id="5393" />
+<TGConnectingPoint num="4" id="5394" />
+<TGConnectingPoint num="5" id="5395" />
+<TGConnectingPoint num="6" id="5396" />
+<TGConnectingPoint num="7" id="5397" />
+<TGConnectingPoint num="8" id="5398" />
+<TGConnectingPoint num="9" id="5399" />
+<TGConnectingPoint num="10" id="5400" />
+<TGConnectingPoint num="11" id="5401" />
+<TGConnectingPoint num="12" id="5402" />
+<TGConnectingPoint num="13" id="5403" />
+<TGConnectingPoint num="14" id="5404" />
+<TGConnectingPoint num="15" id="5405" />
+<extraparam>
+<Line value="The first two layers of the OSI model " />
+<Line value="are used to communicate between " />
+<Line value="the smart card and the terminal" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="5409" >
+<cdparam x="254" y="97" />
+<sizeparam width="89" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="5407" />
+<TGConnectingPoint num="1" id="5408" />
+<extraparam>
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1007" id="5412" >
+<cdparam x="241" y="148" />
+<sizeparam width="114" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send request" value="start_Application()" />
+<TGConnectingPoint num="0" id="5410" />
+<TGConnectingPoint num="1" id="5411" />
+<breakpoint />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="5414" >
+<cdparam x="581" y="760" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5413" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="5417" >
+<cdparam x="240" y="571" />
+<sizeparam width="106" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="data_Ready_SC()" />
+<TGConnectingPoint num="0" id="5415" />
+<TGConnectingPoint num="1" id="5416" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="5419" >
+<cdparam x="283" y="757" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5418" />
+</COMPONENT>
+
+<COMPONENT type="1009" id="5422" >
+<cdparam x="252" y="429" />
+<sizeparam width="83" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="read channel" value="fromTtoP(1) " />
+<TGConnectingPoint num="0" id="5420" />
+<TGConnectingPoint num="1" id="5421" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="5425" >
+<cdparam x="268" y="385" />
+<sizeparam width="50" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="send() " />
+<TGConnectingPoint num="0" id="5423" />
+<TGConnectingPoint num="1" id="5424" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="5428" >
+<cdparam x="250" y="723" />
+<sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="write channel" value="fromSCtoD(1)" />
+<TGConnectingPoint num="0" id="5426" />
+<TGConnectingPoint num="1" id="5427" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="autoEncrypt_fromSCtoD" isAttacker="No" isEncForm="Yes" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="5431" >
+<cdparam x="562" y="572" />
+<sizeparam width="59" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="send event" value="receive()" />
+<TGConnectingPoint num="0" id="5429" />
+<TGConnectingPoint num="1" id="5430" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1009" id="5434" >
+<cdparam x="546" y="433" />
+<sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="read channel" value="fromDtoSC(1) " />
+<TGConnectingPoint num="0" id="5432" />
+<TGConnectingPoint num="1" id="5433" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="autoEncrypt_fromDtoSC" isAttacker="No" isEncForm="Yes" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="5437" >
+<cdparam x="552" y="609" />
+<sizeparam width="79" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="write channel" value="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="5435" />
+<TGConnectingPoint num="1" id="5436" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="5440" >
+<cdparam x="536" y="390" />
+<sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="wait event" value="data_Ready(t, b) " />
+<TGConnectingPoint num="0" id="5438" />
+<TGConnectingPoint num="1" id="5439" />
+<breakpoint />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+<Param index="0" value="t" />
+<Param index="1" value="b" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1014" id="5444" >
+<cdparam x="236" y="261" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="for loop" value="for(j=0;x==0;j = j)" />
+<TGConnectingPoint num="0" id="5441" />
+<TGConnectingPoint num="1" id="5442" />
+<TGConnectingPoint num="2" id="5443" />
+<extraparam>
+<Data init="j=0" condition="x==0" increment="j = j" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="5446" >
+<cdparam x="275" y="309" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5445" />
+</COMPONENT>
+
+<COMPONENT type="1018" id="5457" >
+<cdparam x="424" y="285" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1110" />
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="5447" />
+<TGConnectingPoint num="1" id="5448" />
+<TGConnectingPoint num="2" id="5449" />
+<TGConnectingPoint num="3" id="5450" />
+<TGConnectingPoint num="4" id="5451" />
+<TGConnectingPoint num="5" id="5452" />
+<TGConnectingPoint num="6" id="5453" />
+<TGConnectingPoint num="7" id="5454" />
+<TGConnectingPoint num="8" id="5455" />
+<TGConnectingPoint num="9" id="5456" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="5458" >
+<cdparam x="546" y="633" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="563" y="518" id="5363" />
+<P2  x="591" y="567" id="5429" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5437" >
-<cdparam x="1207" y="1427" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1208" y="1427" id="5125" />
-<P2  x="1208" y="1466" id="5122" />
+<CONNECTOR type="115" id="5459" >
+<cdparam x="250" y="773" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="257" y="708" id="5366" />
+<P2  x="293" y="718" id="5426" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5438" >
-<cdparam x="1553" y="1019" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1567" y="1021" id="4649" />
-<P2  x="1529" y="1059" id="4642" />
+<CONNECTOR type="115" id="5460" >
+<cdparam x="302" y="227" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="302" y="226" id="5374" />
+<P2  x="298" y="256" id="5441" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5439" >
-<cdparam x="1529" y="1324" />
+<CONNECTOR type="115" id="5465" >
+<cdparam x="111" y="331" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1289" id="4639" />
-<P2  x="1529" y="1343" id="5137" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="166" y="333" id="5388" />
+<P2  x="298" y="92" id="5407" />
+<Point x="166" y="353" />
+<Point x="225" y="353" />
+<Point x="225" y="72" />
+<Point x="278" y="72" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5440" >
-<cdparam x="1684" y="929" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="5461" >
+<father id="5465" num="0" />
+<cdparam x="166" y="353" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5462" >
+<father id="5465" num="1" />
+<cdparam x="225" y="353" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5463" >
+<father id="5465" num="2" />
+<cdparam x="225" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5464" >
+<father id="5465" num="3" />
+<cdparam x="278" y="72" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="1400" />
+<infoparam name="point " value="null" />
+</SUBCOMPONENT>
+
+<CONNECTOR type="115" id="5466" >
+<cdparam x="166" y="64" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to send event" value="null" />
-<P1  x="1728" y="930" id="4659" />
-<P2  x="1728" y="1021" id="5140" />
+<infoparam name="connector from start state to wait event" value="null" />
+<P1  x="166" y="86" id="5376" />
+<P2  x="166" y="124" id="5378" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5441" >
-<cdparam x="1615" y="1283" />
+<CONNECTOR type="115" id="5467" >
+<cdparam x="166" y="154" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1641" y="1270" id="4663" />
-<P2  x="1641" y="1294" id="5177" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="154" id="5379" />
+<P2  x="166" y="177" id="5381" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5442" >
-<cdparam x="1641" y="1324" />
+<CONNECTOR type="115" id="5468" >
+<cdparam x="312" y="133" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1641" y="1324" id="5178" />
-<P2  x="1641" y="1343" id="5219" />
+<infoparam name="connector from send request to send request" value="null" />
+<P1  x="298" y="122" id="5408" />
+<P2  x="298" y="143" id="5410" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5443" >
-<cdparam x="1529" y="1373" />
+<CONNECTOR type="115" id="5469" >
+<cdparam x="286" y="421" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1373" id="5138" />
-<P2  x="1529" y="1400" id="5216" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="293" y="410" id="5424" />
+<P2  x="293" y="424" id="5420" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5444" >
-<cdparam x="1529" y="1422" />
+<CONNECTOR type="115" id="5470" >
+<cdparam x="286" y="586" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to stop state" value="null" />
-<P1  x="1529" y="1430" id="5217" />
-<P2  x="1529" y="1452" id="5132" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="293" y="454" id="5421" />
+<P2  x="293" y="566" id="5415" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5445" >
-<cdparam x="1642" y="1373" />
+<CONNECTOR type="115" id="5471" >
+<cdparam x="286" y="748" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from send event to write channel" value="null" />
-<P1  x="1641" y="1373" id="5220" />
-<P2  x="1641" y="1399" id="5222" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5446" >
-<cdparam x="1956" y="1361" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1956" y="1361" id="4617" />
-<P2  x="1920" y="1406" id="5232" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5447" >
-<cdparam x="2100" y="1490" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2101" y="1491" id="5240" />
-<P2  x="2101" y="1532" id="5242" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5448" >
-<cdparam x="1996" y="1401" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1996" y="1401" id="4619" />
-<P2  x="1996" y="1429" id="5247" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5449" >
-<cdparam x="1996" y="1459" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to action state" value="null" />
-<P1  x="1996" y="1459" id="5248" />
-<P2  x="1996" y="1488" id="5244" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5450" >
-<cdparam x="2021" y="1038" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="2237" y="966" id="4609" />
-<P2  x="2237" y="1054" id="4666" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5451" >
-<cdparam x="2217" y="1323" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send request to write channel" value="null" />
-<P1  x="2237" y="1323" id="5290" />
-<P2  x="2237" y="1360" id="5292" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5452" >
-<cdparam x="2218" y="1094" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to action state" value="null" />
-<P1  x="2237" y="1094" id="4667" />
-<P2  x="2237" y="1131" id="5295" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5453" >
-<cdparam x="2218" y="1161" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to write channel" value="null" />
-<P1  x="2237" y="1161" id="5296" />
-<P2  x="2237" y="1193" id="5284" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5454" >
-<cdparam x="2218" y="1223" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2237" y="1223" id="5285" />
-<P2  x="2237" y="1243" id="5298" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5455" >
-<cdparam x="2216" y="1284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send request" value="null" />
-<P1  x="2237" y="1273" id="5299" />
-<P2  x="2237" y="1293" id="5289" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5456" >
-<cdparam x="2217" y="1390" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to action state" value="null" />
-<P1  x="2237" y="1390" id="5293" />
-<P2  x="2237" y="1419" id="5301" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5457" >
-<cdparam x="2341" y="1060" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="2317" y="1059" id="4671" />
-<P2  x="2317" y="1117" id="5304" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="5458" >
-<cdparam x="1529" y="1099" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from execI to write channel" value="null" />
-<P1  x="1529" y="1099" id="4643" />
-<P2  x="1529" y="1127" id="5134" />
+<P1  x="293" y="596" id="5416" />
+<P2  x="257" y="658" id="5365" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5459" >
-<cdparam x="2101" y="1433" />
+<CONNECTOR type="115" id="5472" >
+<cdparam x="286" y="804" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="2101" y="1433" id="4603" />
-<P2  x="2101" y="1461" id="5239" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="293" y="748" id="5427" />
+<P2  x="293" y="752" id="5418" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5460" >
-<cdparam x="2158" y="1460" />
+<CONNECTOR type="115" id="5473" >
+<cdparam x="607" y="580" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2141" y="1393" id="4602" />
-<P2  x="2178" y="1416" id="5334" />
+<infoparam name="connector from read channel to send event" value="null" />
+<P1  x="591" y="458" id="5433" />
+<P2  x="563" y="468" id="5362" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5461" >
-<cdparam x="1688" y="890" />
+<CONNECTOR type="115" id="5474" >
+<cdparam x="606" y="734" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1688" y="890" id="4657" />
-<P2  x="1607" y="996" id="4648" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="591" y="597" id="5430" />
+<P2  x="591" y="604" id="5435" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5462" >
-<cdparam x="1768" y="890" />
+<CONNECTOR type="115" id="5475" >
+<cdparam x="609" y="427" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1768" y="890" id="4658" />
-<P2  x="2277" y="941" id="4608" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="591" y="415" id="5439" />
+<P2  x="591" y="428" id="5432" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5463" >
-<cdparam x="2317" y="966" />
+<CONNECTOR type="115" id="5476" >
+<cdparam x="606" y="796" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="2317" y="966" id="4610" />
-<P2  x="2317" y="1019" id="4670" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="591" y="634" id="5436" />
+<P2  x="591" y="755" id="5413" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5464" >
-<cdparam x="2341" y="1147" />
+<CONNECTOR type="115" id="5477" >
+<cdparam x="298" y="173" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to send event" value="null" />
-<P1  x="2317" y="1147" id="5305" />
-<P2  x="2317" y="1194" id="5329" />
+<infoparam name="connector from send request to for loop" value="null" />
+<P1  x="298" y="173" id="5411" />
+<P2  x="302" y="196" id="5373" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5465" >
-<cdparam x="2341" y="1224" />
+<CONNECTOR type="115" id="5478" >
+<cdparam x="328" y="291" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to send event" value="null" />
-<P1  x="2317" y="1224" id="5330" />
-<P2  x="2317" y="1262" id="5324" />
+<infoparam name="connector from for loop to stop state" value="null" />
+<P1  x="298" y="286" id="5443" />
+<P2  x="285" y="304" id="5445" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5466" >
-<cdparam x="1731" y="1051" />
+<CONNECTOR type="115" id="5479" >
+<cdparam x="385" y="404" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to choice" value="null" />
-<P1  x="1728" y="1051" id="5141" />
-<P2  x="1728" y="1081" id="5341" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="399" y="300" id="5448" />
+<P2  x="293" y="380" id="5423" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5467" >
-<cdparam x="1647" y="1021" />
+<CONNECTOR type="115" id="5480" >
+<cdparam x="533" y="562" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1647" y="1021" id="4650" />
-<P2  x="1647" y="1052" id="5332" />
+<infoparam name="connector from select to wait event" value="null" />
+<P1  x="479" y="300" id="5449" />
+<P2  x="591" y="385" id="5438" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5468" >
-<cdparam x="1826" y="1324" />
+<CONNECTOR type="115" id="5481" >
+<cdparam x="391" y="341" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to action state" value="null" />
-<P1  x="1826" y="1324" id="4627" />
-<P2  x="1826" y="1344" id="5227" />
+<infoparam name="connector from for loop to select" value="null" />
+<P1  x="361" y="275" id="5442" />
+<P2  x="439" y="275" id="5447" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5469" >
-<cdparam x="1826" y="1374" />
+<CONNECTOR type="115" id="5482" >
+<cdparam x="164" y="262" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1826" y="1374" id="5228" />
-<P2  x="1826" y="1452" id="5230" />
+<infoparam name="connector from wait event to send event" value="null" />
+<P1  x="166" y="262" id="5385" />
+<P2  x="166" y="303" id="5387" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5470" >
-<cdparam x="1786" y="1284" />
+<CONNECTOR type="115" id="5483" >
+<cdparam x="166" y="207" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="1786" y="1284" id="4625" />
-<P2  x="1740" y="1330" id="5225" />
+<infoparam name="connector from send event to wait event" value="null" />
+<P1  x="166" y="207" id="5382" />
+<P2  x="166" y="232" id="5384" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5471" >
-<cdparam x="1920" y="1436" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1920" y="1436" id="5233" />
-<P2  x="1920" y="1476" id="5235" />
+<CONNECTOR type="115" id="5484" >
+<cdparam x="439" y="340" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="439" y="340" id="5450" />
+<P2  x="440" y="359" id="5370" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5472" >
-<cdparam x="1996" y="1518" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="1996" y="1518" id="5245" />
-<P2  x="1996" y="1538" id="5237" />
+<CONNECTOR type="115" id="5485" >
+<cdparam x="440" y="389" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="440" y="389" id="5371" />
+<P2  x="440" y="403" id="5368" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5473" >
-<cdparam x="2036" y="1361" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="2036" y="1361" id="4618" />
-<P2  x="2101" y="1368" id="4600" />
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1013" id="5489" >
+<cdparam x="505" y="259" />
+<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="5487" />
+<TGConnectingPoint num="1" id="5488" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="5486" >
+<father id="5489" num="0" />
+<cdparam x="520" y="279" />
+<sizeparam width="16" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="10" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1010" id="5492" >
+<cdparam x="479" y="129" />
+<sizeparam width="66" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="opened() " />
+<TGConnectingPoint num="0" id="5490" />
+<TGConnectingPoint num="1" id="5491" />
+<extraparam>
+<Data eventName="opened" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="5495" >
+<cdparam x="449" y="192" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="connectionOpened()" />
+<TGConnectingPoint num="0" id="5493" />
+<TGConnectingPoint num="1" id="5494" />
+<extraparam>
+<Data eventName="connectionOpened" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1012" id="5503" >
+<cdparam x="495" y="514" />
+<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="5499" />
+<TGConnectingPoint num="1" id="5500" />
+<TGConnectingPoint num="2" id="5501" />
+<TGConnectingPoint num="3" id="5502" />
+</COMPONENT>
+<SUBCOMPONENT type="-1" id="5496" >
+<father id="5503" num="0" />
+<cdparam x="470" y="524" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5497" >
+<father id="5503" num="1" />
+<cdparam x="530" y="524" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="5498" >
+<father id="5503" num="2" />
+<cdparam x="515" y="559" />
+<sizeparam width="12" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1000" id="5505" >
+<cdparam x="498" y="33" />
+<sizeparam width="15" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="5504" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="5508" >
+<cdparam x="482" y="71" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="open()" />
+<TGConnectingPoint num="0" id="5506" />
+<TGConnectingPoint num="1" id="5507" />
+<extraparam>
+<Data eventName="open" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="5511" >
+<cdparam x="469" y="353" />
+<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="write channel" value="fromAtoT(1)" />
+<TGConnectingPoint num="0" id="5509" />
+<TGConnectingPoint num="1" id="5510" />
+<extraparam>
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="5514" >
+<cdparam x="471" y="399" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="send_TCP()" />
+<TGConnectingPoint num="0" id="5512" />
+<TGConnectingPoint num="1" id="5513" />
+<accessibility />
+<extraparam>
+<Data eventName="send_TCP" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="5516" >
+<cdparam x="577" y="648" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5515" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="5519" >
+<cdparam x="563" y="589" />
+<sizeparam width="49" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="abort()" />
+<TGConnectingPoint num="0" id="5517" />
+<TGConnectingPoint num="1" id="5518" />
+<extraparam>
+<Data eventName="abort" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="5522" >
+<cdparam x="410" y="597" />
+<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="close()" />
+<TGConnectingPoint num="0" id="5520" />
+<TGConnectingPoint num="1" id="5521" />
+<extraparam>
+<Data eventName="close" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="5524" >
+<cdparam x="423" y="646" />
+<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="5523" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="5525" >
+<cdparam x="510" y="294" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="510" y="294" id="5488" />
+<P2  x="509" y="348" id="5509" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5474" >
-<cdparam x="1866" y="1284" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1866" y="1284" id="4626" />
-<P2  x="1996" y="1336" id="4616" />
+<CONNECTOR type="115" id="5526" >
+<cdparam x="508" y="424" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="508" y="424" id="5513" />
+<P2  x="510" y="504" id="5499" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5475" >
-<cdparam x="2341" y="1292" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2317" y="1292" id="5325" />
-<P2  x="2317" y="1319" id="5327" />
+<CONNECTOR type="115" id="5527" >
+<cdparam x="512" y="154" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="512" y="154" id="5491" />
+<P2  x="511" y="187" id="5493" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5476" >
-<cdparam x="2217" y="1449" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from action state to stop state" value="null" />
-<P1  x="2237" y="1449" id="5302" />
-<P2  x="2237" y="1478" id="5287" />
+<CONNECTOR type="115" id="5528" >
+<cdparam x="594" y="221" />
+<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="connector" value="null" />
+<P1  x="511" y="217" id="5494" />
+<P2  x="510" y="254" id="5487" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5477" >
-<cdparam x="2277" y="1006" />
+<CONNECTOR type="115" id="5529" >
+<cdparam x="506" y="36" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to stop state" value="null" />
-<P1  x="2277" y="1006" id="4611" />
-<P2  x="2277" y="1034" id="5336" />
+<infoparam name="connector from start state to send event" value="null" />
+<P1  x="505" y="53" id="5504" />
+<P2  x="505" y="66" id="5506" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5478" >
-<cdparam x="1642" y="1429" />
+<CONNECTOR type="115" id="5530" >
+<cdparam x="508" y="154" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from write channel to stop state" value="null" />
-<P1  x="1641" y="1429" id="5223" />
-<P2  x="1641" y="1463" id="5180" />
+<infoparam name="connector from send event to write channel" value="null" />
+<P1  x="505" y="96" id="5507" />
+<P2  x="512" y="124" id="5490" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5479" >
-<cdparam x="1529" y="1157" />
+<CONNECTOR type="115" id="5531" >
+<cdparam x="509" y="397" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector from write channel to send event" value="null" />
-<P1  x="1529" y="1157" id="5135" />
-<P2  x="1529" y="1187" id="5338" />
+<P1  x="509" y="378" id="5510" />
+<P2  x="508" y="394" id="5512" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5480" >
-<cdparam x="1529" y="1217" />
+<CONNECTOR type="115" id="5532" >
+<cdparam x="587" y="614" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from send event to execI" value="null" />
-<P1  x="1529" y="1217" id="5339" />
-<P2  x="1529" y="1249" id="4638" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="587" y="614" id="5518" />
+<P2  x="587" y="643" id="5515" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5481" >
-<cdparam x="1691" y="1156" />
+<CONNECTOR type="115" id="5533" >
+<cdparam x="471" y="608" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to execI" value="null" />
-<P1  x="1688" y="1156" id="4633" />
-<P2  x="1641" y="1230" id="4662" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="470" y="529" id="5500" />
+<P2  x="433" y="592" id="5520" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5482" >
-<cdparam x="1771" y="1156" />
+<CONNECTOR type="115" id="5534" >
+<cdparam x="433" y="622" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from choice to choice" value="null" />
-<P1  x="1768" y="1156" id="4634" />
-<P2  x="1826" y="1259" id="4624" />
+<infoparam name="connector from send event to stop state" value="null" />
+<P1  x="433" y="622" id="5521" />
+<P2  x="433" y="641" id="5523" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="5483" >
-<cdparam x="1731" y="1111" />
+<CONNECTOR type="115" id="5535" >
+<cdparam x="551" y="608" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<infoparam name="connector from read channel to choice" value="null" />
-<P1  x="1728" y="1111" id="5342" />
-<P2  x="1728" y="1131" id="4632" />
+<infoparam name="connector from choice to send event" value="null" />
+<P1  x="550" y="529" id="5501" />
+<P2  x="587" y="584" id="5517" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
diff --git a/src/main/java/ui/MainGUI.java b/src/main/java/ui/MainGUI.java
index bf3fd49ab2..76f8ebcbcf 100644
--- a/src/main/java/ui/MainGUI.java
+++ b/src/main/java/ui/MainGUI.java
@@ -3044,7 +3044,13 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
 
         createFileDialog();
 
-        return mainSave();
+        boolean b = mainSave();
+
+        if (b) {
+            updateLastOpenFile(file);
+        }
+
+        return b;
 
     }
 
@@ -3065,6 +3071,7 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
             dir = null;
             config = null;
             SpecConfigTTool.setBasicConfig(systemcOn);
+            updateLastOpenFile(file);
         }
         return b;
     }
diff --git a/src/main/java/ui/window/JDialogSystemCGeneration.java b/src/main/java/ui/window/JDialogSystemCGeneration.java
index 64f3582be3..fd49da62f7 100644
--- a/src/main/java/ui/window/JDialogSystemCGeneration.java
+++ b/src/main/java/ui/window/JDialogSystemCGeneration.java
@@ -922,7 +922,11 @@ public class JDialogSystemCGeneration extends JDialog implements ActionListener,
 
         rshc.writeCommandMessages(textAreaWriter);
 
-        return okReturnCode == null || okReturnCode.equals(rshc.getProcessReturnCode());
+        try {
+            return ((okReturnCode == null) || okReturnCode.equals(rshc.getProcessReturnCode()));
+        } catch (Exception e) {
+            return false;
+        }
     }
     //
     //    protected void checkMode() {
-- 
GitLab