From 61babb5de1720ff5f7a00472e451d3c1f1b8ef08 Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paristech.fr>
Date: Tue, 25 Sep 2018 18:11:41 +0200
Subject: [PATCH] ADding simulation trace tree

---
 executablecode/Makefile.src                   |     2 +-
 modeling/AVATAR/PressureController.xml        |  2724 +--
 modeling/DIPLODOCUS/SmartCardProtocol.xml     |   241 +-
 modeling/DIPLODOCUS/SmartCardProtocol_sec.xml | 14388 ++++++++--------
 .../modelchecker/AvatarModelChecker.java      |     2 +-
 src/main/java/common/SpecConfigTTool.java     |     4 +-
 src/main/java/ui/ADDPanel.java                |     0
 .../java/ui/ActionStateErrorHighlight.java    |     0
 .../ui/ActivityDiagram2TMLTranslator.java     |     2 +-
 .../ui/ActivityDiagramPanelInterface.java     |     0
 src/main/java/ui/AnalysisPanel.java           |     0
 src/main/java/ui/AnalysisPanelTranslator.java |     0
 src/main/java/ui/AnalysisSyntaxException.java |     0
 src/main/java/ui/ArtifactTClassGate.java      |     0
 src/main/java/ui/AttackTreePanel.java         |     0
 src/main/java/ui/AvatarAnalysisPanel.java     |     0
 src/main/java/ui/AvatarMethodologyPanel.java  |     0
 src/main/java/ui/AvatarRequirementPanel.java  |     0
 src/main/java/ui/BasicErrorHighlight.java     |     0
 src/main/java/ui/CDElement.java               |     0
 src/main/java/ui/CheckableAccessibility.java  |     0
 src/main/java/ui/CheckableInvariant.java      |     0
 .../java/ui/ClassDiagramPanelInterface.java   |     0
 src/main/java/ui/ColorManager.java            |     0
 .../java/ui/ComponentPluginInterface.java     |     0
 .../java/ui/CompositionOperatorInterface.java |     0
 src/main/java/ui/CorrespondanceTGElement.java |     0
 src/main/java/ui/DeploymentPanel.java         |     0
 src/main/java/ui/DesignPanel.java             |     0
 src/main/java/ui/DesignPanelTranslator.java   |     0
 .../java/ui/DiplodocusMethodologyPanel.java   |     0
 src/main/java/ui/EBRDDTranslator.java         |     0
 src/main/java/ui/EmbeddedComment.java         |     0
 src/main/java/ui/ErrorGUI.java                |     0
 src/main/java/ui/ErrorHighlight.java          |     0
 src/main/java/ui/FaultTreePanel.java          |     0
 src/main/java/ui/FormatManager.java           |     0
 src/main/java/ui/GNCModeling.java             |     0
 src/main/java/ui/GProactiveDesign.java        |     0
 src/main/java/ui/GTMLModeling.java            |     0
 src/main/java/ui/GTURTLEModeling.java         |    50 +-
 src/main/java/ui/GTURTLEOSModeling.java       |     0
 .../java/ui/HiddenInternalComponents.java     |     0
 src/main/java/ui/Invariant.java               |     0
 src/main/java/ui/InvariantSynchro.java        |     0
 src/main/java/ui/JMenuBarTurtle.java          |     0
 src/main/java/ui/JScrollDiagramPanel.java     |     0
 src/main/java/ui/JTGComponentButton.java      |     0
 src/main/java/ui/JToolBarMainTurtle.java      |     0
 src/main/java/ui/LRArtifactTClassGate.java    |     0
 src/main/java/ui/MSCDrawer.java               |     0
 src/main/java/ui/MainGUI.java                 |    65 +
 .../java/ui/MalformedModelingException.java   |     0
 .../java/ui/MalformedTMLDesignException.java  |     0
 .../ui/MalformedTURTLEModelingException.java  |     0
 src/main/java/ui/ModeManager.java             |     0
 src/main/java/ui/NCPanel.java                 |     0
 src/main/java/ui/NoComponentException.java    |     0
 src/main/java/ui/PartOfHighInvariant.java     |     0
 src/main/java/ui/PartOfInvariant.java         |     0
 src/main/java/ui/PostJavaCode.java            |     0
 src/main/java/ui/PreJavaCode.java             |     0
 src/main/java/ui/ProactiveDesignPanel.java    |     0
 src/main/java/ui/RequirementPanel.java        |     0
 src/main/java/ui/ScalableTGComponent.java     |     0
 src/main/java/ui/SimulationTrace.java         |    95 +
 src/main/java/ui/SpecificActionAfterAdd.java  |     0
 src/main/java/ui/SpecificActionAfterMove.java |     0
 src/main/java/ui/StoppableGUIElement.java     |     0
 src/main/java/ui/SwallowTGComponent.java      |     0
 src/main/java/ui/SwallowedTGComponent.java    |     0
 .../java/ui/SysmlsecMethodologyPanel.java     |     0
 src/main/java/ui/TAction.java                 |     0
 src/main/java/ui/TAttribute.java              |     0
 src/main/java/ui/TClassAndGateDS.java         |     0
 src/main/java/ui/TClassInterface.java         |     0
 src/main/java/ui/TClassSynchroInterface.java  |     0
 src/main/java/ui/TDPWithAttributes.java       |     0
 src/main/java/ui/TDiagramMouseManager.java    |     0
 src/main/java/ui/TDiagramPanel.java           |     0
 src/main/java/ui/TGAutoAdjust.java            |     0
 src/main/java/ui/TGCAttributeBox.java         |     0
 src/main/java/ui/TGCNote.java                 |     0
 src/main/java/ui/TGCOneLineText.java          |     0
 src/main/java/ui/TGCPanelInfo.java            |     0
 src/main/java/ui/TGCPointOfConnector.java     |     0
 src/main/java/ui/TGCScalableOneLineText.java  |     0
 .../ui/TGCScalableWithInternalComponent.java  |     0
 .../TGCScalableWithoutInternalComponent.java  |     0
 ...leWithoutInternalComponentOneLineText.java |     0
 src/main/java/ui/TGCTimeInterval.java         |     0
 .../java/ui/TGCWithInternalComponent.java     |     0
 src/main/java/ui/TGCWithOneLineText.java      |     0
 .../java/ui/TGCWithoutInternalComponent.java  |     0
 src/main/java/ui/TGComponent.java             |     0
 .../java/ui/TGComponentAndUPPAALQuery.java    |     0
 src/main/java/ui/TGComponentPlugin.java       |     0
 src/main/java/ui/TGConnectingPoint.java       |     0
 .../java/ui/TGConnectingPointComment.java     |     0
 src/main/java/ui/TGConnectingPointGroup.java  |     0
 src/main/java/ui/TGConnectingPointTmp.java    |     0
 .../java/ui/TGConnectingPointTwoFathers.java  |     0
 .../java/ui/TGConnectingPointWidthHeight.java |     0
 src/main/java/ui/TGConnector.java             |     0
 src/main/java/ui/TGConnectorAttribute.java    |     0
 .../TGConnectorBetweenElementsInterface.java  |     0
 src/main/java/ui/TGConnectorComment.java      |     0
 src/main/java/ui/TGConnectorFullArrow.java    |     0
 ...GConnectorWithCommentConnectionPoints.java |     0
 src/main/java/ui/TGState.java                 |     0
 src/main/java/ui/TMLArchiPanel.java           |     0
 .../java/ui/TMLCommunicationPatternPanel.java |     0
 src/main/java/ui/TMLComponentDesignPanel.java |     0
 src/main/java/ui/TMLDesignPanel.java          |     0
 src/main/java/ui/TMLTaskInterface.java        |     0
 src/main/java/ui/TOneAttribute.java           |     0
 src/main/java/ui/TToolBar.java                |     0
 src/main/java/ui/TToolUpdater.java            |     0
 src/main/java/ui/TTwoAttributes.java          |     0
 src/main/java/ui/TType.java                   |     0
 .../java/ui/TURTLEDesignPanelInterface.java   |     0
 src/main/java/ui/TURTLEModelChecker.java      |     0
 src/main/java/ui/TURTLEModelingDrawer.java    |     0
 src/main/java/ui/TURTLEOSDesignPanel.java     |     0
 src/main/java/ui/TURTLEPanel.java             |     0
 .../java/ui/TURTLEPanelPopupListener.java     |     0
 src/main/java/ui/ThreadGUIElement.java        |     0
 src/main/java/ui/UICheckingError.java         |     0
 .../java/ui/VectorLRArtifactTClassGate.java   |     0
 src/main/java/ui/WithAttributes.java          |     0
 src/main/java/ui/ZoomGraphics.java            |     0
 .../JFrameInteractiveSimulation.java          |    25 +-
 src/main/java/ui/tree/DiagramTreeModel.java   |     4 +
 .../java/ui/tree/DiagramTreeRenderer.java     |     7 +
 src/main/java/ui/tree/JDiagramTree.java       |    68 +-
 .../java/ui/tree/SimulationTraceTree.java     |    96 +
 src/main/java/ui/tree/ValidationDataTree.java |    16 +-
 .../ui/window/JDialogSystemCGeneration.java   |     2 +-
 .../window/JFramePowerManagementAnalysis.java |     2 +-
 139 files changed, 9225 insertions(+), 8568 deletions(-)
 mode change 100755 => 100644 src/main/java/ui/ADDPanel.java
 mode change 100755 => 100644 src/main/java/ui/ActionStateErrorHighlight.java
 mode change 100755 => 100644 src/main/java/ui/ActivityDiagramPanelInterface.java
 mode change 100755 => 100644 src/main/java/ui/AnalysisPanel.java
 mode change 100755 => 100644 src/main/java/ui/AnalysisPanelTranslator.java
 mode change 100755 => 100644 src/main/java/ui/AnalysisSyntaxException.java
 mode change 100755 => 100644 src/main/java/ui/ArtifactTClassGate.java
 mode change 100755 => 100644 src/main/java/ui/AttackTreePanel.java
 mode change 100755 => 100644 src/main/java/ui/AvatarAnalysisPanel.java
 mode change 100755 => 100644 src/main/java/ui/AvatarMethodologyPanel.java
 mode change 100755 => 100644 src/main/java/ui/AvatarRequirementPanel.java
 mode change 100755 => 100644 src/main/java/ui/BasicErrorHighlight.java
 mode change 100755 => 100644 src/main/java/ui/CDElement.java
 mode change 100755 => 100644 src/main/java/ui/CheckableAccessibility.java
 mode change 100755 => 100644 src/main/java/ui/CheckableInvariant.java
 mode change 100755 => 100644 src/main/java/ui/ClassDiagramPanelInterface.java
 mode change 100755 => 100644 src/main/java/ui/ColorManager.java
 mode change 100755 => 100644 src/main/java/ui/ComponentPluginInterface.java
 mode change 100755 => 100644 src/main/java/ui/CompositionOperatorInterface.java
 mode change 100755 => 100644 src/main/java/ui/CorrespondanceTGElement.java
 mode change 100755 => 100644 src/main/java/ui/DeploymentPanel.java
 mode change 100755 => 100644 src/main/java/ui/DesignPanel.java
 mode change 100755 => 100644 src/main/java/ui/DesignPanelTranslator.java
 mode change 100755 => 100644 src/main/java/ui/DiplodocusMethodologyPanel.java
 mode change 100755 => 100644 src/main/java/ui/EBRDDTranslator.java
 mode change 100755 => 100644 src/main/java/ui/EmbeddedComment.java
 mode change 100755 => 100644 src/main/java/ui/ErrorGUI.java
 mode change 100755 => 100644 src/main/java/ui/ErrorHighlight.java
 mode change 100755 => 100644 src/main/java/ui/FaultTreePanel.java
 mode change 100755 => 100644 src/main/java/ui/FormatManager.java
 mode change 100755 => 100644 src/main/java/ui/GNCModeling.java
 mode change 100755 => 100644 src/main/java/ui/GProactiveDesign.java
 mode change 100755 => 100644 src/main/java/ui/GTMLModeling.java
 mode change 100755 => 100644 src/main/java/ui/GTURTLEOSModeling.java
 mode change 100755 => 100644 src/main/java/ui/HiddenInternalComponents.java
 mode change 100755 => 100644 src/main/java/ui/Invariant.java
 mode change 100755 => 100644 src/main/java/ui/InvariantSynchro.java
 mode change 100755 => 100644 src/main/java/ui/JMenuBarTurtle.java
 mode change 100755 => 100644 src/main/java/ui/JScrollDiagramPanel.java
 mode change 100755 => 100644 src/main/java/ui/JTGComponentButton.java
 mode change 100755 => 100644 src/main/java/ui/JToolBarMainTurtle.java
 mode change 100755 => 100644 src/main/java/ui/LRArtifactTClassGate.java
 mode change 100755 => 100644 src/main/java/ui/MSCDrawer.java
 mode change 100755 => 100644 src/main/java/ui/MalformedModelingException.java
 mode change 100755 => 100644 src/main/java/ui/MalformedTMLDesignException.java
 mode change 100755 => 100644 src/main/java/ui/MalformedTURTLEModelingException.java
 mode change 100755 => 100644 src/main/java/ui/ModeManager.java
 mode change 100755 => 100644 src/main/java/ui/NCPanel.java
 mode change 100755 => 100644 src/main/java/ui/NoComponentException.java
 mode change 100755 => 100644 src/main/java/ui/PartOfHighInvariant.java
 mode change 100755 => 100644 src/main/java/ui/PartOfInvariant.java
 mode change 100755 => 100644 src/main/java/ui/PostJavaCode.java
 mode change 100755 => 100644 src/main/java/ui/PreJavaCode.java
 mode change 100755 => 100644 src/main/java/ui/ProactiveDesignPanel.java
 mode change 100755 => 100644 src/main/java/ui/RequirementPanel.java
 mode change 100755 => 100644 src/main/java/ui/ScalableTGComponent.java
 create mode 100644 src/main/java/ui/SimulationTrace.java
 mode change 100755 => 100644 src/main/java/ui/SpecificActionAfterAdd.java
 mode change 100755 => 100644 src/main/java/ui/SpecificActionAfterMove.java
 mode change 100755 => 100644 src/main/java/ui/StoppableGUIElement.java
 mode change 100755 => 100644 src/main/java/ui/SwallowTGComponent.java
 mode change 100755 => 100644 src/main/java/ui/SwallowedTGComponent.java
 mode change 100755 => 100644 src/main/java/ui/SysmlsecMethodologyPanel.java
 mode change 100755 => 100644 src/main/java/ui/TAction.java
 mode change 100755 => 100644 src/main/java/ui/TAttribute.java
 mode change 100755 => 100644 src/main/java/ui/TClassAndGateDS.java
 mode change 100755 => 100644 src/main/java/ui/TClassInterface.java
 mode change 100755 => 100644 src/main/java/ui/TClassSynchroInterface.java
 mode change 100755 => 100644 src/main/java/ui/TDPWithAttributes.java
 mode change 100755 => 100644 src/main/java/ui/TDiagramMouseManager.java
 mode change 100755 => 100644 src/main/java/ui/TDiagramPanel.java
 mode change 100755 => 100644 src/main/java/ui/TGAutoAdjust.java
 mode change 100755 => 100644 src/main/java/ui/TGCAttributeBox.java
 mode change 100755 => 100644 src/main/java/ui/TGCNote.java
 mode change 100755 => 100644 src/main/java/ui/TGCOneLineText.java
 mode change 100755 => 100644 src/main/java/ui/TGCPanelInfo.java
 mode change 100755 => 100644 src/main/java/ui/TGCPointOfConnector.java
 mode change 100755 => 100644 src/main/java/ui/TGCScalableOneLineText.java
 mode change 100755 => 100644 src/main/java/ui/TGCScalableWithInternalComponent.java
 mode change 100755 => 100644 src/main/java/ui/TGCScalableWithoutInternalComponent.java
 mode change 100755 => 100644 src/main/java/ui/TGCScalableWithoutInternalComponentOneLineText.java
 mode change 100755 => 100644 src/main/java/ui/TGCTimeInterval.java
 mode change 100755 => 100644 src/main/java/ui/TGCWithInternalComponent.java
 mode change 100755 => 100644 src/main/java/ui/TGCWithOneLineText.java
 mode change 100755 => 100644 src/main/java/ui/TGCWithoutInternalComponent.java
 mode change 100755 => 100644 src/main/java/ui/TGComponent.java
 mode change 100755 => 100644 src/main/java/ui/TGComponentAndUPPAALQuery.java
 mode change 100755 => 100644 src/main/java/ui/TGComponentPlugin.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectingPoint.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectingPointComment.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectingPointGroup.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectingPointTmp.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectingPointTwoFathers.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectingPointWidthHeight.java
 mode change 100755 => 100644 src/main/java/ui/TGConnector.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectorAttribute.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectorBetweenElementsInterface.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectorComment.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectorFullArrow.java
 mode change 100755 => 100644 src/main/java/ui/TGConnectorWithCommentConnectionPoints.java
 mode change 100755 => 100644 src/main/java/ui/TGState.java
 mode change 100755 => 100644 src/main/java/ui/TMLArchiPanel.java
 mode change 100755 => 100644 src/main/java/ui/TMLCommunicationPatternPanel.java
 mode change 100755 => 100644 src/main/java/ui/TMLComponentDesignPanel.java
 mode change 100755 => 100644 src/main/java/ui/TMLDesignPanel.java
 mode change 100755 => 100644 src/main/java/ui/TMLTaskInterface.java
 mode change 100755 => 100644 src/main/java/ui/TOneAttribute.java
 mode change 100755 => 100644 src/main/java/ui/TToolBar.java
 mode change 100755 => 100644 src/main/java/ui/TToolUpdater.java
 mode change 100755 => 100644 src/main/java/ui/TTwoAttributes.java
 mode change 100755 => 100644 src/main/java/ui/TType.java
 mode change 100755 => 100644 src/main/java/ui/TURTLEDesignPanelInterface.java
 mode change 100755 => 100644 src/main/java/ui/TURTLEModelChecker.java
 mode change 100755 => 100644 src/main/java/ui/TURTLEModelingDrawer.java
 mode change 100755 => 100644 src/main/java/ui/TURTLEOSDesignPanel.java
 mode change 100755 => 100644 src/main/java/ui/TURTLEPanel.java
 mode change 100755 => 100644 src/main/java/ui/TURTLEPanelPopupListener.java
 mode change 100755 => 100644 src/main/java/ui/ThreadGUIElement.java
 mode change 100755 => 100644 src/main/java/ui/UICheckingError.java
 mode change 100755 => 100644 src/main/java/ui/VectorLRArtifactTClassGate.java
 mode change 100755 => 100644 src/main/java/ui/WithAttributes.java
 mode change 100755 => 100644 src/main/java/ui/ZoomGraphics.java
 create mode 100755 src/main/java/ui/tree/SimulationTraceTree.java

diff --git a/executablecode/Makefile.src b/executablecode/Makefile.src
index 4f2889e20c..318ad1aba0 100755
--- a/executablecode/Makefile.src
+++ b/executablecode/Makefile.src
@@ -1 +1 @@
-SRCS = generated_src/main.c generated_src/AvatarSignal.c generated_src/AvatarRelation.c generated_src/AvatarElement.c generated_src/AvatarMethod.c generated_src/AvatarAction.c generated_src/AvatarGuard.c generated_src/AvatarTransition.c generated_src/AvatarState.c generated_src/AvatarStateMachine.c generated_src/AvatarPragma.c generated_src/AvatarConstant.c generated_src/AvatarAttribute.c generated_src/AvatarBlock.c generated_src/AvatarSpecification.c 
\ No newline at end of file
+SRCS = generated_src/main.c generated_src/AlarmActuator.c generated_src/PressureSensor.c generated_src/PressureController.c generated_src/AlarmManager.c generated_src/MainController.c generated_src/Timer__alarmTimer__AlarmManager.c 
\ No newline at end of file
diff --git a/modeling/AVATAR/PressureController.xml b/modeling/AVATAR/PressureController.xml
index e85f09ff6d..7e83a96bbf 100644
--- a/modeling/AVATAR/PressureController.xml
+++ b/modeling/AVATAR/PressureController.xml
@@ -1,9 +1,9 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
 
-<TURTLEGMODELING version="0.99-beta4">
+<TURTLEGMODELING version="1.0beta">
 
 <Modeling type="AVATAR Design" nameTab="Design" >
-<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" >
+<AVATARBlockDiagramPanel name="Block Diagram" minX="10" maxX="2500" minY="10" maxY="1500" zoom="1.0" >
 <MainCode value="#include &lt;sys/types.h&gt;"/>
 <MainCode value="#include &lt;sys/socket.h&gt;"/>
 <MainCode value="#include &lt;netinet/in.h&gt;"/>
@@ -94,7 +94,7 @@
 <MainCode value=""/>
 <MainCode value="}"/>
 <Optimized value="true" />
-<Validated value="" />
+<Validated value="AlarmActuator;PressureSensor;PressureController;AlarmManager;MainController;" />
 <Ignored value="" />
 
 <CONNECTOR type="5002" id="2" >
@@ -102,8 +102,8 @@
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
 <TGConnectingPoint num="0" id="1" />
-<P1  x="964" y="240" id="103" />
-<P2  x="1088" y="240" id="27" />
+<P1  x="964" y="240" id="86" />
+<P2  x="1088" y="240" id="10" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <isd value="in alarmOff()" />
@@ -118,8 +118,8 @@
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
 <TGConnectingPoint num="0" id="3" />
-<P1  x="659" y="240" id="78" />
-<P2  x="714" y="240" id="102" />
+<P1  x="659" y="240" id="61" />
+<P2  x="714" y="240" id="85" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <isd value="in highPressure()" />
@@ -132,8 +132,8 @@
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="" />
 <TGConnectingPoint num="0" id="5" />
-<P1  x="325" y="241" id="53" />
-<P2  x="409" y="240" id="77" />
+<P1  x="325" y="241" id="36" />
+<P2  x="409" y="240" id="60" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <isd value="in pressureValue(int value)" />
@@ -141,37 +141,38 @@
 <FIFOType asynchronous="false" size="1" blocking="false" private="true" broadcast="false" lossy="false" />
 </extraparam>
 </CONNECTOR>
-<COMPONENT type="5000" id="48" >
+<COMPONENT type="5000" id="31" >
 <cdparam x="1088" y="140" />
 <sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Block0" value="AlarmActuator" />
-<TGConnectingPoint num="0" id="24" />
-<TGConnectingPoint num="1" id="25" />
-<TGConnectingPoint num="2" id="26" />
-<TGConnectingPoint num="3" id="27" />
-<TGConnectingPoint num="4" id="28" />
-<TGConnectingPoint num="5" id="29" />
-<TGConnectingPoint num="6" id="30" />
-<TGConnectingPoint num="7" id="31" />
-<TGConnectingPoint num="8" id="32" />
-<TGConnectingPoint num="9" id="33" />
-<TGConnectingPoint num="10" id="34" />
-<TGConnectingPoint num="11" id="35" />
-<TGConnectingPoint num="12" id="36" />
-<TGConnectingPoint num="13" id="37" />
-<TGConnectingPoint num="14" id="38" />
-<TGConnectingPoint num="15" id="39" />
-<TGConnectingPoint num="16" id="40" />
-<TGConnectingPoint num="17" id="41" />
-<TGConnectingPoint num="18" id="42" />
-<TGConnectingPoint num="19" id="43" />
-<TGConnectingPoint num="20" id="44" />
-<TGConnectingPoint num="21" id="45" />
-<TGConnectingPoint num="22" id="46" />
-<TGConnectingPoint num="23" id="47" />
+<TGConnectingPoint num="0" id="7" />
+<TGConnectingPoint num="1" id="8" />
+<TGConnectingPoint num="2" id="9" />
+<TGConnectingPoint num="3" id="10" />
+<TGConnectingPoint num="4" id="11" />
+<TGConnectingPoint num="5" id="12" />
+<TGConnectingPoint num="6" id="13" />
+<TGConnectingPoint num="7" id="14" />
+<TGConnectingPoint num="8" id="15" />
+<TGConnectingPoint num="9" id="16" />
+<TGConnectingPoint num="10" id="17" />
+<TGConnectingPoint num="11" id="18" />
+<TGConnectingPoint num="12" id="19" />
+<TGConnectingPoint num="13" id="20" />
+<TGConnectingPoint num="14" id="21" />
+<TGConnectingPoint num="15" id="22" />
+<TGConnectingPoint num="16" id="23" />
+<TGConnectingPoint num="17" id="24" />
+<TGConnectingPoint num="18" id="25" />
+<TGConnectingPoint num="19" id="26" />
+<TGConnectingPoint num="20" id="27" />
+<TGConnectingPoint num="21" id="28" />
+<TGConnectingPoint num="22" id="29" />
+<TGConnectingPoint num="23" id="30" />
 <extraparam>
+<blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 <Method value="$setAlarm(bool state)" />
 <Signal value="in alarmOn()" attached="true" />
@@ -190,37 +191,38 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="73" >
+<COMPONENT type="5000" id="56" >
 <cdparam x="90" y="141" />
 <sizeparam width="235" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Block0" value="PressureSensor" />
-<TGConnectingPoint num="0" id="49" />
-<TGConnectingPoint num="1" id="50" />
-<TGConnectingPoint num="2" id="51" />
-<TGConnectingPoint num="3" id="52" />
-<TGConnectingPoint num="4" id="53" />
-<TGConnectingPoint num="5" id="54" />
-<TGConnectingPoint num="6" id="55" />
-<TGConnectingPoint num="7" id="56" />
-<TGConnectingPoint num="8" id="57" />
-<TGConnectingPoint num="9" id="58" />
-<TGConnectingPoint num="10" id="59" />
-<TGConnectingPoint num="11" id="60" />
-<TGConnectingPoint num="12" id="61" />
-<TGConnectingPoint num="13" id="62" />
-<TGConnectingPoint num="14" id="63" />
-<TGConnectingPoint num="15" id="64" />
-<TGConnectingPoint num="16" id="65" />
-<TGConnectingPoint num="17" id="66" />
-<TGConnectingPoint num="18" id="67" />
-<TGConnectingPoint num="19" id="68" />
-<TGConnectingPoint num="20" id="69" />
-<TGConnectingPoint num="21" id="70" />
-<TGConnectingPoint num="22" id="71" />
-<TGConnectingPoint num="23" id="72" />
+<TGConnectingPoint num="0" id="32" />
+<TGConnectingPoint num="1" id="33" />
+<TGConnectingPoint num="2" id="34" />
+<TGConnectingPoint num="3" id="35" />
+<TGConnectingPoint num="4" id="36" />
+<TGConnectingPoint num="5" id="37" />
+<TGConnectingPoint num="6" id="38" />
+<TGConnectingPoint num="7" id="39" />
+<TGConnectingPoint num="8" id="40" />
+<TGConnectingPoint num="9" id="41" />
+<TGConnectingPoint num="10" id="42" />
+<TGConnectingPoint num="11" id="43" />
+<TGConnectingPoint num="12" id="44" />
+<TGConnectingPoint num="13" id="45" />
+<TGConnectingPoint num="14" id="46" />
+<TGConnectingPoint num="15" id="47" />
+<TGConnectingPoint num="16" id="48" />
+<TGConnectingPoint num="17" id="49" />
+<TGConnectingPoint num="18" id="50" />
+<TGConnectingPoint num="19" id="51" />
+<TGConnectingPoint num="20" id="52" />
+<TGConnectingPoint num="21" id="53" />
+<TGConnectingPoint num="22" id="54" />
+<TGConnectingPoint num="23" id="55" />
 <extraparam>
+<blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 <Attribute access="0" id="pressure" value="" type="8" typeOther="" />
 <Attribute access="0" id="branch" value="false" type="4" typeOther="" />
@@ -239,72 +241,74 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="148" >
+<COMPONENT type="5000" id="131" >
 <cdparam x="376" y="69" />
 <sizeparam width="605" height="338" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Block0" value="PressureController" />
-<TGConnectingPoint num="0" id="124" />
-<TGConnectingPoint num="1" id="125" />
-<TGConnectingPoint num="2" id="126" />
-<TGConnectingPoint num="3" id="127" />
-<TGConnectingPoint num="4" id="128" />
-<TGConnectingPoint num="5" id="129" />
-<TGConnectingPoint num="6" id="130" />
-<TGConnectingPoint num="7" id="131" />
-<TGConnectingPoint num="8" id="132" />
-<TGConnectingPoint num="9" id="133" />
-<TGConnectingPoint num="10" id="134" />
-<TGConnectingPoint num="11" id="135" />
-<TGConnectingPoint num="12" id="136" />
-<TGConnectingPoint num="13" id="137" />
-<TGConnectingPoint num="14" id="138" />
-<TGConnectingPoint num="15" id="139" />
-<TGConnectingPoint num="16" id="140" />
-<TGConnectingPoint num="17" id="141" />
-<TGConnectingPoint num="18" id="142" />
-<TGConnectingPoint num="19" id="143" />
-<TGConnectingPoint num="20" id="144" />
-<TGConnectingPoint num="21" id="145" />
-<TGConnectingPoint num="22" id="146" />
-<TGConnectingPoint num="23" id="147" />
+<TGConnectingPoint num="0" id="107" />
+<TGConnectingPoint num="1" id="108" />
+<TGConnectingPoint num="2" id="109" />
+<TGConnectingPoint num="3" id="110" />
+<TGConnectingPoint num="4" id="111" />
+<TGConnectingPoint num="5" id="112" />
+<TGConnectingPoint num="6" id="113" />
+<TGConnectingPoint num="7" id="114" />
+<TGConnectingPoint num="8" id="115" />
+<TGConnectingPoint num="9" id="116" />
+<TGConnectingPoint num="10" id="117" />
+<TGConnectingPoint num="11" id="118" />
+<TGConnectingPoint num="12" id="119" />
+<TGConnectingPoint num="13" id="120" />
+<TGConnectingPoint num="14" id="121" />
+<TGConnectingPoint num="15" id="122" />
+<TGConnectingPoint num="16" id="123" />
+<TGConnectingPoint num="17" id="124" />
+<TGConnectingPoint num="18" id="125" />
+<TGConnectingPoint num="19" id="126" />
+<TGConnectingPoint num="20" id="127" />
+<TGConnectingPoint num="21" id="128" />
+<TGConnectingPoint num="22" id="129" />
+<TGConnectingPoint num="23" id="130" />
 <extraparam>
+<blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="5000" id="98" >
-<father id="148" num="0" />
+<SUBCOMPONENT type="5000" id="81" >
+<father id="131" num="0" />
 <cdparam x="409" y="140" />
 <sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="355" minY="0" maxY="138" />
 <infoparam name="Block0" value="MainController" />
-<TGConnectingPoint num="0" id="74" />
-<TGConnectingPoint num="1" id="75" />
-<TGConnectingPoint num="2" id="76" />
-<TGConnectingPoint num="3" id="77" />
-<TGConnectingPoint num="4" id="78" />
-<TGConnectingPoint num="5" id="79" />
-<TGConnectingPoint num="6" id="80" />
-<TGConnectingPoint num="7" id="81" />
-<TGConnectingPoint num="8" id="82" />
-<TGConnectingPoint num="9" id="83" />
-<TGConnectingPoint num="10" id="84" />
-<TGConnectingPoint num="11" id="85" />
-<TGConnectingPoint num="12" id="86" />
-<TGConnectingPoint num="13" id="87" />
-<TGConnectingPoint num="14" id="88" />
-<TGConnectingPoint num="15" id="89" />
-<TGConnectingPoint num="16" id="90" />
-<TGConnectingPoint num="17" id="91" />
-<TGConnectingPoint num="18" id="92" />
-<TGConnectingPoint num="19" id="93" />
-<TGConnectingPoint num="20" id="94" />
-<TGConnectingPoint num="21" id="95" />
-<TGConnectingPoint num="22" id="96" />
-<TGConnectingPoint num="23" id="97" />
+<TGConnectingPoint num="0" id="57" />
+<TGConnectingPoint num="1" id="58" />
+<TGConnectingPoint num="2" id="59" />
+<TGConnectingPoint num="3" id="60" />
+<TGConnectingPoint num="4" id="61" />
+<TGConnectingPoint num="5" id="62" />
+<TGConnectingPoint num="6" id="63" />
+<TGConnectingPoint num="7" id="64" />
+<TGConnectingPoint num="8" id="65" />
+<TGConnectingPoint num="9" id="66" />
+<TGConnectingPoint num="10" id="67" />
+<TGConnectingPoint num="11" id="68" />
+<TGConnectingPoint num="12" id="69" />
+<TGConnectingPoint num="13" id="70" />
+<TGConnectingPoint num="14" id="71" />
+<TGConnectingPoint num="15" id="72" />
+<TGConnectingPoint num="16" id="73" />
+<TGConnectingPoint num="17" id="74" />
+<TGConnectingPoint num="18" id="75" />
+<TGConnectingPoint num="19" id="76" />
+<TGConnectingPoint num="20" id="77" />
+<TGConnectingPoint num="21" id="78" />
+<TGConnectingPoint num="22" id="79" />
+<TGConnectingPoint num="23" id="80" />
 <extraparam>
+<blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 <Attribute access="0" id="threshold" value="20" type="8" typeOther="" />
 <Attribute access="0" id="currentPressure" value="0" type="8" typeOther="" />
@@ -312,38 +316,39 @@
 <Signal value="out highPressure()" attached="true" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="123" >
-<father id="148" num="1" />
+<SUBCOMPONENT type="5000" id="106" >
+<father id="131" num="1" />
 <cdparam x="714" y="140" />
 <sizeparam width="250" height="200" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="355" minY="0" maxY="138" />
 <infoparam name="Block0" value="AlarmManager" />
-<TGConnectingPoint num="0" id="99" />
-<TGConnectingPoint num="1" id="100" />
-<TGConnectingPoint num="2" id="101" />
-<TGConnectingPoint num="3" id="102" />
-<TGConnectingPoint num="4" id="103" />
-<TGConnectingPoint num="5" id="104" />
-<TGConnectingPoint num="6" id="105" />
-<TGConnectingPoint num="7" id="106" />
-<TGConnectingPoint num="8" id="107" />
-<TGConnectingPoint num="9" id="108" />
-<TGConnectingPoint num="10" id="109" />
-<TGConnectingPoint num="11" id="110" />
-<TGConnectingPoint num="12" id="111" />
-<TGConnectingPoint num="13" id="112" />
-<TGConnectingPoint num="14" id="113" />
-<TGConnectingPoint num="15" id="114" />
-<TGConnectingPoint num="16" id="115" />
-<TGConnectingPoint num="17" id="116" />
-<TGConnectingPoint num="18" id="117" />
-<TGConnectingPoint num="19" id="118" />
-<TGConnectingPoint num="20" id="119" />
-<TGConnectingPoint num="21" id="120" />
-<TGConnectingPoint num="22" id="121" />
-<TGConnectingPoint num="23" id="122" />
+<TGConnectingPoint num="0" id="82" />
+<TGConnectingPoint num="1" id="83" />
+<TGConnectingPoint num="2" id="84" />
+<TGConnectingPoint num="3" id="85" />
+<TGConnectingPoint num="4" id="86" />
+<TGConnectingPoint num="5" id="87" />
+<TGConnectingPoint num="6" id="88" />
+<TGConnectingPoint num="7" id="89" />
+<TGConnectingPoint num="8" id="90" />
+<TGConnectingPoint num="9" id="91" />
+<TGConnectingPoint num="10" id="92" />
+<TGConnectingPoint num="11" id="93" />
+<TGConnectingPoint num="12" id="94" />
+<TGConnectingPoint num="13" id="95" />
+<TGConnectingPoint num="14" id="96" />
+<TGConnectingPoint num="15" id="97" />
+<TGConnectingPoint num="16" id="98" />
+<TGConnectingPoint num="17" id="99" />
+<TGConnectingPoint num="18" id="100" />
+<TGConnectingPoint num="19" id="101" />
+<TGConnectingPoint num="20" id="102" />
+<TGConnectingPoint num="21" id="103" />
+<TGConnectingPoint num="22" id="104" />
+<TGConnectingPoint num="23" id="105" />
 <extraparam>
+<blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
 <Attribute access="0" id="alarmDuration" value="5" type="8" typeOther="" />
 <Attribute access="0" id="alarmTimer" value="" type="9" typeOther="" />
@@ -357,2103 +362,2196 @@
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="AlarmActuator" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="163" >
+<CONNECTOR type="5102" id="146" >
 <cdparam x="582" y="231" />
 <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="158" />
-<TGConnectingPoint num="1" id="159" />
-<TGConnectingPoint num="2" id="160" />
-<TGConnectingPoint num="3" id="161" />
-<TGConnectingPoint num="4" id="162" />
-<P1  x="578" y="231" id="201" />
-<P2  x="610" y="133" id="226" />
+<TGConnectingPoint num="0" id="141" />
+<TGConnectingPoint num="1" id="142" />
+<TGConnectingPoint num="2" id="143" />
+<TGConnectingPoint num="3" id="144" />
+<TGConnectingPoint num="4" id="145" />
+<P1  x="578" y="231" id="184" />
+<P2  x="610" y="133" id="209" />
 <Point x="578" y="251" />
 <Point x="658" y="251" />
 <Point x="658" y="113" />
 <Point x="630" y="113" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="149" >
-<father id="163" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="132" >
+<father id="146" num="0" />
 <cdparam x="578" y="251" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="150" >
-<father id="163" num="1" />
+<SUBCOMPONENT type="-1" id="133" >
+<father id="146" num="1" />
 <cdparam x="658" y="251" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="151" >
-<father id="163" num="2" />
+<SUBCOMPONENT type="-1" id="134" >
+<father id="146" num="2" />
 <cdparam x="658" y="113" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="152" >
-<father id="163" num="3" />
+<SUBCOMPONENT type="-1" id="135" >
+<father id="146" num="3" />
 <cdparam x="630" y="113" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="157" >
-<father id="163" num="4" />
+<SUBCOMPONENT type="-1" id="140" >
+<father id="146" num="4" />
 <cdparam x="666" y="183" />
 <sizeparam width="99" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="153" />
-<TGConnectingPoint num="1" id="154" />
-<TGConnectingPoint num="2" id="155" />
-<TGConnectingPoint num="3" id="156" />
+<TGConnectingPoint num="0" id="136" />
+<TGConnectingPoint num="1" id="137" />
+<TGConnectingPoint num="2" id="138" />
+<TGConnectingPoint num="3" id="139" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="setAlarm(false) " />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="setAlarm(false) " enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="178" >
+<CONNECTOR type="5102" id="161" >
 <cdparam x="363" y="233" />
 <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="173" />
-<TGConnectingPoint num="1" id="174" />
-<TGConnectingPoint num="2" id="175" />
-<TGConnectingPoint num="3" id="176" />
-<TGConnectingPoint num="4" id="177" />
-<P1  x="363" y="233" id="212" />
-<P2  x="368" y="139" id="246" />
+<TGConnectingPoint num="0" id="156" />
+<TGConnectingPoint num="1" id="157" />
+<TGConnectingPoint num="2" id="158" />
+<TGConnectingPoint num="3" id="159" />
+<TGConnectingPoint num="4" id="160" />
+<P1  x="363" y="233" id="195" />
+<P2  x="368" y="139" id="229" />
 <Point x="363" y="253" />
 <Point x="277" y="253" />
 <Point x="277" y="119" />
 <Point x="348" y="119" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="164" >
-<father id="178" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="147" >
+<father id="161" num="0" />
 <cdparam x="363" y="253" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="165" >
-<father id="178" num="1" />
+<SUBCOMPONENT type="-1" id="148" >
+<father id="161" num="1" />
 <cdparam x="277" y="253" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="166" >
-<father id="178" num="2" />
+<SUBCOMPONENT type="-1" id="149" >
+<father id="161" num="2" />
 <cdparam x="277" 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="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="167" >
-<father id="178" num="3" />
+<SUBCOMPONENT type="-1" id="150" >
+<father id="161" num="3" />
 <cdparam x="348" 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="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="172" >
-<father id="178" num="4" />
+<SUBCOMPONENT type="-1" id="155" >
+<father id="161" num="4" />
 <cdparam x="170" y="206" />
 <sizeparam width="95" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="168" />
-<TGConnectingPoint num="1" id="169" />
-<TGConnectingPoint num="2" id="170" />
-<TGConnectingPoint num="3" id="171" />
+<TGConnectingPoint num="0" id="151" />
+<TGConnectingPoint num="1" id="152" />
+<TGConnectingPoint num="2" id="153" />
+<TGConnectingPoint num="3" id="154" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="setAlarm(true) " />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="setAlarm(true) " enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="185" >
+<CONNECTOR type="5102" id="168" >
 <cdparam x="407" y="70" />
 <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="184" />
-<P1  x="407" y="70" id="263" />
-<P2  x="457" y="108" id="239" />
+<TGConnectingPoint num="0" id="167" />
+<P1  x="407" y="70" id="246" />
+<P2  x="457" y="108" id="222" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="183" >
-<father id="185" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="166" >
+<father id="168" num="0" />
 <cdparam x="406" y="89" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="179" />
-<TGConnectingPoint num="1" id="180" />
-<TGConnectingPoint num="2" id="181" />
-<TGConnectingPoint num="3" id="182" />
+<TGConnectingPoint num="0" id="162" />
+<TGConnectingPoint num="1" id="163" />
+<TGConnectingPoint num="2" id="164" />
+<TGConnectingPoint num="3" id="165" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="192" >
+<CONNECTOR type="5102" id="175" >
 <cdparam x="397" y="158" />
 <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="191" />
-<P1  x="397" y="158" id="250" />
-<P2  x="363" y="203" id="211" />
+<TGConnectingPoint num="0" id="174" />
+<P1  x="397" y="158" id="233" />
+<P2  x="363" y="203" id="194" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="190" >
-<father id="192" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="173" >
+<father id="175" num="0" />
 <cdparam x="403" y="179" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="186" />
-<TGConnectingPoint num="1" id="187" />
-<TGConnectingPoint num="2" id="188" />
-<TGConnectingPoint num="3" id="189" />
+<TGConnectingPoint num="0" id="169" />
+<TGConnectingPoint num="1" id="170" />
+<TGConnectingPoint num="2" id="171" />
+<TGConnectingPoint num="3" id="172" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="199" >
+<CONNECTOR type="5102" id="182" >
 <cdparam x="578" y="158" />
 <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="198" />
-<P1  x="578" y="158" id="253" />
-<P2  x="578" y="201" id="200" />
+<TGConnectingPoint num="0" id="181" />
+<P1  x="578" y="158" id="236" />
+<P2  x="578" y="201" id="183" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="197" >
-<father id="199" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="180" >
+<father id="182" num="0" />
 <cdparam x="580" y="179" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="193" />
-<TGConnectingPoint num="1" id="194" />
-<TGConnectingPoint num="2" id="195" />
-<TGConnectingPoint num="3" id="196" />
+<TGConnectingPoint num="0" id="176" />
+<TGConnectingPoint num="1" id="177" />
+<TGConnectingPoint num="2" id="178" />
+<TGConnectingPoint num="3" id="179" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="210" >
-<cdparam x="538" y="206" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5104" id="193" >
+<cdparam x="540" y="206" />
+<sizeparam width="76" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="alarmOff()" />
-<TGConnectingPoint num="0" id="200" />
-<TGConnectingPoint num="1" id="201" />
-<TGConnectingPoint num="2" id="202" />
-<TGConnectingPoint num="3" id="203" />
-<TGConnectingPoint num="4" id="204" />
-<TGConnectingPoint num="5" id="205" />
-<TGConnectingPoint num="6" id="206" />
-<TGConnectingPoint num="7" id="207" />
-<TGConnectingPoint num="8" id="208" />
-<TGConnectingPoint num="9" id="209" />
+<TGConnectingPoint num="0" id="183" />
+<TGConnectingPoint num="1" id="184" />
+<TGConnectingPoint num="2" id="185" />
+<TGConnectingPoint num="3" id="186" />
+<TGConnectingPoint num="4" id="187" />
+<TGConnectingPoint num="5" id="188" />
+<TGConnectingPoint num="6" id="189" />
+<TGConnectingPoint num="7" id="190" />
+<TGConnectingPoint num="8" id="191" />
+<TGConnectingPoint num="9" id="192" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="221" >
-<cdparam x="323" y="208" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5104" id="204" >
+<cdparam x="326" y="208" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="alarmOn()" />
-<TGConnectingPoint num="0" id="211" />
-<TGConnectingPoint num="1" id="212" />
-<TGConnectingPoint num="2" id="213" />
-<TGConnectingPoint num="3" id="214" />
-<TGConnectingPoint num="4" id="215" />
-<TGConnectingPoint num="5" id="216" />
-<TGConnectingPoint num="6" id="217" />
-<TGConnectingPoint num="7" id="218" />
-<TGConnectingPoint num="8" id="219" />
-<TGConnectingPoint num="9" id="220" />
+<TGConnectingPoint num="0" id="194" />
+<TGConnectingPoint num="1" id="195" />
+<TGConnectingPoint num="2" id="196" />
+<TGConnectingPoint num="3" id="197" />
+<TGConnectingPoint num="4" id="198" />
+<TGConnectingPoint num="5" id="199" />
+<TGConnectingPoint num="6" id="200" />
+<TGConnectingPoint num="7" id="201" />
+<TGConnectingPoint num="8" id="202" />
+<TGConnectingPoint num="9" id="203" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="262" >
+<COMPONENT type="5106" id="245" >
 <cdparam x="368" y="108" />
 <sizeparam width="242" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="WaitingForAlarmCommand" />
-<TGConnectingPoint num="0" id="222" />
-<TGConnectingPoint num="1" id="223" />
-<TGConnectingPoint num="2" id="224" />
-<TGConnectingPoint num="3" id="225" />
-<TGConnectingPoint num="4" id="226" />
-<TGConnectingPoint num="5" id="227" />
-<TGConnectingPoint num="6" id="228" />
-<TGConnectingPoint num="7" id="229" />
-<TGConnectingPoint num="8" id="230" />
-<TGConnectingPoint num="9" id="231" />
-<TGConnectingPoint num="10" id="232" />
-<TGConnectingPoint num="11" id="233" />
-<TGConnectingPoint num="12" id="234" />
-<TGConnectingPoint num="13" id="235" />
-<TGConnectingPoint num="14" id="236" />
-<TGConnectingPoint num="15" id="237" />
-<TGConnectingPoint num="16" id="238" />
-<TGConnectingPoint num="17" id="239" />
-<TGConnectingPoint num="18" id="240" />
-<TGConnectingPoint num="19" id="241" />
-<TGConnectingPoint num="20" id="242" />
-<TGConnectingPoint num="21" id="243" />
-<TGConnectingPoint num="22" id="244" />
-<TGConnectingPoint num="23" id="245" />
-<TGConnectingPoint num="24" id="246" />
-<TGConnectingPoint num="25" id="247" />
-<TGConnectingPoint num="26" id="248" />
-<TGConnectingPoint num="27" id="249" />
-<TGConnectingPoint num="28" id="250" />
-<TGConnectingPoint num="29" id="251" />
-<TGConnectingPoint num="30" id="252" />
-<TGConnectingPoint num="31" id="253" />
-<TGConnectingPoint num="32" id="254" />
-<TGConnectingPoint num="33" id="255" />
-<TGConnectingPoint num="34" id="256" />
-<TGConnectingPoint num="35" id="257" />
-<TGConnectingPoint num="36" id="258" />
-<TGConnectingPoint num="37" id="259" />
-<TGConnectingPoint num="38" id="260" />
-<TGConnectingPoint num="39" id="261" />
+<TGConnectingPoint num="0" id="205" />
+<TGConnectingPoint num="1" id="206" />
+<TGConnectingPoint num="2" id="207" />
+<TGConnectingPoint num="3" id="208" />
+<TGConnectingPoint num="4" id="209" />
+<TGConnectingPoint num="5" id="210" />
+<TGConnectingPoint num="6" id="211" />
+<TGConnectingPoint num="7" id="212" />
+<TGConnectingPoint num="8" id="213" />
+<TGConnectingPoint num="9" id="214" />
+<TGConnectingPoint num="10" id="215" />
+<TGConnectingPoint num="11" id="216" />
+<TGConnectingPoint num="12" id="217" />
+<TGConnectingPoint num="13" id="218" />
+<TGConnectingPoint num="14" id="219" />
+<TGConnectingPoint num="15" id="220" />
+<TGConnectingPoint num="16" id="221" />
+<TGConnectingPoint num="17" id="222" />
+<TGConnectingPoint num="18" id="223" />
+<TGConnectingPoint num="19" id="224" />
+<TGConnectingPoint num="20" id="225" />
+<TGConnectingPoint num="21" id="226" />
+<TGConnectingPoint num="22" id="227" />
+<TGConnectingPoint num="23" id="228" />
+<TGConnectingPoint num="24" id="229" />
+<TGConnectingPoint num="25" id="230" />
+<TGConnectingPoint num="26" id="231" />
+<TGConnectingPoint num="27" id="232" />
+<TGConnectingPoint num="28" id="233" />
+<TGConnectingPoint num="29" id="234" />
+<TGConnectingPoint num="30" id="235" />
+<TGConnectingPoint num="31" id="236" />
+<TGConnectingPoint num="32" id="237" />
+<TGConnectingPoint num="33" id="238" />
+<TGConnectingPoint num="34" id="239" />
+<TGConnectingPoint num="35" id="240" />
+<TGConnectingPoint num="36" id="241" />
+<TGConnectingPoint num="37" id="242" />
+<TGConnectingPoint num="38" id="243" />
+<TGConnectingPoint num="39" id="244" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5100" id="264" >
+<COMPONENT type="5100" id="247" >
 <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="263" />
+<TGConnectingPoint num="0" id="246" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="PressureSensor" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="271" >
+<CONNECTOR type="5102" id="254" >
 <cdparam x="534" y="553" />
 <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="270" />
-<P1  x="547" y="553" id="335" />
-<P2  x="547" y="573" id="389" />
+<TGConnectingPoint num="0" id="253" />
+<P1  x="547" y="553" id="318" />
+<P2  x="547" y="573" id="372" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="269" >
-<father id="271" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="252" >
+<father id="254" num="0" />
 <cdparam x="534" y="563" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="265" />
-<TGConnectingPoint num="1" id="266" />
-<TGConnectingPoint num="2" id="267" />
-<TGConnectingPoint num="3" id="268" />
+<TGConnectingPoint num="0" id="248" />
+<TGConnectingPoint num="1" id="249" />
+<TGConnectingPoint num="2" id="250" />
+<TGConnectingPoint num="3" id="251" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="278" >
+<CONNECTOR type="5102" id="261" >
 <cdparam x="624" y="474" />
 <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="277" />
-<P1  x="624" y="474" id="387" />
-<P2  x="567" y="503" id="347" />
+<TGConnectingPoint num="0" id="260" />
+<P1  x="624" y="474" id="370" />
+<P2  x="567" y="503" id="330" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="276" >
-<father id="278" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="259" >
+<father id="261" num="0" />
 <cdparam x="603" y="490" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="272" />
-<TGConnectingPoint num="1" id="273" />
-<TGConnectingPoint num="2" id="274" />
-<TGConnectingPoint num="3" id="275" />
+<TGConnectingPoint num="0" id="255" />
+<TGConnectingPoint num="1" id="256" />
+<TGConnectingPoint num="2" id="257" />
+<TGConnectingPoint num="3" id="258" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="285" >
+<CONNECTOR type="5102" id="268" >
 <cdparam x="531" y="340" />
 <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="284" />
-<P1  x="556" y="401" id="372" />
-<P2  x="624" y="444" id="386" />
+<TGConnectingPoint num="0" id="267" />
+<P1  x="556" y="401" id="355" />
+<P2  x="624" y="444" id="369" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="283" >
-<father id="285" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="266" >
+<father id="268" num="0" />
 <cdparam x="581" y="397" />
 <sizeparam width="44" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="279" />
-<TGConnectingPoint num="1" id="280" />
-<TGConnectingPoint num="2" id="281" />
-<TGConnectingPoint num="3" id="282" />
+<TGConnectingPoint num="0" id="262" />
+<TGConnectingPoint num="1" id="263" />
+<TGConnectingPoint num="2" id="264" />
+<TGConnectingPoint num="3" id="265" />
 <extraparam>
-<guard value="[ else ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ else ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="300" >
+<CONNECTOR type="5102" id="283" >
 <cdparam x="551" y="444" />
 <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="295" />
-<TGConnectingPoint num="1" id="296" />
-<TGConnectingPoint num="2" id="297" />
-<TGConnectingPoint num="3" id="298" />
-<TGConnectingPoint num="4" id="299" />
-<P1  x="547" y="603" id="390" />
-<P2  x="532" y="185" id="423" />
+<TGConnectingPoint num="0" id="278" />
+<TGConnectingPoint num="1" id="279" />
+<TGConnectingPoint num="2" id="280" />
+<TGConnectingPoint num="3" id="281" />
+<TGConnectingPoint num="4" id="282" />
+<P1  x="547" y="603" id="373" />
+<P2  x="532" y="185" id="406" />
 <Point x="547" y="623" />
 <Point x="755" y="623" />
 <Point x="755" y="165" />
 <Point x="552" y="165" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="286" >
-<father id="300" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="269" >
+<father id="283" num="0" />
 <cdparam x="547" y="623" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="287" >
-<father id="300" num="1" />
+<SUBCOMPONENT type="-1" id="270" >
+<father id="283" num="1" />
 <cdparam x="755" y="623" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="288" >
-<father id="300" num="2" />
+<SUBCOMPONENT type="-1" id="271" >
+<father id="283" num="2" />
 <cdparam x="755" y="165" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="289" >
-<father id="300" num="3" />
+<SUBCOMPONENT type="-1" id="272" >
+<father id="283" num="3" />
 <cdparam x="552" y="165" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="294" >
-<father id="300" num="4" />
+<SUBCOMPONENT type="-1" id="277" >
+<father id="283" num="4" />
 <cdparam x="551" y="314" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="290" />
-<TGConnectingPoint num="1" id="291" />
-<TGConnectingPoint num="2" id="292" />
-<TGConnectingPoint num="3" id="293" />
+<TGConnectingPoint num="0" id="273" />
+<TGConnectingPoint num="1" id="274" />
+<TGConnectingPoint num="2" id="275" />
+<TGConnectingPoint num="3" id="276" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="307" >
+<CONNECTOR type="5102" id="290" >
 <cdparam x="440" y="144" />
 <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="306" />
-<P1  x="323" y="133" id="482" />
-<P2  x="323" y="167" id="400" />
+<TGConnectingPoint num="0" id="289" />
+<P1  x="323" y="133" id="465" />
+<P2  x="323" y="167" id="383" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="305" >
-<father id="307" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="288" >
+<father id="290" num="0" />
 <cdparam x="446" y="169" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="301" />
-<TGConnectingPoint num="1" id="302" />
-<TGConnectingPoint num="2" id="303" />
-<TGConnectingPoint num="3" id="304" />
+<TGConnectingPoint num="0" id="284" />
+<TGConnectingPoint num="1" id="285" />
+<TGConnectingPoint num="2" id="286" />
+<TGConnectingPoint num="3" id="287" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="314" >
+<CONNECTOR type="5102" id="297" >
 <cdparam x="502" y="244" />
 <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="313" />
-<P1  x="427" y="217" id="406" />
-<P2  x="510" y="290" id="458" />
+<TGConnectingPoint num="0" id="296" />
+<P1  x="427" y="217" id="389" />
+<P2  x="510" y="290" id="441" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="312" >
-<father id="314" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="295" >
+<father id="297" num="0" />
 <cdparam x="498" y="267" />
 <sizeparam width="64" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="308" />
-<TGConnectingPoint num="1" id="309" />
-<TGConnectingPoint num="2" id="310" />
-<TGConnectingPoint num="3" id="311" />
+<TGConnectingPoint num="0" id="291" />
+<TGConnectingPoint num="1" id="292" />
+<TGConnectingPoint num="2" id="293" />
+<TGConnectingPoint num="3" id="294" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="1" />
-<afterMax value="1" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="1" enabled="true"/>
+<afterMax value="1" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="321" >
+<CONNECTOR type="5102" id="304" >
 <cdparam x="560" y="479" />
 <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="320" />
-<P1  x="506" y="401" id="371" />
-<P2  x="506" y="503" id="337" />
+<TGConnectingPoint num="0" id="303" />
+<P1  x="506" y="401" id="354" />
+<P2  x="506" y="503" id="320" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="319" >
-<father id="321" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="302" >
+<father id="304" num="0" />
 <cdparam x="303" y="451" />
 <sizeparam width="192" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="315" />
-<TGConnectingPoint num="1" id="316" />
-<TGConnectingPoint num="2" id="317" />
-<TGConnectingPoint num="3" id="318" />
+<TGConnectingPoint num="0" id="298" />
+<TGConnectingPoint num="1" id="299" />
+<TGConnectingPoint num="2" id="300" />
+<TGConnectingPoint num="3" id="301" />
 <extraparam>
-<guard value="[ branch ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="pressure = readingPressure() " />
+<guard value="[ branch ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="pressure = readingPressure() " enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="328" >
+<CONNECTOR type="5102" id="311" >
 <cdparam x="468" y="340" />
 <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="327" />
-<P1  x="531" y="340" id="447" />
-<P2  x="531" y="376" id="370" />
+<TGConnectingPoint num="0" id="310" />
+<P1  x="531" y="340" id="430" />
+<P2  x="531" y="376" id="353" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="326" >
-<father id="328" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="309" >
+<father id="311" num="0" />
 <cdparam x="394" y="365" />
 <sizeparam width="129" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="322" />
-<TGConnectingPoint num="1" id="323" />
-<TGConnectingPoint num="2" id="324" />
-<TGConnectingPoint num="3" id="325" />
+<TGConnectingPoint num="0" id="305" />
+<TGConnectingPoint num="1" id="306" />
+<TGConnectingPoint num="2" id="307" />
+<TGConnectingPoint num="3" id="308" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
-<actions value="branch = isInCode() " />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
+<actions value="branch = isInCode() " enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5106" id="369" >
+<COMPONENT type="5106" id="352" >
 <cdparam x="465" y="503" />
 <sizeparam width="165" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="SendingPressure" />
-<TGConnectingPoint num="0" id="329" />
-<TGConnectingPoint num="1" id="330" />
-<TGConnectingPoint num="2" id="331" />
-<TGConnectingPoint num="3" id="332" />
-<TGConnectingPoint num="4" id="333" />
-<TGConnectingPoint num="5" id="334" />
-<TGConnectingPoint num="6" id="335" />
-<TGConnectingPoint num="7" id="336" />
-<TGConnectingPoint num="8" id="337" />
-<TGConnectingPoint num="9" id="338" />
-<TGConnectingPoint num="10" id="339" />
-<TGConnectingPoint num="11" id="340" />
-<TGConnectingPoint num="12" id="341" />
-<TGConnectingPoint num="13" id="342" />
-<TGConnectingPoint num="14" id="343" />
-<TGConnectingPoint num="15" id="344" />
-<TGConnectingPoint num="16" id="345" />
-<TGConnectingPoint num="17" id="346" />
-<TGConnectingPoint num="18" id="347" />
-<TGConnectingPoint num="19" id="348" />
-<TGConnectingPoint num="20" id="349" />
-<TGConnectingPoint num="21" id="350" />
-<TGConnectingPoint num="22" id="351" />
-<TGConnectingPoint num="23" id="352" />
-<TGConnectingPoint num="24" id="353" />
-<TGConnectingPoint num="25" id="354" />
-<TGConnectingPoint num="26" id="355" />
-<TGConnectingPoint num="27" id="356" />
-<TGConnectingPoint num="28" id="357" />
-<TGConnectingPoint num="29" id="358" />
-<TGConnectingPoint num="30" id="359" />
-<TGConnectingPoint num="31" id="360" />
-<TGConnectingPoint num="32" id="361" />
-<TGConnectingPoint num="33" id="362" />
-<TGConnectingPoint num="34" id="363" />
-<TGConnectingPoint num="35" id="364" />
-<TGConnectingPoint num="36" id="365" />
-<TGConnectingPoint num="37" id="366" />
-<TGConnectingPoint num="38" id="367" />
-<TGConnectingPoint num="39" id="368" />
+<TGConnectingPoint num="0" id="312" />
+<TGConnectingPoint num="1" id="313" />
+<TGConnectingPoint num="2" id="314" />
+<TGConnectingPoint num="3" id="315" />
+<TGConnectingPoint num="4" id="316" />
+<TGConnectingPoint num="5" id="317" />
+<TGConnectingPoint num="6" id="318" />
+<TGConnectingPoint num="7" id="319" />
+<TGConnectingPoint num="8" id="320" />
+<TGConnectingPoint num="9" id="321" />
+<TGConnectingPoint num="10" id="322" />
+<TGConnectingPoint num="11" id="323" />
+<TGConnectingPoint num="12" id="324" />
+<TGConnectingPoint num="13" id="325" />
+<TGConnectingPoint num="14" id="326" />
+<TGConnectingPoint num="15" id="327" />
+<TGConnectingPoint num="16" id="328" />
+<TGConnectingPoint num="17" id="329" />
+<TGConnectingPoint num="18" id="330" />
+<TGConnectingPoint num="19" id="331" />
+<TGConnectingPoint num="20" id="332" />
+<TGConnectingPoint num="21" id="333" />
+<TGConnectingPoint num="22" id="334" />
+<TGConnectingPoint num="23" id="335" />
+<TGConnectingPoint num="24" id="336" />
+<TGConnectingPoint num="25" id="337" />
+<TGConnectingPoint num="26" id="338" />
+<TGConnectingPoint num="27" id="339" />
+<TGConnectingPoint num="28" id="340" />
+<TGConnectingPoint num="29" id="341" />
+<TGConnectingPoint num="30" id="342" />
+<TGConnectingPoint num="31" id="343" />
+<TGConnectingPoint num="32" id="344" />
+<TGConnectingPoint num="33" id="345" />
+<TGConnectingPoint num="34" id="346" />
+<TGConnectingPoint num="35" id="347" />
+<TGConnectingPoint num="36" id="348" />
+<TGConnectingPoint num="37" id="349" />
+<TGConnectingPoint num="38" id="350" />
+<TGConnectingPoint num="39" id="351" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5107" id="385" >
+<COMPONENT type="5107" id="368" >
 <cdparam x="516" y="386" />
 <sizeparam width="30" 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="choice" value="null" />
-<TGConnectingPoint num="0" id="370" />
-<TGConnectingPoint num="1" id="371" />
-<TGConnectingPoint num="2" id="372" />
-<TGConnectingPoint num="3" id="373" />
-<TGConnectingPoint num="4" id="374" />
-<TGConnectingPoint num="5" id="375" />
-<TGConnectingPoint num="6" id="376" />
-<TGConnectingPoint num="7" id="377" />
-<TGConnectingPoint num="8" id="378" />
-<TGConnectingPoint num="9" id="379" />
-<TGConnectingPoint num="10" id="380" />
-<TGConnectingPoint num="11" id="381" />
-<TGConnectingPoint num="12" id="382" />
-<TGConnectingPoint num="13" id="383" />
-<TGConnectingPoint num="14" id="384" />
+<TGConnectingPoint num="0" id="353" />
+<TGConnectingPoint num="1" id="354" />
+<TGConnectingPoint num="2" id="355" />
+<TGConnectingPoint num="3" id="356" />
+<TGConnectingPoint num="4" id="357" />
+<TGConnectingPoint num="5" id="358" />
+<TGConnectingPoint num="6" id="359" />
+<TGConnectingPoint num="7" id="360" />
+<TGConnectingPoint num="8" id="361" />
+<TGConnectingPoint num="9" id="362" />
+<TGConnectingPoint num="10" id="363" />
+<TGConnectingPoint num="11" id="364" />
+<TGConnectingPoint num="12" id="365" />
+<TGConnectingPoint num="13" id="366" />
+<TGConnectingPoint num="14" id="367" />
 </COMPONENT>
 
-<COMPONENT type="5108" id="388" >
-<cdparam x="527" y="449" />
-<sizeparam width="195" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5108" id="371" >
+<cdparam x="530" y="449" />
+<sizeparam width="188" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="TGComponent" value="null" />
-<TGConnectingPoint num="0" id="386" />
-<TGConnectingPoint num="1" id="387" />
+<TGConnectingPoint num="0" id="369" />
+<TGConnectingPoint num="1" id="370" />
 <extraparam>
 <Data variable="pressure" minValue="19" maxValue="21" functionId="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5103" id="399" >
-<cdparam x="464" y="578" />
-<sizeparam width="167" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5103" id="382" >
+<cdparam x="471" y="578" />
+<sizeparam width="152" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="pressureValue(pressure)" />
-<TGConnectingPoint num="0" id="389" />
-<TGConnectingPoint num="1" id="390" />
-<TGConnectingPoint num="2" id="391" />
-<TGConnectingPoint num="3" id="392" />
-<TGConnectingPoint num="4" id="393" />
-<TGConnectingPoint num="5" id="394" />
-<TGConnectingPoint num="6" id="395" />
-<TGConnectingPoint num="7" id="396" />
-<TGConnectingPoint num="8" id="397" />
-<TGConnectingPoint num="9" id="398" />
+<TGConnectingPoint num="0" id="372" />
+<TGConnectingPoint num="1" id="373" />
+<TGConnectingPoint num="2" id="374" />
+<TGConnectingPoint num="3" id="375" />
+<TGConnectingPoint num="4" id="376" />
+<TGConnectingPoint num="5" id="377" />
+<TGConnectingPoint num="6" id="378" />
+<TGConnectingPoint num="7" id="379" />
+<TGConnectingPoint num="8" id="380" />
+<TGConnectingPoint num="9" id="381" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="440" >
+<COMPONENT type="5106" id="423" >
 <cdparam x="323" y="167" />
 <sizeparam width="209" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="WaitingForNextCycle" />
-<TGConnectingPoint num="0" id="400" />
-<TGConnectingPoint num="1" id="401" />
-<TGConnectingPoint num="2" id="402" />
-<TGConnectingPoint num="3" id="403" />
-<TGConnectingPoint num="4" id="404" />
-<TGConnectingPoint num="5" id="405" />
-<TGConnectingPoint num="6" id="406" />
-<TGConnectingPoint num="7" id="407" />
-<TGConnectingPoint num="8" id="408" />
-<TGConnectingPoint num="9" id="409" />
-<TGConnectingPoint num="10" id="410" />
-<TGConnectingPoint num="11" id="411" />
-<TGConnectingPoint num="12" id="412" />
-<TGConnectingPoint num="13" id="413" />
-<TGConnectingPoint num="14" id="414" />
-<TGConnectingPoint num="15" id="415" />
-<TGConnectingPoint num="16" id="416" />
-<TGConnectingPoint num="17" id="417" />
-<TGConnectingPoint num="18" id="418" />
-<TGConnectingPoint num="19" id="419" />
-<TGConnectingPoint num="20" id="420" />
-<TGConnectingPoint num="21" id="421" />
-<TGConnectingPoint num="22" id="422" />
-<TGConnectingPoint num="23" id="423" />
-<TGConnectingPoint num="24" id="424" />
-<TGConnectingPoint num="25" id="425" />
-<TGConnectingPoint num="26" id="426" />
-<TGConnectingPoint num="27" id="427" />
-<TGConnectingPoint num="28" id="428" />
-<TGConnectingPoint num="29" id="429" />
-<TGConnectingPoint num="30" id="430" />
-<TGConnectingPoint num="31" id="431" />
-<TGConnectingPoint num="32" id="432" />
-<TGConnectingPoint num="33" id="433" />
-<TGConnectingPoint num="34" id="434" />
-<TGConnectingPoint num="35" id="435" />
-<TGConnectingPoint num="36" id="436" />
-<TGConnectingPoint num="37" id="437" />
-<TGConnectingPoint num="38" id="438" />
-<TGConnectingPoint num="39" id="439" />
+<TGConnectingPoint num="0" id="383" />
+<TGConnectingPoint num="1" id="384" />
+<TGConnectingPoint num="2" id="385" />
+<TGConnectingPoint num="3" id="386" />
+<TGConnectingPoint num="4" id="387" />
+<TGConnectingPoint num="5" id="388" />
+<TGConnectingPoint num="6" id="389" />
+<TGConnectingPoint num="7" id="390" />
+<TGConnectingPoint num="8" id="391" />
+<TGConnectingPoint num="9" id="392" />
+<TGConnectingPoint num="10" id="393" />
+<TGConnectingPoint num="11" id="394" />
+<TGConnectingPoint num="12" id="395" />
+<TGConnectingPoint num="13" id="396" />
+<TGConnectingPoint num="14" id="397" />
+<TGConnectingPoint num="15" id="398" />
+<TGConnectingPoint num="16" id="399" />
+<TGConnectingPoint num="17" id="400" />
+<TGConnectingPoint num="18" id="401" />
+<TGConnectingPoint num="19" id="402" />
+<TGConnectingPoint num="20" id="403" />
+<TGConnectingPoint num="21" id="404" />
+<TGConnectingPoint num="22" id="405" />
+<TGConnectingPoint num="23" id="406" />
+<TGConnectingPoint num="24" id="407" />
+<TGConnectingPoint num="25" id="408" />
+<TGConnectingPoint num="26" id="409" />
+<TGConnectingPoint num="27" id="410" />
+<TGConnectingPoint num="28" id="411" />
+<TGConnectingPoint num="29" id="412" />
+<TGConnectingPoint num="30" id="413" />
+<TGConnectingPoint num="31" id="414" />
+<TGConnectingPoint num="32" id="415" />
+<TGConnectingPoint num="33" id="416" />
+<TGConnectingPoint num="34" id="417" />
+<TGConnectingPoint num="35" id="418" />
+<TGConnectingPoint num="36" id="419" />
+<TGConnectingPoint num="37" id="420" />
+<TGConnectingPoint num="38" id="421" />
+<TGConnectingPoint num="39" id="422" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5106" id="481" >
+<COMPONENT type="5106" id="464" >
 <cdparam x="449" y="290" />
 <sizeparam width="165" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="SensingPressure" />
-<TGConnectingPoint num="0" id="441" />
-<TGConnectingPoint num="1" id="442" />
-<TGConnectingPoint num="2" id="443" />
-<TGConnectingPoint num="3" id="444" />
-<TGConnectingPoint num="4" id="445" />
-<TGConnectingPoint num="5" id="446" />
-<TGConnectingPoint num="6" id="447" />
-<TGConnectingPoint num="7" id="448" />
-<TGConnectingPoint num="8" id="449" />
-<TGConnectingPoint num="9" id="450" />
-<TGConnectingPoint num="10" id="451" />
-<TGConnectingPoint num="11" id="452" />
-<TGConnectingPoint num="12" id="453" />
-<TGConnectingPoint num="13" id="454" />
-<TGConnectingPoint num="14" id="455" />
-<TGConnectingPoint num="15" id="456" />
-<TGConnectingPoint num="16" id="457" />
-<TGConnectingPoint num="17" id="458" />
-<TGConnectingPoint num="18" id="459" />
-<TGConnectingPoint num="19" id="460" />
-<TGConnectingPoint num="20" id="461" />
-<TGConnectingPoint num="21" id="462" />
-<TGConnectingPoint num="22" id="463" />
-<TGConnectingPoint num="23" id="464" />
-<TGConnectingPoint num="24" id="465" />
-<TGConnectingPoint num="25" id="466" />
-<TGConnectingPoint num="26" id="467" />
-<TGConnectingPoint num="27" id="468" />
-<TGConnectingPoint num="28" id="469" />
-<TGConnectingPoint num="29" id="470" />
-<TGConnectingPoint num="30" id="471" />
-<TGConnectingPoint num="31" id="472" />
-<TGConnectingPoint num="32" id="473" />
-<TGConnectingPoint num="33" id="474" />
-<TGConnectingPoint num="34" id="475" />
-<TGConnectingPoint num="35" id="476" />
-<TGConnectingPoint num="36" id="477" />
-<TGConnectingPoint num="37" id="478" />
-<TGConnectingPoint num="38" id="479" />
-<TGConnectingPoint num="39" id="480" />
+<TGConnectingPoint num="0" id="424" />
+<TGConnectingPoint num="1" id="425" />
+<TGConnectingPoint num="2" id="426" />
+<TGConnectingPoint num="3" id="427" />
+<TGConnectingPoint num="4" id="428" />
+<TGConnectingPoint num="5" id="429" />
+<TGConnectingPoint num="6" id="430" />
+<TGConnectingPoint num="7" id="431" />
+<TGConnectingPoint num="8" id="432" />
+<TGConnectingPoint num="9" id="433" />
+<TGConnectingPoint num="10" id="434" />
+<TGConnectingPoint num="11" id="435" />
+<TGConnectingPoint num="12" id="436" />
+<TGConnectingPoint num="13" id="437" />
+<TGConnectingPoint num="14" id="438" />
+<TGConnectingPoint num="15" id="439" />
+<TGConnectingPoint num="16" id="440" />
+<TGConnectingPoint num="17" id="441" />
+<TGConnectingPoint num="18" id="442" />
+<TGConnectingPoint num="19" id="443" />
+<TGConnectingPoint num="20" id="444" />
+<TGConnectingPoint num="21" id="445" />
+<TGConnectingPoint num="22" id="446" />
+<TGConnectingPoint num="23" id="447" />
+<TGConnectingPoint num="24" id="448" />
+<TGConnectingPoint num="25" id="449" />
+<TGConnectingPoint num="26" id="450" />
+<TGConnectingPoint num="27" id="451" />
+<TGConnectingPoint num="28" id="452" />
+<TGConnectingPoint num="29" id="453" />
+<TGConnectingPoint num="30" id="454" />
+<TGConnectingPoint num="31" id="455" />
+<TGConnectingPoint num="32" id="456" />
+<TGConnectingPoint num="33" id="457" />
+<TGConnectingPoint num="34" id="458" />
+<TGConnectingPoint num="35" id="459" />
+<TGConnectingPoint num="36" id="460" />
+<TGConnectingPoint num="37" id="461" />
+<TGConnectingPoint num="38" id="462" />
+<TGConnectingPoint num="39" id="463" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5100" id="483" >
+<COMPONENT type="5100" id="466" >
 <cdparam x="316" y="113" />
 <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="482" />
+<TGConnectingPoint num="0" id="465" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="PressureController" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="485" >
+<COMPONENT type="5100" id="468" >
 <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="484" />
+<TGConnectingPoint num="0" id="467" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="AlarmManager" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="492" >
+<CONNECTOR type="5102" id="475" >
 <cdparam x="574" y="423" />
 <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="491" />
-<P1  x="574" y="423" id="642" />
-<P2  x="574" y="472" id="597" />
+<TGConnectingPoint num="0" id="474" />
+<P1  x="574" y="423" id="625" />
+<P2  x="574" y="472" id="580" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="490" >
-<father id="492" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="473" >
+<father id="475" num="0" />
 <cdparam x="577" y="447" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="486" />
-<TGConnectingPoint num="1" id="487" />
-<TGConnectingPoint num="2" id="488" />
-<TGConnectingPoint num="3" id="489" />
+<TGConnectingPoint num="0" id="469" />
+<TGConnectingPoint num="1" id="470" />
+<TGConnectingPoint num="2" id="471" />
+<TGConnectingPoint num="3" id="472" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="507" >
+<CONNECTOR type="5102" id="490" >
 <cdparam x="327" y="531" />
 <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="502" />
-<TGConnectingPoint num="1" id="503" />
-<TGConnectingPoint num="2" id="504" />
-<TGConnectingPoint num="3" id="505" />
-<TGConnectingPoint num="4" id="506" />
-<P1  x="326" y="531" id="609" />
-<P2  x="368" y="318" id="673" />
+<TGConnectingPoint num="0" id="485" />
+<TGConnectingPoint num="1" id="486" />
+<TGConnectingPoint num="2" id="487" />
+<TGConnectingPoint num="3" id="488" />
+<TGConnectingPoint num="4" id="489" />
+<P1  x="326" y="531" id="592" />
+<P2  x="368" y="318" id="656" />
 <Point x="326" y="551" />
 <Point x="178" y="551" />
 <Point x="178" y="298" />
 <Point x="348" y="298" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="493" >
-<father id="507" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="476" >
+<father id="490" num="0" />
 <cdparam x="326" y="551" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="494" >
-<father id="507" num="1" />
+<SUBCOMPONENT type="-1" id="477" >
+<father id="490" num="1" />
 <cdparam x="178" y="551" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="495" >
-<father id="507" num="2" />
+<SUBCOMPONENT type="-1" id="478" >
+<father id="490" num="2" />
 <cdparam x="178" y="298" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="496" >
-<father id="507" num="3" />
+<SUBCOMPONENT type="-1" id="479" >
+<father id="490" num="3" />
 <cdparam x="348" y="298" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="501" >
-<father id="507" num="4" />
+<SUBCOMPONENT type="-1" id="484" >
+<father id="490" num="4" />
 <cdparam x="347" y="424" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="497" />
-<TGConnectingPoint num="1" id="498" />
-<TGConnectingPoint num="2" id="499" />
-<TGConnectingPoint num="3" id="500" />
+<TGConnectingPoint num="0" id="480" />
+<TGConnectingPoint num="1" id="481" />
+<TGConnectingPoint num="2" id="482" />
+<TGConnectingPoint num="3" id="483" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="522" >
+<CONNECTOR type="5102" id="505" >
 <cdparam x="590" y="423" />
 <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="517" />
-<TGConnectingPoint num="1" id="518" />
-<TGConnectingPoint num="2" id="519" />
-<TGConnectingPoint num="3" id="520" />
-<TGConnectingPoint num="4" id="521" />
-<P1  x="574" y="502" id="598" />
-<P2  x="563" y="133" id="719" />
+<TGConnectingPoint num="0" id="500" />
+<TGConnectingPoint num="1" id="501" />
+<TGConnectingPoint num="2" id="502" />
+<TGConnectingPoint num="3" id="503" />
+<TGConnectingPoint num="4" id="504" />
+<P1  x="574" y="502" id="581" />
+<P2  x="563" y="133" id="702" />
 <Point x="574" y="522" />
 <Point x="726" y="522" />
 <Point x="726" y="113" />
 <Point x="583" y="113" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="508" >
-<father id="522" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="491" >
+<father id="505" num="0" />
 <cdparam x="574" y="522" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="509" >
-<father id="522" num="1" />
+<SUBCOMPONENT type="-1" id="492" >
+<father id="505" num="1" />
 <cdparam x="726" y="522" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="510" >
-<father id="522" num="2" />
+<SUBCOMPONENT type="-1" id="493" >
+<father id="505" num="2" />
 <cdparam x="726" y="113" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="511" >
-<father id="522" num="3" />
+<SUBCOMPONENT type="-1" id="494" >
+<father id="505" num="3" />
 <cdparam x="583" y="113" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="516" >
-<father id="522" num="4" />
+<SUBCOMPONENT type="-1" id="499" >
+<father id="505" num="4" />
 <cdparam x="576" y="278" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="512" />
-<TGConnectingPoint num="1" id="513" />
-<TGConnectingPoint num="2" id="514" />
-<TGConnectingPoint num="3" id="515" />
+<TGConnectingPoint num="0" id="495" />
+<TGConnectingPoint num="1" id="496" />
+<TGConnectingPoint num="2" id="497" />
+<TGConnectingPoint num="3" id="498" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="529" >
+<CONNECTOR type="5102" id="512" >
 <cdparam x="407" y="70" />
 <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="528" />
-<P1  x="401" y="67" id="756" />
-<P2  x="401" y="113" id="731" />
+<TGConnectingPoint num="0" id="511" />
+<P1  x="401" y="67" id="739" />
+<P2  x="401" y="113" id="714" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="527" >
-<father id="529" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="510" >
+<father id="512" num="0" />
 <cdparam x="411" y="91" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="523" />
-<TGConnectingPoint num="1" id="524" />
-<TGConnectingPoint num="2" id="525" />
-<TGConnectingPoint num="3" id="526" />
+<TGConnectingPoint num="0" id="506" />
+<TGConnectingPoint num="1" id="507" />
+<TGConnectingPoint num="2" id="508" />
+<TGConnectingPoint num="3" id="509" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="536" >
+<CONNECTOR type="5102" id="519" >
 <cdparam x="425" y="154" />
 <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="535" />
-<P1  x="471" y="154" id="721" />
-<P2  x="471" y="177" id="704" />
+<TGConnectingPoint num="0" id="518" />
+<P1  x="471" y="154" id="704" />
+<P2  x="471" y="177" id="687" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="534" >
-<father id="536" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="517" >
+<father id="519" num="0" />
 <cdparam x="423" y="179" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="530" />
-<TGConnectingPoint num="1" id="531" />
-<TGConnectingPoint num="2" id="532" />
-<TGConnectingPoint num="3" id="533" />
+<TGConnectingPoint num="0" id="513" />
+<TGConnectingPoint num="1" id="514" />
+<TGConnectingPoint num="2" id="515" />
+<TGConnectingPoint num="3" id="516" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="543" >
+<CONNECTOR type="5102" id="526" >
 <cdparam x="400" y="252" />
 <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="542" />
-<P1  x="471" y="207" id="705" />
-<P2  x="471" y="210" id="693" />
+<TGConnectingPoint num="0" id="525" />
+<P1  x="471" y="207" id="688" />
+<P2  x="471" y="210" id="676" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="541" >
-<father id="543" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="524" >
+<father id="526" num="0" />
 <cdparam x="400" y="265" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="537" />
-<TGConnectingPoint num="1" id="538" />
-<TGConnectingPoint num="2" id="539" />
-<TGConnectingPoint num="3" id="540" />
+<TGConnectingPoint num="0" id="520" />
+<TGConnectingPoint num="1" id="521" />
+<TGConnectingPoint num="2" id="522" />
+<TGConnectingPoint num="3" id="523" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="550" >
+<CONNECTOR type="5102" id="533" >
 <cdparam x="574" y="350" />
 <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="549" />
-<P1  x="574" y="350" id="659" />
-<P2  x="574" y="393" id="641" />
+<TGConnectingPoint num="0" id="532" />
+<P1  x="574" y="350" id="642" />
+<P2  x="574" y="393" id="624" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="548" >
-<father id="550" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="531" >
+<father id="533" num="0" />
 <cdparam x="574" y="364" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="544" />
-<TGConnectingPoint num="1" id="545" />
-<TGConnectingPoint num="2" id="546" />
-<TGConnectingPoint num="3" id="547" />
+<TGConnectingPoint num="0" id="527" />
+<TGConnectingPoint num="1" id="528" />
+<TGConnectingPoint num="2" id="529" />
+<TGConnectingPoint num="3" id="530" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="557" >
+<CONNECTOR type="5102" id="540" >
 <cdparam x="368" y="350" />
 <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="556" />
-<P1  x="368" y="350" id="657" />
-<P2  x="326" y="392" id="630" />
+<TGConnectingPoint num="0" id="539" />
+<P1  x="368" y="350" id="640" />
+<P2  x="326" y="392" id="613" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="555" >
-<father id="557" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="538" >
+<father id="540" num="0" />
 <cdparam x="371" y="375" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="551" />
-<TGConnectingPoint num="1" id="552" />
-<TGConnectingPoint num="2" id="553" />
-<TGConnectingPoint num="3" id="554" />
+<TGConnectingPoint num="0" id="534" />
+<TGConnectingPoint num="1" id="535" />
+<TGConnectingPoint num="2" id="536" />
+<TGConnectingPoint num="3" id="537" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="564" >
+<CONNECTOR type="5102" id="547" >
 <cdparam x="326" y="422" />
 <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="563" />
-<P1  x="326" y="422" id="631" />
-<P2  x="326" y="444" id="619" />
+<TGConnectingPoint num="0" id="546" />
+<P1  x="326" y="422" id="614" />
+<P2  x="326" y="444" id="602" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="562" >
-<father id="564" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="545" >
+<father id="547" num="0" />
 <cdparam x="329" y="430" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="558" />
-<TGConnectingPoint num="1" id="559" />
-<TGConnectingPoint num="2" id="560" />
-<TGConnectingPoint num="3" id="561" />
+<TGConnectingPoint num="0" id="541" />
+<TGConnectingPoint num="1" id="542" />
+<TGConnectingPoint num="2" id="543" />
+<TGConnectingPoint num="3" id="544" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="571" >
+<CONNECTOR type="5102" id="554" >
 <cdparam x="326" y="474" />
 <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="570" />
-<P1  x="326" y="474" id="620" />
-<P2  x="326" y="501" id="608" />
+<TGConnectingPoint num="0" id="553" />
+<P1  x="326" y="474" id="603" />
+<P2  x="326" y="501" id="591" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="569" >
-<father id="571" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="552" >
+<father id="554" num="0" />
 <cdparam x="326" y="487" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="565" />
-<TGConnectingPoint num="1" id="566" />
-<TGConnectingPoint num="2" id="567" />
-<TGConnectingPoint num="3" id="568" />
+<TGConnectingPoint num="0" id="548" />
+<TGConnectingPoint num="1" id="549" />
+<TGConnectingPoint num="2" id="550" />
+<TGConnectingPoint num="3" id="551" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="578" >
+<CONNECTOR type="5102" id="561" >
 <cdparam x="471" y="240" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <infoparam name="connector" value="null" />
-<TGConnectingPoint num="0" id="577" />
-<P1  x="471" y="240" id="694" />
-<P2  x="471" y="252" id="586" />
+<TGConnectingPoint num="0" id="560" />
+<P1  x="471" y="240" id="677" />
+<P2  x="471" y="252" id="569" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="576" >
-<father id="578" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="559" >
+<father id="561" num="0" />
 <cdparam x="474" y="246" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="572" />
-<TGConnectingPoint num="1" id="573" />
-<TGConnectingPoint num="2" id="574" />
-<TGConnectingPoint num="3" id="575" />
+<TGConnectingPoint num="0" id="555" />
+<TGConnectingPoint num="1" id="556" />
+<TGConnectingPoint num="2" id="557" />
+<TGConnectingPoint num="3" id="558" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="585" >
+<CONNECTOR type="5102" id="568" >
 <cdparam x="478" y="282" />
 <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="584" />
-<P1  x="471" y="282" id="587" />
-<P2  x="471" y="300" id="653" />
+<TGConnectingPoint num="0" id="567" />
+<P1  x="471" y="282" id="570" />
+<P2  x="471" y="300" id="636" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="583" >
-<father id="585" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="566" >
+<father id="568" num="0" />
 <cdparam x="474" y="291" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="579" />
-<TGConnectingPoint num="1" id="580" />
-<TGConnectingPoint num="2" id="581" />
-<TGConnectingPoint num="3" id="582" />
+<TGConnectingPoint num="0" id="562" />
+<TGConnectingPoint num="1" id="563" />
+<TGConnectingPoint num="2" id="564" />
+<TGConnectingPoint num="3" id="565" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5103" id="596" >
+<COMPONENT type="5103" id="579" >
 <cdparam x="435" y="257" />
 <sizeparam width="72" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="alarmOn()" />
-<TGConnectingPoint num="0" id="586" />
-<TGConnectingPoint num="1" id="587" />
-<TGConnectingPoint num="2" id="588" />
-<TGConnectingPoint num="3" id="589" />
-<TGConnectingPoint num="4" id="590" />
-<TGConnectingPoint num="5" id="591" />
-<TGConnectingPoint num="6" id="592" />
-<TGConnectingPoint num="7" id="593" />
-<TGConnectingPoint num="8" id="594" />
-<TGConnectingPoint num="9" id="595" />
+<TGConnectingPoint num="0" id="569" />
+<TGConnectingPoint num="1" id="570" />
+<TGConnectingPoint num="2" id="571" />
+<TGConnectingPoint num="3" id="572" />
+<TGConnectingPoint num="4" id="573" />
+<TGConnectingPoint num="5" id="574" />
+<TGConnectingPoint num="6" id="575" />
+<TGConnectingPoint num="7" id="576" />
+<TGConnectingPoint num="8" id="577" />
+<TGConnectingPoint num="9" id="578" />
 </COMPONENT>
 
-<COMPONENT type="5103" id="607" >
+<COMPONENT type="5103" id="590" >
 <cdparam x="538" y="477" />
 <sizeparam width="72" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="alarmOff()" />
-<TGConnectingPoint num="0" id="597" />
-<TGConnectingPoint num="1" id="598" />
-<TGConnectingPoint num="2" id="599" />
-<TGConnectingPoint num="3" id="600" />
-<TGConnectingPoint num="4" id="601" />
-<TGConnectingPoint num="5" id="602" />
-<TGConnectingPoint num="6" id="603" />
-<TGConnectingPoint num="7" id="604" />
-<TGConnectingPoint num="8" id="605" />
-<TGConnectingPoint num="9" id="606" />
+<TGConnectingPoint num="0" id="580" />
+<TGConnectingPoint num="1" id="581" />
+<TGConnectingPoint num="2" id="582" />
+<TGConnectingPoint num="3" id="583" />
+<TGConnectingPoint num="4" id="584" />
+<TGConnectingPoint num="5" id="585" />
+<TGConnectingPoint num="6" id="586" />
+<TGConnectingPoint num="7" id="587" />
+<TGConnectingPoint num="8" id="588" />
+<TGConnectingPoint num="9" id="589" />
 </COMPONENT>
 
-<COMPONENT type="5109" id="618" >
+<COMPONENT type="5109" id="601" >
 <cdparam x="208" y="506" />
 <sizeparam width="236" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Set timer" value="setTimer(alarmTimer,alarmDuration)" />
-<TGConnectingPoint num="0" id="608" />
-<TGConnectingPoint num="1" id="609" />
-<TGConnectingPoint num="2" id="610" />
-<TGConnectingPoint num="3" id="611" />
-<TGConnectingPoint num="4" id="612" />
-<TGConnectingPoint num="5" id="613" />
-<TGConnectingPoint num="6" id="614" />
-<TGConnectingPoint num="7" id="615" />
-<TGConnectingPoint num="8" id="616" />
-<TGConnectingPoint num="9" id="617" />
+<TGConnectingPoint num="0" id="591" />
+<TGConnectingPoint num="1" id="592" />
+<TGConnectingPoint num="2" id="593" />
+<TGConnectingPoint num="3" id="594" />
+<TGConnectingPoint num="4" id="595" />
+<TGConnectingPoint num="5" id="596" />
+<TGConnectingPoint num="6" id="597" />
+<TGConnectingPoint num="7" id="598" />
+<TGConnectingPoint num="8" id="599" />
+<TGConnectingPoint num="9" id="600" />
 </COMPONENT>
 
-<COMPONENT type="5110" id="629" >
+<COMPONENT type="5110" id="612" >
 <cdparam x="265" y="449" />
 <sizeparam width="122" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Reset timer" value="reset(alarmTimer)" />
-<TGConnectingPoint num="0" id="619" />
-<TGConnectingPoint num="1" id="620" />
-<TGConnectingPoint num="2" id="621" />
-<TGConnectingPoint num="3" id="622" />
-<TGConnectingPoint num="4" id="623" />
-<TGConnectingPoint num="5" id="624" />
-<TGConnectingPoint num="6" id="625" />
-<TGConnectingPoint num="7" id="626" />
-<TGConnectingPoint num="8" id="627" />
-<TGConnectingPoint num="9" id="628" />
+<TGConnectingPoint num="0" id="602" />
+<TGConnectingPoint num="1" id="603" />
+<TGConnectingPoint num="2" id="604" />
+<TGConnectingPoint num="3" id="605" />
+<TGConnectingPoint num="4" id="606" />
+<TGConnectingPoint num="5" id="607" />
+<TGConnectingPoint num="6" id="608" />
+<TGConnectingPoint num="7" id="609" />
+<TGConnectingPoint num="8" id="610" />
+<TGConnectingPoint num="9" id="611" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="640" >
+<COMPONENT type="5104" id="623" >
 <cdparam x="271" y="397" />
 <sizeparam width="111" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="highPressure()" />
-<TGConnectingPoint num="0" id="630" />
-<TGConnectingPoint num="1" id="631" />
-<TGConnectingPoint num="2" id="632" />
-<TGConnectingPoint num="3" id="633" />
-<TGConnectingPoint num="4" id="634" />
-<TGConnectingPoint num="5" id="635" />
-<TGConnectingPoint num="6" id="636" />
-<TGConnectingPoint num="7" id="637" />
-<TGConnectingPoint num="8" id="638" />
-<TGConnectingPoint num="9" id="639" />
+<TGConnectingPoint num="0" id="613" />
+<TGConnectingPoint num="1" id="614" />
+<TGConnectingPoint num="2" id="615" />
+<TGConnectingPoint num="3" id="616" />
+<TGConnectingPoint num="4" id="617" />
+<TGConnectingPoint num="5" id="618" />
+<TGConnectingPoint num="6" id="619" />
+<TGConnectingPoint num="7" id="620" />
+<TGConnectingPoint num="8" id="621" />
+<TGConnectingPoint num="9" id="622" />
 </COMPONENT>
 
-<COMPONENT type="5111" id="651" >
+<COMPONENT type="5111" id="634" >
 <cdparam x="506" y="398" />
 <sizeparam width="137" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Reset timer" value="expire(alarmTimer)" />
-<TGConnectingPoint num="0" id="641" />
-<TGConnectingPoint num="1" id="642" />
-<TGConnectingPoint num="2" id="643" />
-<TGConnectingPoint num="3" id="644" />
-<TGConnectingPoint num="4" id="645" />
-<TGConnectingPoint num="5" id="646" />
-<TGConnectingPoint num="6" id="647" />
-<TGConnectingPoint num="7" id="648" />
-<TGConnectingPoint num="8" id="649" />
-<TGConnectingPoint num="9" id="650" />
+<TGConnectingPoint num="0" id="624" />
+<TGConnectingPoint num="1" id="625" />
+<TGConnectingPoint num="2" id="626" />
+<TGConnectingPoint num="3" id="627" />
+<TGConnectingPoint num="4" id="628" />
+<TGConnectingPoint num="5" id="629" />
+<TGConnectingPoint num="6" id="630" />
+<TGConnectingPoint num="7" id="631" />
+<TGConnectingPoint num="8" id="632" />
+<TGConnectingPoint num="9" id="633" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="692" >
+<COMPONENT type="5106" id="675" >
 <cdparam x="368" y="300" />
 <sizeparam width="206" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="AlarmIsOn" />
-<TGConnectingPoint num="0" id="652" />
-<TGConnectingPoint num="1" id="653" />
-<TGConnectingPoint num="2" id="654" />
-<TGConnectingPoint num="3" id="655" />
-<TGConnectingPoint num="4" id="656" />
-<TGConnectingPoint num="5" id="657" />
-<TGConnectingPoint num="6" id="658" />
-<TGConnectingPoint num="7" id="659" />
-<TGConnectingPoint num="8" id="660" />
-<TGConnectingPoint num="9" id="661" />
-<TGConnectingPoint num="10" id="662" />
-<TGConnectingPoint num="11" id="663" />
-<TGConnectingPoint num="12" id="664" />
-<TGConnectingPoint num="13" id="665" />
-<TGConnectingPoint num="14" id="666" />
-<TGConnectingPoint num="15" id="667" />
-<TGConnectingPoint num="16" id="668" />
-<TGConnectingPoint num="17" id="669" />
-<TGConnectingPoint num="18" id="670" />
-<TGConnectingPoint num="19" id="671" />
-<TGConnectingPoint num="20" id="672" />
-<TGConnectingPoint num="21" id="673" />
-<TGConnectingPoint num="22" id="674" />
-<TGConnectingPoint num="23" id="675" />
-<TGConnectingPoint num="24" id="676" />
-<TGConnectingPoint num="25" id="677" />
-<TGConnectingPoint num="26" id="678" />
-<TGConnectingPoint num="27" id="679" />
-<TGConnectingPoint num="28" id="680" />
-<TGConnectingPoint num="29" id="681" />
-<TGConnectingPoint num="30" id="682" />
-<TGConnectingPoint num="31" id="683" />
-<TGConnectingPoint num="32" id="684" />
-<TGConnectingPoint num="33" id="685" />
-<TGConnectingPoint num="34" id="686" />
-<TGConnectingPoint num="35" id="687" />
-<TGConnectingPoint num="36" id="688" />
-<TGConnectingPoint num="37" id="689" />
-<TGConnectingPoint num="38" id="690" />
-<TGConnectingPoint num="39" id="691" />
+<TGConnectingPoint num="0" id="635" />
+<TGConnectingPoint num="1" id="636" />
+<TGConnectingPoint num="2" id="637" />
+<TGConnectingPoint num="3" id="638" />
+<TGConnectingPoint num="4" id="639" />
+<TGConnectingPoint num="5" id="640" />
+<TGConnectingPoint num="6" id="641" />
+<TGConnectingPoint num="7" id="642" />
+<TGConnectingPoint num="8" id="643" />
+<TGConnectingPoint num="9" id="644" />
+<TGConnectingPoint num="10" id="645" />
+<TGConnectingPoint num="11" id="646" />
+<TGConnectingPoint num="12" id="647" />
+<TGConnectingPoint num="13" id="648" />
+<TGConnectingPoint num="14" id="649" />
+<TGConnectingPoint num="15" id="650" />
+<TGConnectingPoint num="16" id="651" />
+<TGConnectingPoint num="17" id="652" />
+<TGConnectingPoint num="18" id="653" />
+<TGConnectingPoint num="19" id="654" />
+<TGConnectingPoint num="20" id="655" />
+<TGConnectingPoint num="21" id="656" />
+<TGConnectingPoint num="22" id="657" />
+<TGConnectingPoint num="23" id="658" />
+<TGConnectingPoint num="24" id="659" />
+<TGConnectingPoint num="25" id="660" />
+<TGConnectingPoint num="26" id="661" />
+<TGConnectingPoint num="27" id="662" />
+<TGConnectingPoint num="28" id="663" />
+<TGConnectingPoint num="29" id="664" />
+<TGConnectingPoint num="30" id="665" />
+<TGConnectingPoint num="31" id="666" />
+<TGConnectingPoint num="32" id="667" />
+<TGConnectingPoint num="33" id="668" />
+<TGConnectingPoint num="34" id="669" />
+<TGConnectingPoint num="35" id="670" />
+<TGConnectingPoint num="36" id="671" />
+<TGConnectingPoint num="37" id="672" />
+<TGConnectingPoint num="38" id="673" />
+<TGConnectingPoint num="39" id="674" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5109" id="703" >
+<COMPONENT type="5109" id="686" >
 <cdparam x="353" y="215" />
 <sizeparam width="236" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Set timer" value="setTimer(alarmTimer,alarmDuration)" />
-<TGConnectingPoint num="0" id="693" />
-<TGConnectingPoint num="1" id="694" />
-<TGConnectingPoint num="2" id="695" />
-<TGConnectingPoint num="3" id="696" />
-<TGConnectingPoint num="4" id="697" />
-<TGConnectingPoint num="5" id="698" />
-<TGConnectingPoint num="6" id="699" />
-<TGConnectingPoint num="7" id="700" />
-<TGConnectingPoint num="8" id="701" />
-<TGConnectingPoint num="9" id="702" />
+<TGConnectingPoint num="0" id="676" />
+<TGConnectingPoint num="1" id="677" />
+<TGConnectingPoint num="2" id="678" />
+<TGConnectingPoint num="3" id="679" />
+<TGConnectingPoint num="4" id="680" />
+<TGConnectingPoint num="5" id="681" />
+<TGConnectingPoint num="6" id="682" />
+<TGConnectingPoint num="7" id="683" />
+<TGConnectingPoint num="8" id="684" />
+<TGConnectingPoint num="9" id="685" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="714" >
+<COMPONENT type="5104" id="697" >
 <cdparam x="416" y="182" />
 <sizeparam width="111" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="highPressure()" />
-<TGConnectingPoint num="0" id="704" />
-<TGConnectingPoint num="1" id="705" />
-<TGConnectingPoint num="2" id="706" />
-<TGConnectingPoint num="3" id="707" />
-<TGConnectingPoint num="4" id="708" />
-<TGConnectingPoint num="5" id="709" />
-<TGConnectingPoint num="6" id="710" />
-<TGConnectingPoint num="7" id="711" />
-<TGConnectingPoint num="8" id="712" />
-<TGConnectingPoint num="9" id="713" />
+<TGConnectingPoint num="0" id="687" />
+<TGConnectingPoint num="1" id="688" />
+<TGConnectingPoint num="2" id="689" />
+<TGConnectingPoint num="3" id="690" />
+<TGConnectingPoint num="4" id="691" />
+<TGConnectingPoint num="5" id="692" />
+<TGConnectingPoint num="6" id="693" />
+<TGConnectingPoint num="7" id="694" />
+<TGConnectingPoint num="8" id="695" />
+<TGConnectingPoint num="9" id="696" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="755" >
+<COMPONENT type="5106" id="738" >
 <cdparam x="380" y="113" />
 <sizeparam width="183" height="41" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="AlarmIsOff" />
-<TGConnectingPoint num="0" id="715" />
-<TGConnectingPoint num="1" id="716" />
-<TGConnectingPoint num="2" id="717" />
-<TGConnectingPoint num="3" id="718" />
-<TGConnectingPoint num="4" id="719" />
-<TGConnectingPoint num="5" id="720" />
-<TGConnectingPoint num="6" id="721" />
-<TGConnectingPoint num="7" id="722" />
-<TGConnectingPoint num="8" id="723" />
-<TGConnectingPoint num="9" id="724" />
-<TGConnectingPoint num="10" id="725" />
-<TGConnectingPoint num="11" id="726" />
-<TGConnectingPoint num="12" id="727" />
-<TGConnectingPoint num="13" id="728" />
-<TGConnectingPoint num="14" id="729" />
-<TGConnectingPoint num="15" id="730" />
-<TGConnectingPoint num="16" id="731" />
-<TGConnectingPoint num="17" id="732" />
-<TGConnectingPoint num="18" id="733" />
-<TGConnectingPoint num="19" id="734" />
-<TGConnectingPoint num="20" id="735" />
-<TGConnectingPoint num="21" id="736" />
-<TGConnectingPoint num="22" id="737" />
-<TGConnectingPoint num="23" id="738" />
-<TGConnectingPoint num="24" id="739" />
-<TGConnectingPoint num="25" id="740" />
-<TGConnectingPoint num="26" id="741" />
-<TGConnectingPoint num="27" id="742" />
-<TGConnectingPoint num="28" id="743" />
-<TGConnectingPoint num="29" id="744" />
-<TGConnectingPoint num="30" id="745" />
-<TGConnectingPoint num="31" id="746" />
-<TGConnectingPoint num="32" id="747" />
-<TGConnectingPoint num="33" id="748" />
-<TGConnectingPoint num="34" id="749" />
-<TGConnectingPoint num="35" id="750" />
-<TGConnectingPoint num="36" id="751" />
-<TGConnectingPoint num="37" id="752" />
-<TGConnectingPoint num="38" id="753" />
-<TGConnectingPoint num="39" id="754" />
+<TGConnectingPoint num="0" id="698" />
+<TGConnectingPoint num="1" id="699" />
+<TGConnectingPoint num="2" id="700" />
+<TGConnectingPoint num="3" id="701" />
+<TGConnectingPoint num="4" id="702" />
+<TGConnectingPoint num="5" id="703" />
+<TGConnectingPoint num="6" id="704" />
+<TGConnectingPoint num="7" id="705" />
+<TGConnectingPoint num="8" id="706" />
+<TGConnectingPoint num="9" id="707" />
+<TGConnectingPoint num="10" id="708" />
+<TGConnectingPoint num="11" id="709" />
+<TGConnectingPoint num="12" id="710" />
+<TGConnectingPoint num="13" id="711" />
+<TGConnectingPoint num="14" id="712" />
+<TGConnectingPoint num="15" id="713" />
+<TGConnectingPoint num="16" id="714" />
+<TGConnectingPoint num="17" id="715" />
+<TGConnectingPoint num="18" id="716" />
+<TGConnectingPoint num="19" id="717" />
+<TGConnectingPoint num="20" id="718" />
+<TGConnectingPoint num="21" id="719" />
+<TGConnectingPoint num="22" id="720" />
+<TGConnectingPoint num="23" id="721" />
+<TGConnectingPoint num="24" id="722" />
+<TGConnectingPoint num="25" id="723" />
+<TGConnectingPoint num="26" id="724" />
+<TGConnectingPoint num="27" id="725" />
+<TGConnectingPoint num="28" id="726" />
+<TGConnectingPoint num="29" id="727" />
+<TGConnectingPoint num="30" id="728" />
+<TGConnectingPoint num="31" id="729" />
+<TGConnectingPoint num="32" id="730" />
+<TGConnectingPoint num="33" id="731" />
+<TGConnectingPoint num="34" id="732" />
+<TGConnectingPoint num="35" id="733" />
+<TGConnectingPoint num="36" id="734" />
+<TGConnectingPoint num="37" id="735" />
+<TGConnectingPoint num="38" id="736" />
+<TGConnectingPoint num="39" id="737" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5100" id="757" >
+<COMPONENT type="5100" id="740" >
 <cdparam x="394" y="47" />
 <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="756" />
+<TGConnectingPoint num="0" id="739" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="MainController" minX="10" maxX="2500" minY="10" maxY="1500" >
-<CONNECTOR type="5102" id="764" >
+<CONNECTOR type="5102" id="747" >
 <cdparam x="700" y="471" />
 <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="763" />
-<P1  x="697" y="473" id="853" />
-<P2  x="697" y="481" id="874" />
+<TGConnectingPoint num="0" id="746" />
+<P1  x="697" y="473" id="836" />
+<P2  x="697" y="481" id="857" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="762" >
-<father id="764" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="745" >
+<father id="747" num="0" />
 <cdparam x="697" y="476" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="758" />
-<TGConnectingPoint num="1" id="759" />
-<TGConnectingPoint num="2" id="760" />
-<TGConnectingPoint num="3" id="761" />
+<TGConnectingPoint num="0" id="741" />
+<TGConnectingPoint num="1" id="742" />
+<TGConnectingPoint num="2" id="743" />
+<TGConnectingPoint num="3" id="744" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="779" >
+<CONNECTOR type="5102" id="762" >
 <cdparam x="699" y="595" />
 <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="774" />
-<TGConnectingPoint num="1" id="775" />
-<TGConnectingPoint num="2" id="776" />
-<TGConnectingPoint num="3" id="777" />
-<TGConnectingPoint num="4" id="778" />
-<P1  x="697" y="595" id="864" />
-<P2  x="649" y="209" id="962" />
+<TGConnectingPoint num="0" id="757" />
+<TGConnectingPoint num="1" id="758" />
+<TGConnectingPoint num="2" id="759" />
+<TGConnectingPoint num="3" id="760" />
+<TGConnectingPoint num="4" id="761" />
+<P1  x="697" y="595" id="847" />
+<P2  x="649" y="209" id="945" />
 <Point x="697" y="615" />
 <Point x="857" y="615" />
 <Point x="857" y="189" />
 <Point x="669" y="189" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="765" >
-<father id="779" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="748" >
+<father id="762" num="0" />
 <cdparam x="697" y="615" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="766" >
-<father id="779" num="1" />
+<SUBCOMPONENT type="-1" id="749" >
+<father id="762" num="1" />
 <cdparam x="857" y="615" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="767" >
-<father id="779" num="2" />
+<SUBCOMPONENT type="-1" id="750" >
+<father id="762" num="2" />
 <cdparam x="857" y="189" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="768" >
-<father id="779" num="3" />
+<SUBCOMPONENT type="-1" id="751" >
+<father id="762" num="3" />
 <cdparam x="669" y="189" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="773" >
-<father id="779" num="4" />
+<SUBCOMPONENT type="-1" id="756" >
+<father id="762" num="4" />
 <cdparam x="674" y="402" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="769" />
-<TGConnectingPoint num="1" id="770" />
-<TGConnectingPoint num="2" id="771" />
-<TGConnectingPoint num="3" id="772" />
+<TGConnectingPoint num="0" id="752" />
+<TGConnectingPoint num="1" id="753" />
+<TGConnectingPoint num="2" id="754" />
+<TGConnectingPoint num="3" id="755" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="794" >
+<CONNECTOR type="5102" id="777" >
 <cdparam x="666" y="506" />
 <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="789" />
-<TGConnectingPoint num="1" id="790" />
-<TGConnectingPoint num="2" id="791" />
-<TGConnectingPoint num="3" id="792" />
-<TGConnectingPoint num="4" id="793" />
-<P1  x="672" y="506" id="875" />
-<P2  x="418" y="190" id="978" />
+<TGConnectingPoint num="0" id="772" />
+<TGConnectingPoint num="1" id="773" />
+<TGConnectingPoint num="2" id="774" />
+<TGConnectingPoint num="3" id="775" />
+<TGConnectingPoint num="4" id="776" />
+<P1  x="672" y="506" id="858" />
+<P2  x="418" y="190" id="961" />
 <Point x="672" y="526" />
 <Point x="225" y="526" />
 <Point x="225" y="170" />
 <Point x="398" y="170" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="780" >
-<father id="794" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="763" >
+<father id="777" num="0" />
 <cdparam x="672" y="526" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="781" >
-<father id="794" num="1" />
+<SUBCOMPONENT type="-1" id="764" >
+<father id="777" num="1" />
 <cdparam x="225" y="526" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="782" >
-<father id="794" num="2" />
+<SUBCOMPONENT type="-1" id="765" >
+<father id="777" num="2" />
 <cdparam x="225" y="170" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="783" >
-<father id="794" num="3" />
+<SUBCOMPONENT type="-1" id="766" >
+<father id="777" num="3" />
 <cdparam x="398" y="170" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="788" >
-<father id="794" num="4" />
+<SUBCOMPONENT type="-1" id="771" >
+<father id="777" num="4" />
 <cdparam x="462" y="508" />
 <sizeparam width="194" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="784" />
-<TGConnectingPoint num="1" id="785" />
-<TGConnectingPoint num="2" id="786" />
-<TGConnectingPoint num="3" id="787" />
+<TGConnectingPoint num="0" id="767" />
+<TGConnectingPoint num="1" id="768" />
+<TGConnectingPoint num="2" id="769" />
+<TGConnectingPoint num="3" id="770" />
 <extraparam>
-<guard value="[ currentPressure &lt; threshold]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ currentPressure &lt; threshold]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="809" >
+<CONNECTOR type="5102" id="792" >
 <cdparam x="536" y="337" />
 <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="804" />
-<TGConnectingPoint num="1" id="805" />
-<TGConnectingPoint num="2" id="806" />
-<TGConnectingPoint num="3" id="807" />
-<TGConnectingPoint num="4" id="808" />
-<P1  x="536" y="337" id="932" />
-<P2  x="418" y="202" id="979" />
+<TGConnectingPoint num="0" id="787" />
+<TGConnectingPoint num="1" id="788" />
+<TGConnectingPoint num="2" id="789" />
+<TGConnectingPoint num="3" id="790" />
+<TGConnectingPoint num="4" id="791" />
+<P1  x="536" y="337" id="915" />
+<P2  x="418" y="202" id="962" />
 <Point x="536" y="357" />
 <Point x="278" y="357" />
 <Point x="278" y="182" />
 <Point x="398" y="182" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="795" >
-<father id="809" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="778" >
+<father id="792" num="0" />
 <cdparam x="536" y="357" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="796" >
-<father id="809" num="1" />
+<SUBCOMPONENT type="-1" id="779" >
+<father id="792" num="1" />
 <cdparam x="278" y="357" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="797" >
-<father id="809" num="2" />
+<SUBCOMPONENT type="-1" id="780" >
+<father id="792" num="2" />
 <cdparam x="278" y="182" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="798" >
-<father id="809" num="3" />
+<SUBCOMPONENT type="-1" id="781" >
+<father id="792" num="3" />
 <cdparam x="398" y="182" />
 <sizeparam width="0" height="0" 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" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="803" >
-<father id="809" num="4" />
+<SUBCOMPONENT type="-1" id="786" >
+<father id="792" num="4" />
 <cdparam x="328" y="345" />
 <sizeparam width="194" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="799" />
-<TGConnectingPoint num="1" id="800" />
-<TGConnectingPoint num="2" id="801" />
-<TGConnectingPoint num="3" id="802" />
+<TGConnectingPoint num="0" id="782" />
+<TGConnectingPoint num="1" id="783" />
+<TGConnectingPoint num="2" id="784" />
+<TGConnectingPoint num="3" id="785" />
 <extraparam>
-<guard value="[ currentPressure &lt; threshold]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ currentPressure &lt; threshold]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="816" >
+<CONNECTOR type="5102" id="799" >
 <cdparam x="475" y="136" />
 <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="815" />
-<P1  x="475" y="136" id="999" />
-<P2  x="475" y="184" id="966" />
+<TGConnectingPoint num="0" id="798" />
+<P1  x="475" y="136" id="982" />
+<P2  x="475" y="184" id="949" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="814" >
-<father id="816" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="797" >
+<father id="799" num="0" />
 <cdparam x="474" y="146" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="810" />
-<TGConnectingPoint num="1" id="811" />
-<TGConnectingPoint num="2" id="812" />
-<TGConnectingPoint num="3" id="813" />
+<TGConnectingPoint num="0" id="793" />
+<TGConnectingPoint num="1" id="794" />
+<TGConnectingPoint num="2" id="795" />
+<TGConnectingPoint num="3" id="796" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="823" >
+<CONNECTOR type="5102" id="806" >
 <cdparam x="573" y="234" />
 <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="822" />
-<P1  x="561" y="234" id="988" />
-<P2  x="561" y="270" id="947" />
+<TGConnectingPoint num="0" id="805" />
+<P1  x="561" y="234" id="971" />
+<P2  x="561" y="270" id="930" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="821" >
-<father id="823" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="804" >
+<father id="806" num="0" />
 <cdparam x="566" y="247" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="817" />
-<TGConnectingPoint num="1" id="818" />
-<TGConnectingPoint num="2" id="819" />
-<TGConnectingPoint num="3" id="820" />
+<TGConnectingPoint num="0" id="800" />
+<TGConnectingPoint num="1" id="801" />
+<TGConnectingPoint num="2" id="802" />
+<TGConnectingPoint num="3" id="803" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="830" >
+<CONNECTOR type="5102" id="813" >
 <cdparam x="586" y="300" />
 <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="829" />
-<P1  x="561" y="300" id="948" />
-<P2  x="561" y="312" id="931" />
+<TGConnectingPoint num="0" id="812" />
+<P1  x="561" y="300" id="931" />
+<P2  x="561" y="312" id="914" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="828" >
-<father id="830" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="811" >
+<father id="813" num="0" />
 <cdparam x="590" y="304" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="824" />
-<TGConnectingPoint num="1" id="825" />
-<TGConnectingPoint num="2" id="826" />
-<TGConnectingPoint num="3" id="827" />
+<TGConnectingPoint num="0" id="807" />
+<TGConnectingPoint num="1" id="808" />
+<TGConnectingPoint num="2" id="809" />
+<TGConnectingPoint num="3" id="810" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="837" >
+<CONNECTOR type="5102" id="820" >
 <cdparam x="561" y="362" />
 <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="836" />
-<P1  x="561" y="362" id="937" />
-<P2  x="607" y="386" id="898" />
+<TGConnectingPoint num="0" id="819" />
+<P1  x="561" y="362" id="920" />
+<P2  x="607" y="386" id="881" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="835" >
-<father id="837" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="818" >
+<father id="820" num="0" />
 <cdparam x="600" y="349" />
 <sizeparam width="44" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="831" />
-<TGConnectingPoint num="1" id="832" />
-<TGConnectingPoint num="2" id="833" />
-<TGConnectingPoint num="3" id="834" />
+<TGConnectingPoint num="0" id="814" />
+<TGConnectingPoint num="1" id="815" />
+<TGConnectingPoint num="2" id="816" />
+<TGConnectingPoint num="3" id="817" />
 <extraparam>
-<guard value="[ else ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ else ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="844" >
+<CONNECTOR type="5102" id="827" >
 <cdparam x="694" y="456" />
 <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="843" />
-<P1  x="697" y="436" id="920" />
-<P2  x="697" y="443" id="852" />
+<TGConnectingPoint num="0" id="826" />
+<P1  x="697" y="436" id="903" />
+<P2  x="697" y="443" id="835" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="842" >
-<father id="844" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="825" >
+<father id="827" num="0" />
 <cdparam x="692" y="468" />
 <sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="838" />
-<TGConnectingPoint num="1" id="839" />
-<TGConnectingPoint num="2" id="840" />
-<TGConnectingPoint num="3" id="841" />
+<TGConnectingPoint num="0" id="821" />
+<TGConnectingPoint num="1" id="822" />
+<TGConnectingPoint num="2" id="823" />
+<TGConnectingPoint num="3" id="824" />
 <extraparam>
-<guard value="[ ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="851" >
+<CONNECTOR type="5102" id="834" >
 <cdparam x="691" y="531" />
 <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="850" />
-<P1  x="697" y="531" id="880" />
-<P2  x="697" y="565" id="863" />
+<TGConnectingPoint num="0" id="833" />
+<P1  x="697" y="531" id="863" />
+<P2  x="697" y="565" id="846" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="849" >
-<father id="851" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="832" >
+<father id="834" num="0" />
 <cdparam x="695" y="548" />
 <sizeparam width="44" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="List of all parameters of an Avatar SMD transition" value="" />
-<TGConnectingPoint num="0" id="845" />
-<TGConnectingPoint num="1" id="846" />
-<TGConnectingPoint num="2" id="847" />
-<TGConnectingPoint num="3" id="848" />
+<TGConnectingPoint num="0" id="828" />
+<TGConnectingPoint num="1" id="829" />
+<TGConnectingPoint num="2" id="830" />
+<TGConnectingPoint num="3" id="831" />
 <extraparam>
-<guard value="[ else ]" />
-<afterMin value="" />
-<afterMax value="" />
-<computeMin value="" />
-<computeMax value="" />
+<guard value="[ else ]" enabled="true"/>
+<afterMin value="" enabled="true"/>
+<afterMax value="" enabled="true"/>
+<computeMin value="" enabled="true"/>
+<computeMax value="" enabled="true"/>
+<probability value="" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="862" >
+<COMPONENT type="5104" id="845" >
 <cdparam x="587" y="448" />
 <sizeparam width="221" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="pressureValue(currentPressure)" />
-<TGConnectingPoint num="0" id="852" />
-<TGConnectingPoint num="1" id="853" />
-<TGConnectingPoint num="2" id="854" />
-<TGConnectingPoint num="3" id="855" />
-<TGConnectingPoint num="4" id="856" />
-<TGConnectingPoint num="5" id="857" />
-<TGConnectingPoint num="6" id="858" />
-<TGConnectingPoint num="7" id="859" />
-<TGConnectingPoint num="8" id="860" />
-<TGConnectingPoint num="9" id="861" />
+<TGConnectingPoint num="0" id="835" />
+<TGConnectingPoint num="1" id="836" />
+<TGConnectingPoint num="2" id="837" />
+<TGConnectingPoint num="3" id="838" />
+<TGConnectingPoint num="4" id="839" />
+<TGConnectingPoint num="5" id="840" />
+<TGConnectingPoint num="6" id="841" />
+<TGConnectingPoint num="7" id="842" />
+<TGConnectingPoint num="8" id="843" />
+<TGConnectingPoint num="9" id="844" />
 </COMPONENT>
 
-<COMPONENT type="5103" id="873" >
+<COMPONENT type="5103" id="856" >
 <cdparam x="646" y="570" />
 <sizeparam width="103" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Send signal" value="highPressure()" />
-<TGConnectingPoint num="0" id="863" />
-<TGConnectingPoint num="1" id="864" />
-<TGConnectingPoint num="2" id="865" />
-<TGConnectingPoint num="3" id="866" />
-<TGConnectingPoint num="4" id="867" />
-<TGConnectingPoint num="5" id="868" />
-<TGConnectingPoint num="6" id="869" />
-<TGConnectingPoint num="7" id="870" />
-<TGConnectingPoint num="8" id="871" />
-<TGConnectingPoint num="9" id="872" />
+<TGConnectingPoint num="0" id="846" />
+<TGConnectingPoint num="1" id="847" />
+<TGConnectingPoint num="2" id="848" />
+<TGConnectingPoint num="3" id="849" />
+<TGConnectingPoint num="4" id="850" />
+<TGConnectingPoint num="5" id="851" />
+<TGConnectingPoint num="6" id="852" />
+<TGConnectingPoint num="7" id="853" />
+<TGConnectingPoint num="8" id="854" />
+<TGConnectingPoint num="9" id="855" />
 </COMPONENT>
 
-<COMPONENT type="5107" id="889" >
+<COMPONENT type="5107" id="872" >
 <cdparam x="682" y="491" />
 <sizeparam width="30" 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="choice" value="null" />
-<TGConnectingPoint num="0" id="874" />
-<TGConnectingPoint num="1" id="875" />
-<TGConnectingPoint num="2" id="876" />
-<TGConnectingPoint num="3" id="877" />
-<TGConnectingPoint num="4" id="878" />
-<TGConnectingPoint num="5" id="879" />
-<TGConnectingPoint num="6" id="880" />
-<TGConnectingPoint num="7" id="881" />
-<TGConnectingPoint num="8" id="882" />
-<TGConnectingPoint num="9" id="883" />
-<TGConnectingPoint num="10" id="884" />
-<TGConnectingPoint num="11" id="885" />
-<TGConnectingPoint num="12" id="886" />
-<TGConnectingPoint num="13" id="887" />
-<TGConnectingPoint num="14" id="888" />
+<TGConnectingPoint num="0" id="857" />
+<TGConnectingPoint num="1" id="858" />
+<TGConnectingPoint num="2" id="859" />
+<TGConnectingPoint num="3" id="860" />
+<TGConnectingPoint num="4" id="861" />
+<TGConnectingPoint num="5" id="862" />
+<TGConnectingPoint num="6" id="863" />
+<TGConnectingPoint num="7" id="864" />
+<TGConnectingPoint num="8" id="865" />
+<TGConnectingPoint num="9" id="866" />
+<TGConnectingPoint num="10" id="867" />
+<TGConnectingPoint num="11" id="868" />
+<TGConnectingPoint num="12" id="869" />
+<TGConnectingPoint num="13" id="870" />
+<TGConnectingPoint num="14" id="871" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="930" >
+<COMPONENT type="5106" id="913" >
 <cdparam x="547" y="386" />
 <sizeparam width="242" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="WaitSecondHighPressure" />
-<TGConnectingPoint num="0" id="890" />
-<TGConnectingPoint num="1" id="891" />
-<TGConnectingPoint num="2" id="892" />
-<TGConnectingPoint num="3" id="893" />
-<TGConnectingPoint num="4" id="894" />
-<TGConnectingPoint num="5" id="895" />
-<TGConnectingPoint num="6" id="896" />
-<TGConnectingPoint num="7" id="897" />
-<TGConnectingPoint num="8" id="898" />
-<TGConnectingPoint num="9" id="899" />
-<TGConnectingPoint num="10" id="900" />
-<TGConnectingPoint num="11" id="901" />
-<TGConnectingPoint num="12" id="902" />
-<TGConnectingPoint num="13" id="903" />
-<TGConnectingPoint num="14" id="904" />
-<TGConnectingPoint num="15" id="905" />
-<TGConnectingPoint num="16" id="906" />
-<TGConnectingPoint num="17" id="907" />
-<TGConnectingPoint num="18" id="908" />
-<TGConnectingPoint num="19" id="909" />
-<TGConnectingPoint num="20" id="910" />
-<TGConnectingPoint num="21" id="911" />
-<TGConnectingPoint num="22" id="912" />
-<TGConnectingPoint num="23" id="913" />
-<TGConnectingPoint num="24" id="914" />
-<TGConnectingPoint num="25" id="915" />
-<TGConnectingPoint num="26" id="916" />
-<TGConnectingPoint num="27" id="917" />
-<TGConnectingPoint num="28" id="918" />
-<TGConnectingPoint num="29" id="919" />
-<TGConnectingPoint num="30" id="920" />
-<TGConnectingPoint num="31" id="921" />
-<TGConnectingPoint num="32" id="922" />
-<TGConnectingPoint num="33" id="923" />
-<TGConnectingPoint num="34" id="924" />
-<TGConnectingPoint num="35" id="925" />
-<TGConnectingPoint num="36" id="926" />
-<TGConnectingPoint num="37" id="927" />
-<TGConnectingPoint num="38" id="928" />
-<TGConnectingPoint num="39" id="929" />
+<TGConnectingPoint num="0" id="873" />
+<TGConnectingPoint num="1" id="874" />
+<TGConnectingPoint num="2" id="875" />
+<TGConnectingPoint num="3" id="876" />
+<TGConnectingPoint num="4" id="877" />
+<TGConnectingPoint num="5" id="878" />
+<TGConnectingPoint num="6" id="879" />
+<TGConnectingPoint num="7" id="880" />
+<TGConnectingPoint num="8" id="881" />
+<TGConnectingPoint num="9" id="882" />
+<TGConnectingPoint num="10" id="883" />
+<TGConnectingPoint num="11" id="884" />
+<TGConnectingPoint num="12" id="885" />
+<TGConnectingPoint num="13" id="886" />
+<TGConnectingPoint num="14" id="887" />
+<TGConnectingPoint num="15" id="888" />
+<TGConnectingPoint num="16" id="889" />
+<TGConnectingPoint num="17" id="890" />
+<TGConnectingPoint num="18" id="891" />
+<TGConnectingPoint num="19" id="892" />
+<TGConnectingPoint num="20" id="893" />
+<TGConnectingPoint num="21" id="894" />
+<TGConnectingPoint num="22" id="895" />
+<TGConnectingPoint num="23" id="896" />
+<TGConnectingPoint num="24" id="897" />
+<TGConnectingPoint num="25" id="898" />
+<TGConnectingPoint num="26" id="899" />
+<TGConnectingPoint num="27" id="900" />
+<TGConnectingPoint num="28" id="901" />
+<TGConnectingPoint num="29" id="902" />
+<TGConnectingPoint num="30" id="903" />
+<TGConnectingPoint num="31" id="904" />
+<TGConnectingPoint num="32" id="905" />
+<TGConnectingPoint num="33" id="906" />
+<TGConnectingPoint num="34" id="907" />
+<TGConnectingPoint num="35" id="908" />
+<TGConnectingPoint num="36" id="909" />
+<TGConnectingPoint num="37" id="910" />
+<TGConnectingPoint num="38" id="911" />
+<TGConnectingPoint num="39" id="912" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5107" id="946" >
+<COMPONENT type="5107" id="929" >
 <cdparam x="546" y="322" />
 <sizeparam width="30" 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="choice" value="null" />
-<TGConnectingPoint num="0" id="931" />
-<TGConnectingPoint num="1" id="932" />
-<TGConnectingPoint num="2" id="933" />
-<TGConnectingPoint num="3" id="934" />
-<TGConnectingPoint num="4" id="935" />
-<TGConnectingPoint num="5" id="936" />
-<TGConnectingPoint num="6" id="937" />
-<TGConnectingPoint num="7" id="938" />
-<TGConnectingPoint num="8" id="939" />
-<TGConnectingPoint num="9" id="940" />
-<TGConnectingPoint num="10" id="941" />
-<TGConnectingPoint num="11" id="942" />
-<TGConnectingPoint num="12" id="943" />
-<TGConnectingPoint num="13" id="944" />
-<TGConnectingPoint num="14" id="945" />
+<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" />
 </COMPONENT>
 
-<COMPONENT type="5104" id="957" >
+<COMPONENT type="5104" id="940" >
 <cdparam x="451" y="275" />
 <sizeparam width="221" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="Receive signal" value="pressureValue(currentPressure)" />
-<TGConnectingPoint num="0" id="947" />
-<TGConnectingPoint num="1" id="948" />
-<TGConnectingPoint num="2" id="949" />
-<TGConnectingPoint num="3" id="950" />
-<TGConnectingPoint num="4" id="951" />
-<TGConnectingPoint num="5" id="952" />
-<TGConnectingPoint num="6" id="953" />
-<TGConnectingPoint num="7" id="954" />
-<TGConnectingPoint num="8" id="955" />
-<TGConnectingPoint num="9" id="956" />
+<TGConnectingPoint num="0" id="930" />
+<TGConnectingPoint num="1" id="931" />
+<TGConnectingPoint num="2" id="932" />
+<TGConnectingPoint num="3" id="933" />
+<TGConnectingPoint num="4" id="934" />
+<TGConnectingPoint num="5" id="935" />
+<TGConnectingPoint num="6" id="936" />
+<TGConnectingPoint num="7" id="937" />
+<TGConnectingPoint num="8" id="938" />
+<TGConnectingPoint num="9" id="939" />
 </COMPONENT>
 
-<COMPONENT type="5106" id="998" >
+<COMPONENT type="5106" id="981" >
 <cdparam x="418" y="184" />
 <sizeparam width="231" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2500" minY="10" maxY="1500" />
 <infoparam name="State" value="WaitFirstHighPressure" />
-<TGConnectingPoint num="0" id="958" />
-<TGConnectingPoint num="1" id="959" />
-<TGConnectingPoint num="2" id="960" />
-<TGConnectingPoint num="3" id="961" />
-<TGConnectingPoint num="4" id="962" />
-<TGConnectingPoint num="5" id="963" />
-<TGConnectingPoint num="6" id="964" />
-<TGConnectingPoint num="7" id="965" />
-<TGConnectingPoint num="8" id="966" />
-<TGConnectingPoint num="9" id="967" />
-<TGConnectingPoint num="10" id="968" />
-<TGConnectingPoint num="11" id="969" />
-<TGConnectingPoint num="12" id="970" />
-<TGConnectingPoint num="13" id="971" />
-<TGConnectingPoint num="14" id="972" />
-<TGConnectingPoint num="15" id="973" />
-<TGConnectingPoint num="16" id="974" />
-<TGConnectingPoint num="17" id="975" />
-<TGConnectingPoint num="18" id="976" />
-<TGConnectingPoint num="19" id="977" />
-<TGConnectingPoint num="20" id="978" />
-<TGConnectingPoint num="21" id="979" />
-<TGConnectingPoint num="22" id="980" />
-<TGConnectingPoint num="23" id="981" />
-<TGConnectingPoint num="24" id="982" />
-<TGConnectingPoint num="25" id="983" />
-<TGConnectingPoint num="26" id="984" />
-<TGConnectingPoint num="27" id="985" />
-<TGConnectingPoint num="28" id="986" />
-<TGConnectingPoint num="29" id="987" />
-<TGConnectingPoint num="30" id="988" />
-<TGConnectingPoint num="31" id="989" />
-<TGConnectingPoint num="32" id="990" />
-<TGConnectingPoint num="33" id="991" />
-<TGConnectingPoint num="34" id="992" />
-<TGConnectingPoint num="35" id="993" />
-<TGConnectingPoint num="36" id="994" />
-<TGConnectingPoint num="37" id="995" />
-<TGConnectingPoint num="38" id="996" />
-<TGConnectingPoint num="39" id="997" />
+<TGConnectingPoint num="0" id="941" />
+<TGConnectingPoint num="1" id="942" />
+<TGConnectingPoint num="2" id="943" />
+<TGConnectingPoint num="3" id="944" />
+<TGConnectingPoint num="4" id="945" />
+<TGConnectingPoint num="5" id="946" />
+<TGConnectingPoint num="6" id="947" />
+<TGConnectingPoint num="7" id="948" />
+<TGConnectingPoint num="8" id="949" />
+<TGConnectingPoint num="9" id="950" />
+<TGConnectingPoint num="10" id="951" />
+<TGConnectingPoint num="11" id="952" />
+<TGConnectingPoint num="12" id="953" />
+<TGConnectingPoint num="13" id="954" />
+<TGConnectingPoint num="14" id="955" />
+<TGConnectingPoint num="15" id="956" />
+<TGConnectingPoint num="16" id="957" />
+<TGConnectingPoint num="17" id="958" />
+<TGConnectingPoint num="18" id="959" />
+<TGConnectingPoint num="19" id="960" />
+<TGConnectingPoint num="20" id="961" />
+<TGConnectingPoint num="21" id="962" />
+<TGConnectingPoint num="22" id="963" />
+<TGConnectingPoint num="23" id="964" />
+<TGConnectingPoint num="24" id="965" />
+<TGConnectingPoint num="25" id="966" />
+<TGConnectingPoint num="26" id="967" />
+<TGConnectingPoint num="27" id="968" />
+<TGConnectingPoint num="28" id="969" />
+<TGConnectingPoint num="29" id="970" />
+<TGConnectingPoint num="30" id="971" />
+<TGConnectingPoint num="31" id="972" />
+<TGConnectingPoint num="32" id="973" />
+<TGConnectingPoint num="33" id="974" />
+<TGConnectingPoint num="34" id="975" />
+<TGConnectingPoint num="35" id="976" />
+<TGConnectingPoint num="36" id="977" />
+<TGConnectingPoint num="37" id="978" />
+<TGConnectingPoint num="38" id="979" />
+<TGConnectingPoint num="39" id="980" />
 <extraparam>
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5100" id="1000" >
+<COMPONENT type="5100" id="983" >
 <cdparam x="468" y="116" />
 <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="999" />
+<TGConnectingPoint num="0" id="982" />
 </COMPONENT>
 
 
diff --git a/modeling/DIPLODOCUS/SmartCardProtocol.xml b/modeling/DIPLODOCUS/SmartCardProtocol.xml
index 1b2c23f6a5..11b01ead57 100755
--- a/modeling/DIPLODOCUS/SmartCardProtocol.xml
+++ b/modeling/DIPLODOCUS/SmartCardProtocol.xml
@@ -1314,6 +1314,7 @@
 <cdparam x="318" y="433" />
 <sizeparam width="44" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="end()" />
 <TGConnectingPoint num="0" id="239" />
@@ -1376,6 +1377,7 @@
 <cdparam x="599" y="527" />
 <sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
@@ -1392,6 +1394,7 @@
 <cdparam x="664" y="562" />
 <sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
@@ -1409,6 +1412,7 @@
 <cdparam x="188" y="137" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send request" value="activation()" />
 <TGConnectingPoint num="0" id="260" />
@@ -1422,6 +1426,7 @@
 <cdparam x="202" y="237" />
 <sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="reset()" />
 <TGConnectingPoint num="0" id="263" />
@@ -1436,6 +1441,7 @@
 <cdparam x="168" y="288" />
 <sizeparam width="120" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="answerToReset() " />
 <TGConnectingPoint num="0" id="266" />
@@ -1449,6 +1455,7 @@
 <cdparam x="207" y="337" />
 <sizeparam width="43" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="pTS()" />
 <TGConnectingPoint num="0" id="269" />
@@ -1462,6 +1469,7 @@
 <cdparam x="387" y="152" />
 <sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="pTSConfirm() " />
 <TGConnectingPoint num="0" id="272" />
@@ -1504,12 +1512,13 @@
 <cdparam x="429" y="448" />
 <sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="write channel" value="fromDtoSC(1)" />
 <TGConnectingPoint num="0" id="292" />
 <TGConnectingPoint num="1" id="293" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -1517,6 +1526,7 @@
 <cdparam x="419" y="507" />
 <sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="data_Ready(x, b)" />
 <TGConnectingPoint num="0" id="295" />
@@ -1542,6 +1552,7 @@
 <cdparam x="588" y="447" />
 <sizeparam width="142" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="notified event" value="x=?data_Ready_SC()" />
 <TGConnectingPoint num="0" id="300" />
@@ -1564,12 +1575,13 @@
 <cdparam x="610" y="700" />
 <sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="read channel" value="fromSCtoD(1) " />
 <TGConnectingPoint num="0" id="305" />
 <TGConnectingPoint num="1" id="306" />
 <extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -1577,6 +1589,7 @@
 <cdparam x="600" y="619" />
 <sizeparam width="119" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="data_Ready_SC() " />
 <TGConnectingPoint num="0" id="308" />
@@ -1600,6 +1613,7 @@
 <cdparam x="300" y="287" />
 <sizeparam width="268" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <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="313" />
@@ -1699,7 +1713,7 @@
 <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="258" />
+<P1  x="229" y="73" id="258" />
 <P2  x="228" y="132" id="260" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -1807,6 +1821,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="342" />
@@ -1825,6 +1840,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="opened() " />
 <TGConnectingPoint num="0" id="345" />
@@ -1838,6 +1854,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="connectionOpened()" />
 <TGConnectingPoint num="0" id="348" />
@@ -1896,6 +1913,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="open()" />
 <TGConnectingPoint num="0" id="361" />
@@ -1909,12 +1927,13 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="write channel" value="fromAtoT(1)" />
 <TGConnectingPoint num="0" id="364" />
 <TGConnectingPoint num="1" id="365" />
 <extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -1922,6 +1941,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="send_TCP()" />
 <TGConnectingPoint num="0" id="367" />
@@ -1945,6 +1965,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="abort()" />
 <TGConnectingPoint num="0" id="372" />
@@ -1958,6 +1979,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="close()" />
 <TGConnectingPoint num="0" id="375" />
@@ -2012,7 +2034,7 @@
 <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="359" />
+<P1  x="505" y="48" id="359" />
 <P2  x="505" y="66" id="361" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -2081,6 +2103,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="end() " />
 <TGConnectingPoint num="0" id="393" />
@@ -2094,6 +2117,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="connectionOpened() " />
 <TGConnectingPoint num="0" id="396" />
@@ -2117,6 +2141,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="reset() " />
 <TGConnectingPoint num="0" id="401" />
@@ -2131,6 +2156,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="answerToReset()" />
 <TGConnectingPoint num="0" id="404" />
@@ -2144,6 +2170,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="pTS() " />
 <TGConnectingPoint num="0" id="407" />
@@ -2158,6 +2185,7 @@
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="pTSConfirm()" />
 <TGConnectingPoint num="0" id="410" />
@@ -2203,6 +2231,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send request" value="start_TCP_IP()" />
 <TGConnectingPoint num="0" id="430" />
@@ -2216,6 +2245,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send request" value="start_Application()" />
 <TGConnectingPoint num="0" id="433" />
@@ -2239,6 +2269,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="data_Ready_SC()" />
 <TGConnectingPoint num="0" id="438" />
@@ -2261,12 +2292,13 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="read channel" value="fromTtoP(1) " />
 <TGConnectingPoint num="0" id="443" />
 <TGConnectingPoint num="1" id="444" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -2274,6 +2306,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="send() " />
 <TGConnectingPoint num="0" id="446" />
@@ -2287,12 +2320,13 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="write channel" value="fromSCtoD(1)" />
 <TGConnectingPoint num="0" id="449" />
 <TGConnectingPoint num="1" id="450" />
 <extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -2300,6 +2334,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="receive()" />
 <TGConnectingPoint num="0" id="452" />
@@ -2313,12 +2348,13 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="read channel" value="fromDtoSC(1) " />
 <TGConnectingPoint num="0" id="455" />
 <TGConnectingPoint num="1" id="456" />
 <extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -2326,12 +2362,13 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="write channel" value="fromPtoT(1)" />
 <TGConnectingPoint num="0" id="458" />
 <TGConnectingPoint num="1" id="459" />
 <extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -2339,6 +2376,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="data_Ready(t, b) " />
 <TGConnectingPoint num="0" id="461" />
@@ -2355,6 +2393,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <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="464" />
@@ -2448,7 +2487,7 @@ the smart card and the terminal
 <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="399" />
+<P1  x="166" y="81" id="399" />
 <P2  x="166" y="124" id="401" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -2624,6 +2663,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
@@ -2632,6 +2672,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
@@ -2666,6 +2707,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="timeOut()" />
 <TGConnectingPoint num="0" id="519" />
@@ -2679,6 +2721,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="stop() " />
 <TGConnectingPoint num="0" id="522" />
@@ -2701,6 +2744,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="notified event" value="x=?stop()" />
 <TGConnectingPoint num="0" id="527" />
@@ -2714,7 +2758,7 @@ the smart card and the terminal
 <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="515" />
+<P1  x="496" y="41" id="515" />
 <P2  x="526" y="152" id="527" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
@@ -2766,6 +2810,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="opened()" />
 <TGConnectingPoint num="0" id="536" />
@@ -2799,6 +2844,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -2807,6 +2853,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
@@ -2827,6 +2874,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
 </SUBCOMPONENT>
@@ -2835,6 +2883,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
 </SUBCOMPONENT>
@@ -2843,6 +2892,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
@@ -2863,6 +2913,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
 </SUBCOMPONENT>
@@ -2871,6 +2922,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -2879,6 +2931,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state == 7 ]" />
 </SUBCOMPONENT>
@@ -2899,6 +2952,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
@@ -2907,6 +2961,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -2915,6 +2970,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
 </SUBCOMPONENT>
@@ -2959,6 +3015,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="580" />
@@ -2977,6 +3034,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="584" />
@@ -3007,6 +3065,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
 </SUBCOMPONENT>
@@ -3015,6 +3074,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3067,6 +3127,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="604" />
@@ -3085,6 +3146,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="608" />
@@ -3103,6 +3165,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="612" />
@@ -3141,6 +3204,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3149,6 +3213,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
 </SUBCOMPONENT>
@@ -3157,6 +3222,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="624" />
@@ -3187,6 +3253,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
 </SUBCOMPONENT>
@@ -3195,6 +3262,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3211,6 +3279,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="636" />
@@ -3229,6 +3298,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="640" />
@@ -3259,6 +3329,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
@@ -3267,6 +3338,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3275,6 +3347,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
 </SUBCOMPONENT>
@@ -3283,6 +3356,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="652" />
@@ -3313,6 +3387,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==0 ]" />
 </SUBCOMPONENT>
@@ -3321,6 +3396,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3329,6 +3405,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
@@ -3337,6 +3414,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="664" />
@@ -3355,6 +3433,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="668" />
@@ -3409,6 +3488,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="680" />
@@ -3427,6 +3507,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="684" />
@@ -3445,6 +3526,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="688" />
@@ -3463,6 +3545,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="execI" value="null" />
 <TGConnectingPoint num="0" id="692" />
@@ -3493,6 +3576,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
 </SUBCOMPONENT>
@@ -3501,6 +3585,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3529,6 +3614,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
 </SUBCOMPONENT>
@@ -3537,6 +3623,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
 </SUBCOMPONENT>
@@ -3565,6 +3652,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
 </SUBCOMPONENT>
@@ -3573,6 +3661,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3581,6 +3670,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
 </SUBCOMPONENT>
@@ -3601,6 +3691,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
 </SUBCOMPONENT>
@@ -3609,6 +3700,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
@@ -3617,6 +3709,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
 <infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
@@ -3682,6 +3775,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
 <TGConnectingPoint num="0" id="746" />
@@ -3701,12 +3795,13 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromPtoT(1) " />
 <TGConnectingPoint num="0" id="751" />
 <TGConnectingPoint num="1" id="752" />
 <extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -3714,6 +3809,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <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="754" />
@@ -3737,6 +3833,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=0" />
 <TGConnectingPoint num="0" id="760" />
@@ -3747,6 +3844,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="notified event" value="tcpctrl.a=?abort()" />
 <TGConnectingPoint num="0" id="763" />
@@ -3760,12 +3858,13 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
 <TGConnectingPoint num="0" id="766" />
 <TGConnectingPoint num="1" id="767" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -3773,6 +3872,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="timeOut() " />
 <TGConnectingPoint num="0" id="769" />
@@ -3786,6 +3886,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="receive() " />
 <TGConnectingPoint num="0" id="772" />
@@ -3799,6 +3900,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="close() " />
 <TGConnectingPoint num="0" id="775" />
@@ -3812,6 +3914,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="send_TCP() " />
 <TGConnectingPoint num="0" id="778" />
@@ -3825,6 +3928,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="open() " />
 <TGConnectingPoint num="0" id="781" />
@@ -3876,6 +3980,7 @@ the smart card and the terminal
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="wait event" value="abort() " />
 <TGConnectingPoint num="0" id="799" />
@@ -3932,12 +4037,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="fromAtoT(1) " />
 <TGConnectingPoint num="0" id="821" />
 <TGConnectingPoint num="1" id="822" />
 <extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -3945,12 +4051,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="824" />
 <TGConnectingPoint num="1" id="825" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -3967,6 +4074,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =5" />
 <TGConnectingPoint num="0" id="829" />
@@ -3986,6 +4094,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state=3" />
 <TGConnectingPoint num="0" id="834" />
@@ -3996,12 +4105,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="837" />
 <TGConnectingPoint num="1" id="838" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4009,6 +4119,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =10" />
 <TGConnectingPoint num="0" id="840" />
@@ -4028,12 +4139,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="845" />
 <TGConnectingPoint num="1" id="846" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4041,12 +4153,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="848" />
 <TGConnectingPoint num="1" id="849" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4091,6 +4204,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =1" />
 <TGConnectingPoint num="0" id="870" />
@@ -4110,12 +4224,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="875" />
 <TGConnectingPoint num="1" id="876" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4179,6 +4294,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =3" />
 <TGConnectingPoint num="0" id="912" />
@@ -4189,6 +4305,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
 <TGConnectingPoint num="0" id="915" />
@@ -4208,12 +4325,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="920" />
 <TGConnectingPoint num="1" id="921" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4249,6 +4367,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =9" />
 <TGConnectingPoint num="0" id="940" />
@@ -4268,12 +4387,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="945" />
 <TGConnectingPoint num="1" id="946" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4309,6 +4429,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =7" />
 <TGConnectingPoint num="0" id="965" />
@@ -4328,12 +4449,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="970" />
 <TGConnectingPoint num="1" id="971" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4350,6 +4472,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
 <TGConnectingPoint num="0" id="975" />
@@ -4363,12 +4486,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
 <TGConnectingPoint num="0" id="978" />
 <TGConnectingPoint num="1" id="979" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4385,6 +4509,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
 <TGConnectingPoint num="0" id="983" />
@@ -4398,12 +4523,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
 <TGConnectingPoint num="0" id="986" />
 <TGConnectingPoint num="1" id="987" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4411,6 +4537,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
 <TGConnectingPoint num="0" id="989" />
@@ -4424,12 +4551,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
 <TGConnectingPoint num="0" id="992" />
 <TGConnectingPoint num="1" id="993" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4437,6 +4565,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
 <TGConnectingPoint num="0" id="995" />
@@ -4450,12 +4579,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
 <TGConnectingPoint num="0" id="998" />
 <TGConnectingPoint num="1" id="999" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4463,6 +4593,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
 <TGConnectingPoint num="0" id="1001" />
@@ -4473,6 +4604,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
 <TGConnectingPoint num="0" id="1004" />
@@ -4483,6 +4615,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
 <TGConnectingPoint num="0" id="1007" />
@@ -4493,6 +4626,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
 <TGConnectingPoint num="0" id="1010" />
@@ -4503,6 +4637,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1013" />
@@ -4516,6 +4651,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1016" />
@@ -4529,6 +4665,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1019" />
@@ -4542,6 +4679,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1022" />
@@ -4555,6 +4693,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1025" />
@@ -4568,6 +4707,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1028" />
@@ -4581,6 +4721,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1031" />
@@ -4594,6 +4735,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1034" />
@@ -4625,12 +4767,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="1041" />
 <TGConnectingPoint num="1" id="1042" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4666,6 +4809,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
 <TGConnectingPoint num="0" id="1061" />
@@ -4685,6 +4829,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
 <TGConnectingPoint num="0" id="1066" />
@@ -4695,6 +4840,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1069" />
@@ -4726,12 +4872,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoA(1)" />
 <TGConnectingPoint num="0" id="1076" />
 <TGConnectingPoint num="1" id="1077" />
 <extraparam>
-<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4739,12 +4886,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="1079" />
 <TGConnectingPoint num="1" id="1080" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4752,6 +4900,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="stop()" />
 <TGConnectingPoint num="0" id="1082" />
@@ -4821,12 +4970,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="1119" />
 <TGConnectingPoint num="1" id="1120" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4899,6 +5049,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1158" />
@@ -4912,6 +5063,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1161" />
@@ -4925,12 +5077,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
 <TGConnectingPoint num="0" id="1164" />
 <TGConnectingPoint num="1" id="1165" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -4947,6 +5100,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =4" />
 <TGConnectingPoint num="0" id="1169" />
@@ -4966,6 +5120,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =6" />
 <TGConnectingPoint num="0" id="1174" />
@@ -4994,6 +5149,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
 <TGConnectingPoint num="0" id="1181" />
@@ -5013,6 +5169,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =0" />
 <TGConnectingPoint num="0" id="1186" />
@@ -5023,6 +5180,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =8" />
 <TGConnectingPoint num="0" id="1189" />
@@ -5089,12 +5247,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="1226" />
 <TGConnectingPoint num="1" id="1227" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -5111,6 +5270,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
 <TGConnectingPoint num="0" id="1231" />
@@ -5124,12 +5284,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
 <TGConnectingPoint num="0" id="1234" />
 <TGConnectingPoint num="1" id="1235" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -5137,6 +5298,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
 <TGConnectingPoint num="0" id="1237" />
@@ -5147,6 +5309,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1240" />
@@ -5160,6 +5323,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
 <TGConnectingPoint num="0" id="1243" />
@@ -5170,12 +5334,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
 <TGConnectingPoint num="0" id="1246" />
 <TGConnectingPoint num="1" id="1247" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -5211,6 +5376,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="tcpctrl.state =2" />
 <TGConnectingPoint num="0" id="1266" />
@@ -5230,6 +5396,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
 <TGConnectingPoint num="0" id="1271" />
@@ -5270,6 +5437,7 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="receive_Application()" />
 <TGConnectingPoint num="0" id="1280" />
@@ -5283,12 +5451,13 @@ On prend b=1 comme exemple
 <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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="read channel" value="temp(1) " />
 <TGConnectingPoint num="0" id="1283" />
 <TGConnectingPoint num="1" id="1284" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
@@ -5400,7 +5569,7 @@ On prend b=1 comme exemple
 <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="727" />
+<P1  x="234" y="42" id="727" />
 <P2  x="235" y="80" id="754" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
diff --git a/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml b/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
index 81d0ed9106..d31dfed8ab 100644
--- a/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
+++ b/modeling/DIPLODOCUS/SmartCardProtocol_sec.xml
@@ -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="347" id="332" />
+<P2  x="547" y="382" id="379" />
 <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="497" id="226" />
+<P2  x="761" y="574" id="347" />
 <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="349" />
+<P2  x="693" y="347" id="310" />
 <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="521" y="382" id="374" />
+<P2  x="466" y="335" id="412" />
 <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="414" />
+<P2  x="593" y="84" id="334" />
 <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="816" y="552" id="353" />
+<P2  x="969" y="495" id="240" />
 <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="816" y="519" id="355" />
+<P2  x="921" y="476" id="238" />
 <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="363" />
+<P2  x="828" y="375" id="268" />
 <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="854" y="375" id="272" />
+<P2  x="921" y="362" id="248" />
 <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="816" y="491" id="359" />
+<P2  x="921" y="453" id="246" />
 <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="816" y="458" id="357" />
+<P2  x="921" y="426" id="244" />
 <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="921" y="397" id="242" />
+<P2  x="816" y="429" id="361" />
 <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="918" y="330" id="250" />
+<P2  x="747" y="282" id="322" />
 <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="747" y="248" id="320" />
+<P2  x="918" y="291" id="252" />
 <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="747" y="203" id="318" />
+<P2  x="918" y="248" id="254" />
 <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="828" y="375" id="267" />
+<P2  x="747" y="314" id="316" />
 <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="521" y="303" id="326" />
+<P2  x="466" y="303" id="406" />
 <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="464" y="126" id="402" />
+<P2  x="524" y="126" id="314" />
 <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="466" y="215" id="408" />
+<P2  x="521" y="215" id="328" />
 <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="521" y="260" id="330" />
+<P2  x="466" y="260" id="410" />
 <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="466" y="169" id="404" />
+<P2  x="521" y="169" id="324" />
 <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="918" y="198" id="256" />
+<P2  x="747" y="124" id="336" />
 <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="345" id="312" />
+<P2  x="669" y="406" id="351" />
 <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="1222" y="378" id="290" />
+<P2  x="1178" y="380" id="236" />
 <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="1178" y="415" id="234" />
+<P2  x="1222" y="413" id="288" />
 <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="1178" y="208" id="232" />
+<P2  x="1178" y="276" id="230" />
 <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="1178" y="454" id="228" />
+<P2  x="1222" y="441" id="286" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <COMPONENT type="1205" id="225" >
@@ -606,79 +606,79 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1200" id="424" >
+<COMPONENT type="1200" id="401" >
 <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="0" maxX="2725" minY="0" maxY="917" />
 <infoparam name="TGComponent" value="SmartCard" />
-<TGConnectingPoint num="0" id="416" />
-<TGConnectingPoint num="1" id="417" />
-<TGConnectingPoint num="2" id="418" />
-<TGConnectingPoint num="3" id="419" />
-<TGConnectingPoint num="4" id="420" />
-<TGConnectingPoint num="5" id="421" />
-<TGConnectingPoint num="6" id="422" />
-<TGConnectingPoint num="7" id="423" />
+<TGConnectingPoint num="0" id="393" />
+<TGConnectingPoint num="1" id="394" />
+<TGConnectingPoint num="2" id="395" />
+<TGConnectingPoint num="3" id="396" />
+<TGConnectingPoint num="4" id="397" />
+<TGConnectingPoint num="5" id="398" />
+<TGConnectingPoint num="6" id="399" />
+<TGConnectingPoint num="7" id="400" />
 <extraparam>
 <info hiddeni="false" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="1201" id="267" >
-<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" />
+<SUBCOMPONENT type="1200" id="309" >
+<father id="401" num="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="301" />
+<TGConnectingPoint num="1" id="302" />
+<TGConnectingPoint num="2" id="303" />
+<TGConnectingPoint num="3" id="304" />
+<TGConnectingPoint num="4" id="305" />
+<TGConnectingPoint num="5" id="306" />
+<TGConnectingPoint num="6" id="307" />
+<TGConnectingPoint num="7" id="308" />
+<extraparam>
+<info hiddeni="false" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="266" >
+<father id="309" 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="258" />
+<TGConnectingPoint num="1" id="259" />
+<TGConnectingPoint num="2" id="260" />
+<TGConnectingPoint num="3" id="261" />
+<TGConnectingPoint num="4" id="262" />
+<TGConnectingPoint num="5" id="263" />
+<TGConnectingPoint num="6" id="264" />
+<TGConnectingPoint num="7" id="265" />
 <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="227" >
+<father id="266" 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="226" />
 <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="" />
@@ -686,16 +686,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="229" >
+<father id="266" 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="228" />
 <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="" />
@@ -703,16 +703,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="231" >
+<father id="266" 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="230" />
 <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="" />
@@ -720,16 +720,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="233" >
+<father id="266" 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="232" />
 <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="" />
@@ -737,16 +737,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="235" >
+<father id="266" 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="234" />
 <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="" />
@@ -754,16 +754,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="237" >
+<father id="266" 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="236" />
 <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="" />
@@ -771,16 +771,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="239" >
+<father id="266" 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="238" />
 <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="" />
@@ -788,16 +788,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="241" >
+<father id="266" 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="240" />
 <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="" />
@@ -805,16 +805,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="243" >
+<father id="266" 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="242" />
 <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="" />
@@ -822,43 +822,33 @@
 <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" />
+<SUBCOMPONENT type="1203" id="245" >
+<father id="266" 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="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" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="244" />
 <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="" />
+<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>
 </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="247" >
+<father id="266" 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 send" />
-<TGConnectingPoint num="0" id="295" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="246" />
 <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="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="" />
@@ -866,17 +856,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="249" >
+<father id="266" 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 reset, pTS, end" />
-<TGConnectingPoint num="0" id="297" />
+<cdrectangleparam minX="-10" maxX="226" minY="-10" maxY="307" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="248" />
 <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="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="" />
@@ -884,16 +873,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="300" >
-<father id="331" num="2" />
-<cdparam x="543" y="321" />
+<SUBCOMPONENT type="1203" id="251" >
+<father id="266" 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="Event answerToReset, pTSConfirm" />
-<TGConnectingPoint num="0" id="299" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromTtoP" />
+<TGConnectingPoint num="0" id="250" />
 <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="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="" />
@@ -901,17 +890,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="253" >
+<father id="266" 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 fromSCtoD" />
-<TGConnectingPoint num="0" id="301" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Channel fromPtoT" />
+<TGConnectingPoint num="0" id="252" />
 <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" />
+<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="" />
@@ -919,17 +907,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="255" >
+<father id="266" 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="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="303" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event receive" />
+<TGConnectingPoint num="0" id="254" />
 <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="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="" />
@@ -937,16 +924,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="257" >
+<father id="266" 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_SC" />
-<TGConnectingPoint num="0" id="305" />
+<cdrectangleparam minX="-13" maxX="223" minY="-13" maxY="304" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="256" />
 <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="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="" />
@@ -954,33 +941,62 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="308" >
-<father id="331" num="6" />
-<cdparam x="521" y="156" />
-<sizeparam width="26" height="26" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1201" id="285" >
+<father id="309" 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="Event data_Ready" />
-<TGConnectingPoint num="0" id="307" />
+<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
+<infoparam name="Composite port" value="" />
+<TGConnectingPoint num="0" id="267" />
+<TGConnectingPoint num="1" id="268" />
+<TGConnectingPoint num="2" id="269" />
+<TGConnectingPoint num="3" id="270" />
+<TGConnectingPoint num="4" id="271" />
+<TGConnectingPoint num="5" id="272" />
+<TGConnectingPoint num="6" id="273" />
+<TGConnectingPoint num="7" id="274" />
+<TGConnectingPoint num="8" id="275" />
+<TGConnectingPoint num="9" id="276" />
+<TGConnectingPoint num="10" id="277" />
+<TGConnectingPoint num="11" id="278" />
+<TGConnectingPoint num="12" id="279" />
+<TGConnectingPoint num="13" id="280" />
+<TGConnectingPoint num="14" id="281" />
+<TGConnectingPoint num="15" id="282" />
+<TGConnectingPoint num="16" id="283" />
+<TGConnectingPoint num="17" id="284" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1202" id="300" >
+<father id="309" 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="292" />
+<TGConnectingPoint num="1" id="293" />
+<TGConnectingPoint num="2" id="294" />
+<TGConnectingPoint num="3" id="295" />
+<TGConnectingPoint num="4" id="296" />
+<TGConnectingPoint num="5" id="297" />
+<TGConnectingPoint num="6" id="298" />
+<TGConnectingPoint num="7" id="299" />
 <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="" />
+<Data isAttacker="No" />
+<Attribute access="2" id="x" value="0" 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="1203" id="287" >
+<father id="300" 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="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="309" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event stop" />
+<TGConnectingPoint num="0" id="286" />
 <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="" />
@@ -988,16 +1004,16 @@
 <Type type="0" typeOther="" />
 </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" />
+<SUBCOMPONENT type="1203" id="289" >
+<father id="300" 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" />
-<TGConnectingPoint num="0" id="311" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Request req_Timer" />
+<TGConnectingPoint num="0" id="288" />
 <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="" />
@@ -1005,84 +1021,16 @@
 <Type type="0" typeOther="" />
 </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" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="TGComponent" value="Event receive" />
-<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" />
-<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="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" />
-<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" />
-<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="1203" id="318" >
-<father id="331" 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="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="317" />
-<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>
-<SUBCOMPONENT type="1203" id="320" >
-<father id="331" num="12" />
-<cdparam x="620" y="324" />
+<SUBCOMPONENT type="1203" id="291" >
+<father id="300" 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="-10" maxX="190" minY="-10" maxY="227" />
-<infoparam name="TGComponent" value="Request start_Application" />
-<TGConnectingPoint num="0" id="319" />
-<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="" />
-</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" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
-<infoparam name="Primitive port" value="Event connectionOpened" />
-<TGConnectingPoint num="0" id="321" />
+<cdrectangleparam minX="-10" maxX="130" minY="-10" maxY="131" />
+<infoparam name="TGComponent" value="Event timeOut" />
+<TGConnectingPoint num="0" id="290" />
 <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="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="" />
@@ -1090,32 +1038,13 @@
 <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" />
+<father id="401" 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="430" minY="0" maxY="344" />
-<infoparam name="TGComponent" value="Timer" />
+<cdrectangleparam minX="0" maxX="735" minY="0" maxY="293" />
+<infoparam name="TGComponent" value="SmartCard" />
 <TGConnectingPoint num="0" id="338" />
 <TGConnectingPoint num="1" id="339" />
 <TGConnectingPoint num="2" id="340" />
@@ -1126,19 +1055,26 @@
 <TGConnectingPoint num="7" id="345" />
 <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="333" >
+<SUBCOMPONENT type="1203" id="311" >
 <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" />
+<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="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="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="310" />
 <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="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="" />
@@ -1146,16 +1082,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="335" >
+<SUBCOMPONENT type="1203" id="313" >
 <father id="346" num="1" />
-<cdparam x="1222" y="403" />
+<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="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Request req_Timer" />
-<TGConnectingPoint num="0" id="334" />
+<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="312" />
 <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="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="" />
@@ -1163,16 +1099,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="337" >
+<SUBCOMPONENT type="1203" id="315" >
 <father id="346" num="2" />
-<cdparam x="1222" y="431" />
+<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="130" minY="-10" maxY="131" />
-<infoparam name="TGComponent" value="Event stop" />
-<TGConnectingPoint num="0" id="336" />
+<cdrectangleparam minX="-10" maxX="190" minY="-10" maxY="227" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="314" />
 <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="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="" />
@@ -1180,68 +1116,16 @@
 <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" />
-<hidden value="false" />
-<cdrectangleparam minX="-13" maxX="557" minY="-13" maxY="472" />
-<infoparam name="Composite port" value="" />
-<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" />
-</extraparam>
-</SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="367" >
-<father id="406" num="0" />
-<cdparam x="918" y="185" />
+<SUBCOMPONENT type="1203" id="317" >
+<father id="346" 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="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="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="316" />
 <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="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="" />
@@ -1249,16 +1133,16 @@
 <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="319" >
+<father id="346" 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="223" minY="-13" maxY="304" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
 <infoparam name="TGComponent" value="Event receive" />
-<TGConnectingPoint num="0" id="368" />
+<TGConnectingPoint num="0" id="318" />
 <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="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="" />
@@ -1266,16 +1150,16 @@
 <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="321" >
+<father id="346" 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="223" minY="-13" maxY="304" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
 <infoparam name="TGComponent" value="Channel fromPtoT" />
-<TGConnectingPoint num="0" id="370" />
+<TGConnectingPoint num="0" id="320" />
 <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="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="" />
@@ -1283,16 +1167,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="323" >
+<father id="346" 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="223" minY="-13" maxY="304" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
 <infoparam name="TGComponent" value="Channel fromTtoP" />
-<TGConnectingPoint num="0" id="372" />
+<TGConnectingPoint num="0" id="322" />
 <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="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="" />
@@ -1300,33 +1184,33 @@
 <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="325" >
+<father id="346" 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="-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 data_Ready" />
+<TGConnectingPoint num="0" id="324" />
 <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="" />
+<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="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="327" >
+<father id="346" 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="-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 data_Ready_SC" />
+<TGConnectingPoint num="0" id="326" />
 <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="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="" />
@@ -1334,16 +1218,17 @@
 <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="1203" id="329" >
+<father id="346" 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="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Event open, abort, close" />
-<TGConnectingPoint num="0" id="378" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromDtoSC" />
+<TGConnectingPoint num="0" id="328" />
 <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" />
+<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="" />
@@ -1351,16 +1236,17 @@
 <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="331" >
+<father id="346" 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="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromTtoA" />
-<TGConnectingPoint num="0" id="380" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="330" />
 <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="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="" />
@@ -1368,16 +1254,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="383" >
-<father id="406" num="8" />
-<cdparam x="959" y="474" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="333" >
+<father id="346" 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="-10" maxX="226" minY="-10" maxY="307" />
-<infoparam name="TGComponent" value="Channel fromAtoT" />
-<TGConnectingPoint num="0" id="382" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="332" />
 <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="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="" />
@@ -1385,16 +1271,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="385" >
-<father id="406" num="9" />
-<cdparam x="921" y="466" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="335" >
+<father id="346" 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="Event receive_Application" />
-<TGConnectingPoint num="0" id="384" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<TGConnectingPoint num="0" id="334" />
 <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="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="" />
@@ -1402,16 +1289,16 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="387" >
-<father id="406" num="10" />
-<cdparam x="1157" y="370" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1203" id="337" >
+<father id="346" 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 timeOut" />
-<TGConnectingPoint num="0" id="386" />
+<cdrectangleparam minX="-13" maxX="187" minY="-13" maxY="224" />
+<infoparam name="TGComponent" value="Event send" />
+<TGConnectingPoint num="0" id="336" />
 <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="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="" />
@@ -1419,16 +1306,35 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="389" >
-<father id="406" num="11" />
-<cdparam x="1157" y="405" />
-<sizeparam width="21" height="21" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1202" id="373" >
+<father id="401" 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="Request req_Timer" />
-<TGConnectingPoint num="0" id="388" />
+<cdrectangleparam minX="0" maxX="695" minY="0" maxY="385" />
+<infoparam name="TGComponent" value="Application" />
+<TGConnectingPoint num="0" id="365" />
+<TGConnectingPoint num="1" id="366" />
+<TGConnectingPoint num="2" id="367" />
+<TGConnectingPoint num="3" id="368" />
+<TGConnectingPoint num="4" id="369" />
+<TGConnectingPoint num="5" id="370" />
+<TGConnectingPoint num="6" id="371" />
+<TGConnectingPoint num="7" id="372" />
 <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" />
+<Data isAttacker="No" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="348" >
+<father id="373" 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="347" />
+<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="" />
@@ -1436,16 +1342,33 @@
 <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="350" >
+<father id="373" 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="-13" maxX="227" minY="-13" maxY="132" />
+<infoparam name="Primitive port" value="Event connectionOpened" />
+<TGConnectingPoint num="0" id="349" />
+<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" />
+<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="352" >
+<father id="373" 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 temp" />
-<TGConnectingPoint num="0" id="390" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Request start_Application" />
+<TGConnectingPoint num="0" id="351" />
 <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="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="" />
@@ -1453,16 +1376,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="354" >
+<father id="373" 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="Channel temp" />
-<TGConnectingPoint num="0" id="392" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromAtoT" />
+<TGConnectingPoint num="0" id="353" />
 <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="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="" />
@@ -1470,16 +1393,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="356" >
+<father id="373" 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 stop" />
-<TGConnectingPoint num="0" id="394" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event receive_Application" />
+<TGConnectingPoint num="0" id="355" />
 <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="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="" />
@@ -1487,16 +1410,16 @@
 <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="1203" id="358" >
+<father id="373" 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="-13" maxX="223" minY="-13" maxY="304" />
-<infoparam name="Primitive port" value="Event opened" />
-<TGConnectingPoint num="0" id="396" />
+<cdrectangleparam minX="-10" maxX="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event open, abort, close" />
+<TGConnectingPoint num="0" id="357" />
 <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" />
+<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="" />
@@ -1504,21 +1427,98 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-
-<COMPONENT type="1202" id="248" >
+<SUBCOMPONENT type="1203" id="360" >
+<father id="373" 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="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Event send_TCP" />
+<TGConnectingPoint num="0" id="359" />
+<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" />
+<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="362" >
+<father id="373" 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="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Channel fromTtoA" />
+<TGConnectingPoint num="0" id="361" />
+<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="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1203" id="364" >
+<father id="373" 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="230" minY="-10" maxY="135" />
+<infoparam name="TGComponent" value="Request start_TCP_IP" />
+<TGConnectingPoint num="0" id="363" />
+<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="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+<Type type="0" typeOther="" />
+</extraparam>
+</SUBCOMPONENT>
+<SUBCOMPONENT type="1201" id="392" >
+<father id="401" 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="374" />
+<TGConnectingPoint num="1" id="375" />
+<TGConnectingPoint num="2" id="376" />
+<TGConnectingPoint num="3" id="377" />
+<TGConnectingPoint num="4" id="378" />
+<TGConnectingPoint num="5" id="379" />
+<TGConnectingPoint num="6" id="380" />
+<TGConnectingPoint num="7" id="381" />
+<TGConnectingPoint num="8" id="382" />
+<TGConnectingPoint num="9" id="383" />
+<TGConnectingPoint num="10" id="384" />
+<TGConnectingPoint num="11" id="385" />
+<TGConnectingPoint num="12" id="386" />
+<TGConnectingPoint num="13" id="387" />
+<TGConnectingPoint num="14" id="388" />
+<TGConnectingPoint num="15" id="389" />
+<TGConnectingPoint num="16" id="390" />
+<TGConnectingPoint num="17" id="391" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1202" id="424" >
 <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="2725" minY="0" maxY="917" />
 <infoparam name="TGComponent" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="240" />
-<TGConnectingPoint num="1" id="241" />
-<TGConnectingPoint num="2" id="242" />
-<TGConnectingPoint num="3" id="243" />
-<TGConnectingPoint num="4" id="244" />
-<TGConnectingPoint num="5" id="245" />
-<TGConnectingPoint num="6" id="246" />
-<TGConnectingPoint num="7" id="247" />
+<TGConnectingPoint num="0" id="416" />
+<TGConnectingPoint num="1" id="417" />
+<TGConnectingPoint num="2" id="418" />
+<TGConnectingPoint num="3" id="419" />
+<TGConnectingPoint num="4" id="420" />
+<TGConnectingPoint num="5" id="421" />
+<TGConnectingPoint num="6" id="422" />
+<TGConnectingPoint num="7" id="423" />
 <extraparam>
 <Data isAttacker="No" />
 <Attribute access="2" id="resetType" value="0" type="0" typeOther="" />
@@ -1528,17 +1528,16 @@
 <Attribute access="2" id="b" value="" type="4" typeOther="" />
 </extraparam>
 </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" />
+<SUBCOMPONENT type="1203" id="403" >
+<father id="424" num="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" />
-<TGConnectingPoint num="0" id="226" />
+<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
+<infoparam name="TGComponent" value="Request activation" />
+<TGConnectingPoint num="0" id="402" />
 <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="" />
@@ -1546,34 +1545,33 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="229" >
-<father id="248" num="1" />
-<cdparam x="440" y="322" />
+<SUBCOMPONENT type="1203" id="405" >
+<father id="424" num="1" />
+<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" />
-<TGConnectingPoint num="0" id="228" />
+<infoparam name="TGComponent" value="Event data_Ready" />
+<TGConnectingPoint num="0" id="404" />
 <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="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="231" >
-<father id="248" num="2" />
-<reference id="184" />
-<cdparam x="440" y="247" />
+<SUBCOMPONENT type="1203" id="407" >
+<father id="424" num="2" />
+<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" />
-<TGConnectingPoint num="0" id="230" />
+<infoparam name="TGComponent" value="Event data_Ready_SC" />
+<TGConnectingPoint num="0" id="406" />
 <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="" />
@@ -1581,15 +1579,15 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="233" >
-<father id="248" num="3" />
+<SUBCOMPONENT type="1203" id="409" >
+<father id="424" 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="-13" maxX="277" minY="-13" maxY="263" />
 <infoparam name="TGComponent" value="Channel fromDtoSC" />
-<TGConnectingPoint num="0" id="232" />
+<TGConnectingPoint num="0" id="408" />
 <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="" />
@@ -1599,16 +1597,17 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="235" >
-<father id="248" num="4" />
-<cdparam x="440" y="290" />
+<SUBCOMPONENT type="1203" id="411" >
+<father id="424" 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" />
 <hidden value="false" />
 <cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
-<infoparam name="TGComponent" value="Event data_Ready_SC" />
-<TGConnectingPoint num="0" id="234" />
+<infoparam name="TGComponent" value="Channel fromSCtoD" />
+<TGConnectingPoint num="0" id="410" />
 <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="" />
@@ -1616,33 +1615,34 @@
 <Type type="0" typeOther="" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1203" id="237" >
-<father id="248" num="5" />
-<cdparam x="440" y="156" />
+<SUBCOMPONENT type="1203" id="413" >
+<father id="424" num="5" />
+<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" />
-<TGConnectingPoint num="0" id="236" />
+<infoparam name="TGComponent" value="Event answerToReset, pTSConfirm" />
+<TGConnectingPoint num="0" id="412" />
 <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="" />
 </extraparam>
 </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" />
+<SUBCOMPONENT type="1203" id="415" >
+<father id="424" 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" />
 <hidden value="false" />
-<cdrectangleparam minX="-10" maxX="280" minY="-10" maxY="266" />
-<infoparam name="TGComponent" value="Request activation" />
-<TGConnectingPoint num="0" id="238" />
+<cdrectangleparam minX="-13" maxX="277" minY="-13" maxY="263" />
+<infoparam name="TGComponent" value="Event reset, pTS, end" />
+<TGConnectingPoint num="0" id="414" />
 <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="" />
@@ -1655,50 +1655,50 @@
 </TMLComponentTaskDiagramPanel>
 
 <TMLActivityDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1008" id="450" >
+<COMPONENT type="1008" id="427" >
 <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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="end()" />
-<TGConnectingPoint num="0" id="448" />
-<TGConnectingPoint num="1" id="449" />
+<TGConnectingPoint num="0" id="425" />
+<TGConnectingPoint num="1" id="426" />
 <latencyCheck />
 <extraparam>
 <Data eventName="end" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1012" id="458" >
+<COMPONENT type="1012" id="435" >
 <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="454" />
-<TGConnectingPoint num="1" id="455" />
-<TGConnectingPoint num="2" id="456" />
-<TGConnectingPoint num="3" id="457" />
+<TGConnectingPoint num="0" id="431" />
+<TGConnectingPoint num="1" id="432" />
+<TGConnectingPoint num="2" id="433" />
+<TGConnectingPoint num="3" id="434" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="451" >
-<father id="458" num="0" />
+<SUBCOMPONENT type="-1" id="428" >
+<father id="435" 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="452" >
-<father id="458" num="1" />
+<SUBCOMPONENT type="-1" id="429" >
+<father id="435" 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="453" >
-<father id="458" num="2" />
+<SUBCOMPONENT type="-1" id="430" >
+<father id="435" 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" />
@@ -1706,19 +1706,19 @@
 <infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="466" >
+<COMPONENT type="1012" id="443" >
 <cdparam x="644" y="517" />
 <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="462" />
-<TGConnectingPoint num="1" id="463" />
-<TGConnectingPoint num="2" id="464" />
-<TGConnectingPoint num="3" id="465" />
+<TGConnectingPoint num="0" id="439" />
+<TGConnectingPoint num="1" id="440" />
+<TGConnectingPoint num="2" id="441" />
+<TGConnectingPoint num="3" id="442" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="459" >
-<father id="466" num="0" />
+<SUBCOMPONENT type="-1" id="436" >
+<father id="443" num="0" />
 <cdparam x="599" y="527" />
 <sizeparam width="51" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -1726,16 +1726,16 @@
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
 <infoparam name="guard 1" value="[ x==0 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="460" >
-<father id="466" num="1" />
+<SUBCOMPONENT type="-1" id="437" >
+<father id="443" num="1" />
 <cdparam x="679" y="527" />
 <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="461" >
-<father id="466" num="2" />
+<SUBCOMPONENT type="-1" id="438" >
+<father id="443" num="2" />
 <cdparam x="664" y="562" />
 <sizeparam width="41" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -1744,138 +1744,138 @@
 <infoparam name="guard 3" value="[ x&gt;0 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="468" >
+<COMPONENT type="1000" id="445" >
 <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="467" />
+<TGConnectingPoint num="0" id="444" />
 </COMPONENT>
 
-<COMPONENT type="1007" id="471" >
+<COMPONENT type="1007" id="448" >
 <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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send request" value="activation()" />
-<TGConnectingPoint num="0" id="469" />
-<TGConnectingPoint num="1" id="470" />
+<TGConnectingPoint num="0" id="446" />
+<TGConnectingPoint num="1" id="447" />
 <extraparam>
 <Data requestName="activation" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="474" >
+<COMPONENT type="1008" id="451" >
 <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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="reset()" />
-<TGConnectingPoint num="0" id="472" />
-<TGConnectingPoint num="1" id="473" />
+<TGConnectingPoint num="0" id="449" />
+<TGConnectingPoint num="1" id="450" />
 <latencyCheck />
 <extraparam>
 <Data eventName="reset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="477" >
+<COMPONENT type="1010" id="454" >
 <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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="answerToReset() " />
-<TGConnectingPoint num="0" id="475" />
-<TGConnectingPoint num="1" id="476" />
+<TGConnectingPoint num="0" id="452" />
+<TGConnectingPoint num="1" id="453" />
 <extraparam>
 <Data eventName="answerToReset" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="480" >
+<COMPONENT type="1008" id="457" >
 <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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="pTS()" />
-<TGConnectingPoint num="0" id="478" />
-<TGConnectingPoint num="1" id="479" />
+<TGConnectingPoint num="0" id="455" />
+<TGConnectingPoint num="1" id="456" />
 <extraparam>
 <Data eventName="pTS" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="483" >
+<COMPONENT type="1010" id="460" >
 <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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="pTSConfirm() " />
-<TGConnectingPoint num="0" id="481" />
-<TGConnectingPoint num="1" id="482" />
+<TGConnectingPoint num="0" id="458" />
+<TGConnectingPoint num="1" id="459" />
 <breakpoint />
 <extraparam>
 <Data eventName="pTSConfirm" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="500" >
+<COMPONENT type="301" id="477" >
 <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="900" />
 <infoparam name="UML Note" value="data exchange
 " />
-<TGConnectingPoint num="0" id="484" />
-<TGConnectingPoint num="1" id="485" />
-<TGConnectingPoint num="2" id="486" />
-<TGConnectingPoint num="3" id="487" />
-<TGConnectingPoint num="4" id="488" />
-<TGConnectingPoint num="5" id="489" />
-<TGConnectingPoint num="6" id="490" />
-<TGConnectingPoint num="7" id="491" />
-<TGConnectingPoint num="8" id="492" />
-<TGConnectingPoint num="9" id="493" />
-<TGConnectingPoint num="10" id="494" />
-<TGConnectingPoint num="11" id="495" />
-<TGConnectingPoint num="12" id="496" />
-<TGConnectingPoint num="13" id="497" />
-<TGConnectingPoint num="14" id="498" />
-<TGConnectingPoint num="15" id="499" />
+<TGConnectingPoint num="0" id="461" />
+<TGConnectingPoint num="1" id="462" />
+<TGConnectingPoint num="2" id="463" />
+<TGConnectingPoint num="3" id="464" />
+<TGConnectingPoint num="4" id="465" />
+<TGConnectingPoint num="5" id="466" />
+<TGConnectingPoint num="6" id="467" />
+<TGConnectingPoint num="7" id="468" />
+<TGConnectingPoint num="8" id="469" />
+<TGConnectingPoint num="9" id="470" />
+<TGConnectingPoint num="10" id="471" />
+<TGConnectingPoint num="11" id="472" />
+<TGConnectingPoint num="12" id="473" />
+<TGConnectingPoint num="13" id="474" />
+<TGConnectingPoint num="14" id="475" />
+<TGConnectingPoint num="15" id="476" />
 <extraparam>
 <Line value="data exchange" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="503" >
+<COMPONENT type="1006" id="480" >
 <cdparam x="433" y="448" />
 <sizeparam width="87" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="write channel" value="fromDtoSC(1)" />
-<TGConnectingPoint num="0" id="501" />
-<TGConnectingPoint num="1" id="502" />
+<TGConnectingPoint num="0" id="478" />
+<TGConnectingPoint num="1" id="479" />
 <extraparam>
 <Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="506" >
+<COMPONENT type="1008" id="483" >
 <cdparam x="422" y="507" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="send event" value="data_Ready(x, b)" />
-<TGConnectingPoint num="0" id="504" />
-<TGConnectingPoint num="1" id="505" />
+<TGConnectingPoint num="0" id="481" />
+<TGConnectingPoint num="1" id="482" />
 <latencyCheck />
 <extraparam>
 <Data eventName="data_Ready" nbOfParams="5" />
@@ -1884,169 +1884,169 @@
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="508" >
+<COMPONENT type="1001" id="485" >
 <cdparam x="466" y="570" />
 <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="507" />
+<TGConnectingPoint num="0" id="484" />
 </COMPONENT>
 
-<COMPONENT type="1017" id="511" >
+<COMPONENT type="1017" id="488" >
 <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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="notified event" value="x=?data_Ready_SC()" />
-<TGConnectingPoint num="0" id="509" />
-<TGConnectingPoint num="1" id="510" />
+<TGConnectingPoint num="0" id="486" />
+<TGConnectingPoint num="1" id="487" />
 <extraparam>
 <Data eventName="data_Ready_SC" variable="x" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="513" >
+<COMPONENT type="1001" id="490" >
 <cdparam x="569" y="577" />
 <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="512" />
+<TGConnectingPoint num="0" id="489" />
 </COMPONENT>
 
-<COMPONENT type="1009" id="516" >
+<COMPONENT type="1009" id="493" >
 <cdparam x="614" y="700" />
 <sizeparam width="91" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="read channel" value="fromSCtoD(1) " />
-<TGConnectingPoint num="0" id="514" />
-<TGConnectingPoint num="1" id="515" />
+<TGConnectingPoint num="0" id="491" />
+<TGConnectingPoint num="1" id="492" />
 <extraparam>
 <Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1010" id="519" >
+<COMPONENT type="1010" id="496" >
 <cdparam x="604" y="619" />
 <sizeparam width="110" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="wait event" value="data_Ready_SC() " />
-<TGConnectingPoint num="0" id="517" />
-<TGConnectingPoint num="1" id="518" />
+<TGConnectingPoint num="0" id="494" />
+<TGConnectingPoint num="1" id="495" />
 <accessibility />
 <extraparam>
 <Data eventName="data_Ready_SC" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="521" >
+<COMPONENT type="1001" id="498" >
 <cdparam x="649" y="774" />
 <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="520" />
+<TGConnectingPoint num="0" id="497" />
 </COMPONENT>
 
-<COMPONENT type="1014" id="525" >
+<COMPONENT type="1014" id="502" >
 <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" />
 <enabled value="true" />
 <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="522" />
-<TGConnectingPoint num="1" id="523" />
-<TGConnectingPoint num="2" id="524" />
+<TGConnectingPoint num="0" id="499" />
+<TGConnectingPoint num="1" id="500" />
+<TGConnectingPoint num="2" id="501" />
 <extraparam>
 <Data init="i=0" condition="i&lt;nbOfComputedPackets" increment="i = i +1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="527" >
+<COMPONENT type="1001" id="504" >
 <cdparam x="330" y="477" />
 <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="526" />
+<TGConnectingPoint num="0" id="503" />
 </COMPONENT>
 
-<CONNECTOR type="115" id="528" >
+<CONNECTOR type="115" id="505" >
 <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="482" />
-<P2  x="434" y="282" id="522" />
+<P1  x="434" y="177" id="459" />
+<P2  x="434" y="282" id="499" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="529" >
+<CONNECTOR type="115" id="506" >
 <cdparam x="340" y="458" />
 <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="449" />
-<P2  x="340" y="472" id="526" />
+<P1  x="340" y="458" id="426" />
+<P2  x="340" y="472" id="503" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="530" >
+<CONNECTOR type="115" id="507" >
 <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="524" />
-<P2  x="340" y="428" id="448" />
+<P1  x="434" y="312" id="501" />
+<P2  x="340" y="428" id="425" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="531" >
+<CONNECTOR type="115" id="508" >
 <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="523" />
-<P2  x="561" y="366" id="454" />
+<P1  x="561" y="301" id="500" />
+<P2  x="561" y="366" id="431" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="536" >
+<CONNECTOR type="115" id="513" >
 <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="479" />
-<P2  x="434" y="147" id="481" />
+<P1  x="228" y="362" id="456" />
+<P2  x="434" y="147" id="458" />
 <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="532" >
-<father id="536" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="509" >
+<father id="513" 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="533" >
-<father id="536" num="1" />
+<SUBCOMPONENT type="-1" id="510" >
+<father id="513" 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="534" >
-<father id="536" num="2" />
+<SUBCOMPONENT type="-1" id="511" >
+<father id="513" 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="535" >
-<father id="536" num="3" />
+<SUBCOMPONENT type="-1" id="512" >
+<father id="513" num="3" />
 <cdparam x="285" y="127" />
 <sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -2054,4873 +2054,4873 @@
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="115" id="537" >
+<CONNECTOR type="115" id="514" >
 <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="73" id="467" />
-<P2  x="228" y="132" id="469" />
+<P1  x="229" y="73" id="444" />
+<P2  x="228" y="132" id="446" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="538" >
+<CONNECTOR type="115" id="515" >
 <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="470" />
-<P2  x="228" y="232" id="472" />
+<P1  x="228" y="162" id="447" />
+<P2  x="228" y="232" id="449" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="539" >
+<CONNECTOR type="115" id="516" >
 <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="476" />
-<P2  x="228" y="332" id="478" />
+<P1  x="228" y="313" id="453" />
+<P2  x="228" y="332" id="455" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="540" >
+<CONNECTOR type="115" id="517" >
 <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="455" />
-<P2  x="476" y="443" id="501" />
+<P1  x="521" y="391" id="432" />
+<P2  x="476" y="443" id="478" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="541" >
+<CONNECTOR type="115" id="518" >
 <cdparam x="476" y="473" />
 <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="473" id="502" />
-<P2  x="476" y="502" id="504" />
+<P1  x="476" y="473" id="479" />
+<P2  x="476" y="502" id="481" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="542" >
+<CONNECTOR type="115" id="519" >
 <cdparam x="471" y="529" />
 <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="532" id="505" />
-<P2  x="476" y="565" id="507" />
+<P1  x="476" y="532" id="482" />
+<P2  x="476" y="565" id="484" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="543" >
+<CONNECTOR type="115" id="520" >
 <cdparam x="619" y="532" />
 <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="532" id="463" />
-<P2  x="579" y="572" id="512" />
+<P1  x="619" y="532" id="440" />
+<P2  x="579" y="572" id="489" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="544" >
+<CONNECTOR type="115" id="521" >
 <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="456" />
-<P2  x="659" y="442" id="509" />
+<P1  x="601" y="391" id="433" />
+<P2  x="659" y="442" id="486" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="545" >
+<CONNECTOR type="115" id="522" >
 <cdparam x="659" y="472" />
 <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="510" />
-<P2  x="659" y="507" id="462" />
+<P1  x="659" y="472" id="487" />
+<P2  x="659" y="507" id="439" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="546" >
+<CONNECTOR type="115" id="523" >
 <cdparam x="659" y="572" />
 <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="572" id="465" />
-<P2  x="659" y="614" id="517" />
+<P1  x="659" y="572" id="442" />
+<P2  x="659" y="614" id="494" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="547" >
+<CONNECTOR type="115" id="524" >
 <cdparam x="670" y="644" />
 <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="644" id="518" />
-<P2  x="659" y="695" id="514" />
+<P1  x="659" y="644" id="495" />
+<P2  x="659" y="695" id="491" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="548" >
+<CONNECTOR type="115" id="525" >
 <cdparam x="659" y="725" />
 <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="725" id="515" />
-<P2  x="659" y="769" id="520" />
+<P1  x="659" y="725" id="492" />
+<P2  x="659" y="769" id="497" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="549" >
+<CONNECTOR type="115" id="526" >
 <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="473" />
-<P2  x="228" y="283" id="475" />
+<P1  x="228" y="262" id="450" />
+<P2  x="228" y="283" id="452" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
 </TMLActivityDiagramPanel>
 
-<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
-<COMPONENT type="1008" id="552" >
-<cdparam x="156" y="424" />
-<sizeparam width="68" 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" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="opened()" />
-<TGConnectingPoint num="0" id="550" />
-<TGConnectingPoint num="1" id="551" />
+<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" />
+<enabled value="true" />
+<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="560" >
-<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" />
+<enabled value="true" />
+<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="556" />
-<TGConnectingPoint num="1" id="557" />
-<TGConnectingPoint num="2" id="558" />
-<TGConnectingPoint num="3" id="559" />
+<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="553" >
-<father id="560" num="0" />
-<cdparam x="2061" y="1388" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="554" >
-<father id="560" num="1" />
-<cdparam x="2121" y="1388" />
-<sizeparam width="44" 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" />
-<enabled value="true" />
 <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="555" >
-<father id="560" num="2" />
-<cdparam x="2106" y="1426" />
-<sizeparam width="135" 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" />
-<enabled value="true" />
 <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="568" >
-<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="564" />
-<TGConnectingPoint num="1" id="565" />
-<TGConnectingPoint num="2" id="566" />
-<TGConnectingPoint num="3" id="567" />
+<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="561" >
-<father id="568" num="0" />
-<cdparam x="2212" y="961" />
-<sizeparam width="127" height="15" minWidth="10" 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" />
 <enabled value="true" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="562" >
-<father id="568" num="1" />
-<cdparam x="2301" y="975" />
-<sizeparam width="127" 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="open()" />
+<TGConnectingPoint num="0" id="547" />
+<TGConnectingPoint num="1" id="548" />
+<extraparam>
+<Data eventName="open" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<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" />
 <enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="563" >
-<father id="568" num="2" />
-<cdparam x="2282" y="996" />
-<sizeparam width="44" 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" />
 <enabled value="true" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ else ]" />
-</SUBCOMPONENT>
+<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="1012" id="576" >
-<cdparam x="1981" y="1346" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<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="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="572" />
-<TGConnectingPoint num="1" id="573" />
-<TGConnectingPoint num="2" id="574" />
-<TGConnectingPoint num="3" id="575" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="556" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="569" >
-<father id="576" num="0" />
-<cdparam x="1934" y="1356" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="570" >
-<father id="576" num="1" />
-<cdparam x="2016" y="1356" />
-<sizeparam width="44" height="15" minWidth="10" 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" />
 <enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="571" >
-<father id="576" num="2" />
-<cdparam x="2001" y="1391" />
-<sizeparam width="131" 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="abort()" />
+<TGConnectingPoint num="0" id="558" />
+<TGConnectingPoint num="1" id="559" />
+<extraparam>
+<Data eventName="abort" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<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" />
 <enabled value="true" />
-<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="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="584" >
-<cdparam x="1811" y="1269" />
-<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="580" />
-<TGConnectingPoint num="1" id="581" />
-<TGConnectingPoint num="2" id="582" />
-<TGConnectingPoint num="3" id="583" />
+<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="577" >
-<father id="584" num="0" />
-<cdparam x="1762" y="1279" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="578" >
-<father id="584" num="1" />
-<cdparam x="1846" y="1279" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="579" >
-<father id="584" num="2" />
-<cdparam x="1831" y="1314" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1012" id="592" >
-<cdparam x="1713" y="1141" />
-<sizeparam width="30" 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="48" 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="593" >
+<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="choice" value="null" />
-<TGConnectingPoint num="0" id="588" />
-<TGConnectingPoint num="1" id="589" />
-<TGConnectingPoint num="2" id="590" />
-<TGConnectingPoint num="3" id="591" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="592" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="585" >
-<father id="592" num="0" />
-<cdparam x="1688" y="1151" />
-<sizeparam width="14" 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="586" >
-<father id="592" num="1" />
-<cdparam x="1748" y="1151" />
-<sizeparam width="14" 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="587" >
-<father id="592" num="2" />
-<cdparam x="1733" y="1186" />
-<sizeparam width="14" 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="596" >
-<cdparam x="1524" y="1254" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="596" >
+<cdparam x="416" y="364" />
+<sizeparam width="48" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<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="wait event" value="end() " />
 <TGConnectingPoint num="0" id="594" />
 <TGConnectingPoint num="1" id="595" />
+<extraparam>
+<Data eventName="end" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="593" >
-<father id="596" 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="600" >
-<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="599" >
+<cdparam x="231" y="201" />
+<sizeparam width="143" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="598" />
-<TGConnectingPoint num="1" id="599" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="connectionOpened() " />
+<TGConnectingPoint num="0" id="597" />
+<TGConnectingPoint num="1" id="598" />
+<extraparam>
+<Data eventName="connectionOpened" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="597" >
-<father id="600" 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="608" >
-<cdparam x="1592" y="1006" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="601" >
+<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="604" />
-<TGConnectingPoint num="1" id="605" />
-<TGConnectingPoint num="2" id="606" />
-<TGConnectingPoint num="3" id="607" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="600" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="601" >
-<father id="608" num="0" />
-<cdparam x="1542" y="1016" />
-<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1010" id="604" >
+<cdparam x="138" y="129" />
+<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state  == 4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="602" >
-<father id="608" num="1" />
-<cdparam x="1627" y="1016" />
-<sizeparam width="44" 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="wait event" value="reset() " />
+<TGConnectingPoint num="0" id="602" />
+<TGConnectingPoint num="1" id="603" />
+<extraparam>
+<Data eventName="reset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="607" >
+<cdparam x="108" y="182" />
+<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="603" >
-<father id="608" num="2" />
-<cdparam x="1612" y="1051" />
-<sizeparam width="14" 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>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="answerToReset()" />
+<TGConnectingPoint num="0" id="605" />
+<TGConnectingPoint num="1" id="606" />
+<extraparam>
+<Data eventName="answerToReset" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1012" id="616" >
-<cdparam x="1713" y="875" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="610" >
+<cdparam x="143" 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="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="612" />
-<TGConnectingPoint num="1" id="613" />
-<TGConnectingPoint num="2" id="614" />
-<TGConnectingPoint num="3" id="615" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="pTS() " />
+<TGConnectingPoint num="0" id="608" />
+<TGConnectingPoint num="1" id="609" />
+<extraparam>
+<Data eventName="pTS" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="609" >
-<father id="616" num="0" />
-<cdparam x="1688" y="885" />
-<sizeparam width="14" 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="610" >
-<father id="616" num="1" />
-<cdparam x="1748" y="885" />
-<sizeparam width="14" 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="611" >
-<father id="616" num="2" />
-<cdparam x="1733" y="920" />
-<sizeparam width="14" 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="620" >
-<cdparam x="1636" y="1235" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="613" >
+<cdparam x="121" y="308" />
+<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="618" />
-<TGConnectingPoint num="1" id="619" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="pTSConfirm()" />
+<TGConnectingPoint num="0" id="611" />
+<TGConnectingPoint num="1" id="612" />
+<extraparam>
+<Data eventName="pTSConfirm" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="617" >
-<father id="620" num="0" />
-<cdparam x="1655" y="1254" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="301" id="630" >
+<cdparam x="376" y="98" />
+<sizeparam width="249" height="39" minWidth="50" minHeight="20" 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="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="614" />
+<TGConnectingPoint num="1" id="615" />
+<TGConnectingPoint num="2" id="616" />
+<TGConnectingPoint num="3" id="617" />
+<TGConnectingPoint num="4" id="618" />
+<TGConnectingPoint num="5" id="619" />
+<TGConnectingPoint num="6" id="620" />
+<TGConnectingPoint num="7" id="621" />
+<TGConnectingPoint num="8" id="622" />
+<TGConnectingPoint num="9" id="623" />
+<TGConnectingPoint num="10" id="624" />
+<TGConnectingPoint num="11" id="625" />
+<TGConnectingPoint num="12" id="626" />
+<TGConnectingPoint num="13" id="627" />
+<TGConnectingPoint num="14" id="628" />
+<TGConnectingPoint num="15" id="629" />
+<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="1013" id="624" >
-<cdparam x="2232" y="1059" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="633" >
+<cdparam x="250" y="97" />
+<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="622" />
-<TGConnectingPoint num="1" id="623" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_TCP_IP()" />
+<TGConnectingPoint num="0" id="631" />
+<TGConnectingPoint num="1" id="632" />
+<extraparam>
+<Data requestName="start_TCP_IP" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="621" >
-<father id="624" 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="628" >
-<cdparam x="2312" y="1024" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="636" >
+<cdparam x="236" y="148" />
+<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="626" />
-<TGConnectingPoint num="1" id="627" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send request" value="start_Application()" />
+<TGConnectingPoint num="0" id="634" />
+<TGConnectingPoint num="1" id="635" />
+<breakpoint />
+<extraparam>
+<Data requestName="start_Application" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="625" >
-<father id="628" 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="636" >
-<cdparam x="1193" y="1020" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="638" >
+<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="2900" minY="10" maxY="1900" />
-<infoparam name="choice" value="null" />
-<TGConnectingPoint num="0" id="632" />
-<TGConnectingPoint num="1" id="633" />
-<TGConnectingPoint num="2" id="634" />
-<TGConnectingPoint num="3" id="635" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="637" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="629" >
-<father id="636" num="0" />
-<cdparam x="1168" y="1030" />
-<sizeparam width="14" 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="630" >
-<father id="636" num="1" />
-<cdparam x="1228" y="1030" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="631" >
-<father id="636" num="2" />
-<cdparam x="1213" y="1065" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
-</SUBCOMPONENT>
 
-<COMPONENT type="1013" id="640" >
-<cdparam x="1203" y="1107" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="641" >
+<cdparam x="236" y="471" />
+<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="638" />
-<TGConnectingPoint num="1" id="639" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="data_Ready_SC()" />
+<TGConnectingPoint num="0" id="639" />
+<TGConnectingPoint num="1" id="640" />
+<extraparam>
+<Data eventName="data_Ready_SC" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="637" >
-<father id="640" num="0" />
-<cdparam x="1218" y="1127" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1001" id="643" >
+<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="-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="642" />
+</COMPONENT>
 
-<COMPONENT type="1012" id="648" >
-<cdparam x="557" y="712" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="646" >
+<cdparam x="249" y="429" />
+<sizeparam width="88" 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" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromTtoP(1) " />
 <TGConnectingPoint num="0" id="644" />
 <TGConnectingPoint num="1" id="645" />
-<TGConnectingPoint num="2" id="646" />
-<TGConnectingPoint num="3" id="647" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="641" >
-<father id="648" num="0" />
-<cdparam x="482" y="747" />
-<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="642" >
-<father id="648" num="1" />
-<cdparam x="592" y="722" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1010" id="649" >
+<cdparam x="266" y="385" />
+<sizeparam width="55" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="643" >
-<father id="648" num="2" />
-<cdparam x="577" y="757" />
-<sizeparam width="14" 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>
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="send() " />
+<TGConnectingPoint num="0" id="647" />
+<TGConnectingPoint num="1" id="648" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1013" id="652" >
-<cdparam x="717" y="694" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="652" >
+<cdparam x="246" y="513" />
+<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<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="write channel" value="fromSCtoD(1)" />
 <TGConnectingPoint num="0" id="650" />
 <TGConnectingPoint num="1" id="651" />
+<extraparam>
+<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="649" >
-<father id="652" 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="656" >
-<cdparam x="938" y="1025" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="655" >
+<cdparam x="559" y="472" />
+<sizeparam width="65" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="654" />
-<TGConnectingPoint num="1" id="655" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="receive()" />
+<TGConnectingPoint num="0" id="653" />
+<TGConnectingPoint num="1" id="654" />
+<extraparam>
+<Data eventName="receive" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="653" >
-<father id="656" 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="664" >
-<cdparam x="1034" y="939" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="658" >
+<cdparam x="542" y="433" />
+<sizeparam width="98" 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="660" />
-<TGConnectingPoint num="1" id="661" />
-<TGConnectingPoint num="2" id="662" />
-<TGConnectingPoint num="3" id="663" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="read channel" value="fromDtoSC(1) " />
+<TGConnectingPoint num="0" id="656" />
+<TGConnectingPoint num="1" id="657" />
+<extraparam>
+<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="657" >
-<father id="664" num="0" />
-<cdparam x="959" y="974" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1006" id="661" >
+<cdparam x="549" y="509" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="658" >
-<father id="664" num="1" />
-<cdparam x="1070" y="949" />
-<sizeparam width="44" 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="fromPtoT(1)" />
+<TGConnectingPoint num="0" id="659" />
+<TGConnectingPoint num="1" id="660" />
+<extraparam>
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1010" id="664" >
+<cdparam x="532" y="390" />
+<sizeparam width="118" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ else ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="659" >
-<father id="664" num="2" />
-<cdparam x="1054" y="984" />
-<sizeparam width="127" 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="wait event" value="data_Ready(t, b) " />
+<TGConnectingPoint num="0" id="662" />
+<TGConnectingPoint num="1" id="663" />
+<breakpoint />
+<extraparam>
+<Data eventName="data_Ready" nbOfParams="5" />
+<Param index="0" value="t" />
+<Param index="1" value="b" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1014" id="668" >
+<cdparam x="236" y="261" />
+<sizeparam width="124" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
-</SUBCOMPONENT>
+<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="665" />
+<TGConnectingPoint num="1" id="666" />
+<TGConnectingPoint num="2" id="667" />
+<extraparam>
+<Data init="j=0" condition="x==0" increment="j = j" />
+</extraparam>
+</COMPONENT>
 
-<COMPONENT type="1013" id="668" >
-<cdparam x="795" y="1009" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="670" >
+<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" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="666" />
-<TGConnectingPoint num="1" id="667" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="669" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="665" >
-<father id="668" num="0" />
-<cdparam x="818" y="1031" />
-<sizeparam width="8" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+
+<COMPONENT type="1018" id="681" >
+<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="-75" maxX="30" minY="10" maxY="30" />
-<infoparam name="value of the delay" value="b" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="671" />
+<TGConnectingPoint num="1" id="672" />
+<TGConnectingPoint num="2" id="673" />
+<TGConnectingPoint num="3" id="674" />
+<TGConnectingPoint num="4" id="675" />
+<TGConnectingPoint num="5" id="676" />
+<TGConnectingPoint num="6" id="677" />
+<TGConnectingPoint num="7" id="678" />
+<TGConnectingPoint num="8" id="679" />
+<TGConnectingPoint num="9" id="680" />
+</COMPONENT>
+
+<CONNECTOR type="115" id="682" >
+<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="598" />
+<P2  x="298" y="256" id="665" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="687" >
+<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="612" />
+<P2  x="298" y="92" id="631" />
+<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="683" >
+<father id="687" 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="684" >
+<father id="687" 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="685" >
+<father id="687" 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="686" >
+<father id="687" 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>
 
-<COMPONENT type="1012" id="676" >
-<cdparam x="828" y="869" />
+<CONNECTOR type="115" id="688" >
+<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="81" id="600" />
+<P2  x="166" y="124" id="602" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="689" >
+<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="603" />
+<P2  x="166" y="177" id="605" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="690" >
+<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="632" />
+<P2  x="298" y="143" id="634" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="691" >
+<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="648" />
+<P2  x="293" y="424" id="644" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="692" >
+<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="645" />
+<P2  x="293" y="466" id="639" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="693" >
+<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="640" />
+<P2  x="293" y="508" id="650" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="694" >
+<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="651" />
+<P2  x="293" y="542" id="642" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="695" >
+<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="657" />
+<P2  x="591" y="467" id="653" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="696" >
+<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="654" />
+<P2  x="591" y="504" id="659" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="697" >
+<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="663" />
+<P2  x="591" y="428" id="656" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="698" >
+<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="660" />
+<P2  x="591" y="545" id="637" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="699" >
+<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="635" />
+<P2  x="302" y="196" id="597" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="700" >
+<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="667" />
+<P2  x="285" y="304" id="669" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="701" >
+<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="672" />
+<P2  x="293" y="380" id="647" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="702" >
+<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="673" />
+<P2  x="591" y="385" id="662" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="703" >
+<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="360" y="275" id="666" />
+<P2  x="439" y="275" id="671" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="704" >
+<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="609" />
+<P2  x="166" y="303" id="611" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="705" >
+<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="606" />
+<P2  x="166" y="232" id="608" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="706" >
+<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="674" />
+<P2  x="440" y="359" id="594" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="707" >
+<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="595" />
+<P2  x="440" y="403" id="592" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
+<COMPONENT type="1012" id="715" >
+<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="672" />
-<TGConnectingPoint num="1" id="673" />
-<TGConnectingPoint num="2" id="674" />
-<TGConnectingPoint num="3" id="675" />
+<TGConnectingPoint num="0" id="711" />
+<TGConnectingPoint num="1" id="712" />
+<TGConnectingPoint num="2" id="713" />
+<TGConnectingPoint num="3" id="714" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="669" >
-<father id="676" num="0" />
-<cdparam x="753" y="885" />
-<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="708" >
+<father id="715" num="0" />
+<cdparam x="464" y="232" />
+<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <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="670" >
-<father id="676" num="1" />
-<cdparam x="863" y="879" />
-<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="709" >
+<father id="715" num="1" />
+<cdparam x="544" y="234" />
+<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <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="671" >
-<father id="676" num="2" />
-<cdparam x="848" y="914" />
-<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="710" >
+<father id="715" num="2" />
+<cdparam x="529" y="267" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
+<infoparam name="guard 3" value="[ ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1013" id="680" >
-<cdparam x="341" y="764" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1000" id="717" >
+<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" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="678" />
-<TGConnectingPoint num="1" id="679" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="716" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="677" >
-<father id="680" 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="1013" id="684" >
-<cdparam x="127" y="794" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="719" >
+<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" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="682" />
-<TGConnectingPoint num="1" id="683" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="718" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="681" >
-<father id="684" 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="1012" id="692" >
-<cdparam x="993" y="780" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="722" >
+<cdparam x="393" y="339" />
+<sizeparam width="69" 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="688" />
-<TGConnectingPoint num="1" id="689" />
-<TGConnectingPoint num="2" id="690" />
-<TGConnectingPoint num="3" id="691" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="send event" value="timeOut()" />
+<TGConnectingPoint num="0" id="720" />
+<TGConnectingPoint num="1" id="721" />
+<extraparam>
+<Data eventName="timeOut" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="685" >
-<father id="692" num="0" />
-<cdparam x="949" y="793" />
-<sizeparam width="14" 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="686" >
-<father id="692" num="1" />
-<cdparam x="1028" y="790" />
-<sizeparam width="14" 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="687" >
-<father id="692" num="2" />
-<cdparam x="1013" y="825" />
-<sizeparam width="14" 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="696" >
-<cdparam x="1003" y="701" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="725" >
+<cdparam x="596" y="300" />
+<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="694" />
-<TGConnectingPoint num="1" id="695" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="wait event" value="stop() " />
+<TGConnectingPoint num="0" id="723" />
+<TGConnectingPoint num="1" id="724" />
+<extraparam>
+<Data eventName="stop" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="693" >
-<father id="696" 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="1013" id="700" >
-<cdparam x="459" y="783" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="727" >
+<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" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="698" />
-<TGConnectingPoint num="1" id="699" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="726" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="697" >
-<father id="700" 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="1013" id="704" >
-<cdparam x="225" y="863" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="730" >
+<cdparam x="489" y="157" />
+<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="702" />
-<TGConnectingPoint num="1" id="703" />
+<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
+<infoparam name="notified event" value="x=?stop()" />
+<TGConnectingPoint num="0" id="728" />
+<TGConnectingPoint num="1" id="729" />
+<extraparam>
+<Data eventName="stop" variable="x" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="701" >
-<father id="704" 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="1013" id="708" >
-<cdparam x="1044" y="1057" />
-<sizeparam width="10" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="731" >
+<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="41" id="716" />
+<P2  x="526" y="152" id="728" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="732" >
+<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="712" />
+<P2  x="427" y="334" id="720" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="733" >
+<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="721" />
+<P2  x="427" y="402" id="718" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="734" >
+<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="724" />
+<P2  x="622" y="360" id="726" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="735" >
+<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="729" />
+<P2  x="524" y="212" id="711" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="736" >
+<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="713" />
+<P2  x="622" y="295" id="723" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+
+</TMLActivityDiagramPanel>
+
+<TMLActivityDiagramPanel name="TCPIP" minX="10" maxX="2900" minY="10" maxY="1900" >
+<COMPONENT type="1008" id="739" >
+<cdparam x="156" y="424" />
+<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="706" />
-<TGConnectingPoint num="1" id="707" />
+<infoparam name="send event" value="opened()" />
+<TGConnectingPoint num="0" id="737" />
+<TGConnectingPoint num="1" id="738" />
+<extraparam>
+<Data eventName="opened" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="705" >
-<father id="708" 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="1012" id="716" >
-<cdparam x="173" y="486" />
+<COMPONENT type="1012" id="747" >
+<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="712" />
-<TGConnectingPoint num="1" id="713" />
-<TGConnectingPoint num="2" id="714" />
-<TGConnectingPoint num="3" id="715" />
+<TGConnectingPoint num="0" id="743" />
+<TGConnectingPoint num="1" id="744" />
+<TGConnectingPoint num="2" id="745" />
+<TGConnectingPoint num="3" id="746" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="709" >
-<father id="716" num="0" />
-<cdparam x="98" y="496" />
-<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="740" >
+<father id="747" num="0" />
+<cdparam x="2061" y="1388" />
+<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
+<infoparam name="guard 1" value="[ ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="710" >
-<father id="716" num="1" />
-<cdparam x="208" y="496" />
+<SUBCOMPONENT type="-1" id="741" >
+<father id="747" num="1" />
+<cdparam x="2121" y="1388" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="711" >
-<father id="716" num="2" />
-<cdparam x="193" y="531" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="742" >
+<father id="747" num="2" />
+<cdparam x="2106" y="1426" />
+<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==10 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="724" >
-<cdparam x="359" y="192" />
+<COMPONENT type="1012" id="755" >
+<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="720" />
-<TGConnectingPoint num="1" id="721" />
-<TGConnectingPoint num="2" id="722" />
-<TGConnectingPoint num="3" id="723" />
+<TGConnectingPoint num="0" id="751" />
+<TGConnectingPoint num="1" id="752" />
+<TGConnectingPoint num="2" id="753" />
+<TGConnectingPoint num="3" id="754" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="717" >
-<father id="724" num="0" />
-<cdparam x="317" y="202" />
-<sizeparam width="88" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="748" >
+<father id="755" num="0" />
+<cdparam x="2212" y="961" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==1 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="718" >
-<father id="724" num="1" />
-<cdparam x="394" y="202" />
-<sizeparam width="98" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="749" >
+<father id="755" num="1" />
+<cdparam x="2301" y="975" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
+<infoparam name="guard 2" value="[ tcpctrl.state ==3 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="719" >
-<father id="724" num="2" />
-<cdparam x="379" y="237" />
-<sizeparam width="14" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="750" >
+<father id="755" num="2" />
+<cdparam x="2282" y="996" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ ]" />
+<infoparam name="guard 3" value="[ else ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="732" >
-<cdparam x="449" y="582" />
+<COMPONENT type="1012" id="763" >
+<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="728" />
-<TGConnectingPoint num="1" id="729" />
-<TGConnectingPoint num="2" id="730" />
-<TGConnectingPoint num="3" id="731" />
+<TGConnectingPoint num="0" id="759" />
+<TGConnectingPoint num="1" id="760" />
+<TGConnectingPoint num="2" id="761" />
+<TGConnectingPoint num="3" id="762" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="725" >
-<father id="732" num="0" />
-<cdparam x="404" y="592" />
+<SUBCOMPONENT type="-1" id="756" >
+<father id="763" num="0" />
+<cdparam x="1934" y="1356" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state ==9 ]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==5 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="726" >
-<father id="732" num="1" />
-<cdparam x="500" y="599" />
+<SUBCOMPONENT type="-1" id="757" >
+<father id="763" num="1" />
+<cdparam x="2016" y="1356" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="727" >
-<father id="732" num="2" />
-<cdparam x="469" y="627" />
-<sizeparam width="277" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="758" >
+<father id="763" num="2" />
+<cdparam x="2001" y="1391" />
+<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <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 == 7 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1012" id="740" >
-<cdparam x="274" y="564" />
+<COMPONENT type="1012" id="771" >
+<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="736" />
-<TGConnectingPoint num="1" id="737" />
-<TGConnectingPoint num="2" id="738" />
-<TGConnectingPoint num="3" id="739" />
+<TGConnectingPoint num="0" id="767" />
+<TGConnectingPoint num="1" id="768" />
+<TGConnectingPoint num="2" id="769" />
+<TGConnectingPoint num="3" id="770" />
 </COMPONENT>
-<SUBCOMPONENT type="-1" id="733" >
-<father id="740" num="0" />
-<cdparam x="228" y="574" />
+<SUBCOMPONENT type="-1" id="764" >
+<father id="771" num="0" />
+<cdparam x="1762" y="1279" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="734" >
-<father id="740" num="1" />
-<cdparam x="317" y="584" />
+<SUBCOMPONENT type="-1" id="765" >
+<father id="771" num="1" />
+<cdparam x="1846" y="1279" />
 <sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
 <infoparam name="guard 2" value="[ else ]" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="735" >
-<father id="740" num="2" />
-<cdparam x="306" y="616" />
+<SUBCOMPONENT type="-1" id="766" >
+<father id="771" num="2" />
+<cdparam x="1831" y="1314" />
 <sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
-<infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==2 ]" />
 </SUBCOMPONENT>
 
-<COMPONENT type="1000" id="742" >
-<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="779" >
+<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="start state" value="null" />
-<TGConnectingPoint num="0" id="741" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="775" />
+<TGConnectingPoint num="1" id="776" />
+<TGConnectingPoint num="2" id="777" />
+<TGConnectingPoint num="3" id="778" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="772" >
+<father id="779" num="0" />
+<cdparam x="1688" y="1151" />
+<sizeparam width="14" 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="773" >
+<father id="779" num="1" />
+<cdparam x="1748" y="1151" />
+<sizeparam width="14" 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="774" >
+<father id="779" num="2" />
+<cdparam x="1733" y="1186" />
+<sizeparam width="14" 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="301" id="759" >
-<cdparam x="10" y="30" />
-<sizeparam width="98" height="135" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="783" >
+<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" />
+<enabled value="true" />
 <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="743" />
-<TGConnectingPoint num="1" id="744" />
-<TGConnectingPoint num="2" id="745" />
-<TGConnectingPoint num="3" id="746" />
-<TGConnectingPoint num="4" id="747" />
-<TGConnectingPoint num="5" id="748" />
-<TGConnectingPoint num="6" id="749" />
-<TGConnectingPoint num="7" id="750" />
-<TGConnectingPoint num="8" id="751" />
-<TGConnectingPoint num="9" id="752" />
-<TGConnectingPoint num="10" id="753" />
-<TGConnectingPoint num="11" id="754" />
-<TGConnectingPoint num="12" id="755" />
-<TGConnectingPoint num="13" id="756" />
-<TGConnectingPoint num="14" id="757" />
-<TGConnectingPoint num="15" id="758" />
-<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>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="781" />
+<TGConnectingPoint num="1" id="782" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="780" >
+<father id="783" 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="1011" id="762" >
-<cdparam x="94" y="549" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="787" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="760" />
-<TGConnectingPoint num="1" id="761" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="785" />
+<TGConnectingPoint num="1" id="786" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="784" >
+<father id="787" 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="764" >
-<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="795" >
+<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="763" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="791" />
+<TGConnectingPoint num="1" id="792" />
+<TGConnectingPoint num="2" id="793" />
+<TGConnectingPoint num="3" id="794" />
 </COMPONENT>
-
-<COMPONENT type="1009" id="767" >
-<cdparam x="964" y="585" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="788" >
+<father id="795" num="0" />
+<cdparam x="1542" y="1016" />
+<sizeparam width="135" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="fromPtoT(1) " />
-<TGConnectingPoint num="0" id="765" />
-<TGConnectingPoint num="1" id="766" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1014" id="771" >
-<cdparam x="145" y="85" />
-<sizeparam width="180" 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="789" >
+<father id="795" num="1" />
+<cdparam x="1627" y="1016" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<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="768" />
-<TGConnectingPoint num="1" id="769" />
-<TGConnectingPoint num="2" id="770" />
-<extraparam>
-<Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="790" >
+<father id="795" num="2" />
+<cdparam x="1612" y="1051" />
+<sizeparam width="14" 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="773" >
-<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="803" >
+<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="stop state" value="null" />
-<TGConnectingPoint num="0" id="772" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="799" />
+<TGConnectingPoint num="1" id="800" />
+<TGConnectingPoint num="2" id="801" />
+<TGConnectingPoint num="3" id="802" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="796" >
+<father id="803" num="0" />
+<cdparam x="1688" y="885" />
+<sizeparam width="14" 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="797" >
+<father id="803" num="1" />
+<cdparam x="1748" y="885" />
+<sizeparam width="14" 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="798" >
+<father id="803" num="2" />
+<cdparam x="1733" y="920" />
+<sizeparam width="14" 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="776" >
-<cdparam x="183" y="144" />
-<sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="807" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state=0" />
-<TGConnectingPoint num="0" id="774" />
-<TGConnectingPoint num="1" id="775" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="805" />
+<TGConnectingPoint num="1" id="806" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="804" >
+<father id="807" 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="1017" id="779" >
-<cdparam x="311" y="133" />
-<sizeparam width="127" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="811" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="notified event" value="tcpctrl.a=?abort()" />
-<TGConnectingPoint num="0" id="777" />
-<TGConnectingPoint num="1" id="778" />
-<extraparam>
-<Data eventName="abort" variable="tcpctrl.a" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="809" />
+<TGConnectingPoint num="1" id="810" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="808" >
+<father id="811" 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="1009" id="782" >
-<cdparam x="690" y="589" />
-<sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="815" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="780" />
-<TGConnectingPoint num="1" id="781" />
-<extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="813" />
+<TGConnectingPoint num="1" id="814" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="812" >
+<father id="815" 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="785" >
-<cdparam x="686" y="534" />
-<sizeparam width="73" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="823" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="timeOut() " />
-<TGConnectingPoint num="0" id="783" />
-<TGConnectingPoint num="1" id="784" />
-<extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="819" />
+<TGConnectingPoint num="1" id="820" />
+<TGConnectingPoint num="2" id="821" />
+<TGConnectingPoint num="3" id="822" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="816" >
+<father id="823" num="0" />
+<cdparam x="1168" y="1030" />
+<sizeparam width="14" 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="817" >
+<father id="823" num="1" />
+<cdparam x="1228" y="1030" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="818" >
+<father id="823" num="2" />
+<cdparam x="1213" y="1065" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==6 ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1010" id="788" >
-<cdparam x="974" y="528" />
-<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="827" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="receive() " />
-<TGConnectingPoint num="0" id="786" />
-<TGConnectingPoint num="1" id="787" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="825" />
+<TGConnectingPoint num="1" id="826" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="824" >
+<father id="827" 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="1010" id="791" >
-<cdparam x="436" y="492" />
-<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="835" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="close() " />
-<TGConnectingPoint num="0" id="789" />
-<TGConnectingPoint num="1" id="790" />
-<extraparam>
-<Data eventName="close" nbOfParams="5" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="831" />
+<TGConnectingPoint num="1" id="832" />
+<TGConnectingPoint num="2" id="833" />
+<TGConnectingPoint num="3" id="834" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="828" >
+<father id="835" num="0" />
+<cdparam x="482" y="747" />
+<sizeparam width="131" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state == 1 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="829" >
+<father id="835" num="1" />
+<cdparam x="592" y="722" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="830" >
+<father id="835" num="2" />
+<cdparam x="577" y="757" />
+<sizeparam width="14" 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="794" >
-<cdparam x="247" y="468" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="839" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="send_TCP() " />
-<TGConnectingPoint num="0" id="792" />
-<TGConnectingPoint num="1" id="793" />
-<extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="837" />
+<TGConnectingPoint num="1" id="838" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="836" >
+<father id="839" 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="1010" id="797" >
-<cdparam x="160" y="383" />
-<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="843" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="open() " />
-<TGConnectingPoint num="0" id="795" />
-<TGConnectingPoint num="1" id="796" />
-<breakpoint />
-<extraparam>
-<Data eventName="open" nbOfParams="5" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="841" />
+<TGConnectingPoint num="1" id="842" />
 </COMPONENT>
-
-<COMPONENT type="1018" id="808" >
-<cdparam x="449" y="267" />
-<sizeparam width="30" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="840" >
+<father id="843" 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="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="select" value="null" />
-<TGConnectingPoint num="0" id="798" />
-<TGConnectingPoint num="1" id="799" />
-<TGConnectingPoint num="2" id="800" />
-<TGConnectingPoint num="3" id="801" />
-<TGConnectingPoint num="4" id="802" />
-<TGConnectingPoint num="5" id="803" />
-<TGConnectingPoint num="6" id="804" />
-<TGConnectingPoint num="7" id="805" />
-<TGConnectingPoint num="8" id="806" />
-<TGConnectingPoint num="9" id="807" />
-<breakpoint />
-</COMPONENT>
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="810" >
-<cdparam x="218" y="529" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="851" >
+<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="stop state" value="null" />
-<TGConnectingPoint num="0" id="809" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="847" />
+<TGConnectingPoint num="1" id="848" />
+<TGConnectingPoint num="2" id="849" />
+<TGConnectingPoint num="3" id="850" />
 </COMPONENT>
-
-<COMPONENT type="1001" id="812" >
-<cdparam x="319" y="614" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="844" >
+<father id="851" num="0" />
+<cdparam x="959" y="974" />
+<sizeparam width="127" 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="stop state" value="null" />
-<TGConnectingPoint num="0" id="811" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="815" >
-<cdparam x="272" y="228" />
-<sizeparam width="58" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<enabled value="true" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state ==4 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="845" >
+<father id="851" num="1" />
+<cdparam x="1070" y="949" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="wait event" value="abort() " />
-<TGConnectingPoint num="0" id="813" />
-<TGConnectingPoint num="1" id="814" />
-<extraparam>
-<Data eventName="abort" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="846" >
+<father id="851" num="2" />
+<cdparam x="1054" y="984" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state == 5]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="817" >
-<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="855" >
+<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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="816" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="853" />
+<TGConnectingPoint num="1" id="854" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="852" >
+<father id="855" 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="834" >
-<cdparam x="602" y="86" />
-<sizeparam width="393" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="863" >
+<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="818" />
-<TGConnectingPoint num="1" id="819" />
-<TGConnectingPoint num="2" id="820" />
-<TGConnectingPoint num="3" id="821" />
-<TGConnectingPoint num="4" id="822" />
-<TGConnectingPoint num="5" id="823" />
-<TGConnectingPoint num="6" id="824" />
-<TGConnectingPoint num="7" id="825" />
-<TGConnectingPoint num="8" id="826" />
-<TGConnectingPoint num="9" id="827" />
-<TGConnectingPoint num="10" id="828" />
-<TGConnectingPoint num="11" id="829" />
-<TGConnectingPoint num="12" id="830" />
-<TGConnectingPoint num="13" id="831" />
-<TGConnectingPoint num="14" id="832" />
-<TGConnectingPoint num="15" id="833" />
-<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>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="859" />
+<TGConnectingPoint num="1" id="860" />
+<TGConnectingPoint num="2" id="861" />
+<TGConnectingPoint num="3" id="862" />
 </COMPONENT>
-
-<COMPONENT type="1009" id="837" >
-<cdparam x="186" y="808" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="856" >
+<father id="863" num="0" />
+<cdparam x="753" y="885" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="fromAtoT(1) " />
-<TGConnectingPoint num="0" id="835" />
-<TGConnectingPoint num="1" id="836" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="840" >
-<cdparam x="188" y="1002" />
-<sizeparam width="84" 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 ==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="857" >
+<father id="863" num="1" />
+<cdparam x="863" y="879" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="838" />
-<TGConnectingPoint num="1" id="839" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="842" >
-<cdparam x="220" y="1237" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="858" >
+<father id="863" num="2" />
+<cdparam x="848" y="914" />
+<sizeparam width="123" 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="stop state" value="null" />
-<TGConnectingPoint num="0" id="841" />
-</COMPONENT>
+<enabled value="true" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state==0 ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="845" >
-<cdparam x="410" y="1032" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="867" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =5" />
-<TGConnectingPoint num="0" id="843" />
-<TGConnectingPoint num="1" id="844" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="865" />
+<TGConnectingPoint num="1" id="866" />
 </COMPONENT>
-
-<COMPONENT type="1001" id="847" >
-<cdparam x="454" y="1213" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="864" >
+<father id="867" 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="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="846" />
-</COMPONENT>
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1011" id="850" >
-<cdparam x="80" y="1041" />
-<sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="871" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state=3" />
-<TGConnectingPoint num="0" id="848" />
-<TGConnectingPoint num="1" id="849" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="869" />
+<TGConnectingPoint num="1" id="870" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="868" >
+<father id="871" 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="1006" id="853" >
-<cdparam x="90" y="938" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="879" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="851" />
-<TGConnectingPoint num="1" id="852" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="875" />
+<TGConnectingPoint num="1" id="876" />
+<TGConnectingPoint num="2" id="877" />
+<TGConnectingPoint num="3" id="878" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="872" >
+<father id="879" num="0" />
+<cdparam x="949" y="793" />
+<sizeparam width="14" 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="873" >
+<father id="879" num="1" />
+<cdparam x="1028" y="790" />
+<sizeparam width="14" 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="874" >
+<father id="879" num="2" />
+<cdparam x="1013" y="825" />
+<sizeparam width="14" 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="856" >
-<cdparam x="288" y="1026" />
-<sizeparam width="117" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="883" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =10" />
-<TGConnectingPoint num="0" id="854" />
-<TGConnectingPoint num="1" id="855" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="881" />
+<TGConnectingPoint num="1" id="882" />
 </COMPONENT>
-
-<COMPONENT type="1001" id="858" >
-<cdparam x="336" y="1229" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="880" >
+<father id="883" 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="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="857" />
-</COMPONENT>
+<cdrectangleparam minX="-75" maxX="30" minY="10" maxY="30" />
+<infoparam name="value of the delay" value="b" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1006" id="861" >
-<cdparam x="422" y="941" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="887" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="859" />
-<TGConnectingPoint num="1" id="860" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="885" />
+<TGConnectingPoint num="1" id="886" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="884" >
+<father id="887" 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="1006" id="864" >
-<cdparam x="304" y="900" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="891" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="862" />
-<TGConnectingPoint num="1" id="863" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="889" />
+<TGConnectingPoint num="1" id="890" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="888" >
+<father id="891" 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="866" >
-<cdparam x="790" y="1270" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1013" id="895" >
+<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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="865" />
+<infoparam name="execI" value="null" />
+<TGConnectingPoint num="0" id="893" />
+<TGConnectingPoint num="1" id="894" />
 </COMPONENT>
+<SUBCOMPONENT type="-1" id="892" >
+<father id="895" 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="301" id="883" >
-<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="903" >
+<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="UML Note" value="Final
-" />
-<TGConnectingPoint num="0" id="867" />
-<TGConnectingPoint num="1" id="868" />
-<TGConnectingPoint num="2" id="869" />
-<TGConnectingPoint num="3" id="870" />
-<TGConnectingPoint num="4" id="871" />
-<TGConnectingPoint num="5" id="872" />
-<TGConnectingPoint num="6" id="873" />
-<TGConnectingPoint num="7" id="874" />
-<TGConnectingPoint num="8" id="875" />
-<TGConnectingPoint num="9" id="876" />
-<TGConnectingPoint num="10" id="877" />
-<TGConnectingPoint num="11" id="878" />
-<TGConnectingPoint num="12" id="879" />
-<TGConnectingPoint num="13" id="880" />
-<TGConnectingPoint num="14" id="881" />
-<TGConnectingPoint num="15" id="882" />
-<extraparam>
-<Line value="Final" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="899" />
+<TGConnectingPoint num="1" id="900" />
+<TGConnectingPoint num="2" id="901" />
+<TGConnectingPoint num="3" id="902" />
 </COMPONENT>
-
-<COMPONENT type="1011" id="886" >
-<cdparam x="674" y="965" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="896" >
+<father id="903" num="0" />
+<cdparam x="98" y="496" />
+<sizeparam width="123" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =1" />
-<TGConnectingPoint num="0" id="884" />
-<TGConnectingPoint num="1" id="885" />
-</COMPONENT>
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="897" >
+<father id="903" num="1" />
+<cdparam x="208" y="496" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="898" >
+<father id="903" num="2" />
+<cdparam x="193" y="531" />
+<sizeparam width="14" 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="888" >
-<cdparam x="718" y="1032" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="911" >
+<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="stop state" value="null" />
-<TGConnectingPoint num="0" id="887" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="907" />
+<TGConnectingPoint num="1" id="908" />
+<TGConnectingPoint num="2" id="909" />
+<TGConnectingPoint num="3" id="910" />
 </COMPONENT>
-
-<COMPONENT type="1006" id="891" >
-<cdparam x="758" y="1086" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="904" >
+<father id="911" num="0" />
+<cdparam x="317" y="202" />
+<sizeparam width="88" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="889" />
-<TGConnectingPoint num="1" id="890" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="908" >
-<cdparam x="781" y="950" />
-<sizeparam width="94" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.a&gt;0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="905" >
+<father id="911" num="1" />
+<cdparam x="394" y="202" />
+<sizeparam width="98" 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="Active Open
-" />
-<TGConnectingPoint num="0" id="892" />
-<TGConnectingPoint num="1" id="893" />
-<TGConnectingPoint num="2" id="894" />
-<TGConnectingPoint num="3" id="895" />
-<TGConnectingPoint num="4" id="896" />
-<TGConnectingPoint num="5" id="897" />
-<TGConnectingPoint num="6" id="898" />
-<TGConnectingPoint num="7" id="899" />
-<TGConnectingPoint num="8" id="900" />
-<TGConnectingPoint num="9" id="901" />
-<TGConnectingPoint num="10" id="902" />
-<TGConnectingPoint num="11" id="903" />
-<TGConnectingPoint num="12" id="904" />
-<TGConnectingPoint num="13" id="905" />
-<TGConnectingPoint num="14" id="906" />
-<TGConnectingPoint num="15" id="907" />
-<extraparam>
-<Line value="Active Open" />
-</extraparam>
-</COMPONENT>
+<enabled value="true" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ tcpctrl.a==0 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="906" >
+<father id="911" num="2" />
+<cdparam x="379" y="237" />
+<sizeparam width="14" 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="301" id="925" >
-<cdparam x="715" y="907" />
-<sizeparam width="104" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="919" >
+<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="UML Note" value="Passive Open
-" />
-<TGConnectingPoint num="0" id="909" />
-<TGConnectingPoint num="1" id="910" />
-<TGConnectingPoint num="2" id="911" />
-<TGConnectingPoint num="3" id="912" />
-<TGConnectingPoint num="4" id="913" />
-<TGConnectingPoint num="5" id="914" />
-<TGConnectingPoint num="6" id="915" />
-<TGConnectingPoint num="7" id="916" />
-<TGConnectingPoint num="8" id="917" />
-<TGConnectingPoint num="9" id="918" />
-<TGConnectingPoint num="10" id="919" />
-<TGConnectingPoint num="11" id="920" />
-<TGConnectingPoint num="12" id="921" />
-<TGConnectingPoint num="13" id="922" />
-<TGConnectingPoint num="14" id="923" />
-<TGConnectingPoint num="15" id="924" />
-<extraparam>
-<Line value="Passive Open" />
-</extraparam>
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="915" />
+<TGConnectingPoint num="1" id="916" />
+<TGConnectingPoint num="2" id="917" />
+<TGConnectingPoint num="3" id="918" />
 </COMPONENT>
-
-<COMPONENT type="1011" id="928" >
-<cdparam x="746" y="1193" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="912" >
+<father id="919" num="0" />
+<cdparam x="404" y="592" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =3" />
-<TGConnectingPoint num="0" id="926" />
-<TGConnectingPoint num="1" id="927" />
-</COMPONENT>
-
-<COMPONENT type="1011" id="931" >
-<cdparam x="442" y="768" />
-<sizeparam width="109" 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 ==9 ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="913" >
+<father id="919" num="1" />
+<cdparam x="500" y="599" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="929" />
-<TGConnectingPoint num="1" id="930" />
-</COMPONENT>
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="914" >
+<father id="919" num="2" />
+<cdparam x="469" y="627" />
+<sizeparam width="277" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ (tcpctrl.state ==2) or (tcpctrl.state ==4) ]" />
+</SUBCOMPONENT>
 
-<COMPONENT type="1001" id="933" >
-<cdparam x="486" y="830" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1012" id="927" >
+<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="stop state" value="null" />
-<TGConnectingPoint num="0" id="932" />
+<infoparam name="choice" value="null" />
+<TGConnectingPoint num="0" id="923" />
+<TGConnectingPoint num="1" id="924" />
+<TGConnectingPoint num="2" id="925" />
+<TGConnectingPoint num="3" id="926" />
 </COMPONENT>
-
-<COMPONENT type="1006" id="936" >
-<cdparam x="901" y="1123" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="-1" id="920" >
+<father id="927" num="0" />
+<cdparam x="228" y="574" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
+<infoparam name="guard 1" value="[ tcpctrl.state == 1]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="921" >
+<father id="927" num="1" />
+<cdparam x="317" y="584" />
+<sizeparam width="44" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
+<infoparam name="guard 2" value="[ else ]" />
+</SUBCOMPONENT>
+<SUBCOMPONENT type="-1" id="922" >
+<father id="927" num="2" />
+<cdparam x="306" y="616" />
+<sizeparam width="127" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
+<cdrectangleparam minX="20" maxX="40" minY="45" maxY="70" />
+<infoparam name="guard 3" value="[ tcpctrl.state ==4 ]" />
+</SUBCOMPONENT>
+
+<COMPONENT type="1000" id="929" >
+<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="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="934" />
-<TGConnectingPoint num="1" id="935" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
+<infoparam name="start state" value="null" />
+<TGConnectingPoint num="0" id="928" />
 </COMPONENT>
 
-<COMPONENT type="301" id="953" >
-<cdparam x="884" y="1068" />
-<sizeparam width="115" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="946" >
+<cdparam x="10" y="30" />
+<sizeparam width="98" 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="UML Note" value="send Ack of Fin
+<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="937" />
-<TGConnectingPoint num="1" id="938" />
-<TGConnectingPoint num="2" id="939" />
-<TGConnectingPoint num="3" id="940" />
-<TGConnectingPoint num="4" id="941" />
-<TGConnectingPoint num="5" id="942" />
-<TGConnectingPoint num="6" id="943" />
-<TGConnectingPoint num="7" id="944" />
-<TGConnectingPoint num="8" id="945" />
-<TGConnectingPoint num="9" id="946" />
-<TGConnectingPoint num="10" id="947" />
-<TGConnectingPoint num="11" id="948" />
-<TGConnectingPoint num="12" id="949" />
-<TGConnectingPoint num="13" id="950" />
-<TGConnectingPoint num="14" id="951" />
-<TGConnectingPoint num="15" id="952" />
+<TGConnectingPoint num="0" id="930" />
+<TGConnectingPoint num="1" id="931" />
+<TGConnectingPoint num="2" id="932" />
+<TGConnectingPoint num="3" id="933" />
+<TGConnectingPoint num="4" id="934" />
+<TGConnectingPoint num="5" id="935" />
+<TGConnectingPoint num="6" id="936" />
+<TGConnectingPoint num="7" id="937" />
+<TGConnectingPoint num="8" id="938" />
+<TGConnectingPoint num="9" id="939" />
+<TGConnectingPoint num="10" id="940" />
+<TGConnectingPoint num="11" id="941" />
+<TGConnectingPoint num="12" id="942" />
+<TGConnectingPoint num="13" id="943" />
+<TGConnectingPoint num="14" id="944" />
+<TGConnectingPoint num="15" id="945" />
 <extraparam>
-<Line value="send Ack of Fin" />
+<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="956" >
-<cdparam x="889" y="1234" />
+<COMPONENT type="1011" id="949" >
+<cdparam x="94" y="549" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =9" />
-<TGConnectingPoint num="0" id="954" />
-<TGConnectingPoint num="1" id="955" />
+<infoparam name="action state" value="tcpctrl.state =1" />
+<TGConnectingPoint num="0" id="947" />
+<TGConnectingPoint num="1" id="948" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="958" >
-<cdparam x="933" y="1311" />
+<COMPONENT type="1001" id="951" >
+<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="957" />
+<TGConnectingPoint num="0" id="950" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="961" >
-<cdparam x="1007" y="1155" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="954" >
+<cdparam x="964" y="585" />
+<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="959" />
-<TGConnectingPoint num="1" id="960" />
+<infoparam name="read channel" value="fromPtoT(1) " />
+<TGConnectingPoint num="0" id="952" />
+<TGConnectingPoint num="1" id="953" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="978" >
-<cdparam x="1000" y="1094" />
-<sizeparam width="115" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1014" id="958" >
+<cdparam x="145" y="85" />
+<sizeparam width="180" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="send Ack of Fin
-" />
-<TGConnectingPoint num="0" id="962" />
-<TGConnectingPoint num="1" id="963" />
-<TGConnectingPoint num="2" id="964" />
-<TGConnectingPoint num="3" id="965" />
-<TGConnectingPoint num="4" id="966" />
-<TGConnectingPoint num="5" id="967" />
-<TGConnectingPoint num="6" id="968" />
-<TGConnectingPoint num="7" id="969" />
-<TGConnectingPoint num="8" id="970" />
-<TGConnectingPoint num="9" id="971" />
-<TGConnectingPoint num="10" id="972" />
-<TGConnectingPoint num="11" id="973" />
-<TGConnectingPoint num="12" id="974" />
-<TGConnectingPoint num="13" id="975" />
-<TGConnectingPoint num="14" id="976" />
-<TGConnectingPoint num="15" id="977" />
+<infoparam name="for loop" value="for(i=0;(tcpctrl.a==0);i = i)" />
+<TGConnectingPoint num="0" id="955" />
+<TGConnectingPoint num="1" id="956" />
+<TGConnectingPoint num="2" id="957" />
 <extraparam>
-<Line value="send Ack of Fin" />
+<Data init="i=0" condition="(tcpctrl.a==0)" increment="i = i" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="981" >
-<cdparam x="995" y="1266" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="960" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =7" />
-<TGConnectingPoint num="0" id="979" />
-<TGConnectingPoint num="1" id="980" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="959" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="983" >
-<cdparam x="1039" y="1341" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="963" >
+<cdparam x="183" y="144" />
+<sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="982" />
+<infoparam name="action state" value="tcpctrl.state=0" />
+<TGConnectingPoint num="0" id="961" />
+<TGConnectingPoint num="1" id="962" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="986" >
-<cdparam x="680" y="758" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1017" id="966" >
+<cdparam x="311" y="133" />
+<sizeparam width="127" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="984" />
-<TGConnectingPoint num="1" id="985" />
+<infoparam name="notified event" value="tcpctrl.a=?abort()" />
+<TGConnectingPoint num="0" id="964" />
+<TGConnectingPoint num="1" id="965" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data eventName="abort" variable="tcpctrl.a" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="988" >
-<cdparam x="712" y="865" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="969" >
+<cdparam x="690" y="589" />
+<sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="987" />
+<infoparam name="read channel" value="temp(1) " />
+<TGConnectingPoint num="0" id="967" />
+<TGConnectingPoint num="1" id="968" />
+<extraparam>
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="991" >
-<cdparam x="92" y="1100" />
-<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="972" >
+<cdparam x="686" y="534" />
+<sizeparam width="73" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="989" />
-<TGConnectingPoint num="1" id="990" />
+<infoparam name="wait event" value="timeOut() " />
+<TGConnectingPoint num="0" id="970" />
+<TGConnectingPoint num="1" id="971" />
 <extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
+<Data eventName="timeOut" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="994" >
-<cdparam x="102" y="1167" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="975" >
+<cdparam x="974" y="528" />
+<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="992" />
-<TGConnectingPoint num="1" id="993" />
+<infoparam name="wait event" value="receive() " />
+<TGConnectingPoint num="0" id="973" />
+<TGConnectingPoint num="1" id="974" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data eventName="receive" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="996" >
-<cdparam x="122" y="1236" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="978" >
+<cdparam x="436" y="492" />
+<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="995" />
-</COMPONENT>
-
-<COMPONENT type="1007" id="999" >
-<cdparam x="190" y="1102" />
-<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="997" />
-<TGConnectingPoint num="1" id="998" />
-<extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1002" >
-<cdparam x="200" y="1169" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1000" />
-<TGConnectingPoint num="1" id="1001" />
+<infoparam name="wait event" value="close() " />
+<TGConnectingPoint num="0" id="976" />
+<TGConnectingPoint num="1" id="977" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data eventName="close" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1005" >
-<cdparam x="306" y="1106" />
-<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="981" >
+<cdparam x="247" y="468" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1003" />
-<TGConnectingPoint num="1" id="1004" />
+<infoparam name="wait event" value="send_TCP() " />
+<TGConnectingPoint num="0" id="979" />
+<TGConnectingPoint num="1" id="980" />
 <extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
+<Data eventName="send_TCP" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1008" >
-<cdparam x="316" y="1173" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="984" >
+<cdparam x="160" y="383" />
+<sizeparam width="56" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1006" />
-<TGConnectingPoint num="1" id="1007" />
+<infoparam name="wait event" value="open() " />
+<TGConnectingPoint num="0" id="982" />
+<TGConnectingPoint num="1" id="983" />
+<breakpoint />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data eventName="open" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1007" id="1011" >
-<cdparam x="424" y="1090" />
-<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1018" id="995" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1009" />
-<TGConnectingPoint num="1" id="1010" />
-<extraparam>
-<Data requestName="req_Timer" nbOfParams="5" />
-</extraparam>
+<infoparam name="select" value="null" />
+<TGConnectingPoint num="0" id="985" />
+<TGConnectingPoint num="1" id="986" />
+<TGConnectingPoint num="2" id="987" />
+<TGConnectingPoint num="3" id="988" />
+<TGConnectingPoint num="4" id="989" />
+<TGConnectingPoint num="5" id="990" />
+<TGConnectingPoint num="6" id="991" />
+<TGConnectingPoint num="7" id="992" />
+<TGConnectingPoint num="8" id="993" />
+<TGConnectingPoint num="9" id="994" />
+<breakpoint />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1014" >
-<cdparam x="434" y="1159" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="997" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1012" />
-<TGConnectingPoint num="1" id="1013" />
-<extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="996" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1017" >
-<cdparam x="52" y="861" />
-<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="999" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1015" />
-<TGConnectingPoint num="1" id="1016" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="998" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1020" >
-<cdparam x="150" y="940" />
-<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1010" id="1002" >
+<cdparam x="272" y="228" />
+<sizeparam width="58" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1018" />
-<TGConnectingPoint num="1" id="1019" />
+<infoparam name="wait event" value="abort() " />
+<TGConnectingPoint num="0" id="1000" />
+<TGConnectingPoint num="1" id="1001" />
+<extraparam>
+<Data eventName="abort" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1023" >
-<cdparam x="384" y="865" />
-<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1004" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1021" />
-<TGConnectingPoint num="1" id="1022" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1003" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1026" >
-<cdparam x="266" y="831" />
-<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1021" >
+<cdparam x="602" y="86" />
+<sizeparam width="393" height="51" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1024" />
-<TGConnectingPoint num="1" id="1025" />
-</COMPONENT>
+<infoparam name="UML Note" value="b est le nombre d&apos;instructions necessaires pour paquetiser
+ou depaquitiser un paquet TCP
 
-<COMPONENT type="1008" id="1029" >
-<cdparam x="205" y="1052" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1027" />
-<TGConnectingPoint num="1" id="1028" />
+On prend b=1 comme exemple
+" />
+<TGConnectingPoint num="0" id="1005" />
+<TGConnectingPoint num="1" id="1006" />
+<TGConnectingPoint num="2" id="1007" />
+<TGConnectingPoint num="3" id="1008" />
+<TGConnectingPoint num="4" id="1009" />
+<TGConnectingPoint num="5" id="1010" />
+<TGConnectingPoint num="6" id="1011" />
+<TGConnectingPoint num="7" id="1012" />
+<TGConnectingPoint num="8" id="1013" />
+<TGConnectingPoint num="9" id="1014" />
+<TGConnectingPoint num="10" id="1015" />
+<TGConnectingPoint num="11" id="1016" />
+<TGConnectingPoint num="12" id="1017" />
+<TGConnectingPoint num="13" id="1018" />
+<TGConnectingPoint num="14" id="1019" />
+<TGConnectingPoint num="15" id="1020" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<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="1008" id="1032" >
-<cdparam x="321" y="962" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1009" id="1024" >
+<cdparam x="186" y="808" />
+<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1030" />
-<TGConnectingPoint num="1" id="1031" />
+<infoparam name="read channel" value="fromAtoT(1) " />
+<TGConnectingPoint num="0" id="1022" />
+<TGConnectingPoint num="1" id="1023" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1035" >
-<cdparam x="439" y="983" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1027" >
+<cdparam x="188" y="1002" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1033" />
-<TGConnectingPoint num="1" id="1034" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1025" />
+<TGConnectingPoint num="1" id="1026" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1038" >
-<cdparam x="107" y="986" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1029" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1036" />
-<TGConnectingPoint num="1" id="1037" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1028" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1041" >
-<cdparam x="697" y="813" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1032" >
+<cdparam x="410" y="1032" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1039" />
-<TGConnectingPoint num="1" id="1040" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="action state" value="tcpctrl.state =5" />
+<TGConnectingPoint num="0" id="1030" />
+<TGConnectingPoint num="1" id="1031" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1044" >
-<cdparam x="775" y="1141" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1034" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1042" />
-<TGConnectingPoint num="1" id="1043" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1033" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1047" >
-<cdparam x="918" y="1178" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1037" >
+<cdparam x="80" y="1041" />
+<sizeparam width="105" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1045" />
-<TGConnectingPoint num="1" id="1046" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="action state" value="tcpctrl.state=3" />
+<TGConnectingPoint num="0" id="1035" />
+<TGConnectingPoint num="1" id="1036" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1050" >
-<cdparam x="1024" y="1211" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1040" >
+<cdparam x="90" y="938" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1048" />
-<TGConnectingPoint num="1" id="1049" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1038" />
+<TGConnectingPoint num="1" id="1039" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1052" >
-<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="1043" >
+<cdparam x="288" y="1026" />
+<sizeparam width="117" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1051" />
+<infoparam name="action state" value="tcpctrl.state =10" />
+<TGConnectingPoint num="0" id="1041" />
+<TGConnectingPoint num="1" id="1042" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1054" >
-<cdparam x="873" y="922" />
+<COMPONENT type="1001" id="1045" >
+<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="1053" />
+<TGConnectingPoint num="0" id="1044" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1057" >
-<cdparam x="1166" y="1214" />
+<COMPONENT type="1006" id="1048" >
+<cdparam x="422" y="941" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1055" />
-<TGConnectingPoint num="1" id="1056" />
+<TGConnectingPoint num="0" id="1046" />
+<TGConnectingPoint num="1" id="1047" />
 <extraparam>
 <Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1074" >
-<cdparam x="1159" y="1153" />
-<sizeparam width="115" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1051" >
+<cdparam x="304" y="900" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="send Ack of Fin
-" />
-<TGConnectingPoint num="0" id="1058" />
-<TGConnectingPoint num="1" id="1059" />
-<TGConnectingPoint num="2" id="1060" />
-<TGConnectingPoint num="3" id="1061" />
-<TGConnectingPoint num="4" id="1062" />
-<TGConnectingPoint num="5" id="1063" />
-<TGConnectingPoint num="6" id="1064" />
-<TGConnectingPoint num="7" id="1065" />
-<TGConnectingPoint num="8" id="1066" />
-<TGConnectingPoint num="9" id="1067" />
-<TGConnectingPoint num="10" id="1068" />
-<TGConnectingPoint num="11" id="1069" />
-<TGConnectingPoint num="12" id="1070" />
-<TGConnectingPoint num="13" id="1071" />
-<TGConnectingPoint num="14" id="1072" />
-<TGConnectingPoint num="15" id="1073" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1049" />
+<TGConnectingPoint num="1" id="1050" />
 <extraparam>
-<Line value="send Ack of Fin" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1077" >
-<cdparam x="1154" y="1295" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="1075" />
-<TGConnectingPoint num="1" id="1076" />
-</COMPONENT>
-
-<COMPONENT type="1001" id="1079" >
-<cdparam x="1198" y="1471" />
+<COMPONENT type="1001" id="1053" >
+<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="1078" />
-</COMPONENT>
-
-<COMPONENT type="1011" id="1082" >
-<cdparam x="1154" y="1402" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1080" />
-<TGConnectingPoint num="1" id="1081" />
+<TGConnectingPoint num="0" id="1052" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1085" >
-<cdparam x="1183" y="1351" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1070" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1083" />
-<TGConnectingPoint num="1" id="1084" />
+<infoparam name="UML Note" value="Final
+" />
+<TGConnectingPoint num="0" id="1054" />
+<TGConnectingPoint num="1" id="1055" />
+<TGConnectingPoint num="2" id="1056" />
+<TGConnectingPoint num="3" id="1057" />
+<TGConnectingPoint num="4" id="1058" />
+<TGConnectingPoint num="5" id="1059" />
+<TGConnectingPoint num="6" id="1060" />
+<TGConnectingPoint num="7" id="1061" />
+<TGConnectingPoint num="8" id="1062" />
+<TGConnectingPoint num="9" id="1063" />
+<TGConnectingPoint num="10" id="1064" />
+<TGConnectingPoint num="11" id="1065" />
+<TGConnectingPoint num="12" id="1066" />
+<TGConnectingPoint num="13" id="1067" />
+<TGConnectingPoint num="14" id="1068" />
+<TGConnectingPoint num="15" id="1069" />
 <extraparam>
-<Data eventName="send" nbOfParams="5" />
+<Line value="Final" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1087" >
-<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="1073" >
+<cdparam x="674" y="965" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1086" />
+<infoparam name="action state" value="tcpctrl.state =1" />
+<TGConnectingPoint num="0" id="1071" />
+<TGConnectingPoint num="1" id="1072" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1089" >
-<cdparam x="1519" y="1457" />
+<COMPONENT type="1001" id="1075" >
+<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="1088" />
+<TGConnectingPoint num="0" id="1074" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1092" >
-<cdparam x="1487" y="1132" />
+<COMPONENT type="1006" id="1078" >
+<cdparam x="758" y="1086" />
 <sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoA(1)" />
-<TGConnectingPoint num="0" id="1090" />
-<TGConnectingPoint num="1" id="1091" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1076" />
+<TGConnectingPoint num="1" id="1077" />
 <extraparam>
-<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1095" >
-<cdparam x="1487" y="1348" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1095" >
+<cdparam x="781" y="950" />
+<sizeparam width="94" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1093" />
-<TGConnectingPoint num="1" id="1094" />
+<infoparam name="UML Note" value="Active Open
+" />
+<TGConnectingPoint num="0" id="1079" />
+<TGConnectingPoint num="1" id="1080" />
+<TGConnectingPoint num="2" id="1081" />
+<TGConnectingPoint num="3" id="1082" />
+<TGConnectingPoint num="4" id="1083" />
+<TGConnectingPoint num="5" id="1084" />
+<TGConnectingPoint num="6" id="1085" />
+<TGConnectingPoint num="7" id="1086" />
+<TGConnectingPoint num="8" id="1087" />
+<TGConnectingPoint num="9" id="1088" />
+<TGConnectingPoint num="10" id="1089" />
+<TGConnectingPoint num="11" id="1090" />
+<TGConnectingPoint num="12" id="1091" />
+<TGConnectingPoint num="13" id="1092" />
+<TGConnectingPoint num="14" id="1093" />
+<TGConnectingPoint num="15" id="1094" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Line value="Active Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1098" >
-<cdparam x="1704" y="1026" />
-<sizeparam width="48" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
+<COMPONENT type="301" id="1112" >
+<cdparam x="715" y="907" />
+<sizeparam width="104" 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="stop()" />
+<infoparam name="UML Note" value="Passive Open
+" />
 <TGConnectingPoint num="0" id="1096" />
 <TGConnectingPoint num="1" id="1097" />
+<TGConnectingPoint num="2" id="1098" />
+<TGConnectingPoint num="3" id="1099" />
+<TGConnectingPoint num="4" id="1100" />
+<TGConnectingPoint num="5" id="1101" />
+<TGConnectingPoint num="6" id="1102" />
+<TGConnectingPoint num="7" id="1103" />
+<TGConnectingPoint num="8" id="1104" />
+<TGConnectingPoint num="9" id="1105" />
+<TGConnectingPoint num="10" id="1106" />
+<TGConnectingPoint num="11" id="1107" />
+<TGConnectingPoint num="12" id="1108" />
+<TGConnectingPoint num="13" id="1109" />
+<TGConnectingPoint num="14" id="1110" />
+<TGConnectingPoint num="15" id="1111" />
 <extraparam>
-<Data eventName="stop" nbOfParams="5" />
+<Line value="Passive Open" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1115" >
-<cdparam x="1759" y="1192" />
-<sizeparam width="92" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1115" >
+<cdparam x="746" y="1193" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="Correct ack
-" />
-<TGConnectingPoint num="0" id="1099" />
-<TGConnectingPoint num="1" id="1100" />
-<TGConnectingPoint num="2" id="1101" />
-<TGConnectingPoint num="3" id="1102" />
-<TGConnectingPoint num="4" id="1103" />
-<TGConnectingPoint num="5" id="1104" />
-<TGConnectingPoint num="6" id="1105" />
-<TGConnectingPoint num="7" id="1106" />
-<TGConnectingPoint num="8" id="1107" />
-<TGConnectingPoint num="9" id="1108" />
-<TGConnectingPoint num="10" id="1109" />
-<TGConnectingPoint num="11" id="1110" />
-<TGConnectingPoint num="12" id="1111" />
-<TGConnectingPoint num="13" id="1112" />
-<TGConnectingPoint num="14" id="1113" />
-<TGConnectingPoint num="15" id="1114" />
-<extraparam>
-<Line value="Correct ack" />
-</extraparam>
+<infoparam name="action state" value="tcpctrl.state =3" />
+<TGConnectingPoint num="0" id="1113" />
+<TGConnectingPoint num="1" id="1114" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1132" >
-<cdparam x="1635" y="1168" />
-<sizeparam width="76" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1118" >
+<cdparam x="442" y="768" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="false ack
-" />
+<infoparam name="action state" value="tcpctrl.state =0" />
 <TGConnectingPoint num="0" id="1116" />
 <TGConnectingPoint num="1" id="1117" />
-<TGConnectingPoint num="2" id="1118" />
-<TGConnectingPoint num="3" id="1119" />
-<TGConnectingPoint num="4" id="1120" />
-<TGConnectingPoint num="5" id="1121" />
-<TGConnectingPoint num="6" id="1122" />
-<TGConnectingPoint num="7" id="1123" />
-<TGConnectingPoint num="8" id="1124" />
-<TGConnectingPoint num="9" id="1125" />
-<TGConnectingPoint num="10" id="1126" />
-<TGConnectingPoint num="11" id="1127" />
-<TGConnectingPoint num="12" id="1128" />
-<TGConnectingPoint num="13" id="1129" />
-<TGConnectingPoint num="14" id="1130" />
-<TGConnectingPoint num="15" id="1131" />
-<extraparam>
-<Line value="false ack" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1135" >
-<cdparam x="1599" y="1299" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1133" />
-<TGConnectingPoint num="1" id="1134" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1137" >
-<cdparam x="1631" y="1468" />
+<COMPONENT type="1001" id="1120" >
+<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="1136" />
+<TGConnectingPoint num="0" id="1119" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1154" >
-<cdparam x="1469" y="1295" />
-<sizeparam width="137" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1123" >
+<cdparam x="901" y="1123" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="return acknowldge
-" />
-<TGConnectingPoint num="0" id="1138" />
-<TGConnectingPoint num="1" id="1139" />
-<TGConnectingPoint num="2" id="1140" />
-<TGConnectingPoint num="3" id="1141" />
-<TGConnectingPoint num="4" id="1142" />
-<TGConnectingPoint num="5" id="1143" />
-<TGConnectingPoint num="6" id="1144" />
-<TGConnectingPoint num="7" id="1145" />
-<TGConnectingPoint num="8" id="1146" />
-<TGConnectingPoint num="9" id="1147" />
-<TGConnectingPoint num="10" id="1148" />
-<TGConnectingPoint num="11" id="1149" />
-<TGConnectingPoint num="12" id="1150" />
-<TGConnectingPoint num="13" id="1151" />
-<TGConnectingPoint num="14" id="1152" />
-<TGConnectingPoint num="15" id="1153" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1121" />
+<TGConnectingPoint num="1" id="1122" />
 <extraparam>
-<Line value="return acknowldge" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1171" >
-<cdparam x="1620" y="927" />
-<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1140" >
+<cdparam x="884" y="1068" />
+<sizeparam width="115" 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
+<infoparam name="UML Note" value="send Ack of Fin
 " />
-<TGConnectingPoint num="0" id="1155" />
-<TGConnectingPoint num="1" id="1156" />
-<TGConnectingPoint num="2" id="1157" />
-<TGConnectingPoint num="3" id="1158" />
-<TGConnectingPoint num="4" id="1159" />
-<TGConnectingPoint num="5" id="1160" />
-<TGConnectingPoint num="6" id="1161" />
-<TGConnectingPoint num="7" id="1162" />
-<TGConnectingPoint num="8" id="1163" />
-<TGConnectingPoint num="9" id="1164" />
-<TGConnectingPoint num="10" id="1165" />
-<TGConnectingPoint num="11" id="1166" />
-<TGConnectingPoint num="12" id="1167" />
-<TGConnectingPoint num="13" id="1168" />
-<TGConnectingPoint num="14" id="1169" />
-<TGConnectingPoint num="15" id="1170" />
+<TGConnectingPoint num="0" id="1124" />
+<TGConnectingPoint num="1" id="1125" />
+<TGConnectingPoint num="2" id="1126" />
+<TGConnectingPoint num="3" id="1127" />
+<TGConnectingPoint num="4" id="1128" />
+<TGConnectingPoint num="5" id="1129" />
+<TGConnectingPoint num="6" id="1130" />
+<TGConnectingPoint num="7" id="1131" />
+<TGConnectingPoint num="8" id="1132" />
+<TGConnectingPoint num="9" id="1133" />
+<TGConnectingPoint num="10" id="1134" />
+<TGConnectingPoint num="11" id="1135" />
+<TGConnectingPoint num="12" id="1136" />
+<TGConnectingPoint num="13" id="1137" />
+<TGConnectingPoint num="14" id="1138" />
+<TGConnectingPoint num="15" id="1139" />
 <extraparam>
-<Line value="data" />
+<Line value="send Ack of Fin" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1174" >
-<cdparam x="1504" y="1405" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1143" >
+<cdparam x="889" y="1234" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1172" />
-<TGConnectingPoint num="1" id="1173" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="action state" value="tcpctrl.state =9" />
+<TGConnectingPoint num="0" id="1141" />
+<TGConnectingPoint num="1" id="1142" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1177" >
-<cdparam x="1616" y="1348" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1145" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1175" />
-<TGConnectingPoint num="1" id="1176" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="1144" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1180" >
-<cdparam x="1611" y="1404" />
-<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1148" >
+<cdparam x="1007" y="1155" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1178" />
-<TGConnectingPoint num="1" id="1179" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1146" />
+<TGConnectingPoint num="1" id="1147" />
 <extraparam>
-<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1182" >
-<cdparam x="1730" y="1335" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="301" id="1165" >
+<cdparam x="1000" y="1094" />
+<sizeparam width="115" 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="1181" />
+<infoparam name="UML Note" value="send Ack of Fin
+" />
+<TGConnectingPoint num="0" id="1149" />
+<TGConnectingPoint num="1" id="1150" />
+<TGConnectingPoint num="2" id="1151" />
+<TGConnectingPoint num="3" id="1152" />
+<TGConnectingPoint num="4" id="1153" />
+<TGConnectingPoint num="5" id="1154" />
+<TGConnectingPoint num="6" id="1155" />
+<TGConnectingPoint num="7" id="1156" />
+<TGConnectingPoint num="8" id="1157" />
+<TGConnectingPoint num="9" id="1158" />
+<TGConnectingPoint num="10" id="1159" />
+<TGConnectingPoint num="11" id="1160" />
+<TGConnectingPoint num="12" id="1161" />
+<TGConnectingPoint num="13" id="1162" />
+<TGConnectingPoint num="14" id="1163" />
+<TGConnectingPoint num="15" id="1164" />
+<extraparam>
+<Line value="send Ack of Fin" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1185" >
-<cdparam x="1772" y="1349" />
+<COMPONENT type="1011" id="1168" >
+<cdparam x="995" y="1266" />
 <sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =4" />
-<TGConnectingPoint num="0" id="1183" />
-<TGConnectingPoint num="1" id="1184" />
+<infoparam name="action state" value="tcpctrl.state =7" />
+<TGConnectingPoint num="0" id="1166" />
+<TGConnectingPoint num="1" id="1167" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1187" >
-<cdparam x="1816" y="1457" />
+<COMPONENT type="1001" id="1170" >
+<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="1186" />
+<TGConnectingPoint num="0" id="1169" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1190" >
-<cdparam x="1866" y="1411" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1173" >
+<cdparam x="680" y="758" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =6" />
-<TGConnectingPoint num="0" id="1188" />
-<TGConnectingPoint num="1" id="1189" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1171" />
+<TGConnectingPoint num="1" id="1172" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1192" >
-<cdparam x="1910" y="1481" />
+<COMPONENT type="1001" id="1175" >
+<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="1191" />
+<TGConnectingPoint num="0" id="1174" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1194" >
-<cdparam x="1986" y="1543" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1178" >
+<cdparam x="92" y="1100" />
+<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="1193" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1176" />
+<TGConnectingPoint num="1" id="1177" />
+<extraparam>
+<Data requestName="req_Timer" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1197" >
-<cdparam x="2047" y="1466" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1181" >
+<cdparam x="102" y="1167" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1195" />
-<TGConnectingPoint num="1" id="1196" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1179" />
+<TGConnectingPoint num="1" id="1180" />
+<extraparam>
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1199" >
-<cdparam x="2091" y="1537" />
+<COMPONENT type="1001" id="1183" >
+<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="1198" />
+<TGConnectingPoint num="0" id="1182" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1202" >
-<cdparam x="1942" y="1493" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1186" >
+<cdparam x="190" y="1102" />
+<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =0" />
-<TGConnectingPoint num="0" id="1200" />
-<TGConnectingPoint num="1" id="1201" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1184" />
+<TGConnectingPoint num="1" id="1185" />
+<extraparam>
+<Data requestName="req_Timer" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1205" >
-<cdparam x="1942" y="1434" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1189" >
+<cdparam x="200" y="1169" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =8" />
-<TGConnectingPoint num="0" id="1203" />
-<TGConnectingPoint num="1" id="1204" />
-</COMPONENT>
-
-<COMPONENT type="301" id="1222" >
-<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="1206" />
-<TGConnectingPoint num="1" id="1207" />
-<TGConnectingPoint num="2" id="1208" />
-<TGConnectingPoint num="3" id="1209" />
-<TGConnectingPoint num="4" id="1210" />
-<TGConnectingPoint num="5" id="1211" />
-<TGConnectingPoint num="6" id="1212" />
-<TGConnectingPoint num="7" id="1213" />
-<TGConnectingPoint num="8" id="1214" />
-<TGConnectingPoint num="9" id="1215" />
-<TGConnectingPoint num="10" id="1216" />
-<TGConnectingPoint num="11" id="1217" />
-<TGConnectingPoint num="12" id="1218" />
-<TGConnectingPoint num="13" id="1219" />
-<TGConnectingPoint num="14" id="1220" />
-<TGConnectingPoint num="15" id="1221" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1187" />
+<TGConnectingPoint num="1" id="1188" />
 <extraparam>
-<Line value="Syn" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="301" id="1239" >
-<cdparam x="1707" y="945" />
-<sizeparam width="50" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1007" id="1192" >
+<cdparam x="306" y="1106" />
+<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="ack
-" />
-<TGConnectingPoint num="0" id="1223" />
-<TGConnectingPoint num="1" id="1224" />
-<TGConnectingPoint num="2" id="1225" />
-<TGConnectingPoint num="3" id="1226" />
-<TGConnectingPoint num="4" id="1227" />
-<TGConnectingPoint num="5" id="1228" />
-<TGConnectingPoint num="6" id="1229" />
-<TGConnectingPoint num="7" id="1230" />
-<TGConnectingPoint num="8" id="1231" />
-<TGConnectingPoint num="9" id="1232" />
-<TGConnectingPoint num="10" id="1233" />
-<TGConnectingPoint num="11" id="1234" />
-<TGConnectingPoint num="12" id="1235" />
-<TGConnectingPoint num="13" id="1236" />
-<TGConnectingPoint num="14" id="1237" />
-<TGConnectingPoint num="15" id="1238" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1190" />
+<TGConnectingPoint num="1" id="1191" />
 <extraparam>
-<Line value="ack" />
+<Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1242" >
-<cdparam x="2195" y="1198" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1006" id="1195" >
+<cdparam x="316" y="1173" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1240" />
-<TGConnectingPoint num="1" id="1241" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1193" />
+<TGConnectingPoint num="1" id="1194" />
 <extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1244" >
-<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="1243" />
-</COMPONENT>
-
-<COMPONENT type="1007" id="1247" >
-<cdparam x="2197" y="1298" />
+<COMPONENT type="1007" id="1198" >
+<cdparam x="424" y="1090" />
 <sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send request" value="req_Timer()" />
-<TGConnectingPoint num="0" id="1245" />
-<TGConnectingPoint num="1" id="1246" />
+<TGConnectingPoint num="0" id="1196" />
+<TGConnectingPoint num="1" id="1197" />
 <extraparam>
 <Data requestName="req_Timer" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1006" id="1250" >
-<cdparam x="2207" y="1365" />
+<COMPONENT type="1006" id="1201" >
+<cdparam x="434" y="1159" />
 <sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="write channel" value="temp(1)" />
-<TGConnectingPoint num="0" id="1248" />
-<TGConnectingPoint num="1" id="1249" />
+<TGConnectingPoint num="0" id="1199" />
+<TGConnectingPoint num="1" id="1200" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1253" >
-<cdparam x="2157" y="1136" />
+<COMPONENT type="1011" id="1204" >
+<cdparam x="52" y="861" />
 <sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="action state" value="seqNum=seqNum+wind" />
-<TGConnectingPoint num="0" id="1251" />
-<TGConnectingPoint num="1" id="1252" />
+<TGConnectingPoint num="0" id="1202" />
+<TGConnectingPoint num="1" id="1203" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1256" >
-<cdparam x="2212" y="1248" />
-<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1207" >
+<cdparam x="150" y="940" />
+<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1254" />
-<TGConnectingPoint num="1" id="1255" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1205" />
+<TGConnectingPoint num="1" id="1206" />
 </COMPONENT>
 
-<COMPONENT type="1011" id="1259" >
-<cdparam x="2183" y="1424" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1210" >
+<cdparam x="384" y="865" />
+<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <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="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1208" />
+<TGConnectingPoint num="1" id="1209" />
 </COMPONENT>
 
-<COMPONENT type="1006" id="1262" >
-<cdparam x="2275" y="1122" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1213" >
+<cdparam x="266" y="831" />
+<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="write channel" value="fromTtoP(1)" />
-<TGConnectingPoint num="0" id="1260" />
-<TGConnectingPoint num="1" id="1261" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1211" />
+<TGConnectingPoint num="1" id="1212" />
 </COMPONENT>
 
-<COMPONENT type="301" id="1279" >
-<cdparam x="2283" y="1065" />
-<sizeparam width="121" height="15" minWidth="50" minHeight="20" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1216" >
+<cdparam x="205" y="1052" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="UML Note" value="send Ack of SYN
-" />
-<TGConnectingPoint num="0" id="1263" />
-<TGConnectingPoint num="1" id="1264" />
-<TGConnectingPoint num="2" id="1265" />
-<TGConnectingPoint num="3" id="1266" />
-<TGConnectingPoint num="4" id="1267" />
-<TGConnectingPoint num="5" id="1268" />
-<TGConnectingPoint num="6" id="1269" />
-<TGConnectingPoint num="7" id="1270" />
-<TGConnectingPoint num="8" id="1271" />
-<TGConnectingPoint num="9" id="1272" />
-<TGConnectingPoint num="10" id="1273" />
-<TGConnectingPoint num="11" id="1274" />
-<TGConnectingPoint num="12" id="1275" />
-<TGConnectingPoint num="13" id="1276" />
-<TGConnectingPoint num="14" id="1277" />
-<TGConnectingPoint num="15" id="1278" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1214" />
+<TGConnectingPoint num="1" id="1215" />
 <extraparam>
-<Line value="send Ack of SYN" />
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1011" id="1282" >
-<cdparam x="2263" y="1267" />
-<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1008" id="1219" >
+<cdparam x="321" y="962" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="action state" value="tcpctrl.state =2" />
-<TGConnectingPoint num="0" id="1280" />
-<TGConnectingPoint num="1" id="1281" />
-</COMPONENT>
-
-<COMPONENT type="1001" id="1284" >
-<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="1283" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1217" />
+<TGConnectingPoint num="1" id="1218" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
 </COMPONENT>
 
-<COMPONENT type="1008" id="1287" >
-<cdparam x="2292" y="1199" />
+<COMPONENT type="1008" id="1222" >
+<cdparam x="439" y="983" />
 <sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
 <infoparam name="send event" value="send()" />
-<TGConnectingPoint num="0" id="1285" />
-<TGConnectingPoint num="1" id="1286" />
+<TGConnectingPoint num="0" id="1220" />
+<TGConnectingPoint num="1" id="1221" />
 <extraparam>
 <Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1001" id="1289" >
-<cdparam x="1637" y="1057" />
+<COMPONENT type="1008" id="1225" >
+<cdparam x="107" y="986" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1223" />
+<TGConnectingPoint num="1" id="1224" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1228" >
+<cdparam x="697" y="813" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1226" />
+<TGConnectingPoint num="1" id="1227" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1231" >
+<cdparam x="775" y="1141" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1229" />
+<TGConnectingPoint num="1" id="1230" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1234" >
+<cdparam x="918" y="1178" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1232" />
+<TGConnectingPoint num="1" id="1233" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1237" >
+<cdparam x="1024" y="1211" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1235" />
+<TGConnectingPoint num="1" id="1236" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1239" >
+<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="1288" />
+<TGConnectingPoint num="0" id="1238" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1291" >
-<cdparam x="2168" y="1421" />
+<COMPONENT type="1001" id="1241" >
+<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="1290" />
+<TGConnectingPoint num="0" id="1240" />
 </COMPONENT>
 
-<COMPONENT type="1001" id="1293" >
-<cdparam x="2267" y="1039" />
+<COMPONENT type="1006" id="1244" >
+<cdparam x="1166" y="1214" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1242" />
+<TGConnectingPoint num="1" id="1243" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1261" >
+<cdparam x="1159" y="1153" />
+<sizeparam width="115" 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="1245" />
+<TGConnectingPoint num="1" id="1246" />
+<TGConnectingPoint num="2" id="1247" />
+<TGConnectingPoint num="3" id="1248" />
+<TGConnectingPoint num="4" id="1249" />
+<TGConnectingPoint num="5" id="1250" />
+<TGConnectingPoint num="6" id="1251" />
+<TGConnectingPoint num="7" id="1252" />
+<TGConnectingPoint num="8" id="1253" />
+<TGConnectingPoint num="9" id="1254" />
+<TGConnectingPoint num="10" id="1255" />
+<TGConnectingPoint num="11" id="1256" />
+<TGConnectingPoint num="12" id="1257" />
+<TGConnectingPoint num="13" id="1258" />
+<TGConnectingPoint num="14" id="1259" />
+<TGConnectingPoint num="15" id="1260" />
+<extraparam>
+<Line value="send Ack of Fin" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1011" id="1264" >
+<cdparam x="1154" y="1295" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =8" />
+<TGConnectingPoint num="0" id="1262" />
+<TGConnectingPoint num="1" id="1263" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1266" >
+<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="1292" />
+<TGConnectingPoint num="0" id="1265" />
 </COMPONENT>
 
-<COMPONENT type="1008" id="1296" >
-<cdparam x="1459" y="1192" />
-<sizeparam width="140" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1011" id="1269" >
+<cdparam x="1154" y="1402" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="send event" value="receive_Application()" />
-<TGConnectingPoint num="0" id="1294" />
-<TGConnectingPoint num="1" id="1295" />
+<infoparam name="action state" value="tcpctrl.state =0" />
+<TGConnectingPoint num="0" id="1267" />
+<TGConnectingPoint num="1" id="1268" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1272" >
+<cdparam x="1183" y="1351" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1270" />
+<TGConnectingPoint num="1" id="1271" />
 <extraparam>
-<Data eventName="receive_Application" nbOfParams="5" />
+<Data eventName="send" nbOfParams="5" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1009" id="1299" >
-<cdparam x="1696" y="1086" />
-<sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="1001" id="1274" >
+<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="1273" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1276" >
+<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="1275" />
+</COMPONENT>
+
+<COMPONENT type="1006" id="1279" >
+<cdparam x="1487" y="1132" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
-<infoparam name="read channel" value="temp(1) " />
-<TGConnectingPoint num="0" id="1297" />
-<TGConnectingPoint num="1" id="1298" />
+<infoparam name="write channel" value="fromTtoA(1)" />
+<TGConnectingPoint num="0" id="1277" />
+<TGConnectingPoint num="1" id="1278" />
+<extraparam>
+<Data channelName="fromTtoA" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1282" >
+<cdparam x="1487" y="1348" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1280" />
+<TGConnectingPoint num="1" id="1281" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1285" >
+<cdparam x="1704" y="1026" />
+<sizeparam width="48" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="stop()" />
+<TGConnectingPoint num="0" id="1283" />
+<TGConnectingPoint num="1" id="1284" />
+<extraparam>
+<Data eventName="stop" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1302" >
+<cdparam x="1759" y="1192" />
+<sizeparam width="92" 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="1286" />
+<TGConnectingPoint num="1" id="1287" />
+<TGConnectingPoint num="2" id="1288" />
+<TGConnectingPoint num="3" id="1289" />
+<TGConnectingPoint num="4" id="1290" />
+<TGConnectingPoint num="5" id="1291" />
+<TGConnectingPoint num="6" id="1292" />
+<TGConnectingPoint num="7" id="1293" />
+<TGConnectingPoint num="8" id="1294" />
+<TGConnectingPoint num="9" id="1295" />
+<TGConnectingPoint num="10" id="1296" />
+<TGConnectingPoint num="11" id="1297" />
+<TGConnectingPoint num="12" id="1298" />
+<TGConnectingPoint num="13" id="1299" />
+<TGConnectingPoint num="14" id="1300" />
+<TGConnectingPoint num="15" id="1301" />
+<extraparam>
+<Line value="Correct ack" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1319" >
+<cdparam x="1635" y="1168" />
+<sizeparam width="76" 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="1303" />
+<TGConnectingPoint num="1" id="1304" />
+<TGConnectingPoint num="2" id="1305" />
+<TGConnectingPoint num="3" id="1306" />
+<TGConnectingPoint num="4" id="1307" />
+<TGConnectingPoint num="5" id="1308" />
+<TGConnectingPoint num="6" id="1309" />
+<TGConnectingPoint num="7" id="1310" />
+<TGConnectingPoint num="8" id="1311" />
+<TGConnectingPoint num="9" id="1312" />
+<TGConnectingPoint num="10" id="1313" />
+<TGConnectingPoint num="11" id="1314" />
+<TGConnectingPoint num="12" id="1315" />
+<TGConnectingPoint num="13" id="1316" />
+<TGConnectingPoint num="14" id="1317" />
+<TGConnectingPoint num="15" id="1318" />
+<extraparam>
+<Line value="false ack" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1322" >
+<cdparam x="1599" y="1299" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1320" />
+<TGConnectingPoint num="1" id="1321" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1324" >
+<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="1323" />
+</COMPONENT>
+
+<COMPONENT type="301" id="1341" >
+<cdparam x="1469" y="1295" />
+<sizeparam width="137" 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="1325" />
+<TGConnectingPoint num="1" id="1326" />
+<TGConnectingPoint num="2" id="1327" />
+<TGConnectingPoint num="3" id="1328" />
+<TGConnectingPoint num="4" id="1329" />
+<TGConnectingPoint num="5" id="1330" />
+<TGConnectingPoint num="6" id="1331" />
+<TGConnectingPoint num="7" id="1332" />
+<TGConnectingPoint num="8" id="1333" />
+<TGConnectingPoint num="9" id="1334" />
+<TGConnectingPoint num="10" id="1335" />
+<TGConnectingPoint num="11" id="1336" />
+<TGConnectingPoint num="12" id="1337" />
+<TGConnectingPoint num="13" id="1338" />
+<TGConnectingPoint num="14" id="1339" />
+<TGConnectingPoint num="15" id="1340" />
+<extraparam>
+<Line value="return acknowldge" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1358" >
+<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="1342" />
+<TGConnectingPoint num="1" id="1343" />
+<TGConnectingPoint num="2" id="1344" />
+<TGConnectingPoint num="3" id="1345" />
+<TGConnectingPoint num="4" id="1346" />
+<TGConnectingPoint num="5" id="1347" />
+<TGConnectingPoint num="6" id="1348" />
+<TGConnectingPoint num="7" id="1349" />
+<TGConnectingPoint num="8" id="1350" />
+<TGConnectingPoint num="9" id="1351" />
+<TGConnectingPoint num="10" id="1352" />
+<TGConnectingPoint num="11" id="1353" />
+<TGConnectingPoint num="12" id="1354" />
+<TGConnectingPoint num="13" id="1355" />
+<TGConnectingPoint num="14" id="1356" />
+<TGConnectingPoint num="15" id="1357" />
+<extraparam>
+<Line value="data" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1361" >
+<cdparam x="1504" y="1405" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1359" />
+<TGConnectingPoint num="1" id="1360" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1008" id="1364" >
+<cdparam x="1616" y="1348" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1362" />
+<TGConnectingPoint num="1" id="1363" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1367" >
+<cdparam x="1611" y="1404" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1365" />
+<TGConnectingPoint num="1" id="1366" />
 <extraparam>
 <Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="115" id="1300" >
-<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="551" />
-<P2  x="188" y="476" id="712" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1301" >
-<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="690" />
-<P2  x="1728" y="865" id="612" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1302" >
-<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="662" />
-<P2  x="1208" y="1010" id="632" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1303" >
-<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="766" />
-<P2  x="1008" y="696" id="694" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1304" >
-<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="781" />
-<P2  x="722" y="689" id="650" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1305" >
-<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="730" />
-<P2  x="572" y="702" id="644" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1306" >
-<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="731" />
-<P2  x="464" y="778" id="698" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1307" >
-<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="729" />
-<P2  x="346" y="759" id="678" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1308" >
-<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="739" />
-<P2  x="230" y="803" id="835" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1309" >
-<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="737" />
-<P2  x="132" y="789" id="682" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1310" >
-<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="325" y="99" id="769" />
-<P2  x="374" y="128" id="777" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1311" >
-<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="775" />
-<P2  x="235" y="202" id="772" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1312" >
-<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="770" />
-<P2  x="235" y="139" id="774" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1313" >
-<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="42" id="741" />
-<P2  x="235" y="80" id="768" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1314" >
-<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="778" />
-<P2  x="374" y="182" id="720" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1315" >
-<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="804" />
-<P2  x="722" y="529" id="783" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1316" >
-<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="784" />
-<P2  x="722" y="584" id="780" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1317" >
-<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="800" />
-<P2  x="1008" y="523" id="786" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1318" >
-<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="787" />
-<P2  x="1008" y="580" id="765" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1319" >
-<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="801" />
-<P2  x="464" y="487" id="789" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1320" >
-<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="802" />
-<P2  x="289" y="463" id="792" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1321" >
-<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="793" />
-<P2  x="289" y="554" id="736" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1322" >
-<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="713" />
-<P2  x="148" y="544" id="760" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1323" >
-<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="799" />
-<P2  x="188" y="378" id="795" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1324" >
-<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="796" />
-<P2  x="190" y="419" id="550" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1325" >
-<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="714" />
-<P2  x="228" y="524" id="809" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1326" >
-<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="721" />
-<P2  x="301" y="223" id="813" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1327" >
-<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="814" />
-<P2  x="301" y="285" id="816" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1328" >
-<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="790" />
-<P2  x="464" y="572" id="728" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1329" >
-<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="738" />
-<P2  x="329" y="609" id="811" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1330" >
-<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="761" />
-<P2  x="148" y="610" id="763" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1331" >
-<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="722" />
-<P2  x="464" y="257" id="798" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1332" >
-<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="836" />
-<P2  x="230" y="858" id="702" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1333" >
-<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="689" />
-<P2  x="843" y="859" id="672" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1334" >
-<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="885" />
-<P2  x="728" y="1027" id="887" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1335" >
-<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="673" />
-<P2  x="728" y="960" id="884" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1336" >
-<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="675" />
-<P2  x="800" y="1004" id="666" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1337" >
-<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="667" />
-<P2  x="800" y="1081" id="889" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1338" >
-<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="1016" />
-<P2  x="132" y="933" id="851" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1339" >
-<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="655" />
-<P2  x="943" y="1118" id="934" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1340" >
-<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="707" />
-<P2  x="1049" y="1150" id="959" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1341" >
-<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="663" />
-<P2  x="1049" y="1052" id="706" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1342" >
-<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="651" />
-<P2  x="722" y="753" id="984" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1343" >
-<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="990" />
-<P2  x="132" y="1162" id="992" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1344" >
-<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="993" />
-<P2  x="132" y="1231" id="995" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1345" >
-<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="849" />
-<P2  x="132" y="1095" id="989" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1346" >
-<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="998" />
-<P2  x="230" y="1164" id="1000" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1347" >
-<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="1004" />
-<P2  x="346" y="1168" id="1006" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1348" >
-<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="855" />
-<P2  x="346" y="1101" id="1003" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1349" >
-<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="1010" />
-<P2  x="464" y="1154" id="1012" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1350" >
-<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="844" />
-<P2  x="464" y="1085" id="1009" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1351" >
-<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="683" />
-<P2  x="132" y="856" id="1015" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1352" >
-<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="703" />
-<P2  x="230" y="935" id="1018" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1353" >
-<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="1019" />
-<P2  x="230" y="997" id="838" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1354" >
-<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="679" />
-<P2  x="346" y="826" id="1024" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1355" >
-<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="1025" />
-<P2  x="346" y="895" id="862" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1356" >
-<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="699" />
-<P2  x="464" y="860" id="1021" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1357" >
-<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="1022" />
-<P2  x="464" y="936" id="859" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1358" >
-<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="852" />
-<P2  x="132" y="981" id="1036" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1359" >
-<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="1037" />
-<P2  x="132" y="1036" id="848" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1360" >
-<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="839" />
-<P2  x="230" y="1047" id="1027" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1361" >
-<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="1028" />
-<P2  x="230" y="1097" id="997" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1362" >
-<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="863" />
-<P2  x="346" y="957" id="1030" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1363" >
-<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="1031" />
-<P2  x="346" y="1021" id="854" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1364" >
-<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="860" />
-<P2  x="464" y="978" id="1033" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1365" >
-<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="1034" />
-<P2  x="464" y="1027" id="843" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1366" >
-<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="985" />
-<P2  x="722" y="808" id="1039" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1367" >
-<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="1040" />
-<P2  x="722" y="860" id="987" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1368" >
-<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="890" />
-<P2  x="800" y="1136" id="1042" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1369" >
-<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="1043" />
-<P2  x="800" y="1188" id="926" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1370" >
-<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="935" />
-<P2  x="943" y="1173" id="1045" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1371" >
-<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="1046" />
-<P2  x="943" y="1229" id="954" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1372" >
-<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="960" />
-<P2  x="1049" y="1206" id="1048" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1373" >
-<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="1049" />
-<P2  x="1049" y="1261" id="979" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1374" >
-<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="674" />
-<P2  x="883" y="917" id="1053" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1375" >
-<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="646" />
-<P2  x="612" y="757" id="1051" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1376" >
-<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="645" />
-<P2  x="496" y="763" id="929" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1377" >
-<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="927" />
-<P2  x="800" y="1265" id="865" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1378" >
-<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="661" />
-<P2  x="943" y="1020" id="654" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1379" >
-<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="1001" />
-<P2  x="230" y="1232" id="841" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1380" >
-<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="1007" />
-<P2  x="346" y="1224" id="857" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1381" >
-<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="1013" />
-<P2  x="464" y="1208" id="846" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1382" >
-<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="930" />
-<P2  x="496" y="825" id="932" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1383" >
-<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="955" />
-<P2  x="943" y="1306" id="957" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1384" >
-<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="695" />
-<P2  x="1008" y="770" id="688" />
+<COMPONENT type="1001" id="1369" >
+<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="1368" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1372" >
+<cdparam x="1772" y="1349" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =4" />
+<TGConnectingPoint num="0" id="1370" />
+<TGConnectingPoint num="1" id="1371" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1374" >
+<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="1373" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1377" >
+<cdparam x="1866" y="1411" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =6" />
+<TGConnectingPoint num="0" id="1375" />
+<TGConnectingPoint num="1" id="1376" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1379" >
+<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="1378" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1381" >
+<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="1380" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1384" >
+<cdparam x="2047" y="1466" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =0" />
+<TGConnectingPoint num="0" id="1382" />
+<TGConnectingPoint num="1" id="1383" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1386" >
+<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="1385" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1389" >
+<cdparam x="1942" y="1493" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =0" />
+<TGConnectingPoint num="0" id="1387" />
+<TGConnectingPoint num="1" id="1388" />
+</COMPONENT>
+
+<COMPONENT type="1011" id="1392" >
+<cdparam x="1942" y="1434" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =8" />
+<TGConnectingPoint num="0" id="1390" />
+<TGConnectingPoint num="1" id="1391" />
+</COMPONENT>
+
+<COMPONENT type="301" id="1409" >
+<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="1393" />
+<TGConnectingPoint num="1" id="1394" />
+<TGConnectingPoint num="2" id="1395" />
+<TGConnectingPoint num="3" id="1396" />
+<TGConnectingPoint num="4" id="1397" />
+<TGConnectingPoint num="5" id="1398" />
+<TGConnectingPoint num="6" id="1399" />
+<TGConnectingPoint num="7" id="1400" />
+<TGConnectingPoint num="8" id="1401" />
+<TGConnectingPoint num="9" id="1402" />
+<TGConnectingPoint num="10" id="1403" />
+<TGConnectingPoint num="11" id="1404" />
+<TGConnectingPoint num="12" id="1405" />
+<TGConnectingPoint num="13" id="1406" />
+<TGConnectingPoint num="14" id="1407" />
+<TGConnectingPoint num="15" id="1408" />
+<extraparam>
+<Line value="Syn" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1426" >
+<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="1410" />
+<TGConnectingPoint num="1" id="1411" />
+<TGConnectingPoint num="2" id="1412" />
+<TGConnectingPoint num="3" id="1413" />
+<TGConnectingPoint num="4" id="1414" />
+<TGConnectingPoint num="5" id="1415" />
+<TGConnectingPoint num="6" id="1416" />
+<TGConnectingPoint num="7" id="1417" />
+<TGConnectingPoint num="8" id="1418" />
+<TGConnectingPoint num="9" id="1419" />
+<TGConnectingPoint num="10" id="1420" />
+<TGConnectingPoint num="11" id="1421" />
+<TGConnectingPoint num="12" id="1422" />
+<TGConnectingPoint num="13" id="1423" />
+<TGConnectingPoint num="14" id="1424" />
+<TGConnectingPoint num="15" id="1425" />
+<extraparam>
+<Line value="ack" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1429" >
+<cdparam x="2195" y="1198" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1427" />
+<TGConnectingPoint num="1" id="1428" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1431" >
+<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="1430" />
+</COMPONENT>
+
+<COMPONENT type="1007" id="1434" >
+<cdparam x="2197" y="1298" />
+<sizeparam width="81" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send request" value="req_Timer()" />
+<TGConnectingPoint num="0" id="1432" />
+<TGConnectingPoint num="1" id="1433" />
+<extraparam>
+<Data requestName="req_Timer" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1006" id="1437" >
+<cdparam x="2207" y="1365" />
+<sizeparam width="60" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="temp(1)" />
+<TGConnectingPoint num="0" id="1435" />
+<TGConnectingPoint num="1" id="1436" />
+<extraparam>
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1011" id="1440" >
+<cdparam x="2157" y="1136" />
+<sizeparam width="160" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="seqNum=seqNum+wind" />
+<TGConnectingPoint num="0" id="1438" />
+<TGConnectingPoint num="1" id="1439" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1443" >
+<cdparam x="2212" y="1248" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1441" />
+<TGConnectingPoint num="1" id="1442" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1011" id="1446" >
+<cdparam x="2183" y="1424" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =2" />
+<TGConnectingPoint num="0" id="1444" />
+<TGConnectingPoint num="1" id="1445" />
+</COMPONENT>
+
+<COMPONENT type="1006" id="1449" >
+<cdparam x="2275" y="1122" />
+<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="write channel" value="fromTtoP(1)" />
+<TGConnectingPoint num="0" id="1447" />
+<TGConnectingPoint num="1" id="1448" />
+<extraparam>
+<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="301" id="1466" >
+<cdparam x="2283" y="1065" />
+<sizeparam width="121" 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="1450" />
+<TGConnectingPoint num="1" id="1451" />
+<TGConnectingPoint num="2" id="1452" />
+<TGConnectingPoint num="3" id="1453" />
+<TGConnectingPoint num="4" id="1454" />
+<TGConnectingPoint num="5" id="1455" />
+<TGConnectingPoint num="6" id="1456" />
+<TGConnectingPoint num="7" id="1457" />
+<TGConnectingPoint num="8" id="1458" />
+<TGConnectingPoint num="9" id="1459" />
+<TGConnectingPoint num="10" id="1460" />
+<TGConnectingPoint num="11" id="1461" />
+<TGConnectingPoint num="12" id="1462" />
+<TGConnectingPoint num="13" id="1463" />
+<TGConnectingPoint num="14" id="1464" />
+<TGConnectingPoint num="15" id="1465" />
+<extraparam>
+<Line value="send Ack of SYN" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1011" id="1469" >
+<cdparam x="2263" y="1267" />
+<sizeparam width="109" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="action state" value="tcpctrl.state =2" />
+<TGConnectingPoint num="0" id="1467" />
+<TGConnectingPoint num="1" id="1468" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1471" >
+<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="1470" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1474" >
+<cdparam x="2292" y="1199" />
+<sizeparam width="51" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="send()" />
+<TGConnectingPoint num="0" id="1472" />
+<TGConnectingPoint num="1" id="1473" />
+<extraparam>
+<Data eventName="send" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1001" id="1476" >
+<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="1475" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1478" >
+<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="1477" />
+</COMPONENT>
+
+<COMPONENT type="1001" id="1480" >
+<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="1479" />
+</COMPONENT>
+
+<COMPONENT type="1008" id="1483" >
+<cdparam x="1459" y="1192" />
+<sizeparam width="140" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="send event" value="receive_Application()" />
+<TGConnectingPoint num="0" id="1481" />
+<TGConnectingPoint num="1" id="1482" />
+<extraparam>
+<Data eventName="receive_Application" nbOfParams="5" />
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="1009" id="1486" >
+<cdparam x="1696" y="1086" />
+<sizeparam width="64" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<hidden value="false" />
+<enabled value="true" />
+<cdrectangleparam minX="10" maxX="2900" minY="10" maxY="1900" />
+<infoparam name="read channel" value="temp(1) " />
+<TGConnectingPoint num="0" id="1484" />
+<TGConnectingPoint num="1" id="1485" />
+<extraparam>
+<Data channelName="temp" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
+</extraparam>
+</COMPONENT>
+
+<CONNECTOR type="115" id="1487" >
+<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="738" />
+<P2  x="188" y="476" id="899" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1385" >
-<cdparam x="1008" y="835" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="1488" >
+<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="1008" y="835" id="691" />
-<P2  x="1049" y="929" id="660" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-<CONNECTOR type="115" id="1386" >
-<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="980" />
-<P2  x="1049" y="1336" id="982" />
+<P1  x="1048" y="795" id="877" />
+<P2  x="1728" y="865" id="799" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1387" >
-<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="639" />
-<P2  x="1208" y="1209" id="1055" />
+<CONNECTOR type="115" id="1489" >
+<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="849" />
+<P2  x="1208" y="1010" id="819" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1388" >
-<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="1056" />
-<P2  x="1208" y="1290" id="1075" />
+<CONNECTOR type="115" id="1490" >
+<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="953" />
+<P2  x="1008" y="696" id="881" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1389" >
-<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="1076" />
-<P2  x="1208" y="1346" id="1083" />
+<CONNECTOR type="115" id="1491" >
+<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="968" />
+<P2  x="722" y="689" id="837" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1390" >
-<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="1084" />
-<P2  x="1208" y="1397" id="1080" />
+<CONNECTOR type="115" id="1492" >
+<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="917" />
+<P2  x="572" y="702" id="831" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1391" >
-<cdparam x="1206" y="1088" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="1493" >
+<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="1208" y="1075" id="635" />
-<P2  x="1208" y="1102" id="638" />
+<P1  x="464" y="637" id="918" />
+<P2  x="464" y="778" id="885" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1392" >
-<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="634" />
-<P2  x="1287" y="1065" id="1086" />
+<CONNECTOR type="115" id="1494" >
+<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="916" />
+<P2  x="346" y="759" id="865" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1393" >
-<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="1081" />
-<P2  x="1208" y="1466" id="1078" />
+<CONNECTOR type="115" id="1495" >
+<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="926" />
+<P2  x="230" y="803" id="1022" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1394" >
-<cdparam x="1553" y="1019" />
-<sizeparam width="0" height="0" minWidth="0" minHeight="0" maxWidth="600" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<CONNECTOR type="115" id="1496" >
+<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="1567" y="1021" id="605" />
-<P2  x="1529" y="1059" id="598" />
+<P1  x="249" y="579" id="924" />
+<P2  x="132" y="789" id="869" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1395" >
-<cdparam x="1529" y="1324" />
+<CONNECTOR type="115" id="1497" >
+<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 execI to write channel" value="null" />
-<P1  x="1529" y="1289" id="595" />
-<P2  x="1529" y="1343" id="1093" />
+<infoparam name="connector from for loop to notified event" value="null" />
+<P1  x="325" y="99" id="956" />
+<P2  x="374" y="128" id="964" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1396" >
-<cdparam x="1684" y="929" />
+<CONNECTOR type="115" id="1498" >
+<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 choice to send event" value="null" />
-<P1  x="1728" y="930" id="615" />
-<P2  x="1728" y="1021" id="1096" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="235" y="169" id="962" />
+<P2  x="235" y="202" id="959" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1397" >
-<cdparam x="1615" y="1283" />
+<CONNECTOR type="115" id="1499" >
+<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 execI to write channel" value="null" />
-<P1  x="1641" y="1270" id="619" />
-<P2  x="1641" y="1294" id="1133" />
+<infoparam name="connector from for loop to action state" value="null" />
+<P1  x="235" y="110" id="957" />
+<P2  x="235" y="139" id="961" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1398" >
-<cdparam x="1641" y="1324" />
+<CONNECTOR type="115" id="1500" >
+<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 write channel to send event" value="null" />
-<P1  x="1641" y="1324" id="1134" />
-<P2  x="1641" y="1343" id="1175" />
+<infoparam name="connector from start state to for loop" value="null" />
+<P1  x="234" y="42" id="928" />
+<P2  x="235" y="80" id="955" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1399" >
-<cdparam x="1529" y="1373" />
+<CONNECTOR type="115" id="1501" >
+<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 write channel to send event" value="null" />
-<P1  x="1529" y="1373" id="1094" />
-<P2  x="1529" y="1400" id="1172" />
+<infoparam name="connector from notified event to choice" value="null" />
+<P1  x="374" y="158" id="965" />
+<P2  x="374" y="182" id="907" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1400" >
-<cdparam x="1529" y="1422" />
+<CONNECTOR type="115" id="1502" >
+<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 send event to stop state" value="null" />
-<P1  x="1529" y="1430" id="1173" />
-<P2  x="1529" y="1452" id="1088" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="464" y="322" id="991" />
+<P2  x="722" y="529" id="970" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1401" >
-<cdparam x="1642" y="1373" />
+<CONNECTOR type="115" id="1503" >
+<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 send event to write channel" value="null" />
-<P1  x="1641" y="1373" id="1176" />
-<P2  x="1641" y="1399" id="1178" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="722" y="559" id="971" />
+<P2  x="722" y="584" id="967" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1402" >
-<cdparam x="1956" y="1361" />
+<CONNECTOR type="115" id="1504" >
+<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 action state" value="null" />
-<P1  x="1956" y="1361" id="573" />
-<P2  x="1920" y="1406" id="1188" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="504" y="282" id="987" />
+<P2  x="1008" y="523" id="973" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1403" >
-<cdparam x="2100" y="1490" />
+<CONNECTOR type="115" id="1505" >
+<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 action state to stop state" value="null" />
-<P1  x="2101" y="1491" id="1196" />
-<P2  x="2101" y="1532" id="1198" />
+<infoparam name="connector from wait event to read channel" value="null" />
+<P1  x="1008" y="553" id="974" />
+<P2  x="1008" y="580" id="952" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1404" >
-<cdparam x="1996" y="1401" />
+<CONNECTOR type="115" id="1506" >
+<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 action state" value="null" />
-<P1  x="1996" y="1401" id="575" />
-<P2  x="1996" y="1429" id="1203" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="464" y="322" id="988" />
+<P2  x="464" y="487" id="976" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1405" >
-<cdparam x="1996" y="1459" />
+<CONNECTOR type="115" id="1507" >
+<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 action state to action state" value="null" />
-<P1  x="1996" y="1459" id="1204" />
-<P2  x="1996" y="1488" id="1200" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="989" />
+<P2  x="289" y="463" id="979" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1406" >
-<cdparam x="2021" y="1038" />
+<CONNECTOR type="115" id="1508" >
+<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 choice to execI" value="null" />
-<P1  x="2237" y="966" id="565" />
-<P2  x="2237" y="1054" id="622" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="289" y="493" id="980" />
+<P2  x="289" y="554" id="923" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1407" >
-<cdparam x="2217" y="1323" />
+<CONNECTOR type="115" id="1509" >
+<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 send request to write channel" value="null" />
-<P1  x="2237" y="1323" id="1246" />
-<P2  x="2237" y="1360" id="1248" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="148" y="501" id="900" />
+<P2  x="148" y="544" id="947" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1408" >
-<cdparam x="2218" y="1094" />
+<CONNECTOR type="115" id="1510" >
+<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 execI to action state" value="null" />
-<P1  x="2237" y="1094" id="623" />
-<P2  x="2237" y="1131" id="1251" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="424" y="282" id="986" />
+<P2  x="188" y="378" id="982" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1409" >
-<cdparam x="2218" y="1161" />
+<CONNECTOR type="115" id="1511" >
+<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 action state to write channel" value="null" />
-<P1  x="2237" y="1161" id="1252" />
-<P2  x="2237" y="1193" id="1240" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="188" y="408" id="983" />
+<P2  x="190" y="419" id="737" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1410" >
-<cdparam x="2218" y="1223" />
+<CONNECTOR type="115" id="1512" >
+<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 write channel to send event" value="null" />
-<P1  x="2237" y="1223" id="1241" />
-<P2  x="2237" y="1243" id="1254" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="228" y="501" id="901" />
+<P2  x="228" y="524" id="996" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1411" >
-<cdparam x="2216" y="1284" />
+<CONNECTOR type="115" id="1513" >
+<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 send event to send request" value="null" />
-<P1  x="2237" y="1273" id="1255" />
-<P2  x="2237" y="1293" id="1245" />
+<infoparam name="connector from choice to wait event" value="null" />
+<P1  x="334" y="207" id="908" />
+<P2  x="301" y="223" id="1000" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1412" >
-<cdparam x="2217" y="1390" />
+<CONNECTOR type="115" id="1514" >
+<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 write channel to action state" value="null" />
-<P1  x="2237" y="1390" id="1249" />
-<P2  x="2237" y="1419" id="1257" />
+<infoparam name="connector from wait event to stop state" value="null" />
+<P1  x="301" y="253" id="1001" />
+<P2  x="301" y="285" id="1003" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1413" >
-<cdparam x="2341" y="1060" />
+<CONNECTOR type="115" id="1515" >
+<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 execI to write channel" value="null" />
-<P1  x="2317" y="1059" id="627" />
-<P2  x="2317" y="1117" id="1260" />
+<infoparam name="connector from wait event to choice" value="null" />
+<P1  x="464" y="517" id="977" />
+<P2  x="464" y="572" id="915" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1414" >
-<cdparam x="1529" y="1099" />
+<CONNECTOR type="115" id="1516" >
+<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 execI to write channel" value="null" />
-<P1  x="1529" y="1099" id="599" />
-<P2  x="1529" y="1127" id="1090" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="329" y="579" id="925" />
+<P2  x="329" y="609" id="998" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1415" >
-<cdparam x="2101" y="1433" />
+<CONNECTOR type="115" id="1517" >
+<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 choice to action state" value="null" />
-<P1  x="2101" y="1433" id="559" />
-<P2  x="2101" y="1461" id="1195" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="148" y="574" id="948" />
+<P2  x="148" y="610" id="950" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1416" >
-<cdparam x="2158" y="1460" />
+<CONNECTOR type="115" id="1518" >
+<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 stop state" value="null" />
-<P1  x="2141" y="1393" id="558" />
-<P2  x="2178" y="1416" id="1290" />
+<infoparam name="connector from choice to select" value="null" />
+<P1  x="414" y="207" id="909" />
+<P2  x="464" y="257" id="985" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1417" >
-<cdparam x="1688" y="890" />
+<CONNECTOR type="115" id="1519" >
+<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 choice to choice" value="null" />
-<P1  x="1688" y="890" id="613" />
-<P2  x="1607" y="996" id="604" />
+<infoparam name="connector from read channel to execI" value="null" />
+<P1  x="230" y="833" id="1023" />
+<P2  x="230" y="858" id="889" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1418" >
-<cdparam x="1768" y="890" />
+<CONNECTOR type="115" id="1520" >
+<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="1768" y="890" id="614" />
-<P2  x="2277" y="941" id="564" />
+<P1  x="968" y="795" id="876" />
+<P2  x="843" y="859" id="859" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1419" >
-<cdparam x="2317" y="966" />
+<CONNECTOR type="115" id="1521" >
+<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 choice to execI" value="null" />
-<P1  x="2317" y="966" id="566" />
-<P2  x="2317" y="1019" id="626" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="728" y="990" id="1072" />
+<P2  x="728" y="1027" id="1074" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1420" >
-<cdparam x="2341" y="1147" />
+<CONNECTOR type="115" id="1522" >
+<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 write channel to send event" value="null" />
-<P1  x="2317" y="1147" id="1261" />
-<P2  x="2317" y="1194" id="1285" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="803" y="884" id="860" />
+<P2  x="728" y="960" id="1071" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1421" >
-<cdparam x="2341" y="1224" />
+<CONNECTOR type="115" id="1523" >
+<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 send event to send event" value="null" />
-<P1  x="2317" y="1224" id="1286" />
-<P2  x="2317" y="1262" id="1280" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="843" y="924" id="862" />
+<P2  x="800" y="1004" id="853" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1422" >
-<cdparam x="1731" y="1051" />
+<CONNECTOR type="115" id="1524" >
+<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 send event to choice" value="null" />
-<P1  x="1728" y="1051" id="1097" />
-<P2  x="1728" y="1081" id="1297" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="800" y="1044" id="854" />
+<P2  x="800" y="1081" id="1076" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1423" >
-<cdparam x="1647" y="1021" />
+<CONNECTOR type="115" id="1525" >
+<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 choice to stop state" value="null" />
-<P1  x="1647" y="1021" id="606" />
-<P2  x="1647" y="1052" id="1288" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="132" y="886" id="1203" />
+<P2  x="132" y="933" id="1038" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1424" >
-<cdparam x="1826" y="1324" />
+<CONNECTOR type="115" id="1526" >
+<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 choice to action state" value="null" />
-<P1  x="1826" y="1324" id="583" />
-<P2  x="1826" y="1344" id="1183" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="943" y="1060" id="842" />
+<P2  x="943" y="1118" id="1121" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1425" >
-<cdparam x="1826" y="1374" />
+<CONNECTOR type="115" id="1527" >
+<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 action state to stop state" value="null" />
-<P1  x="1826" y="1374" id="1184" />
-<P2  x="1826" y="1452" id="1186" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1049" y="1092" id="894" />
+<P2  x="1049" y="1150" id="1146" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1426" >
-<cdparam x="1786" y="1284" />
+<CONNECTOR type="115" id="1528" >
+<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 stop state" value="null" />
-<P1  x="1786" y="1284" id="581" />
-<P2  x="1740" y="1330" id="1181" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1049" y="994" id="850" />
+<P2  x="1049" y="1052" id="893" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1427" >
-<cdparam x="1920" y="1436" />
+<CONNECTOR type="115" id="1529" >
+<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 action state to stop state" value="null" />
-<P1  x="1920" y="1436" id="1189" />
-<P2  x="1920" y="1476" id="1191" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="722" y="729" id="838" />
+<P2  x="722" y="753" id="1171" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1428" >
-<cdparam x="1996" y="1518" />
+<CONNECTOR type="115" id="1530" >
+<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="1996" y="1518" id="1201" />
-<P2  x="1996" y="1538" id="1193" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="132" y="1125" id="1177" />
+<P2  x="132" y="1162" id="1179" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1429" >
-<cdparam x="2036" y="1361" />
+<CONNECTOR type="115" id="1531" >
+<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 choice to choice" value="null" />
-<P1  x="2036" y="1361" id="574" />
-<P2  x="2101" y="1368" id="556" />
+<infoparam name="connector from write channel to stop state" value="null" />
+<P1  x="132" y="1192" id="1180" />
+<P2  x="132" y="1231" id="1182" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1430" >
-<cdparam x="1866" y="1284" />
+<CONNECTOR type="115" id="1532" >
+<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 choice to choice" value="null" />
-<P1  x="1866" y="1284" id="582" />
-<P2  x="1996" y="1336" id="572" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="132" y="1066" id="1036" />
+<P2  x="132" y="1095" id="1176" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1431" >
-<cdparam x="2341" y="1292" />
+<CONNECTOR type="115" id="1533" >
+<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 action state to stop state" value="null" />
-<P1  x="2317" y="1292" id="1281" />
-<P2  x="2317" y="1319" id="1283" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="230" y="1127" id="1185" />
+<P2  x="230" y="1164" id="1187" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1432" >
-<cdparam x="2217" y="1449" />
+<CONNECTOR type="115" id="1534" >
+<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 action state to stop state" value="null" />
-<P1  x="2237" y="1449" id="1258" />
-<P2  x="2237" y="1478" id="1243" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="346" y="1131" id="1191" />
+<P2  x="346" y="1168" id="1193" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1433" >
-<cdparam x="2277" y="1006" />
+<CONNECTOR type="115" id="1535" >
+<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 choice to stop state" value="null" />
-<P1  x="2277" y="1006" id="567" />
-<P2  x="2277" y="1034" id="1292" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="346" y="1051" id="1042" />
+<P2  x="346" y="1101" id="1190" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1434" >
-<cdparam x="1642" y="1429" />
+<CONNECTOR type="115" id="1536" >
+<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 write channel to stop state" value="null" />
-<P1  x="1641" y="1429" id="1179" />
-<P2  x="1641" y="1463" id="1136" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="464" y="1115" id="1197" />
+<P2  x="464" y="1154" id="1199" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1435" >
-<cdparam x="1529" y="1157" />
+<CONNECTOR type="115" id="1537" >
+<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 write channel to send event" value="null" />
-<P1  x="1529" y="1157" id="1091" />
-<P2  x="1529" y="1187" id="1294" />
+<infoparam name="connector from action state to send request" value="null" />
+<P1  x="464" y="1057" id="1031" />
+<P2  x="464" y="1085" id="1196" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1436" >
-<cdparam x="1529" y="1217" />
+<CONNECTOR type="115" id="1538" >
+<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 send event to execI" value="null" />
-<P1  x="1529" y="1217" id="1295" />
-<P2  x="1529" y="1249" id="594" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="132" y="829" id="870" />
+<P2  x="132" y="856" id="1202" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1437" >
-<cdparam x="1691" y="1156" />
+<CONNECTOR type="115" id="1539" >
+<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 choice to execI" value="null" />
-<P1  x="1688" y="1156" id="589" />
-<P2  x="1641" y="1230" id="618" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="230" y="898" id="890" />
+<P2  x="230" y="935" id="1205" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1438" >
-<cdparam x="1771" y="1156" />
+<CONNECTOR type="115" id="1540" >
+<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 choice to choice" value="null" />
-<P1  x="1768" y="1156" id="590" />
-<P2  x="1826" y="1259" id="580" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="230" y="965" id="1206" />
+<P2  x="230" y="997" id="1025" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1439" >
-<cdparam x="1731" y="1111" />
+<CONNECTOR type="115" id="1541" >
+<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 read channel to choice" value="null" />
-<P1  x="1728" y="1111" id="1298" />
-<P2  x="1728" y="1131" id="588" />
-<AutomaticDrawing  data="true" />
-</CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Timer" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1012" id="1447" >
-<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="1443" />
-<TGConnectingPoint num="1" id="1444" />
-<TGConnectingPoint num="2" id="1445" />
-<TGConnectingPoint num="3" id="1446" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1440" >
-<father id="1447" num="0" />
-<cdparam x="464" y="232" />
-<sizeparam width="52" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="-75" maxX="-20" minY="10" maxY="35" />
-<infoparam name="guard 1" value="[ x==0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1441" >
-<father id="1447" num="1" />
-<cdparam x="544" y="234" />
-<sizeparam width="42" height="15" minWidth="10" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="35" maxX="55" minY="10" maxY="35" />
-<infoparam name="guard 2" value="[ x&gt;0 ]" />
-</SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="1442" >
-<father id="1447" num="2" />
-<cdparam x="529" y="267" />
-<sizeparam width="14" 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="1449" >
-<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="1448" />
-</COMPONENT>
-
-<COMPONENT type="1001" id="1451" >
-<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="1450" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1454" >
-<cdparam x="393" y="339" />
-<sizeparam width="69" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="timeOut()" />
-<TGConnectingPoint num="0" id="1452" />
-<TGConnectingPoint num="1" id="1453" />
-<extraparam>
-<Data eventName="timeOut" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1457" >
-<cdparam x="596" y="300" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="stop() " />
-<TGConnectingPoint num="0" id="1455" />
-<TGConnectingPoint num="1" id="1456" />
-<extraparam>
-<Data eventName="stop" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1459" >
-<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="1458" />
-</COMPONENT>
-
-<COMPONENT type="1017" id="1462" >
-<cdparam x="489" y="157" />
-<sizeparam width="75" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="notified event" value="x=?stop()" />
-<TGConnectingPoint num="0" id="1460" />
-<TGConnectingPoint num="1" id="1461" />
-<extraparam>
-<Data eventName="stop" variable="x" />
-</extraparam>
-</COMPONENT>
-
-<CONNECTOR type="115" id="1463" >
-<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="41" id="1448" />
-<P2  x="526" y="152" id="1460" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="346" y="799" id="866" />
+<P2  x="346" y="826" id="1211" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1464" >
-<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="1444" />
-<P2  x="427" y="334" id="1452" />
+<CONNECTOR type="115" id="1542" >
+<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="1212" />
+<P2  x="346" y="895" id="1049" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1465" >
-<cdparam x="427" y="364" />
+<CONNECTOR type="115" id="1543" >
+<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 send event to stop state" value="null" />
-<P1  x="427" y="364" id="1453" />
-<P2  x="427" y="402" id="1450" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="464" y="818" id="886" />
+<P2  x="464" y="860" id="1208" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1466" >
-<cdparam x="622" y="325" />
+<CONNECTOR type="115" id="1544" >
+<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 wait event to stop state" value="null" />
-<P1  x="622" y="325" id="1456" />
-<P2  x="622" y="360" id="1458" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="464" y="890" id="1209" />
+<P2  x="464" y="936" id="1046" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1467" >
-<cdparam x="524" y="175" />
+<CONNECTOR type="115" id="1545" >
+<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 notified event to choice" value="null" />
-<P1  x="526" y="182" id="1461" />
-<P2  x="524" y="212" id="1443" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="132" y="963" id="1039" />
+<P2  x="132" y="981" id="1223" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1468" >
-<cdparam x="564" y="237" />
+<CONNECTOR type="115" id="1546" >
+<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 choice to wait event" value="null" />
-<P1  x="564" y="237" id="1445" />
-<P2  x="622" y="295" id="1455" />
+<infoparam name="connector from send event to action state" value="null" />
+<P1  x="132" y="1011" id="1224" />
+<P2  x="132" y="1036" id="1035" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1547" >
+<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="1026" />
+<P2  x="230" y="1047" id="1214" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1548" >
+<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="1215" />
+<P2  x="230" y="1097" id="1184" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1549" >
+<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="1050" />
+<P2  x="346" y="957" id="1217" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1550" >
+<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="1218" />
+<P2  x="346" y="1021" id="1041" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1551" >
+<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="1047" />
+<P2  x="464" y="978" id="1220" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1552" >
+<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="1221" />
+<P2  x="464" y="1027" id="1030" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1553" >
+<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="1172" />
+<P2  x="722" y="808" id="1226" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1554" >
+<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="1227" />
+<P2  x="722" y="860" id="1174" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1555" >
+<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="1077" />
+<P2  x="800" y="1136" id="1229" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1556" >
+<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="1230" />
+<P2  x="800" y="1188" id="1113" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1557" >
+<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="1122" />
+<P2  x="943" y="1173" id="1232" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1558" >
+<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="1233" />
+<P2  x="943" y="1229" id="1141" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1001" id="1470" >
-<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="1469" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="1473" >
-<cdparam x="416" y="364" />
-<sizeparam width="48" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="end() " />
-<TGConnectingPoint num="0" id="1471" />
-<TGConnectingPoint num="1" id="1472" />
-<extraparam>
-<Data eventName="end" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1476" >
-<cdparam x="231" y="201" />
-<sizeparam width="143" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="connectionOpened() " />
-<TGConnectingPoint num="0" id="1474" />
-<TGConnectingPoint num="1" id="1475" />
-<extraparam>
-<Data eventName="connectionOpened" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1000" id="1478" >
-<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="1477" />
-</COMPONENT>
-
-<COMPONENT type="1010" id="1481" >
-<cdparam x="138" y="129" />
-<sizeparam width="57" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="reset() " />
-<TGConnectingPoint num="0" id="1479" />
-<TGConnectingPoint num="1" id="1480" />
-<extraparam>
-<Data eventName="reset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1484" >
-<cdparam x="108" y="182" />
-<sizeparam width="116" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="answerToReset()" />
-<TGConnectingPoint num="0" id="1482" />
-<TGConnectingPoint num="1" id="1483" />
-<extraparam>
-<Data eventName="answerToReset" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1487" >
-<cdparam x="143" y="237" />
-<sizeparam width="47" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="pTS() " />
-<TGConnectingPoint num="0" id="1485" />
-<TGConnectingPoint num="1" id="1486" />
-<extraparam>
-<Data eventName="pTS" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1490" >
-<cdparam x="121" y="308" />
-<sizeparam width="90" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="pTSConfirm()" />
-<TGConnectingPoint num="0" id="1488" />
-<TGConnectingPoint num="1" id="1489" />
-<extraparam>
-<Data eventName="pTSConfirm" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="301" id="1507" >
-<cdparam x="376" y="98" />
-<sizeparam width="249" 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="1491" />
-<TGConnectingPoint num="1" id="1492" />
-<TGConnectingPoint num="2" id="1493" />
-<TGConnectingPoint num="3" id="1494" />
-<TGConnectingPoint num="4" id="1495" />
-<TGConnectingPoint num="5" id="1496" />
-<TGConnectingPoint num="6" id="1497" />
-<TGConnectingPoint num="7" id="1498" />
-<TGConnectingPoint num="8" id="1499" />
-<TGConnectingPoint num="9" id="1500" />
-<TGConnectingPoint num="10" id="1501" />
-<TGConnectingPoint num="11" id="1502" />
-<TGConnectingPoint num="12" id="1503" />
-<TGConnectingPoint num="13" id="1504" />
-<TGConnectingPoint num="14" id="1505" />
-<TGConnectingPoint num="15" id="1506" />
-<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="1510" >
-<cdparam x="250" y="97" />
-<sizeparam width="96" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_TCP_IP()" />
-<TGConnectingPoint num="0" id="1508" />
-<TGConnectingPoint num="1" id="1509" />
-<extraparam>
-<Data requestName="start_TCP_IP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1007" id="1513" >
-<cdparam x="236" y="148" />
-<sizeparam width="125" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send request" value="start_Application()" />
-<TGConnectingPoint num="0" id="1511" />
-<TGConnectingPoint num="1" id="1512" />
-<breakpoint />
-<extraparam>
-<Data requestName="start_Application" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1515" >
-<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="1514" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1518" >
-<cdparam x="236" y="471" />
-<sizeparam width="115" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="data_Ready_SC()" />
-<TGConnectingPoint num="0" id="1516" />
-<TGConnectingPoint num="1" id="1517" />
-<extraparam>
-<Data eventName="data_Ready_SC" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1520" >
-<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="1519" />
-</COMPONENT>
-
-<COMPONENT type="1009" id="1523" >
-<cdparam x="249" y="429" />
-<sizeparam width="88" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromTtoP(1) " />
-<TGConnectingPoint num="0" id="1521" />
-<TGConnectingPoint num="1" id="1522" />
-<extraparam>
-<Data channelName="fromTtoP" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1526" >
-<cdparam x="266" y="385" />
-<sizeparam width="55" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="send() " />
-<TGConnectingPoint num="0" id="1524" />
-<TGConnectingPoint num="1" id="1525" />
-<extraparam>
-<Data eventName="send" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1529" >
-<cdparam x="246" y="513" />
-<sizeparam width="94" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromSCtoD(1)" />
-<TGConnectingPoint num="0" id="1527" />
-<TGConnectingPoint num="1" id="1528" />
-<extraparam>
-<Data channelName="fromSCtoD" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1532" >
-<cdparam x="559" y="472" />
-<sizeparam width="65" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="receive()" />
-<TGConnectingPoint num="0" id="1530" />
-<TGConnectingPoint num="1" id="1531" />
-<extraparam>
-<Data eventName="receive" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1009" id="1535" >
-<cdparam x="542" y="433" />
-<sizeparam width="98" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="read channel" value="fromDtoSC(1) " />
-<TGConnectingPoint num="0" id="1533" />
-<TGConnectingPoint num="1" id="1534" />
-<extraparam>
-<Data channelName="fromDtoSC" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1538" >
-<cdparam x="549" y="509" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromPtoT(1)" />
-<TGConnectingPoint num="0" id="1536" />
-<TGConnectingPoint num="1" id="1537" />
-<extraparam>
-<Data channelName="fromPtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1010" id="1541" >
-<cdparam x="532" y="390" />
-<sizeparam width="118" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="data_Ready(t, b) " />
-<TGConnectingPoint num="0" id="1539" />
-<TGConnectingPoint num="1" id="1540" />
-<breakpoint />
-<extraparam>
-<Data eventName="data_Ready" nbOfParams="5" />
-<Param index="0" value="t" />
-<Param index="1" value="b" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1014" id="1545" >
-<cdparam x="236" y="261" />
-<sizeparam width="124" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<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="1542" />
-<TGConnectingPoint num="1" id="1543" />
-<TGConnectingPoint num="2" id="1544" />
-<extraparam>
-<Data init="j=0" condition="x==0" increment="j = j" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1547" >
-<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="1546" />
-</COMPONENT>
-
-<COMPONENT type="1018" id="1558" >
-<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="1548" />
-<TGConnectingPoint num="1" id="1549" />
-<TGConnectingPoint num="2" id="1550" />
-<TGConnectingPoint num="3" id="1551" />
-<TGConnectingPoint num="4" id="1552" />
-<TGConnectingPoint num="5" id="1553" />
-<TGConnectingPoint num="6" id="1554" />
-<TGConnectingPoint num="7" id="1555" />
-<TGConnectingPoint num="8" id="1556" />
-<TGConnectingPoint num="9" id="1557" />
-</COMPONENT>
-
 <CONNECTOR type="115" id="1559" >
-<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="1475" />
-<P2  x="298" y="256" id="1542" />
+<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="1147" />
+<P2  x="1049" y="1206" id="1235" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1560" >
+<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="1236" />
+<P2  x="1049" y="1261" id="1166" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1561" >
+<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="861" />
+<P2  x="883" y="917" id="1240" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1562" >
+<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="833" />
+<P2  x="612" y="757" id="1238" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1563" >
+<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="832" />
+<P2  x="496" y="763" id="1116" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 <CONNECTOR type="115" id="1564" >
-<cdparam x="111" y="331" />
+<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 send event to send request" value="null" />
-<P1  x="166" y="333" id="1489" />
-<P2  x="298" y="92" id="1508" />
-<Point x="166" y="353" />
-<Point x="225" y="353" />
-<Point x="225" y="72" />
-<Point x="278" y="72" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="800" y="1218" id="1114" />
+<P2  x="800" y="1265" id="1052" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="1560" >
-<father id="1564" 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="1561" >
-<father id="1564" 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="1562" >
-<father id="1564" 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="1563" >
-<father id="1564" 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>
 <CONNECTOR type="115" id="1565" >
-<cdparam x="166" y="64" />
+<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="848" />
+<P2  x="943" y="1020" id="841" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1566" >
+<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="1188" />
+<P2  x="230" y="1232" id="1028" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1567" >
+<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="1194" />
+<P2  x="346" y="1224" id="1044" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1568" >
+<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="1200" />
+<P2  x="464" y="1208" id="1033" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1569" >
+<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="1117" />
+<P2  x="496" y="825" id="1119" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1570" >
+<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="1142" />
+<P2  x="943" y="1306" id="1144" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1571" >
+<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="882" />
+<P2  x="1008" y="770" id="875" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1572" >
+<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="878" />
+<P2  x="1049" y="929" id="847" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1573" >
+<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="1167" />
+<P2  x="1049" y="1336" id="1169" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1574" >
+<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="826" />
+<P2  x="1208" y="1209" id="1242" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1575" >
+<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="1243" />
+<P2  x="1208" y="1290" id="1262" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1576" >
+<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="1263" />
+<P2  x="1208" y="1346" id="1270" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1577" >
+<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="1271" />
+<P2  x="1208" y="1397" id="1267" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1578" >
+<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="822" />
+<P2  x="1208" y="1102" id="825" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1579" >
+<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="821" />
+<P2  x="1287" y="1065" id="1273" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1580" >
+<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="1268" />
+<P2  x="1208" y="1466" id="1265" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1581" >
+<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="792" />
+<P2  x="1529" y="1059" id="785" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1582" >
+<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="782" />
+<P2  x="1529" y="1343" id="1280" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1583" >
+<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="802" />
+<P2  x="1728" y="1021" id="1283" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1584" >
+<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="806" />
+<P2  x="1641" y="1294" id="1320" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1585" >
+<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="1321" />
+<P2  x="1641" y="1343" id="1362" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1586" >
+<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="1281" />
+<P2  x="1529" y="1400" id="1359" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1587" >
+<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="1360" />
+<P2  x="1529" y="1452" id="1275" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1588" >
+<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="1363" />
+<P2  x="1641" y="1399" id="1365" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1589" >
+<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 start state to wait event" value="null" />
-<P1  x="166" y="81" id="1477" />
-<P2  x="166" y="124" id="1479" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1956" y="1361" id="760" />
+<P2  x="1920" y="1406" id="1375" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1566" >
-<cdparam x="166" y="154" />
+<CONNECTOR type="115" id="1590" >
+<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 wait event to send event" value="null" />
-<P1  x="166" y="154" id="1480" />
-<P2  x="166" y="177" id="1482" />
+<infoparam name="connector from action state to stop state" value="null" />
+<P1  x="2101" y="1491" id="1383" />
+<P2  x="2101" y="1532" id="1385" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1567" >
-<cdparam x="312" y="133" />
+<CONNECTOR type="115" id="1591" >
+<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 send request to send request" value="null" />
-<P1  x="298" y="122" id="1509" />
-<P2  x="298" y="143" id="1511" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="1996" y="1401" id="762" />
+<P2  x="1996" y="1429" id="1390" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1568" >
-<cdparam x="286" y="421" />
+<CONNECTOR type="115" id="1592" >
+<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 wait event to read channel" value="null" />
-<P1  x="293" y="410" id="1525" />
-<P2  x="293" y="424" id="1521" />
+<infoparam name="connector from action state to action state" value="null" />
+<P1  x="1996" y="1459" id="1391" />
+<P2  x="1996" y="1488" id="1387" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1569" >
-<cdparam x="286" y="486" />
+<CONNECTOR type="115" id="1593" >
+<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 read channel to send event" value="null" />
-<P1  x="293" y="454" id="1522" />
-<P2  x="293" y="466" id="1516" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2237" y="966" id="752" />
+<P2  x="2237" y="1054" id="809" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1570" >
-<cdparam x="286" y="538" />
+<CONNECTOR type="115" id="1594" >
+<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 event to write channel" value="null" />
-<P1  x="293" y="496" id="1517" />
-<P2  x="293" y="508" id="1527" />
+<infoparam name="connector from send request to write channel" value="null" />
+<P1  x="2237" y="1323" id="1433" />
+<P2  x="2237" y="1360" id="1435" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1571" >
-<cdparam x="286" y="594" />
+<CONNECTOR type="115" id="1595" >
+<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 write channel to stop state" value="null" />
-<P1  x="293" y="538" id="1528" />
-<P2  x="293" y="542" id="1519" />
+<infoparam name="connector from execI to action state" value="null" />
+<P1  x="2237" y="1094" id="810" />
+<P2  x="2237" y="1131" id="1438" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1572" >
-<cdparam x="607" y="480" />
+<CONNECTOR type="115" id="1596" >
+<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 read channel to send event" value="null" />
-<P1  x="591" y="458" id="1534" />
-<P2  x="591" y="467" id="1530" />
+<infoparam name="connector from action state to write channel" value="null" />
+<P1  x="2237" y="1161" id="1439" />
+<P2  x="2237" y="1193" id="1427" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1573" >
-<cdparam x="606" y="524" />
+<CONNECTOR type="115" id="1597" >
+<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 send event to write channel" value="null" />
-<P1  x="591" y="497" id="1531" />
-<P2  x="591" y="504" id="1536" />
+<infoparam name="connector from write channel to send event" value="null" />
+<P1  x="2237" y="1223" id="1428" />
+<P2  x="2237" y="1243" id="1441" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1574" >
-<cdparam x="609" y="427" />
+<CONNECTOR type="115" id="1598" >
+<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 wait event to read channel" value="null" />
-<P1  x="591" y="415" id="1540" />
-<P2  x="591" y="428" id="1533" />
+<infoparam name="connector from send event to send request" value="null" />
+<P1  x="2237" y="1273" id="1442" />
+<P2  x="2237" y="1293" id="1432" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1575" >
-<cdparam x="606" y="586" />
+<CONNECTOR type="115" id="1599" >
+<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 stop state" value="null" />
-<P1  x="591" y="534" id="1537" />
-<P2  x="591" y="545" id="1514" />
+<infoparam name="connector from write channel to action state" value="null" />
+<P1  x="2237" y="1390" id="1436" />
+<P2  x="2237" y="1419" id="1444" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1576" >
-<cdparam x="298" y="173" />
+<CONNECTOR type="115" id="1600" >
+<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 request to for loop" value="null" />
-<P1  x="298" y="173" id="1512" />
-<P2  x="302" y="196" id="1474" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="2317" y="1059" id="814" />
+<P2  x="2317" y="1117" id="1447" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1577" >
-<cdparam x="328" y="291" />
+<CONNECTOR type="115" id="1601" >
+<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 for loop to stop state" value="null" />
-<P1  x="298" y="286" id="1544" />
-<P2  x="285" y="304" id="1546" />
+<infoparam name="connector from execI to write channel" value="null" />
+<P1  x="1529" y="1099" id="786" />
+<P2  x="1529" y="1127" id="1277" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1578" >
-<cdparam x="385" y="404" />
+<CONNECTOR type="115" id="1602" >
+<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 select to wait event" value="null" />
-<P1  x="399" y="300" id="1549" />
-<P2  x="293" y="380" id="1524" />
+<infoparam name="connector from choice to action state" value="null" />
+<P1  x="2101" y="1433" id="746" />
+<P2  x="2101" y="1461" id="1382" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1579" >
-<cdparam x="533" y="462" />
+<CONNECTOR type="115" id="1603" >
+<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 select to wait event" value="null" />
-<P1  x="479" y="300" id="1550" />
-<P2  x="591" y="385" id="1539" />
+<infoparam name="connector from choice to stop state" value="null" />
+<P1  x="2141" y="1393" id="745" />
+<P2  x="2178" y="1416" id="1477" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1580" >
-<cdparam x="391" y="341" />
+<CONNECTOR type="115" id="1604" >
+<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 for loop to select" value="null" />
-<P1  x="360" y="275" id="1543" />
-<P2  x="439" y="275" id="1548" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1688" y="890" id="800" />
+<P2  x="1607" y="996" id="791" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1581" >
-<cdparam x="164" y="262" />
+<CONNECTOR type="115" id="1605" >
+<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 wait event to send event" value="null" />
-<P1  x="166" y="262" id="1486" />
-<P2  x="166" y="303" id="1488" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="890" id="801" />
+<P2  x="2277" y="941" id="751" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1582" >
-<cdparam x="166" y="207" />
+<CONNECTOR type="115" id="1606" >
+<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 wait event" value="null" />
-<P1  x="166" y="207" id="1483" />
-<P2  x="166" y="232" id="1485" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="2317" y="966" id="753" />
+<P2  x="2317" y="1019" id="813" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1583" >
-<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="1551" />
-<P2  x="440" y="359" id="1471" />
+<CONNECTOR type="115" id="1607" >
+<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="1448" />
+<P2  x="2317" y="1194" id="1472" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1584" >
-<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="1472" />
-<P2  x="440" y="403" id="1469" />
+<CONNECTOR type="115" id="1608" >
+<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="1473" />
+<P2  x="2317" y="1262" id="1467" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-
-</TMLActivityDiagramPanel>
-
-<TMLActivityDiagramPanel name="Application" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="1013" id="1588" >
-<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" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="execI" value="null" />
-<TGConnectingPoint num="0" id="1586" />
-<TGConnectingPoint num="1" id="1587" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1585" >
-<father id="1588" 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="1591" >
-<cdparam x="476" y="129" />
-<sizeparam width="72" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="wait event" value="opened() " />
-<TGConnectingPoint num="0" id="1589" />
-<TGConnectingPoint num="1" id="1590" />
-<extraparam>
-<Data eventName="opened" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1594" >
-<cdparam x="442" y="192" />
-<sizeparam width="139" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="connectionOpened()" />
-<TGConnectingPoint num="0" id="1592" />
-<TGConnectingPoint num="1" id="1593" />
-<extraparam>
-<Data eventName="connectionOpened" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1012" id="1602" >
-<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="1598" />
-<TGConnectingPoint num="1" id="1599" />
-<TGConnectingPoint num="2" id="1600" />
-<TGConnectingPoint num="3" id="1601" />
-</COMPONENT>
-<SUBCOMPONENT type="-1" id="1595" >
-<father id="1602" num="0" />
-<cdparam x="470" y="524" />
-<sizeparam width="14" 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="1596" >
-<father id="1602" num="1" />
-<cdparam x="530" y="524" />
-<sizeparam width="14" 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="1597" >
-<father id="1602" num="2" />
-<cdparam x="515" y="559" />
-<sizeparam width="14" 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="1604" >
-<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="1603" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1607" >
-<cdparam x="479" y="71" />
-<sizeparam width="52" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="open()" />
-<TGConnectingPoint num="0" id="1605" />
-<TGConnectingPoint num="1" id="1606" />
-<extraparam>
-<Data eventName="open" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1006" id="1610" >
-<cdparam x="467" y="353" />
-<sizeparam width="84" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="write channel" value="fromAtoT(1)" />
-<TGConnectingPoint num="0" id="1608" />
-<TGConnectingPoint num="1" id="1609" />
-<extraparam>
-<Data channelName="fromAtoT" nbOfSamples="1" secPattern="" isAttacker="No" isEncForm="No" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1613" >
-<cdparam x="468" y="399" />
-<sizeparam width="80" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="send_TCP()" />
-<TGConnectingPoint num="0" id="1611" />
-<TGConnectingPoint num="1" id="1612" />
-<accessibility />
-<extraparam>
-<Data eventName="send_TCP" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1615" >
-<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="1614" />
-</COMPONENT>
-
-<COMPONENT type="1008" id="1618" >
-<cdparam x="560" y="589" />
-<sizeparam width="54" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="abort()" />
-<TGConnectingPoint num="0" id="1616" />
-<TGConnectingPoint num="1" id="1617" />
-<extraparam>
-<Data eventName="abort" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1008" id="1621" >
-<cdparam x="407" y="597" />
-<sizeparam width="53" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
-<hidden value="false" />
-<enabled value="true" />
-<cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="send event" value="close()" />
-<TGConnectingPoint num="0" id="1619" />
-<TGConnectingPoint num="1" id="1620" />
-<extraparam>
-<Data eventName="close" nbOfParams="5" />
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="1001" id="1623" >
-<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="1622" />
-</COMPONENT>
-
-<CONNECTOR type="115" id="1624" >
-<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="1587" />
-<P2  x="509" y="348" id="1608" />
+<CONNECTOR type="115" id="1609" >
+<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="1284" />
+<P2  x="1728" y="1081" id="1484" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1610" >
+<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="793" />
+<P2  x="1647" y="1052" id="1475" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1611" >
+<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="770" />
+<P2  x="1826" y="1344" id="1370" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1612" >
+<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="1371" />
+<P2  x="1826" y="1452" id="1373" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1625" >
-<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="1612" />
-<P2  x="510" y="504" id="1598" />
+<CONNECTOR type="115" id="1613" >
+<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="768" />
+<P2  x="1740" y="1330" id="1368" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1626" >
-<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="1590" />
-<P2  x="511" y="187" id="1592" />
+<CONNECTOR type="115" id="1614" >
+<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="1376" />
+<P2  x="1920" y="1476" id="1378" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1627" >
-<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="1593" />
-<P2  x="510" y="254" id="1586" />
+<CONNECTOR type="115" id="1615" >
+<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="1388" />
+<P2  x="1996" y="1538" id="1380" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1628" >
-<cdparam x="506" y="36" />
+<CONNECTOR type="115" id="1616" >
+<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 start state to send event" value="null" />
-<P1  x="505" y="48" id="1603" />
-<P2  x="505" y="66" id="1605" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="2036" y="1361" id="761" />
+<P2  x="2101" y="1368" id="743" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1629" >
-<cdparam x="508" y="154" />
+<CONNECTOR type="115" id="1617" >
+<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 send event to write channel" value="null" />
-<P1  x="505" y="96" id="1606" />
-<P2  x="512" y="124" id="1589" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1866" y="1284" id="769" />
+<P2  x="1996" y="1336" id="759" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1630" >
-<cdparam x="509" y="397" />
+<CONNECTOR type="115" id="1618" >
+<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="1468" />
+<P2  x="2317" y="1319" id="1470" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1619" >
+<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="1445" />
+<P2  x="2237" y="1478" id="1430" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1620" >
+<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="754" />
+<P2  x="2277" y="1034" id="1479" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1621" >
+<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="1366" />
+<P2  x="1641" y="1463" id="1323" />
+<AutomaticDrawing  data="true" />
+</CONNECTOR>
+<CONNECTOR type="115" id="1622" >
+<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="509" y="378" id="1609" />
-<P2  x="508" y="394" id="1611" />
+<P1  x="1529" y="1157" id="1278" />
+<P2  x="1529" y="1187" id="1481" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1631" >
-<cdparam x="587" y="614" />
+<CONNECTOR type="115" id="1623" >
+<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 stop state" value="null" />
-<P1  x="587" y="614" id="1617" />
-<P2  x="587" y="643" id="1614" />
+<infoparam name="connector from send event to execI" value="null" />
+<P1  x="1529" y="1217" id="1482" />
+<P2  x="1529" y="1249" id="781" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1632" >
-<cdparam x="471" y="608" />
+<CONNECTOR type="115" id="1624" >
+<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 send event" value="null" />
-<P1  x="470" y="529" id="1599" />
-<P2  x="433" y="592" id="1619" />
+<infoparam name="connector from choice to execI" value="null" />
+<P1  x="1688" y="1156" id="776" />
+<P2  x="1641" y="1230" id="805" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1633" >
-<cdparam x="433" y="622" />
+<CONNECTOR type="115" id="1625" >
+<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 send event to stop state" value="null" />
-<P1  x="433" y="622" id="1620" />
-<P2  x="433" y="641" id="1622" />
+<infoparam name="connector from choice to choice" value="null" />
+<P1  x="1768" y="1156" id="777" />
+<P2  x="1826" y="1259" id="767" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="115" id="1634" >
-<cdparam x="551" y="608" />
+<CONNECTOR type="115" id="1626" >
+<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 choice to send event" value="null" />
-<P1  x="550" y="529" id="1600" />
-<P2  x="587" y="584" id="1616" />
+<infoparam name="connector from read channel to choice" value="null" />
+<P1  x="1728" y="1111" id="1485" />
+<P2  x="1728" y="1131" id="775" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
@@ -6933,227 +6933,227 @@ the smart card and the terminal
 
 <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="1761" >
+<COMPONENT type="1102" id="1651" >
 <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="1737" />
-<TGConnectingPoint num="1" id="1738" />
-<TGConnectingPoint num="2" id="1739" />
-<TGConnectingPoint num="3" id="1740" />
-<TGConnectingPoint num="4" id="1741" />
-<TGConnectingPoint num="5" id="1742" />
-<TGConnectingPoint num="6" id="1743" />
-<TGConnectingPoint num="7" id="1744" />
-<TGConnectingPoint num="8" id="1745" />
-<TGConnectingPoint num="9" id="1746" />
-<TGConnectingPoint num="10" id="1747" />
-<TGConnectingPoint num="11" id="1748" />
-<TGConnectingPoint num="12" id="1749" />
-<TGConnectingPoint num="13" id="1750" />
-<TGConnectingPoint num="14" id="1751" />
-<TGConnectingPoint num="15" id="1752" />
-<TGConnectingPoint num="16" id="1753" />
-<TGConnectingPoint num="17" id="1754" />
-<TGConnectingPoint num="18" id="1755" />
-<TGConnectingPoint num="19" id="1756" />
-<TGConnectingPoint num="20" id="1757" />
-<TGConnectingPoint num="21" id="1758" />
-<TGConnectingPoint num="22" id="1759" />
-<TGConnectingPoint num="23" id="1760" />
+<TGConnectingPoint num="0" id="1627" />
+<TGConnectingPoint num="1" id="1628" />
+<TGConnectingPoint num="2" id="1629" />
+<TGConnectingPoint num="3" id="1630" />
+<TGConnectingPoint num="4" id="1631" />
+<TGConnectingPoint num="5" id="1632" />
+<TGConnectingPoint num="6" id="1633" />
+<TGConnectingPoint num="7" id="1634" />
+<TGConnectingPoint num="8" id="1635" />
+<TGConnectingPoint num="9" id="1636" />
+<TGConnectingPoint num="10" id="1637" />
+<TGConnectingPoint num="11" id="1638" />
+<TGConnectingPoint num="12" id="1639" />
+<TGConnectingPoint num="13" id="1640" />
+<TGConnectingPoint num="14" id="1641" />
+<TGConnectingPoint num="15" id="1642" />
+<TGConnectingPoint num="16" id="1643" />
+<TGConnectingPoint num="17" id="1644" />
+<TGConnectingPoint num="18" id="1645" />
+<TGConnectingPoint num="19" id="1646" />
+<TGConnectingPoint num="20" id="1647" />
+<TGConnectingPoint num="21" id="1648" />
+<TGConnectingPoint num="22" id="1649" />
+<TGConnectingPoint num="23" id="1650" />
 <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="1786" >
+<COMPONENT type="1105" id="1676" >
 <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="1762" />
-<TGConnectingPoint num="1" id="1763" />
-<TGConnectingPoint num="2" id="1764" />
-<TGConnectingPoint num="3" id="1765" />
-<TGConnectingPoint num="4" id="1766" />
-<TGConnectingPoint num="5" id="1767" />
-<TGConnectingPoint num="6" id="1768" />
-<TGConnectingPoint num="7" id="1769" />
-<TGConnectingPoint num="8" id="1770" />
-<TGConnectingPoint num="9" id="1771" />
-<TGConnectingPoint num="10" id="1772" />
-<TGConnectingPoint num="11" id="1773" />
-<TGConnectingPoint num="12" id="1774" />
-<TGConnectingPoint num="13" id="1775" />
-<TGConnectingPoint num="14" id="1776" />
-<TGConnectingPoint num="15" id="1777" />
-<TGConnectingPoint num="16" id="1778" />
-<TGConnectingPoint num="17" id="1779" />
-<TGConnectingPoint num="18" id="1780" />
-<TGConnectingPoint num="19" id="1781" />
-<TGConnectingPoint num="20" id="1782" />
-<TGConnectingPoint num="21" id="1783" />
-<TGConnectingPoint num="22" id="1784" />
-<TGConnectingPoint num="23" id="1785" />
+<TGConnectingPoint num="0" id="1652" />
+<TGConnectingPoint num="1" id="1653" />
+<TGConnectingPoint num="2" id="1654" />
+<TGConnectingPoint num="3" id="1655" />
+<TGConnectingPoint num="4" id="1656" />
+<TGConnectingPoint num="5" id="1657" />
+<TGConnectingPoint num="6" id="1658" />
+<TGConnectingPoint num="7" id="1659" />
+<TGConnectingPoint num="8" id="1660" />
+<TGConnectingPoint num="9" id="1661" />
+<TGConnectingPoint num="10" id="1662" />
+<TGConnectingPoint num="11" id="1663" />
+<TGConnectingPoint num="12" id="1664" />
+<TGConnectingPoint num="13" id="1665" />
+<TGConnectingPoint num="14" id="1666" />
+<TGConnectingPoint num="15" id="1667" />
+<TGConnectingPoint num="16" id="1668" />
+<TGConnectingPoint num="17" id="1669" />
+<TGConnectingPoint num="18" id="1670" />
+<TGConnectingPoint num="19" id="1671" />
+<TGConnectingPoint num="20" id="1672" />
+<TGConnectingPoint num="21" id="1673" />
+<TGConnectingPoint num="22" id="1674" />
+<TGConnectingPoint num="23" id="1675" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1100" id="1856" >
+<COMPONENT type="1100" id="1746" >
 <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="1832" />
-<TGConnectingPoint num="1" id="1833" />
-<TGConnectingPoint num="2" id="1834" />
-<TGConnectingPoint num="3" id="1835" />
-<TGConnectingPoint num="4" id="1836" />
-<TGConnectingPoint num="5" id="1837" />
-<TGConnectingPoint num="6" id="1838" />
-<TGConnectingPoint num="7" id="1839" />
-<TGConnectingPoint num="8" id="1840" />
-<TGConnectingPoint num="9" id="1841" />
-<TGConnectingPoint num="10" id="1842" />
-<TGConnectingPoint num="11" id="1843" />
-<TGConnectingPoint num="12" id="1844" />
-<TGConnectingPoint num="13" id="1845" />
-<TGConnectingPoint num="14" id="1846" />
-<TGConnectingPoint num="15" id="1847" />
-<TGConnectingPoint num="16" id="1848" />
-<TGConnectingPoint num="17" id="1849" />
-<TGConnectingPoint num="18" id="1850" />
-<TGConnectingPoint num="19" id="1851" />
-<TGConnectingPoint num="20" id="1852" />
-<TGConnectingPoint num="21" id="1853" />
-<TGConnectingPoint num="22" id="1854" />
-<TGConnectingPoint num="23" id="1855" />
+<TGConnectingPoint num="0" id="1722" />
+<TGConnectingPoint num="1" id="1723" />
+<TGConnectingPoint num="2" id="1724" />
+<TGConnectingPoint num="3" id="1725" />
+<TGConnectingPoint num="4" id="1726" />
+<TGConnectingPoint num="5" id="1727" />
+<TGConnectingPoint num="6" id="1728" />
+<TGConnectingPoint num="7" id="1729" />
+<TGConnectingPoint num="8" id="1730" />
+<TGConnectingPoint num="9" id="1731" />
+<TGConnectingPoint num="10" id="1732" />
+<TGConnectingPoint num="11" id="1733" />
+<TGConnectingPoint num="12" id="1734" />
+<TGConnectingPoint num="13" id="1735" />
+<TGConnectingPoint num="14" id="1736" />
+<TGConnectingPoint num="15" id="1737" />
+<TGConnectingPoint num="16" id="1738" />
+<TGConnectingPoint num="17" id="1739" />
+<TGConnectingPoint num="18" id="1740" />
+<TGConnectingPoint num="19" id="1741" />
+<TGConnectingPoint num="20" id="1742" />
+<TGConnectingPoint num="21" id="1743" />
+<TGConnectingPoint num="22" id="1744" />
+<TGConnectingPoint num="23" id="1745" />
 <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="1795" >
-<father id="1856" num="0" />
-<cdparam x="226" y="304" />
-<sizeparam width="109" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1685" >
+<father id="1746" num="0" />
+<cdparam x="92" y="154" />
+<sizeparam width="172" 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="1787" />
-<TGConnectingPoint num="1" id="1788" />
-<TGConnectingPoint num="2" id="1789" />
-<TGConnectingPoint num="3" id="1790" />
-<TGConnectingPoint num="4" id="1791" />
-<TGConnectingPoint num="5" id="1792" />
-<TGConnectingPoint num="6" id="1793" />
-<TGConnectingPoint num="7" id="1794" />
+<cdrectangleparam minX="0" maxX="287" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
+<TGConnectingPoint num="0" id="1677" />
+<TGConnectingPoint num="1" id="1678" />
+<TGConnectingPoint num="2" id="1679" />
+<TGConnectingPoint num="3" id="1680" />
+<TGConnectingPoint num="4" id="1681" />
+<TGConnectingPoint num="5" id="1682" />
+<TGConnectingPoint num="6" id="1683" />
+<TGConnectingPoint num="7" id="1684" />
 <extraparam>
-<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1804" >
-<father id="1856" num="1" />
-<cdparam x="290" y="234" />
-<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1694" >
+<father id="1746" num="1" />
+<cdparam x="291" y="153" />
+<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="1796" />
-<TGConnectingPoint num="1" id="1797" />
-<TGConnectingPoint num="2" id="1798" />
-<TGConnectingPoint num="3" id="1799" />
-<TGConnectingPoint num="4" id="1800" />
-<TGConnectingPoint num="5" id="1801" />
-<TGConnectingPoint num="6" id="1802" />
-<TGConnectingPoint num="7" id="1803" />
+<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="1686" />
+<TGConnectingPoint num="1" id="1687" />
+<TGConnectingPoint num="2" id="1688" />
+<TGConnectingPoint num="3" id="1689" />
+<TGConnectingPoint num="4" id="1690" />
+<TGConnectingPoint num="5" id="1691" />
+<TGConnectingPoint num="6" id="1692" />
+<TGConnectingPoint num="7" id="1693" />
 <extraparam>
-<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1813" >
-<father id="1856" num="2" />
+<SUBCOMPONENT type="1101" id="1703" >
+<father id="1746" num="2" />
 <cdparam x="96" y="246" />
 <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::TCPIP" />
-<TGConnectingPoint num="0" id="1805" />
-<TGConnectingPoint num="1" id="1806" />
-<TGConnectingPoint num="2" id="1807" />
-<TGConnectingPoint num="3" id="1808" />
-<TGConnectingPoint num="4" id="1809" />
-<TGConnectingPoint num="5" id="1810" />
-<TGConnectingPoint num="6" id="1811" />
-<TGConnectingPoint num="7" id="1812" />
+<TGConnectingPoint num="0" id="1695" />
+<TGConnectingPoint num="1" id="1696" />
+<TGConnectingPoint num="2" id="1697" />
+<TGConnectingPoint num="3" id="1698" />
+<TGConnectingPoint num="4" id="1699" />
+<TGConnectingPoint num="5" id="1700" />
+<TGConnectingPoint num="6" id="1701" />
+<TGConnectingPoint num="7" id="1702" />
 <extraparam>
 <info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1822" >
-<father id="1856" num="3" />
-<cdparam x="291" y="153" />
-<sizeparam width="141" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1712" >
+<father id="1746" num="3" />
+<cdparam x="290" y="234" />
+<sizeparam width="144" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="318" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="1814" />
-<TGConnectingPoint num="1" id="1815" />
-<TGConnectingPoint num="2" id="1816" />
-<TGConnectingPoint num="3" id="1817" />
-<TGConnectingPoint num="4" id="1818" />
-<TGConnectingPoint num="5" id="1819" />
-<TGConnectingPoint num="6" id="1820" />
-<TGConnectingPoint num="7" id="1821" />
+<cdrectangleparam minX="0" maxX="315" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Application" />
+<TGConnectingPoint num="0" id="1704" />
+<TGConnectingPoint num="1" id="1705" />
+<TGConnectingPoint num="2" id="1706" />
+<TGConnectingPoint num="3" id="1707" />
+<TGConnectingPoint num="4" id="1708" />
+<TGConnectingPoint num="5" id="1709" />
+<TGConnectingPoint num="6" id="1710" />
+<TGConnectingPoint num="7" id="1711" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1831" >
-<father id="1856" num="4" />
-<cdparam x="92" y="154" />
-<sizeparam width="172" height="50" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1721" >
+<father id="1746" 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="287" minY="0" maxY="271" />
-<infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="1823" />
-<TGConnectingPoint num="1" id="1824" />
-<TGConnectingPoint num="2" id="1825" />
-<TGConnectingPoint num="3" id="1826" />
-<TGConnectingPoint num="4" id="1827" />
-<TGConnectingPoint num="5" id="1828" />
-<TGConnectingPoint num="6" id="1829" />
-<TGConnectingPoint num="7" id="1830" />
+<cdrectangleparam minX="0" maxX="350" minY="0" maxY="271" />
+<infoparam name="TGComponent" value="AppC::Timer" />
+<TGConnectingPoint num="0" id="1713" />
+<TGConnectingPoint num="1" id="1714" />
+<TGConnectingPoint num="2" id="1715" />
+<TGConnectingPoint num="3" id="1716" />
+<TGConnectingPoint num="4" id="1717" />
+<TGConnectingPoint num="5" id="1718" />
+<TGConnectingPoint num="6" id="1719" />
+<TGConnectingPoint num="7" id="1720" />
 <extraparam>
-<info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="125" id="1857" >
+<CONNECTOR type="125" id="1747" >
 <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="1776" />
-<P2  x="799" y="450" id="1746" />
+<P1  x="847" y="320" id="1666" />
+<P2  x="799" y="450" id="1636" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="1858" >
+<CONNECTOR type="125" id="1748" >
 <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="1839" />
-<P2  x="612" y="462" id="1747" />
+<P1  x="510" y="411" id="1729" />
+<P2  x="612" y="462" id="1637" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
@@ -7170,323 +7170,323 @@ the smart card and the terminal
 
 <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="1883" >
+<COMPONENT type="1105" id="1773" >
 <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="1859" />
-<TGConnectingPoint num="1" id="1860" />
-<TGConnectingPoint num="2" id="1861" />
-<TGConnectingPoint num="3" id="1862" />
-<TGConnectingPoint num="4" id="1863" />
-<TGConnectingPoint num="5" id="1864" />
-<TGConnectingPoint num="6" id="1865" />
-<TGConnectingPoint num="7" id="1866" />
-<TGConnectingPoint num="8" id="1867" />
-<TGConnectingPoint num="9" id="1868" />
-<TGConnectingPoint num="10" id="1869" />
-<TGConnectingPoint num="11" id="1870" />
-<TGConnectingPoint num="12" id="1871" />
-<TGConnectingPoint num="13" id="1872" />
-<TGConnectingPoint num="14" id="1873" />
-<TGConnectingPoint num="15" id="1874" />
-<TGConnectingPoint num="16" id="1875" />
-<TGConnectingPoint num="17" id="1876" />
-<TGConnectingPoint num="18" id="1877" />
-<TGConnectingPoint num="19" id="1878" />
-<TGConnectingPoint num="20" id="1879" />
-<TGConnectingPoint num="21" id="1880" />
-<TGConnectingPoint num="22" id="1881" />
-<TGConnectingPoint num="23" id="1882" />
+<TGConnectingPoint num="0" id="1749" />
+<TGConnectingPoint num="1" id="1750" />
+<TGConnectingPoint num="2" id="1751" />
+<TGConnectingPoint num="3" id="1752" />
+<TGConnectingPoint num="4" id="1753" />
+<TGConnectingPoint num="5" id="1754" />
+<TGConnectingPoint num="6" id="1755" />
+<TGConnectingPoint num="7" id="1756" />
+<TGConnectingPoint num="8" id="1757" />
+<TGConnectingPoint num="9" id="1758" />
+<TGConnectingPoint num="10" id="1759" />
+<TGConnectingPoint num="11" id="1760" />
+<TGConnectingPoint num="12" id="1761" />
+<TGConnectingPoint num="13" id="1762" />
+<TGConnectingPoint num="14" id="1763" />
+<TGConnectingPoint num="15" id="1764" />
+<TGConnectingPoint num="16" id="1765" />
+<TGConnectingPoint num="17" id="1766" />
+<TGConnectingPoint num="18" id="1767" />
+<TGConnectingPoint num="19" id="1768" />
+<TGConnectingPoint num="20" id="1769" />
+<TGConnectingPoint num="21" id="1770" />
+<TGConnectingPoint num="22" id="1771" />
+<TGConnectingPoint num="23" id="1772" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="1908" >
+<COMPONENT type="1102" id="1798" >
 <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="1884" />
-<TGConnectingPoint num="1" id="1885" />
-<TGConnectingPoint num="2" id="1886" />
-<TGConnectingPoint num="3" id="1887" />
-<TGConnectingPoint num="4" id="1888" />
-<TGConnectingPoint num="5" id="1889" />
-<TGConnectingPoint num="6" id="1890" />
-<TGConnectingPoint num="7" id="1891" />
-<TGConnectingPoint num="8" id="1892" />
-<TGConnectingPoint num="9" id="1893" />
-<TGConnectingPoint num="10" id="1894" />
-<TGConnectingPoint num="11" id="1895" />
-<TGConnectingPoint num="12" id="1896" />
-<TGConnectingPoint num="13" id="1897" />
-<TGConnectingPoint num="14" id="1898" />
-<TGConnectingPoint num="15" id="1899" />
-<TGConnectingPoint num="16" id="1900" />
-<TGConnectingPoint num="17" id="1901" />
-<TGConnectingPoint num="18" id="1902" />
-<TGConnectingPoint num="19" id="1903" />
-<TGConnectingPoint num="20" id="1904" />
-<TGConnectingPoint num="21" id="1905" />
-<TGConnectingPoint num="22" id="1906" />
-<TGConnectingPoint num="23" id="1907" />
+<TGConnectingPoint num="0" id="1774" />
+<TGConnectingPoint num="1" id="1775" />
+<TGConnectingPoint num="2" id="1776" />
+<TGConnectingPoint num="3" id="1777" />
+<TGConnectingPoint num="4" id="1778" />
+<TGConnectingPoint num="5" id="1779" />
+<TGConnectingPoint num="6" id="1780" />
+<TGConnectingPoint num="7" id="1781" />
+<TGConnectingPoint num="8" id="1782" />
+<TGConnectingPoint num="9" id="1783" />
+<TGConnectingPoint num="10" id="1784" />
+<TGConnectingPoint num="11" id="1785" />
+<TGConnectingPoint num="12" id="1786" />
+<TGConnectingPoint num="13" id="1787" />
+<TGConnectingPoint num="14" id="1788" />
+<TGConnectingPoint num="15" id="1789" />
+<TGConnectingPoint num="16" id="1790" />
+<TGConnectingPoint num="17" id="1791" />
+<TGConnectingPoint num="18" id="1792" />
+<TGConnectingPoint num="19" id="1793" />
+<TGConnectingPoint num="20" id="1794" />
+<TGConnectingPoint num="21" id="1795" />
+<TGConnectingPoint num="22" id="1796" />
+<TGConnectingPoint num="23" id="1797" />
 <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="1942" >
+<COMPONENT type="1100" id="1832" >
 <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="1918" />
-<TGConnectingPoint num="1" id="1919" />
-<TGConnectingPoint num="2" id="1920" />
-<TGConnectingPoint num="3" id="1921" />
-<TGConnectingPoint num="4" id="1922" />
-<TGConnectingPoint num="5" id="1923" />
-<TGConnectingPoint num="6" id="1924" />
-<TGConnectingPoint num="7" id="1925" />
-<TGConnectingPoint num="8" id="1926" />
-<TGConnectingPoint num="9" id="1927" />
-<TGConnectingPoint num="10" id="1928" />
-<TGConnectingPoint num="11" id="1929" />
-<TGConnectingPoint num="12" id="1930" />
-<TGConnectingPoint num="13" id="1931" />
-<TGConnectingPoint num="14" id="1932" />
-<TGConnectingPoint num="15" id="1933" />
-<TGConnectingPoint num="16" id="1934" />
-<TGConnectingPoint num="17" id="1935" />
-<TGConnectingPoint num="18" id="1936" />
-<TGConnectingPoint num="19" id="1937" />
-<TGConnectingPoint num="20" id="1938" />
-<TGConnectingPoint num="21" id="1939" />
-<TGConnectingPoint num="22" id="1940" />
-<TGConnectingPoint num="23" id="1941" />
+<TGConnectingPoint num="0" id="1808" />
+<TGConnectingPoint num="1" id="1809" />
+<TGConnectingPoint num="2" id="1810" />
+<TGConnectingPoint num="3" id="1811" />
+<TGConnectingPoint num="4" id="1812" />
+<TGConnectingPoint num="5" id="1813" />
+<TGConnectingPoint num="6" id="1814" />
+<TGConnectingPoint num="7" id="1815" />
+<TGConnectingPoint num="8" id="1816" />
+<TGConnectingPoint num="9" id="1817" />
+<TGConnectingPoint num="10" id="1818" />
+<TGConnectingPoint num="11" id="1819" />
+<TGConnectingPoint num="12" id="1820" />
+<TGConnectingPoint num="13" id="1821" />
+<TGConnectingPoint num="14" id="1822" />
+<TGConnectingPoint num="15" id="1823" />
+<TGConnectingPoint num="16" id="1824" />
+<TGConnectingPoint num="17" id="1825" />
+<TGConnectingPoint num="18" id="1826" />
+<TGConnectingPoint num="19" id="1827" />
+<TGConnectingPoint num="20" id="1828" />
+<TGConnectingPoint num="21" id="1829" />
+<TGConnectingPoint num="22" id="1830" />
+<TGConnectingPoint num="23" id="1831" />
 <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="1917" >
-<father id="1942" num="0" />
+<SUBCOMPONENT type="1101" id="1807" >
+<father id="1832" 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="1909" />
-<TGConnectingPoint num="1" id="1910" />
-<TGConnectingPoint num="2" id="1911" />
-<TGConnectingPoint num="3" id="1912" />
-<TGConnectingPoint num="4" id="1913" />
-<TGConnectingPoint num="5" id="1914" />
-<TGConnectingPoint num="6" id="1915" />
-<TGConnectingPoint num="7" id="1916" />
+<TGConnectingPoint num="0" id="1799" />
+<TGConnectingPoint num="1" id="1800" />
+<TGConnectingPoint num="2" id="1801" />
+<TGConnectingPoint num="3" id="1802" />
+<TGConnectingPoint num="4" id="1803" />
+<TGConnectingPoint num="5" id="1804" />
+<TGConnectingPoint num="6" id="1805" />
+<TGConnectingPoint num="7" id="1806" />
 <extraparam>
 <info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="1976" >
+<COMPONENT type="1100" id="1866" >
 <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="1952" />
-<TGConnectingPoint num="1" id="1953" />
-<TGConnectingPoint num="2" id="1954" />
-<TGConnectingPoint num="3" id="1955" />
-<TGConnectingPoint num="4" id="1956" />
-<TGConnectingPoint num="5" id="1957" />
-<TGConnectingPoint num="6" id="1958" />
-<TGConnectingPoint num="7" id="1959" />
-<TGConnectingPoint num="8" id="1960" />
-<TGConnectingPoint num="9" id="1961" />
-<TGConnectingPoint num="10" id="1962" />
-<TGConnectingPoint num="11" id="1963" />
-<TGConnectingPoint num="12" id="1964" />
-<TGConnectingPoint num="13" id="1965" />
-<TGConnectingPoint num="14" id="1966" />
-<TGConnectingPoint num="15" id="1967" />
-<TGConnectingPoint num="16" id="1968" />
-<TGConnectingPoint num="17" id="1969" />
-<TGConnectingPoint num="18" id="1970" />
-<TGConnectingPoint num="19" id="1971" />
-<TGConnectingPoint num="20" id="1972" />
-<TGConnectingPoint num="21" id="1973" />
-<TGConnectingPoint num="22" id="1974" />
-<TGConnectingPoint num="23" id="1975" />
+<TGConnectingPoint num="0" id="1842" />
+<TGConnectingPoint num="1" id="1843" />
+<TGConnectingPoint num="2" id="1844" />
+<TGConnectingPoint num="3" id="1845" />
+<TGConnectingPoint num="4" id="1846" />
+<TGConnectingPoint num="5" id="1847" />
+<TGConnectingPoint num="6" id="1848" />
+<TGConnectingPoint num="7" id="1849" />
+<TGConnectingPoint num="8" id="1850" />
+<TGConnectingPoint num="9" id="1851" />
+<TGConnectingPoint num="10" id="1852" />
+<TGConnectingPoint num="11" id="1853" />
+<TGConnectingPoint num="12" id="1854" />
+<TGConnectingPoint num="13" id="1855" />
+<TGConnectingPoint num="14" id="1856" />
+<TGConnectingPoint num="15" id="1857" />
+<TGConnectingPoint num="16" id="1858" />
+<TGConnectingPoint num="17" id="1859" />
+<TGConnectingPoint num="18" id="1860" />
+<TGConnectingPoint num="19" id="1861" />
+<TGConnectingPoint num="20" id="1862" />
+<TGConnectingPoint num="21" id="1863" />
+<TGConnectingPoint num="22" id="1864" />
+<TGConnectingPoint num="23" id="1865" />
 <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="1951" >
-<father id="1976" num="0" />
+<SUBCOMPONENT type="1101" id="1841" >
+<father id="1866" num="0" />
 <cdparam x="49" y="276" />
 <sizeparam width="172" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="-7" minY="0" maxY="86" />
 <infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="1943" />
-<TGConnectingPoint num="1" id="1944" />
-<TGConnectingPoint num="2" id="1945" />
-<TGConnectingPoint num="3" id="1946" />
-<TGConnectingPoint num="4" id="1947" />
-<TGConnectingPoint num="5" id="1948" />
-<TGConnectingPoint num="6" id="1949" />
-<TGConnectingPoint num="7" id="1950" />
+<TGConnectingPoint num="0" id="1833" />
+<TGConnectingPoint num="1" id="1834" />
+<TGConnectingPoint num="2" id="1835" />
+<TGConnectingPoint num="3" id="1836" />
+<TGConnectingPoint num="4" id="1837" />
+<TGConnectingPoint num="5" id="1838" />
+<TGConnectingPoint num="6" id="1839" />
+<TGConnectingPoint num="7" id="1840" />
 <extraparam>
 <info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="2028" >
+<COMPONENT type="1100" id="1918" >
 <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="2004" />
-<TGConnectingPoint num="1" id="2005" />
-<TGConnectingPoint num="2" id="2006" />
-<TGConnectingPoint num="3" id="2007" />
-<TGConnectingPoint num="4" id="2008" />
-<TGConnectingPoint num="5" id="2009" />
-<TGConnectingPoint num="6" id="2010" />
-<TGConnectingPoint num="7" id="2011" />
-<TGConnectingPoint num="8" id="2012" />
-<TGConnectingPoint num="9" id="2013" />
-<TGConnectingPoint num="10" id="2014" />
-<TGConnectingPoint num="11" id="2015" />
-<TGConnectingPoint num="12" id="2016" />
-<TGConnectingPoint num="13" id="2017" />
-<TGConnectingPoint num="14" id="2018" />
-<TGConnectingPoint num="15" id="2019" />
-<TGConnectingPoint num="16" id="2020" />
-<TGConnectingPoint num="17" id="2021" />
-<TGConnectingPoint num="18" id="2022" />
-<TGConnectingPoint num="19" id="2023" />
-<TGConnectingPoint num="20" id="2024" />
-<TGConnectingPoint num="21" id="2025" />
-<TGConnectingPoint num="22" id="2026" />
-<TGConnectingPoint num="23" id="2027" />
+<TGConnectingPoint num="0" id="1894" />
+<TGConnectingPoint num="1" id="1895" />
+<TGConnectingPoint num="2" id="1896" />
+<TGConnectingPoint num="3" id="1897" />
+<TGConnectingPoint num="4" id="1898" />
+<TGConnectingPoint num="5" id="1899" />
+<TGConnectingPoint num="6" id="1900" />
+<TGConnectingPoint num="7" id="1901" />
+<TGConnectingPoint num="8" id="1902" />
+<TGConnectingPoint num="9" id="1903" />
+<TGConnectingPoint num="10" id="1904" />
+<TGConnectingPoint num="11" id="1905" />
+<TGConnectingPoint num="12" id="1906" />
+<TGConnectingPoint num="13" id="1907" />
+<TGConnectingPoint num="14" id="1908" />
+<TGConnectingPoint num="15" id="1909" />
+<TGConnectingPoint num="16" id="1910" />
+<TGConnectingPoint num="17" id="1911" />
+<TGConnectingPoint num="18" id="1912" />
+<TGConnectingPoint num="19" id="1913" />
+<TGConnectingPoint num="20" id="1914" />
+<TGConnectingPoint num="21" id="1915" />
+<TGConnectingPoint num="22" id="1916" />
+<TGConnectingPoint num="23" id="1917" />
 <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="1985" >
-<father id="2028" num="0" />
-<cdparam x="392" y="119" />
-<sizeparam width="141" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1875" >
+<father id="1918" num="0" />
+<cdparam x="277" y="90" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="131" minY="0" maxY="130" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="1977" />
-<TGConnectingPoint num="1" id="1978" />
-<TGConnectingPoint num="2" id="1979" />
-<TGConnectingPoint num="3" id="1980" />
-<TGConnectingPoint num="4" id="1981" />
-<TGConnectingPoint num="5" id="1982" />
-<TGConnectingPoint num="6" id="1983" />
-<TGConnectingPoint num="7" id="1984" />
+<cdrectangleparam minX="0" maxX="163" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
+<TGConnectingPoint num="0" id="1867" />
+<TGConnectingPoint num="1" id="1868" />
+<TGConnectingPoint num="2" id="1869" />
+<TGConnectingPoint num="3" id="1870" />
+<TGConnectingPoint num="4" id="1871" />
+<TGConnectingPoint num="5" id="1872" />
+<TGConnectingPoint num="6" id="1873" />
+<TGConnectingPoint num="7" id="1874" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="1994" >
-<father id="2028" num="1" />
+<SUBCOMPONENT type="1101" id="1884" >
+<father id="1918" num="1" />
 <cdparam x="293" y="165" />
 <sizeparam width="144" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="128" minY="0" maxY="127" />
 <infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="1986" />
-<TGConnectingPoint num="1" id="1987" />
-<TGConnectingPoint num="2" id="1988" />
-<TGConnectingPoint num="3" id="1989" />
-<TGConnectingPoint num="4" id="1990" />
-<TGConnectingPoint num="5" id="1991" />
-<TGConnectingPoint num="6" id="1992" />
-<TGConnectingPoint num="7" id="1993" />
+<TGConnectingPoint num="0" id="1876" />
+<TGConnectingPoint num="1" id="1877" />
+<TGConnectingPoint num="2" id="1878" />
+<TGConnectingPoint num="3" id="1879" />
+<TGConnectingPoint num="4" id="1880" />
+<TGConnectingPoint num="5" id="1881" />
+<TGConnectingPoint num="6" id="1882" />
+<TGConnectingPoint num="7" id="1883" />
 <extraparam>
 <info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2003" >
-<father id="2028" num="2" />
-<cdparam x="277" y="90" />
-<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="1893" >
+<father id="1918" num="2" />
+<cdparam x="392" y="119" />
+<sizeparam width="141" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="163" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="1995" />
-<TGConnectingPoint num="1" id="1996" />
-<TGConnectingPoint num="2" id="1997" />
-<TGConnectingPoint num="3" id="1998" />
-<TGConnectingPoint num="4" id="1999" />
-<TGConnectingPoint num="5" id="2000" />
-<TGConnectingPoint num="6" id="2001" />
-<TGConnectingPoint num="7" id="2002" />
+<cdrectangleparam minX="0" maxX="131" minY="0" maxY="130" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="1885" />
+<TGConnectingPoint num="1" id="1886" />
+<TGConnectingPoint num="2" id="1887" />
+<TGConnectingPoint num="3" id="1888" />
+<TGConnectingPoint num="4" id="1889" />
+<TGConnectingPoint num="5" id="1890" />
+<TGConnectingPoint num="6" id="1891" />
+<TGConnectingPoint num="7" id="1892" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="125" id="2029" >
+<CONNECTOR type="125" id="1919" >
 <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="1860" />
-<P2  x="402" y="320" id="1890" />
+<P1  x="403" y="358" id="1750" />
+<P2  x="402" y="320" id="1780" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2030" >
+<CONNECTOR type="125" id="1920" >
 <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="1956" />
-<P2  x="277" y="295" id="1887" />
+<P1  x="221" y="294" id="1846" />
+<P2  x="277" y="295" id="1777" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2031" >
+<CONNECTOR type="125" id="1921" >
 <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="1921" />
-<P2  x="527" y="295" id="1888" />
+<P1  x="574" y="294" id="1811" />
+<P2  x="527" y="295" id="1778" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2032" >
+<CONNECTOR type="125" id="1922" >
 <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="2010" />
-<P2  x="402" y="270" id="1885" />
+<P1  x="403" y="226" id="1900" />
+<P2  x="402" y="270" id="1775" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
@@ -7503,515 +7503,515 @@ the smart card and the terminal
 
 <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="2057" >
+<COMPONENT type="1102" id="1947" >
 <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="SecureBus1" value="name" />
-<TGConnectingPoint num="0" id="2033" />
-<TGConnectingPoint num="1" id="2034" />
-<TGConnectingPoint num="2" id="2035" />
-<TGConnectingPoint num="3" id="2036" />
-<TGConnectingPoint num="4" id="2037" />
-<TGConnectingPoint num="5" id="2038" />
-<TGConnectingPoint num="6" id="2039" />
-<TGConnectingPoint num="7" id="2040" />
-<TGConnectingPoint num="8" id="2041" />
-<TGConnectingPoint num="9" id="2042" />
-<TGConnectingPoint num="10" id="2043" />
-<TGConnectingPoint num="11" id="2044" />
-<TGConnectingPoint num="12" id="2045" />
-<TGConnectingPoint num="13" id="2046" />
-<TGConnectingPoint num="14" id="2047" />
-<TGConnectingPoint num="15" id="2048" />
-<TGConnectingPoint num="16" id="2049" />
-<TGConnectingPoint num="17" id="2050" />
-<TGConnectingPoint num="18" id="2051" />
-<TGConnectingPoint num="19" id="2052" />
-<TGConnectingPoint num="20" id="2053" />
-<TGConnectingPoint num="21" id="2054" />
-<TGConnectingPoint num="22" id="2055" />
-<TGConnectingPoint num="23" id="2056" />
+<TGConnectingPoint num="0" id="1923" />
+<TGConnectingPoint num="1" id="1924" />
+<TGConnectingPoint num="2" id="1925" />
+<TGConnectingPoint num="3" id="1926" />
+<TGConnectingPoint num="4" id="1927" />
+<TGConnectingPoint num="5" id="1928" />
+<TGConnectingPoint num="6" id="1929" />
+<TGConnectingPoint num="7" id="1930" />
+<TGConnectingPoint num="8" id="1931" />
+<TGConnectingPoint num="9" id="1932" />
+<TGConnectingPoint num="10" id="1933" />
+<TGConnectingPoint num="11" id="1934" />
+<TGConnectingPoint num="12" id="1935" />
+<TGConnectingPoint num="13" id="1936" />
+<TGConnectingPoint num="14" id="1937" />
+<TGConnectingPoint num="15" id="1938" />
+<TGConnectingPoint num="16" id="1939" />
+<TGConnectingPoint num="17" id="1940" />
+<TGConnectingPoint num="18" id="1941" />
+<TGConnectingPoint num="19" id="1942" />
+<TGConnectingPoint num="20" id="1943" />
+<TGConnectingPoint num="21" id="1944" />
+<TGConnectingPoint num="22" id="1945" />
+<TGConnectingPoint num="23" id="1946" />
 <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="2082" >
+<COMPONENT type="1105" id="1972" >
 <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="secureMem1" value="name" />
-<TGConnectingPoint num="0" id="2058" />
-<TGConnectingPoint num="1" id="2059" />
-<TGConnectingPoint num="2" id="2060" />
-<TGConnectingPoint num="3" id="2061" />
-<TGConnectingPoint num="4" id="2062" />
-<TGConnectingPoint num="5" id="2063" />
-<TGConnectingPoint num="6" id="2064" />
-<TGConnectingPoint num="7" id="2065" />
-<TGConnectingPoint num="8" id="2066" />
-<TGConnectingPoint num="9" id="2067" />
-<TGConnectingPoint num="10" id="2068" />
-<TGConnectingPoint num="11" id="2069" />
-<TGConnectingPoint num="12" id="2070" />
-<TGConnectingPoint num="13" id="2071" />
-<TGConnectingPoint num="14" id="2072" />
-<TGConnectingPoint num="15" id="2073" />
-<TGConnectingPoint num="16" id="2074" />
-<TGConnectingPoint num="17" id="2075" />
-<TGConnectingPoint num="18" id="2076" />
-<TGConnectingPoint num="19" id="2077" />
-<TGConnectingPoint num="20" id="2078" />
-<TGConnectingPoint num="21" id="2079" />
-<TGConnectingPoint num="22" id="2080" />
-<TGConnectingPoint num="23" id="2081" />
+<TGConnectingPoint num="0" id="1948" />
+<TGConnectingPoint num="1" id="1949" />
+<TGConnectingPoint num="2" id="1950" />
+<TGConnectingPoint num="3" id="1951" />
+<TGConnectingPoint num="4" id="1952" />
+<TGConnectingPoint num="5" id="1953" />
+<TGConnectingPoint num="6" id="1954" />
+<TGConnectingPoint num="7" id="1955" />
+<TGConnectingPoint num="8" id="1956" />
+<TGConnectingPoint num="9" id="1957" />
+<TGConnectingPoint num="10" id="1958" />
+<TGConnectingPoint num="11" id="1959" />
+<TGConnectingPoint num="12" id="1960" />
+<TGConnectingPoint num="13" id="1961" />
+<TGConnectingPoint num="14" id="1962" />
+<TGConnectingPoint num="15" id="1963" />
+<TGConnectingPoint num="16" id="1964" />
+<TGConnectingPoint num="17" id="1965" />
+<TGConnectingPoint num="18" id="1966" />
+<TGConnectingPoint num="19" id="1967" />
+<TGConnectingPoint num="20" id="1968" />
+<TGConnectingPoint num="21" id="1969" />
+<TGConnectingPoint num="22" id="1970" />
+<TGConnectingPoint num="23" id="1971" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="secureMem1" />
 <attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1105" id="2107" >
+<COMPONENT type="1105" id="1997" >
 <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="2083" />
-<TGConnectingPoint num="1" id="2084" />
-<TGConnectingPoint num="2" id="2085" />
-<TGConnectingPoint num="3" id="2086" />
-<TGConnectingPoint num="4" id="2087" />
-<TGConnectingPoint num="5" id="2088" />
-<TGConnectingPoint num="6" id="2089" />
-<TGConnectingPoint num="7" id="2090" />
-<TGConnectingPoint num="8" id="2091" />
-<TGConnectingPoint num="9" id="2092" />
-<TGConnectingPoint num="10" id="2093" />
-<TGConnectingPoint num="11" id="2094" />
-<TGConnectingPoint num="12" id="2095" />
-<TGConnectingPoint num="13" id="2096" />
-<TGConnectingPoint num="14" id="2097" />
-<TGConnectingPoint num="15" id="2098" />
-<TGConnectingPoint num="16" id="2099" />
-<TGConnectingPoint num="17" id="2100" />
-<TGConnectingPoint num="18" id="2101" />
-<TGConnectingPoint num="19" id="2102" />
-<TGConnectingPoint num="20" id="2103" />
-<TGConnectingPoint num="21" id="2104" />
-<TGConnectingPoint num="22" id="2105" />
-<TGConnectingPoint num="23" id="2106" />
+<TGConnectingPoint num="0" id="1973" />
+<TGConnectingPoint num="1" id="1974" />
+<TGConnectingPoint num="2" id="1975" />
+<TGConnectingPoint num="3" id="1976" />
+<TGConnectingPoint num="4" id="1977" />
+<TGConnectingPoint num="5" id="1978" />
+<TGConnectingPoint num="6" id="1979" />
+<TGConnectingPoint num="7" id="1980" />
+<TGConnectingPoint num="8" id="1981" />
+<TGConnectingPoint num="9" id="1982" />
+<TGConnectingPoint num="10" id="1983" />
+<TGConnectingPoint num="11" id="1984" />
+<TGConnectingPoint num="12" id="1985" />
+<TGConnectingPoint num="13" id="1986" />
+<TGConnectingPoint num="14" id="1987" />
+<TGConnectingPoint num="15" id="1988" />
+<TGConnectingPoint num="16" id="1989" />
+<TGConnectingPoint num="17" id="1990" />
+<TGConnectingPoint num="18" id="1991" />
+<TGConnectingPoint num="19" id="1992" />
+<TGConnectingPoint num="20" id="1993" />
+<TGConnectingPoint num="21" id="1994" />
+<TGConnectingPoint num="22" id="1995" />
+<TGConnectingPoint num="23" id="1996" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="Memory0" />
 <attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="1102" id="2132" >
+<COMPONENT type="1102" id="2022" >
 <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="Bus0" value="name" />
-<TGConnectingPoint num="0" id="2108" />
-<TGConnectingPoint num="1" id="2109" />
-<TGConnectingPoint num="2" id="2110" />
-<TGConnectingPoint num="3" id="2111" />
-<TGConnectingPoint num="4" id="2112" />
-<TGConnectingPoint num="5" id="2113" />
-<TGConnectingPoint num="6" id="2114" />
-<TGConnectingPoint num="7" id="2115" />
-<TGConnectingPoint num="8" id="2116" />
-<TGConnectingPoint num="9" id="2117" />
-<TGConnectingPoint num="10" id="2118" />
-<TGConnectingPoint num="11" id="2119" />
-<TGConnectingPoint num="12" id="2120" />
-<TGConnectingPoint num="13" id="2121" />
-<TGConnectingPoint num="14" id="2122" />
-<TGConnectingPoint num="15" id="2123" />
-<TGConnectingPoint num="16" id="2124" />
-<TGConnectingPoint num="17" id="2125" />
-<TGConnectingPoint num="18" id="2126" />
-<TGConnectingPoint num="19" id="2127" />
-<TGConnectingPoint num="20" id="2128" />
-<TGConnectingPoint num="21" id="2129" />
-<TGConnectingPoint num="22" id="2130" />
-<TGConnectingPoint num="23" id="2131" />
+<TGConnectingPoint num="0" id="1998" />
+<TGConnectingPoint num="1" id="1999" />
+<TGConnectingPoint num="2" id="2000" />
+<TGConnectingPoint num="3" id="2001" />
+<TGConnectingPoint num="4" id="2002" />
+<TGConnectingPoint num="5" id="2003" />
+<TGConnectingPoint num="6" id="2004" />
+<TGConnectingPoint num="7" id="2005" />
+<TGConnectingPoint num="8" id="2006" />
+<TGConnectingPoint num="9" id="2007" />
+<TGConnectingPoint num="10" id="2008" />
+<TGConnectingPoint num="11" id="2009" />
+<TGConnectingPoint num="12" id="2010" />
+<TGConnectingPoint num="13" id="2011" />
+<TGConnectingPoint num="14" id="2012" />
+<TGConnectingPoint num="15" id="2013" />
+<TGConnectingPoint num="16" id="2014" />
+<TGConnectingPoint num="17" id="2015" />
+<TGConnectingPoint num="18" id="2016" />
+<TGConnectingPoint num="19" id="2017" />
+<TGConnectingPoint num="20" id="2018" />
+<TGConnectingPoint num="21" id="2019" />
+<TGConnectingPoint num="22" id="2020" />
+<TGConnectingPoint num="23" id="2021" />
 <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="2166" >
+<COMPONENT type="1100" id="2056" >
 <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="2142" />
-<TGConnectingPoint num="1" id="2143" />
-<TGConnectingPoint num="2" id="2144" />
-<TGConnectingPoint num="3" id="2145" />
-<TGConnectingPoint num="4" id="2146" />
-<TGConnectingPoint num="5" id="2147" />
-<TGConnectingPoint num="6" id="2148" />
-<TGConnectingPoint num="7" id="2149" />
-<TGConnectingPoint num="8" id="2150" />
-<TGConnectingPoint num="9" id="2151" />
-<TGConnectingPoint num="10" id="2152" />
-<TGConnectingPoint num="11" id="2153" />
-<TGConnectingPoint num="12" id="2154" />
-<TGConnectingPoint num="13" id="2155" />
-<TGConnectingPoint num="14" id="2156" />
-<TGConnectingPoint num="15" id="2157" />
-<TGConnectingPoint num="16" id="2158" />
-<TGConnectingPoint num="17" id="2159" />
-<TGConnectingPoint num="18" id="2160" />
-<TGConnectingPoint num="19" id="2161" />
-<TGConnectingPoint num="20" id="2162" />
-<TGConnectingPoint num="21" id="2163" />
-<TGConnectingPoint num="22" id="2164" />
-<TGConnectingPoint num="23" id="2165" />
+<TGConnectingPoint num="0" id="2032" />
+<TGConnectingPoint num="1" id="2033" />
+<TGConnectingPoint num="2" id="2034" />
+<TGConnectingPoint num="3" id="2035" />
+<TGConnectingPoint num="4" id="2036" />
+<TGConnectingPoint num="5" id="2037" />
+<TGConnectingPoint num="6" id="2038" />
+<TGConnectingPoint num="7" id="2039" />
+<TGConnectingPoint num="8" id="2040" />
+<TGConnectingPoint num="9" id="2041" />
+<TGConnectingPoint num="10" id="2042" />
+<TGConnectingPoint num="11" id="2043" />
+<TGConnectingPoint num="12" id="2044" />
+<TGConnectingPoint num="13" id="2045" />
+<TGConnectingPoint num="14" id="2046" />
+<TGConnectingPoint num="15" id="2047" />
+<TGConnectingPoint num="16" id="2048" />
+<TGConnectingPoint num="17" id="2049" />
+<TGConnectingPoint num="18" id="2050" />
+<TGConnectingPoint num="19" id="2051" />
+<TGConnectingPoint num="20" id="2052" />
+<TGConnectingPoint num="21" id="2053" />
+<TGConnectingPoint num="22" id="2054" />
+<TGConnectingPoint num="23" id="2055" />
 <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="2141" >
-<father id="2166" num="0" />
+<SUBCOMPONENT type="1101" id="2031" >
+<father id="2056" 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="2133" />
-<TGConnectingPoint num="1" id="2134" />
-<TGConnectingPoint num="2" id="2135" />
-<TGConnectingPoint num="3" id="2136" />
-<TGConnectingPoint num="4" id="2137" />
-<TGConnectingPoint num="5" id="2138" />
-<TGConnectingPoint num="6" id="2139" />
-<TGConnectingPoint num="7" id="2140" />
+<TGConnectingPoint num="0" id="2023" />
+<TGConnectingPoint num="1" id="2024" />
+<TGConnectingPoint num="2" id="2025" />
+<TGConnectingPoint num="3" id="2026" />
+<TGConnectingPoint num="4" id="2027" />
+<TGConnectingPoint num="5" id="2028" />
+<TGConnectingPoint num="6" id="2029" />
+<TGConnectingPoint num="7" id="2030" />
 <extraparam>
 <info value="AppC::Timer" taskName="Timer" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="2200" >
+<COMPONENT type="1100" id="2090" >
 <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="2176" />
-<TGConnectingPoint num="1" id="2177" />
-<TGConnectingPoint num="2" id="2178" />
-<TGConnectingPoint num="3" id="2179" />
-<TGConnectingPoint num="4" id="2180" />
-<TGConnectingPoint num="5" id="2181" />
-<TGConnectingPoint num="6" id="2182" />
-<TGConnectingPoint num="7" id="2183" />
-<TGConnectingPoint num="8" id="2184" />
-<TGConnectingPoint num="9" id="2185" />
-<TGConnectingPoint num="10" id="2186" />
-<TGConnectingPoint num="11" id="2187" />
-<TGConnectingPoint num="12" id="2188" />
-<TGConnectingPoint num="13" id="2189" />
-<TGConnectingPoint num="14" id="2190" />
-<TGConnectingPoint num="15" id="2191" />
-<TGConnectingPoint num="16" id="2192" />
-<TGConnectingPoint num="17" id="2193" />
-<TGConnectingPoint num="18" id="2194" />
-<TGConnectingPoint num="19" id="2195" />
-<TGConnectingPoint num="20" id="2196" />
-<TGConnectingPoint num="21" id="2197" />
-<TGConnectingPoint num="22" id="2198" />
-<TGConnectingPoint num="23" id="2199" />
+<TGConnectingPoint num="0" id="2066" />
+<TGConnectingPoint num="1" id="2067" />
+<TGConnectingPoint num="2" id="2068" />
+<TGConnectingPoint num="3" id="2069" />
+<TGConnectingPoint num="4" id="2070" />
+<TGConnectingPoint num="5" id="2071" />
+<TGConnectingPoint num="6" id="2072" />
+<TGConnectingPoint num="7" id="2073" />
+<TGConnectingPoint num="8" id="2074" />
+<TGConnectingPoint num="9" id="2075" />
+<TGConnectingPoint num="10" id="2076" />
+<TGConnectingPoint num="11" id="2077" />
+<TGConnectingPoint num="12" id="2078" />
+<TGConnectingPoint num="13" id="2079" />
+<TGConnectingPoint num="14" id="2080" />
+<TGConnectingPoint num="15" id="2081" />
+<TGConnectingPoint num="16" id="2082" />
+<TGConnectingPoint num="17" id="2083" />
+<TGConnectingPoint num="18" id="2084" />
+<TGConnectingPoint num="19" id="2085" />
+<TGConnectingPoint num="20" id="2086" />
+<TGConnectingPoint num="21" id="2087" />
+<TGConnectingPoint num="22" id="2088" />
+<TGConnectingPoint num="23" id="2089" />
 <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="2175" >
-<father id="2200" num="0" />
+<SUBCOMPONENT type="1101" id="2065" >
+<father id="2090" num="0" />
 <cdparam x="49" y="276" />
 <sizeparam width="172" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="-7" minY="0" maxY="86" />
 <infoparam name="TGComponent" value="AppC::InterfaceDevice" />
-<TGConnectingPoint num="0" id="2167" />
-<TGConnectingPoint num="1" id="2168" />
-<TGConnectingPoint num="2" id="2169" />
-<TGConnectingPoint num="3" id="2170" />
-<TGConnectingPoint num="4" id="2171" />
-<TGConnectingPoint num="5" id="2172" />
-<TGConnectingPoint num="6" id="2173" />
-<TGConnectingPoint num="7" id="2174" />
+<TGConnectingPoint num="0" id="2057" />
+<TGConnectingPoint num="1" id="2058" />
+<TGConnectingPoint num="2" id="2059" />
+<TGConnectingPoint num="3" id="2060" />
+<TGConnectingPoint num="4" id="2061" />
+<TGConnectingPoint num="5" id="2062" />
+<TGConnectingPoint num="6" id="2063" />
+<TGConnectingPoint num="7" id="2064" />
 <extraparam>
 <info value="AppC::InterfaceDevice" taskName="InterfaceDevice" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1100" id="2252" >
+<COMPONENT type="1100" id="2142" >
 <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="2228" />
-<TGConnectingPoint num="1" id="2229" />
-<TGConnectingPoint num="2" id="2230" />
-<TGConnectingPoint num="3" id="2231" />
-<TGConnectingPoint num="4" id="2232" />
-<TGConnectingPoint num="5" id="2233" />
-<TGConnectingPoint num="6" id="2234" />
-<TGConnectingPoint num="7" id="2235" />
-<TGConnectingPoint num="8" id="2236" />
-<TGConnectingPoint num="9" id="2237" />
-<TGConnectingPoint num="10" id="2238" />
-<TGConnectingPoint num="11" id="2239" />
-<TGConnectingPoint num="12" id="2240" />
-<TGConnectingPoint num="13" id="2241" />
-<TGConnectingPoint num="14" id="2242" />
-<TGConnectingPoint num="15" id="2243" />
-<TGConnectingPoint num="16" id="2244" />
-<TGConnectingPoint num="17" id="2245" />
-<TGConnectingPoint num="18" id="2246" />
-<TGConnectingPoint num="19" id="2247" />
-<TGConnectingPoint num="20" id="2248" />
-<TGConnectingPoint num="21" id="2249" />
-<TGConnectingPoint num="22" id="2250" />
-<TGConnectingPoint num="23" id="2251" />
+<TGConnectingPoint num="0" id="2118" />
+<TGConnectingPoint num="1" id="2119" />
+<TGConnectingPoint num="2" id="2120" />
+<TGConnectingPoint num="3" id="2121" />
+<TGConnectingPoint num="4" id="2122" />
+<TGConnectingPoint num="5" id="2123" />
+<TGConnectingPoint num="6" id="2124" />
+<TGConnectingPoint num="7" id="2125" />
+<TGConnectingPoint num="8" id="2126" />
+<TGConnectingPoint num="9" id="2127" />
+<TGConnectingPoint num="10" id="2128" />
+<TGConnectingPoint num="11" id="2129" />
+<TGConnectingPoint num="12" id="2130" />
+<TGConnectingPoint num="13" id="2131" />
+<TGConnectingPoint num="14" id="2132" />
+<TGConnectingPoint num="15" id="2133" />
+<TGConnectingPoint num="16" id="2134" />
+<TGConnectingPoint num="17" id="2135" />
+<TGConnectingPoint num="18" id="2136" />
+<TGConnectingPoint num="19" id="2137" />
+<TGConnectingPoint num="20" id="2138" />
+<TGConnectingPoint num="21" id="2139" />
+<TGConnectingPoint num="22" id="2140" />
+<TGConnectingPoint num="23" id="2141" />
 <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="2209" >
-<father id="2252" num="0" />
-<cdparam x="277" y="90" />
-<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2099" >
+<father id="2142" num="0" />
+<cdparam x="392" y="119" />
+<sizeparam width="141" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="163" minY="0" maxY="127" />
-<infoparam name="TGComponent" value="AppC::TCPIP" />
-<TGConnectingPoint num="0" id="2201" />
-<TGConnectingPoint num="1" id="2202" />
-<TGConnectingPoint num="2" id="2203" />
-<TGConnectingPoint num="3" id="2204" />
-<TGConnectingPoint num="4" id="2205" />
-<TGConnectingPoint num="5" id="2206" />
-<TGConnectingPoint num="6" id="2207" />
-<TGConnectingPoint num="7" id="2208" />
+<cdrectangleparam minX="0" maxX="131" minY="0" maxY="130" />
+<infoparam name="TGComponent" value="AppC::SmartCard" />
+<TGConnectingPoint num="0" id="2091" />
+<TGConnectingPoint num="1" id="2092" />
+<TGConnectingPoint num="2" id="2093" />
+<TGConnectingPoint num="3" id="2094" />
+<TGConnectingPoint num="4" id="2095" />
+<TGConnectingPoint num="5" id="2096" />
+<TGConnectingPoint num="6" id="2097" />
+<TGConnectingPoint num="7" id="2098" />
 <extraparam>
-<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2218" >
-<father id="2252" num="1" />
+<SUBCOMPONENT type="1101" id="2108" >
+<father id="2142" num="1" />
 <cdparam x="293" y="165" />
 <sizeparam width="144" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
 <cdrectangleparam minX="0" maxX="128" minY="0" maxY="127" />
 <infoparam name="TGComponent" value="AppC::Application" />
-<TGConnectingPoint num="0" id="2210" />
-<TGConnectingPoint num="1" id="2211" />
-<TGConnectingPoint num="2" id="2212" />
-<TGConnectingPoint num="3" id="2213" />
-<TGConnectingPoint num="4" id="2214" />
-<TGConnectingPoint num="5" id="2215" />
-<TGConnectingPoint num="6" id="2216" />
-<TGConnectingPoint num="7" id="2217" />
+<TGConnectingPoint num="0" id="2100" />
+<TGConnectingPoint num="1" id="2101" />
+<TGConnectingPoint num="2" id="2102" />
+<TGConnectingPoint num="3" id="2103" />
+<TGConnectingPoint num="4" id="2104" />
+<TGConnectingPoint num="5" id="2105" />
+<TGConnectingPoint num="6" id="2106" />
+<TGConnectingPoint num="7" id="2107" />
 <extraparam>
 <info value="AppC::Application" taskName="Application" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="1101" id="2227" >
-<father id="2252" num="2" />
-<cdparam x="392" y="119" />
-<sizeparam width="141" height="37" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="1101" id="2117" >
+<father id="2142" num="2" />
+<cdparam x="277" y="90" />
+<sizeparam width="109" height="40" minWidth="75" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
-<cdrectangleparam minX="0" maxX="131" minY="0" maxY="130" />
-<infoparam name="TGComponent" value="AppC::SmartCard" />
-<TGConnectingPoint num="0" id="2219" />
-<TGConnectingPoint num="1" id="2220" />
-<TGConnectingPoint num="2" id="2221" />
-<TGConnectingPoint num="3" id="2222" />
-<TGConnectingPoint num="4" id="2223" />
-<TGConnectingPoint num="5" id="2224" />
-<TGConnectingPoint num="6" id="2225" />
-<TGConnectingPoint num="7" id="2226" />
+<cdrectangleparam minX="0" maxX="163" minY="0" maxY="127" />
+<infoparam name="TGComponent" value="AppC::TCPIP" />
+<TGConnectingPoint num="0" id="2109" />
+<TGConnectingPoint num="1" id="2110" />
+<TGConnectingPoint num="2" id="2111" />
+<TGConnectingPoint num="3" id="2112" />
+<TGConnectingPoint num="4" id="2113" />
+<TGConnectingPoint num="5" id="2114" />
+<TGConnectingPoint num="6" id="2115" />
+<TGConnectingPoint num="7" id="2116" />
 <extraparam>
-<info value="AppC::SmartCard" taskName="SmartCard" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
+<info value="AppC::TCPIP" taskName="TCPIP" referenceTaskName="AppC" priority="0" operation="" fatherComponentMECType="0" />
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="1102" id="2277" >
+<COMPONENT type="1102" id="2167" >
 <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="2253" />
-<TGConnectingPoint num="1" id="2254" />
-<TGConnectingPoint num="2" id="2255" />
-<TGConnectingPoint num="3" id="2256" />
-<TGConnectingPoint num="4" id="2257" />
-<TGConnectingPoint num="5" id="2258" />
-<TGConnectingPoint num="6" id="2259" />
-<TGConnectingPoint num="7" id="2260" />
-<TGConnectingPoint num="8" id="2261" />
-<TGConnectingPoint num="9" id="2262" />
-<TGConnectingPoint num="10" id="2263" />
-<TGConnectingPoint num="11" id="2264" />
-<TGConnectingPoint num="12" id="2265" />
-<TGConnectingPoint num="13" id="2266" />
-<TGConnectingPoint num="14" id="2267" />
-<TGConnectingPoint num="15" id="2268" />
-<TGConnectingPoint num="16" id="2269" />
-<TGConnectingPoint num="17" id="2270" />
-<TGConnectingPoint num="18" id="2271" />
-<TGConnectingPoint num="19" id="2272" />
-<TGConnectingPoint num="20" id="2273" />
-<TGConnectingPoint num="21" id="2274" />
-<TGConnectingPoint num="22" id="2275" />
-<TGConnectingPoint num="23" id="2276" />
+<TGConnectingPoint num="0" id="2143" />
+<TGConnectingPoint num="1" id="2144" />
+<TGConnectingPoint num="2" id="2145" />
+<TGConnectingPoint num="3" id="2146" />
+<TGConnectingPoint num="4" id="2147" />
+<TGConnectingPoint num="5" id="2148" />
+<TGConnectingPoint num="6" id="2149" />
+<TGConnectingPoint num="7" id="2150" />
+<TGConnectingPoint num="8" id="2151" />
+<TGConnectingPoint num="9" id="2152" />
+<TGConnectingPoint num="10" id="2153" />
+<TGConnectingPoint num="11" id="2154" />
+<TGConnectingPoint num="12" id="2155" />
+<TGConnectingPoint num="13" id="2156" />
+<TGConnectingPoint num="14" id="2157" />
+<TGConnectingPoint num="15" id="2158" />
+<TGConnectingPoint num="16" id="2159" />
+<TGConnectingPoint num="17" id="2160" />
+<TGConnectingPoint num="18" id="2161" />
+<TGConnectingPoint num="19" id="2162" />
+<TGConnectingPoint num="20" id="2163" />
+<TGConnectingPoint num="21" id="2164" />
+<TGConnectingPoint num="22" id="2165" />
+<TGConnectingPoint num="23" id="2166" />
 <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="2302" >
+<COMPONENT type="1105" id="2192" >
 <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="secureMem2" value="name" />
-<TGConnectingPoint num="0" id="2278" />
-<TGConnectingPoint num="1" id="2279" />
-<TGConnectingPoint num="2" id="2280" />
-<TGConnectingPoint num="3" id="2281" />
-<TGConnectingPoint num="4" id="2282" />
-<TGConnectingPoint num="5" id="2283" />
-<TGConnectingPoint num="6" id="2284" />
-<TGConnectingPoint num="7" id="2285" />
-<TGConnectingPoint num="8" id="2286" />
-<TGConnectingPoint num="9" id="2287" />
-<TGConnectingPoint num="10" id="2288" />
-<TGConnectingPoint num="11" id="2289" />
-<TGConnectingPoint num="12" id="2290" />
-<TGConnectingPoint num="13" id="2291" />
-<TGConnectingPoint num="14" id="2292" />
-<TGConnectingPoint num="15" id="2293" />
-<TGConnectingPoint num="16" id="2294" />
-<TGConnectingPoint num="17" id="2295" />
-<TGConnectingPoint num="18" id="2296" />
-<TGConnectingPoint num="19" id="2297" />
-<TGConnectingPoint num="20" id="2298" />
-<TGConnectingPoint num="21" id="2299" />
-<TGConnectingPoint num="22" id="2300" />
-<TGConnectingPoint num="23" id="2301" />
+<TGConnectingPoint num="0" id="2168" />
+<TGConnectingPoint num="1" id="2169" />
+<TGConnectingPoint num="2" id="2170" />
+<TGConnectingPoint num="3" id="2171" />
+<TGConnectingPoint num="4" id="2172" />
+<TGConnectingPoint num="5" id="2173" />
+<TGConnectingPoint num="6" id="2174" />
+<TGConnectingPoint num="7" id="2175" />
+<TGConnectingPoint num="8" id="2176" />
+<TGConnectingPoint num="9" id="2177" />
+<TGConnectingPoint num="10" id="2178" />
+<TGConnectingPoint num="11" id="2179" />
+<TGConnectingPoint num="12" id="2180" />
+<TGConnectingPoint num="13" id="2181" />
+<TGConnectingPoint num="14" id="2182" />
+<TGConnectingPoint num="15" id="2183" />
+<TGConnectingPoint num="16" id="2184" />
+<TGConnectingPoint num="17" id="2185" />
+<TGConnectingPoint num="18" id="2186" />
+<TGConnectingPoint num="19" id="2187" />
+<TGConnectingPoint num="20" id="2188" />
+<TGConnectingPoint num="21" id="2189" />
+<TGConnectingPoint num="22" id="2190" />
+<TGConnectingPoint num="23" id="2191" />
 <extraparam>
 <info stereotype="MEMORY" nodeName="secureMem2" />
 <attributes byteDataSize="4"  memorySize="1024"  clockRatio="1"  bufferType="0" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="125" id="2303" >
+<CONNECTOR type="125" id="2193" >
 <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="2239" />
-<P2  x="630" y="63" id="2256" />
+<P1  x="539" y="100" id="2129" />
+<P2  x="630" y="63" id="2146" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2304" >
+<CONNECTOR type="125" id="2194" >
 <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="2059" />
-<P2  x="142" y="453" id="2039" />
+<P1  x="143" y="511" id="1949" />
+<P2  x="142" y="453" id="1929" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2305" >
+<CONNECTOR type="125" id="2195" >
 <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="2182" />
-<P2  x="142" y="403" id="2034" />
+<P1  x="138" y="357" id="2072" />
+<P2  x="142" y="403" id="1924" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2306" >
+<CONNECTOR type="125" id="2196" >
 <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="2084" />
-<P2  x="403" y="319" id="2114" />
+<P1  x="403" y="358" id="1974" />
+<P2  x="403" y="319" id="2004" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2307" >
+<CONNECTOR type="125" id="2197" >
 <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="2180" />
-<P2  x="278" y="294" id="2111" />
+<P1  x="221" y="294" id="2070" />
+<P2  x="278" y="294" id="2001" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2308" >
+<CONNECTOR type="125" id="2198" >
 <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="2145" />
-<P2  x="528" y="294" id="2112" />
+<P1  x="574" y="294" id="2035" />
+<P2  x="528" y="294" id="2002" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2309" >
+<CONNECTOR type="125" id="2199" >
 <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="2234" />
-<P2  x="403" y="269" id="2109" />
+<P1  x="403" y="226" id="2124" />
+<P2  x="403" y="269" id="1999" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
 <spy value="false" />
 </extraparam>
 </CONNECTOR>
-<CONNECTOR type="125" id="2310" >
+<CONNECTOR type="125" id="2200" >
 <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="2279" />
-<P2  x="755" y="88" id="2259" />
+<P1  x="868" y="123" id="2169" />
+<P2  x="755" y="88" id="2149" />
 <AutomaticDrawing  data="true" />
 <extraparam>
 <info priority="0" />
@@ -8034,15 +8034,15 @@ the smart card and the terminal
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="5002" id="2316" >
+<CONNECTOR type="5002" id="2206" >
 <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="2313" />
-<TGConnectingPoint num="1" id="2314" />
-<TGConnectingPoint num="2" id="2315" />
-<P1  x="459" y="199" id="2413" />
-<P2  x="459" y="254" id="2406" />
+<TGConnectingPoint num="0" id="2203" />
+<TGConnectingPoint num="1" id="2204" />
+<TGConnectingPoint num="2" id="2205" />
+<P1  x="459" y="199" id="2303" />
+<P2  x="459" y="254" id="2296" />
 <Point x="490" y="199" />
 <Point x="490" y="254" />
 <AutomaticDrawing  data="true" />
@@ -8051,16 +8051,16 @@ the smart card and the terminal
 <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="2311" >
-<father id="2316" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2201" >
+<father id="2206" 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="2312" >
-<father id="2316" num="1" />
+<SUBCOMPONENT type="-1" id="2202" >
+<father id="2206" 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" />
@@ -8068,7 +8068,7 @@ the smart card and the terminal
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<COMPONENT type="302" id="2333" >
+<COMPONENT type="302" id="2223" >
 <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" />
@@ -8078,22 +8078,22 @@ the smart card and the terminal
 #Confidentiality InterfaceDevice.secretData
 #Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
 " />
-<TGConnectingPoint num="0" id="2317" />
-<TGConnectingPoint num="1" id="2318" />
-<TGConnectingPoint num="2" id="2319" />
-<TGConnectingPoint num="3" id="2320" />
-<TGConnectingPoint num="4" id="2321" />
-<TGConnectingPoint num="5" id="2322" />
-<TGConnectingPoint num="6" id="2323" />
-<TGConnectingPoint num="7" id="2324" />
-<TGConnectingPoint num="8" id="2325" />
-<TGConnectingPoint num="9" id="2326" />
-<TGConnectingPoint num="10" id="2327" />
-<TGConnectingPoint num="11" id="2328" />
-<TGConnectingPoint num="12" id="2329" />
-<TGConnectingPoint num="13" id="2330" />
-<TGConnectingPoint num="14" id="2331" />
-<TGConnectingPoint num="15" id="2332" />
+<TGConnectingPoint num="0" id="2207" />
+<TGConnectingPoint num="1" id="2208" />
+<TGConnectingPoint num="2" id="2209" />
+<TGConnectingPoint num="3" id="2210" />
+<TGConnectingPoint num="4" id="2211" />
+<TGConnectingPoint num="5" id="2212" />
+<TGConnectingPoint num="6" id="2213" />
+<TGConnectingPoint num="7" id="2214" />
+<TGConnectingPoint num="8" id="2215" />
+<TGConnectingPoint num="9" id="2216" />
+<TGConnectingPoint num="10" id="2217" />
+<TGConnectingPoint num="11" id="2218" />
+<TGConnectingPoint num="12" id="2219" />
+<TGConnectingPoint num="13" id="2220" />
+<TGConnectingPoint num="14" id="2221" />
+<TGConnectingPoint num="15" id="2222" />
 <extraparam>
 <Line value="#InitialSystemKnowledge InterfaceDevice.sk SmartCard.sk" />
 <Line value="" />
@@ -8102,74 +8102,74 @@ the smart card and the terminal
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="2342" >
+<COMPONENT type="5003" id="2232" >
 <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="2334" />
-<TGConnectingPoint num="1" id="2335" />
-<TGConnectingPoint num="2" id="2336" />
-<TGConnectingPoint num="3" id="2337" />
-<TGConnectingPoint num="4" id="2338" />
-<TGConnectingPoint num="5" id="2339" />
-<TGConnectingPoint num="6" id="2340" />
-<TGConnectingPoint num="7" id="2341" />
+<TGConnectingPoint num="0" id="2224" />
+<TGConnectingPoint num="1" id="2225" />
+<TGConnectingPoint num="2" id="2226" />
+<TGConnectingPoint num="3" id="2227" />
+<TGConnectingPoint num="4" id="2228" />
+<TGConnectingPoint num="5" id="2229" />
+<TGConnectingPoint num="6" id="2230" />
+<TGConnectingPoint num="7" id="2231" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="2351" >
+<COMPONENT type="5003" id="2241" >
 <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="2343" />
-<TGConnectingPoint num="1" id="2344" />
-<TGConnectingPoint num="2" id="2345" />
-<TGConnectingPoint num="3" id="2346" />
-<TGConnectingPoint num="4" id="2347" />
-<TGConnectingPoint num="5" id="2348" />
-<TGConnectingPoint num="6" id="2349" />
-<TGConnectingPoint num="7" id="2350" />
+<TGConnectingPoint num="0" id="2233" />
+<TGConnectingPoint num="1" id="2234" />
+<TGConnectingPoint num="2" id="2235" />
+<TGConnectingPoint num="3" id="2236" />
+<TGConnectingPoint num="4" id="2237" />
+<TGConnectingPoint num="5" id="2238" />
+<TGConnectingPoint num="6" id="2239" />
+<TGConnectingPoint num="7" id="2240" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2426" >
+<COMPONENT type="5000" id="2316" >
 <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="2402" />
-<TGConnectingPoint num="1" id="2403" />
-<TGConnectingPoint num="2" id="2404" />
-<TGConnectingPoint num="3" id="2405" />
-<TGConnectingPoint num="4" id="2406" />
-<TGConnectingPoint num="5" id="2407" />
-<TGConnectingPoint num="6" id="2408" />
-<TGConnectingPoint num="7" id="2409" />
-<TGConnectingPoint num="8" id="2410" />
-<TGConnectingPoint num="9" id="2411" />
-<TGConnectingPoint num="10" id="2412" />
-<TGConnectingPoint num="11" id="2413" />
-<TGConnectingPoint num="12" id="2414" />
-<TGConnectingPoint num="13" id="2415" />
-<TGConnectingPoint num="14" id="2416" />
-<TGConnectingPoint num="15" id="2417" />
-<TGConnectingPoint num="16" id="2418" />
-<TGConnectingPoint num="17" id="2419" />
-<TGConnectingPoint num="18" id="2420" />
-<TGConnectingPoint num="19" id="2421" />
-<TGConnectingPoint num="20" id="2422" />
-<TGConnectingPoint num="21" id="2423" />
-<TGConnectingPoint num="22" id="2424" />
-<TGConnectingPoint num="23" id="2425" />
+<TGConnectingPoint num="0" id="2292" />
+<TGConnectingPoint num="1" id="2293" />
+<TGConnectingPoint num="2" id="2294" />
+<TGConnectingPoint num="3" id="2295" />
+<TGConnectingPoint num="4" id="2296" />
+<TGConnectingPoint num="5" id="2297" />
+<TGConnectingPoint num="6" id="2298" />
+<TGConnectingPoint num="7" id="2299" />
+<TGConnectingPoint num="8" id="2300" />
+<TGConnectingPoint num="9" id="2301" />
+<TGConnectingPoint num="10" id="2302" />
+<TGConnectingPoint num="11" id="2303" />
+<TGConnectingPoint num="12" id="2304" />
+<TGConnectingPoint num="13" id="2305" />
+<TGConnectingPoint num="14" id="2306" />
+<TGConnectingPoint num="15" id="2307" />
+<TGConnectingPoint num="16" id="2308" />
+<TGConnectingPoint num="17" id="2309" />
+<TGConnectingPoint num="18" id="2310" />
+<TGConnectingPoint num="19" id="2311" />
+<TGConnectingPoint num="20" id="2312" />
+<TGConnectingPoint num="21" id="2313" />
+<TGConnectingPoint num="22" id="2314" />
+<TGConnectingPoint num="23" id="2315" />
 <extraparam>
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
@@ -8177,44 +8177,44 @@ the smart card and the terminal
 <Signal value="out chout(Message msg)" attached="true" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="5000" id="2376" >
-<father id="2426" 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="5000" id="2266" >
+<father id="2316" 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="223" minY="0" maxY="93" />
-<infoparam name="Block0" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="2352" />
-<TGConnectingPoint num="1" id="2353" />
-<TGConnectingPoint num="2" id="2354" />
-<TGConnectingPoint num="3" id="2355" />
-<TGConnectingPoint num="4" id="2356" />
-<TGConnectingPoint num="5" id="2357" />
-<TGConnectingPoint num="6" id="2358" />
-<TGConnectingPoint num="7" id="2359" />
-<TGConnectingPoint num="8" id="2360" />
-<TGConnectingPoint num="9" id="2361" />
-<TGConnectingPoint num="10" id="2362" />
-<TGConnectingPoint num="11" id="2363" />
-<TGConnectingPoint num="12" id="2364" />
-<TGConnectingPoint num="13" id="2365" />
-<TGConnectingPoint num="14" id="2366" />
-<TGConnectingPoint num="15" id="2367" />
-<TGConnectingPoint num="16" id="2368" />
-<TGConnectingPoint num="17" id="2369" />
-<TGConnectingPoint num="18" id="2370" />
-<TGConnectingPoint num="19" id="2371" />
-<TGConnectingPoint num="20" id="2372" />
-<TGConnectingPoint num="21" id="2373" />
-<TGConnectingPoint num="22" id="2374" />
-<TGConnectingPoint num="23" id="2375" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
+<infoparam name="Block0" value="SmartCard" />
+<TGConnectingPoint num="0" id="2242" />
+<TGConnectingPoint num="1" id="2243" />
+<TGConnectingPoint num="2" id="2244" />
+<TGConnectingPoint num="3" id="2245" />
+<TGConnectingPoint num="4" id="2246" />
+<TGConnectingPoint num="5" id="2247" />
+<TGConnectingPoint num="6" id="2248" />
+<TGConnectingPoint num="7" id="2249" />
+<TGConnectingPoint num="8" id="2250" />
+<TGConnectingPoint num="9" id="2251" />
+<TGConnectingPoint num="10" id="2252" />
+<TGConnectingPoint num="11" id="2253" />
+<TGConnectingPoint num="12" id="2254" />
+<TGConnectingPoint num="13" id="2255" />
+<TGConnectingPoint num="14" id="2256" />
+<TGConnectingPoint num="15" id="2257" />
+<TGConnectingPoint num="16" id="2258" />
+<TGConnectingPoint num="17" id="2259" />
+<TGConnectingPoint num="18" id="2260" />
+<TGConnectingPoint num="19" id="2261" />
+<TGConnectingPoint num="20" id="2262" />
+<TGConnectingPoint num="21" id="2263" />
+<TGConnectingPoint num="22" id="2264" />
+<TGConnectingPoint num="23" id="2265" />
 <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="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)" />
@@ -8239,44 +8239,44 @@ the smart card and the terminal
 <Method value="Message hash(Message msg)" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="2401" >
-<father id="2426" 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="5000" id="2291" >
+<father id="2316" 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="299" minY="0" maxY="93" />
-<infoparam name="Block0" value="SmartCard" />
-<TGConnectingPoint num="0" id="2377" />
-<TGConnectingPoint num="1" id="2378" />
-<TGConnectingPoint num="2" id="2379" />
-<TGConnectingPoint num="3" id="2380" />
-<TGConnectingPoint num="4" id="2381" />
-<TGConnectingPoint num="5" id="2382" />
-<TGConnectingPoint num="6" id="2383" />
-<TGConnectingPoint num="7" id="2384" />
-<TGConnectingPoint num="8" id="2385" />
-<TGConnectingPoint num="9" id="2386" />
-<TGConnectingPoint num="10" id="2387" />
-<TGConnectingPoint num="11" id="2388" />
-<TGConnectingPoint num="12" id="2389" />
-<TGConnectingPoint num="13" id="2390" />
-<TGConnectingPoint num="14" id="2391" />
-<TGConnectingPoint num="15" id="2392" />
-<TGConnectingPoint num="16" id="2393" />
-<TGConnectingPoint num="17" id="2394" />
-<TGConnectingPoint num="18" id="2395" />
-<TGConnectingPoint num="19" id="2396" />
-<TGConnectingPoint num="20" id="2397" />
-<TGConnectingPoint num="21" id="2398" />
-<TGConnectingPoint num="22" id="2399" />
-<TGConnectingPoint num="23" id="2400" />
+<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
+<infoparam name="Block0" value="InterfaceDevice" />
+<TGConnectingPoint num="0" id="2267" />
+<TGConnectingPoint num="1" id="2268" />
+<TGConnectingPoint num="2" id="2269" />
+<TGConnectingPoint num="3" id="2270" />
+<TGConnectingPoint num="4" id="2271" />
+<TGConnectingPoint num="5" id="2272" />
+<TGConnectingPoint num="6" id="2273" />
+<TGConnectingPoint num="7" id="2274" />
+<TGConnectingPoint num="8" id="2275" />
+<TGConnectingPoint num="9" id="2276" />
+<TGConnectingPoint num="10" id="2277" />
+<TGConnectingPoint num="11" id="2278" />
+<TGConnectingPoint num="12" id="2279" />
+<TGConnectingPoint num="13" id="2280" />
+<TGConnectingPoint num="14" id="2281" />
+<TGConnectingPoint num="15" id="2282" />
+<TGConnectingPoint num="16" id="2283" />
+<TGConnectingPoint num="17" id="2284" />
+<TGConnectingPoint num="18" id="2285" />
+<TGConnectingPoint num="19" id="2286" />
+<TGConnectingPoint num="20" id="2287" />
+<TGConnectingPoint num="21" id="2288" />
+<TGConnectingPoint num="22" id="2289" />
+<TGConnectingPoint num="23" id="2290" />
 <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="m2" 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="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)" />
@@ -8306,39 +8306,39 @@ the smart card and the terminal
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="System" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="5100" id="2428" >
+<COMPONENT type="5100" id="2318" >
 <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="2427" />
+<TGConnectingPoint num="0" id="2317" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2435" >
-<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="2434" />
-<P1  x="416" y="379" id="2470" />
-<P2  x="420" y="424" id="2506" />
+<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="2325" >
+<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="2324" />
+<P1  x="407" y="310" id="2396" />
+<P2  x="416" y="356" id="2355" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2433" >
-<father id="2435" num="0" />
-<cdparam x="431" y="403" />
-<sizeparam width="135" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2323" >
+<father id="2325" 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" />
 <enabled value="true" />
 <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="2429" />
-<TGConnectingPoint num="1" id="2430" />
-<TGConnectingPoint num="2" id="2431" />
-<TGConnectingPoint num="3" id="2432" />
+<TGConnectingPoint num="0" id="2319" />
+<TGConnectingPoint num="1" id="2320" />
+<TGConnectingPoint num="2" id="2321" />
+<TGConnectingPoint num="3" id="2322" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8346,30 +8346,29 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="receivedData = m.data" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2442" >
-<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="2441" />
-<P1  x="407" y="273" id="2552" />
-<P2  x="416" y="339" id="2465" />
+<CONNECTOR type="5102" id="2332" >
+<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="2331" />
+<P1  x="416" y="406" id="2360" />
+<P2  x="434" y="446" id="2406" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2440" >
-<father id="2442" num="0" />
-<cdparam x="419" y="312" />
-<sizeparam width="127" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2330" >
+<father id="2332" 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" />
 <enabled value="true" />
 <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="2436" />
-<TGConnectingPoint num="1" id="2437" />
-<TGConnectingPoint num="2" id="2438" />
-<TGConnectingPoint num="3" id="2439" />
+<TGConnectingPoint num="0" id="2326" />
+<TGConnectingPoint num="1" id="2327" />
+<TGConnectingPoint num="2" id="2328" />
+<TGConnectingPoint num="3" id="2329" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8377,30 +8376,29 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="m = sdecrypt(m2, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2449" >
-<cdparam x="406" y="201" />
+<CONNECTOR type="5102" id="2339" >
+<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="2448" />
-<P1  x="406" y="201" id="2588" />
-<P2  x="407" y="233" id="2547" />
+<infoparam name="connector from state0 to stop state" value="null" />
+<TGConnectingPoint num="0" id="2338" />
+<P1  x="407" y="251" id="2414" />
+<P2  x="407" y="280" id="2395" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2447" >
-<father id="2449" num="0" />
-<cdparam x="406" y="241" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2337" >
+<father id="2339" 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" />
 <enabled value="true" />
 <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="2443" />
-<TGConnectingPoint num="1" id="2444" />
-<TGConnectingPoint num="2" id="2445" />
-<TGConnectingPoint num="3" id="2446" />
+<TGConnectingPoint num="0" id="2333" />
+<TGConnectingPoint num="1" id="2334" />
+<TGConnectingPoint num="2" id="2335" />
+<TGConnectingPoint num="3" id="2336" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8411,26 +8409,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2456" >
-<cdparam x="406" y="141" />
+<CONNECTOR type="5102" id="2346" >
+<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 Send signal" value="null" />
-<TGConnectingPoint num="0" id="2455" />
-<P1  x="406" y="141" id="2604" />
-<P2  x="406" y="171" id="2587" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="2345" />
+<P1  x="407" y="132" id="2455" />
+<P2  x="407" y="211" id="2409" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2454" >
-<father id="2456" num="0" />
-<cdparam x="406" y="181" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2344" >
+<father id="2346" 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" />
 <enabled value="true" />
 <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="2450" />
-<TGConnectingPoint num="1" id="2451" />
-<TGConnectingPoint num="2" id="2452" />
-<TGConnectingPoint num="3" id="2453" />
+<TGConnectingPoint num="0" id="2340" />
+<TGConnectingPoint num="1" id="2341" />
+<TGConnectingPoint num="2" id="2342" />
+<TGConnectingPoint num="3" id="2343" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8438,29 +8436,31 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
+<actions value="m.data = secretData" enabled="true"/>
+<actions value="m1 = sencrypt(m, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2463" >
+<CONNECTOR type="5102" id="2353" >
 <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="2462" />
-<P1  x="407" y="70" id="2639" />
-<P2  x="406" y="101" id="2599" />
+<TGConnectingPoint num="0" id="2352" />
+<P1  x="407" y="70" id="2490" />
+<P2  x="407" y="92" id="2450" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2461" >
-<father id="2463" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2351" >
+<father id="2353" 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" />
 <enabled value="true" />
 <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="2457" />
-<TGConnectingPoint num="1" id="2458" />
-<TGConnectingPoint num="2" id="2459" />
-<TGConnectingPoint num="3" id="2460" />
+<TGConnectingPoint num="0" id="2347" />
+<TGConnectingPoint num="1" id="2348" />
+<TGConnectingPoint num="2" id="2349" />
+<TGConnectingPoint num="3" id="2350" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8471,262 +8471,220 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5106" id="2504" >
-<cdparam x="327" y="339" />
-<sizeparam width="178" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="2394" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="messageDecrypted" />
-<TGConnectingPoint num="0" id="2464" />
-<TGConnectingPoint num="1" id="2465" />
-<TGConnectingPoint num="2" id="2466" />
-<TGConnectingPoint num="3" id="2467" />
-<TGConnectingPoint num="4" id="2468" />
-<TGConnectingPoint num="5" id="2469" />
-<TGConnectingPoint num="6" id="2470" />
-<TGConnectingPoint num="7" id="2471" />
-<TGConnectingPoint num="8" id="2472" />
-<TGConnectingPoint num="9" id="2473" />
-<TGConnectingPoint num="10" id="2474" />
-<TGConnectingPoint num="11" id="2475" />
-<TGConnectingPoint num="12" id="2476" />
-<TGConnectingPoint num="13" id="2477" />
-<TGConnectingPoint num="14" id="2478" />
-<TGConnectingPoint num="15" id="2479" />
-<TGConnectingPoint num="16" id="2480" />
-<TGConnectingPoint num="17" id="2481" />
-<TGConnectingPoint num="18" id="2482" />
-<TGConnectingPoint num="19" id="2483" />
-<TGConnectingPoint num="20" id="2484" />
-<TGConnectingPoint num="21" id="2485" />
-<TGConnectingPoint num="22" id="2486" />
-<TGConnectingPoint num="23" id="2487" />
-<TGConnectingPoint num="24" id="2488" />
-<TGConnectingPoint num="25" id="2489" />
-<TGConnectingPoint num="26" id="2490" />
-<TGConnectingPoint num="27" id="2491" />
-<TGConnectingPoint num="28" id="2492" />
-<TGConnectingPoint num="29" id="2493" />
-<TGConnectingPoint num="30" id="2494" />
-<TGConnectingPoint num="31" id="2495" />
-<TGConnectingPoint num="32" id="2496" />
-<TGConnectingPoint num="33" id="2497" />
-<TGConnectingPoint num="34" id="2498" />
-<TGConnectingPoint num="35" id="2499" />
-<TGConnectingPoint num="36" id="2500" />
-<TGConnectingPoint num="37" id="2501" />
-<TGConnectingPoint num="38" id="2502" />
-<TGConnectingPoint num="39" id="2503" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="2545" >
-<cdparam x="350" y="424" />
-<sizeparam width="140" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="State" value="beforeFinish" />
+<TGConnectingPoint num="0" id="2354" />
+<TGConnectingPoint num="1" id="2355" />
+<TGConnectingPoint num="2" id="2356" />
+<TGConnectingPoint num="3" id="2357" />
+<TGConnectingPoint num="4" id="2358" />
+<TGConnectingPoint num="5" id="2359" />
+<TGConnectingPoint num="6" id="2360" />
+<TGConnectingPoint num="7" id="2361" />
+<TGConnectingPoint num="8" id="2362" />
+<TGConnectingPoint num="9" id="2363" />
+<TGConnectingPoint num="10" id="2364" />
+<TGConnectingPoint num="11" id="2365" />
+<TGConnectingPoint num="12" id="2366" />
+<TGConnectingPoint num="13" id="2367" />
+<TGConnectingPoint num="14" id="2368" />
+<TGConnectingPoint num="15" id="2369" />
+<TGConnectingPoint num="16" id="2370" />
+<TGConnectingPoint num="17" id="2371" />
+<TGConnectingPoint num="18" id="2372" />
+<TGConnectingPoint num="19" id="2373" />
+<TGConnectingPoint num="20" id="2374" />
+<TGConnectingPoint num="21" id="2375" />
+<TGConnectingPoint num="22" id="2376" />
+<TGConnectingPoint num="23" id="2377" />
+<TGConnectingPoint num="24" id="2378" />
+<TGConnectingPoint num="25" id="2379" />
+<TGConnectingPoint num="26" id="2380" />
+<TGConnectingPoint num="27" id="2381" />
+<TGConnectingPoint num="28" id="2382" />
+<TGConnectingPoint num="29" id="2383" />
+<TGConnectingPoint num="30" id="2384" />
+<TGConnectingPoint num="31" id="2385" />
+<TGConnectingPoint num="32" id="2386" />
+<TGConnectingPoint num="33" id="2387" />
+<TGConnectingPoint num="34" id="2388" />
+<TGConnectingPoint num="35" id="2389" />
+<TGConnectingPoint num="36" id="2390" />
+<TGConnectingPoint num="37" id="2391" />
+<TGConnectingPoint num="38" id="2392" />
+<TGConnectingPoint num="39" id="2393" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="2405" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="SecretDataReceived" />
-<TGConnectingPoint num="0" id="2505" />
-<TGConnectingPoint num="1" id="2506" />
-<TGConnectingPoint num="2" id="2507" />
-<TGConnectingPoint num="3" id="2508" />
-<TGConnectingPoint num="4" id="2509" />
-<TGConnectingPoint num="5" id="2510" />
-<TGConnectingPoint num="6" id="2511" />
-<TGConnectingPoint num="7" id="2512" />
-<TGConnectingPoint num="8" id="2513" />
-<TGConnectingPoint num="9" id="2514" />
-<TGConnectingPoint num="10" id="2515" />
-<TGConnectingPoint num="11" id="2516" />
-<TGConnectingPoint num="12" id="2517" />
-<TGConnectingPoint num="13" id="2518" />
-<TGConnectingPoint num="14" id="2519" />
-<TGConnectingPoint num="15" id="2520" />
-<TGConnectingPoint num="16" id="2521" />
-<TGConnectingPoint num="17" id="2522" />
-<TGConnectingPoint num="18" id="2523" />
-<TGConnectingPoint num="19" id="2524" />
-<TGConnectingPoint num="20" id="2525" />
-<TGConnectingPoint num="21" id="2526" />
-<TGConnectingPoint num="22" id="2527" />
-<TGConnectingPoint num="23" id="2528" />
-<TGConnectingPoint num="24" id="2529" />
-<TGConnectingPoint num="25" id="2530" />
-<TGConnectingPoint num="26" id="2531" />
-<TGConnectingPoint num="27" id="2532" />
-<TGConnectingPoint num="28" id="2533" />
-<TGConnectingPoint num="29" id="2534" />
-<TGConnectingPoint num="30" id="2535" />
-<TGConnectingPoint num="31" id="2536" />
-<TGConnectingPoint num="32" id="2537" />
-<TGConnectingPoint num="33" id="2538" />
-<TGConnectingPoint num="34" id="2539" />
-<TGConnectingPoint num="35" id="2540" />
-<TGConnectingPoint num="36" id="2541" />
-<TGConnectingPoint num="37" id="2542" />
-<TGConnectingPoint num="38" id="2543" />
-<TGConnectingPoint num="39" id="2544" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="2586" >
-<cdparam x="336" y="233" />
-<sizeparam width="142" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="Send signal" value="chout(m1)" />
+<TGConnectingPoint num="0" id="2395" />
+<TGConnectingPoint num="1" id="2396" />
+<TGConnectingPoint num="2" id="2397" />
+<TGConnectingPoint num="3" id="2398" />
+<TGConnectingPoint num="4" id="2399" />
+<TGConnectingPoint num="5" id="2400" />
+<TGConnectingPoint num="6" id="2401" />
+<TGConnectingPoint num="7" id="2402" />
+<TGConnectingPoint num="8" id="2403" />
+<TGConnectingPoint num="9" id="2404" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="2407" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="messageDecrypt" />
-<TGConnectingPoint num="0" id="2546" />
-<TGConnectingPoint num="1" id="2547" />
-<TGConnectingPoint num="2" id="2548" />
-<TGConnectingPoint num="3" id="2549" />
-<TGConnectingPoint num="4" id="2550" />
-<TGConnectingPoint num="5" id="2551" />
-<TGConnectingPoint num="6" id="2552" />
-<TGConnectingPoint num="7" id="2553" />
-<TGConnectingPoint num="8" id="2554" />
-<TGConnectingPoint num="9" id="2555" />
-<TGConnectingPoint num="10" id="2556" />
-<TGConnectingPoint num="11" id="2557" />
-<TGConnectingPoint num="12" id="2558" />
-<TGConnectingPoint num="13" id="2559" />
-<TGConnectingPoint num="14" id="2560" />
-<TGConnectingPoint num="15" id="2561" />
-<TGConnectingPoint num="16" id="2562" />
-<TGConnectingPoint num="17" id="2563" />
-<TGConnectingPoint num="18" id="2564" />
-<TGConnectingPoint num="19" id="2565" />
-<TGConnectingPoint num="20" id="2566" />
-<TGConnectingPoint num="21" id="2567" />
-<TGConnectingPoint num="22" id="2568" />
-<TGConnectingPoint num="23" id="2569" />
-<TGConnectingPoint num="24" id="2570" />
-<TGConnectingPoint num="25" id="2571" />
-<TGConnectingPoint num="26" id="2572" />
-<TGConnectingPoint num="27" id="2573" />
-<TGConnectingPoint num="28" id="2574" />
-<TGConnectingPoint num="29" id="2575" />
-<TGConnectingPoint num="30" id="2576" />
-<TGConnectingPoint num="31" id="2577" />
-<TGConnectingPoint num="32" id="2578" />
-<TGConnectingPoint num="33" id="2579" />
-<TGConnectingPoint num="34" id="2580" />
-<TGConnectingPoint num="35" id="2581" />
-<TGConnectingPoint num="36" id="2582" />
-<TGConnectingPoint num="37" id="2583" />
-<TGConnectingPoint num="38" id="2584" />
-<TGConnectingPoint num="39" id="2585" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="2597" >
-<cdparam x="372" y="176" />
-<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="2406" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2448" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chin(m2)" />
-<TGConnectingPoint num="0" id="2587" />
-<TGConnectingPoint num="1" id="2588" />
-<TGConnectingPoint num="2" id="2589" />
-<TGConnectingPoint num="3" id="2590" />
-<TGConnectingPoint num="4" id="2591" />
-<TGConnectingPoint num="5" id="2592" />
-<TGConnectingPoint num="6" id="2593" />
-<TGConnectingPoint num="7" id="2594" />
-<TGConnectingPoint num="8" id="2595" />
-<TGConnectingPoint num="9" id="2596" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2638" >
-<cdparam x="340" y="101" />
-<sizeparam width="132" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="sendingMessage" />
+<TGConnectingPoint num="0" id="2408" />
+<TGConnectingPoint num="1" id="2409" />
+<TGConnectingPoint num="2" id="2410" />
+<TGConnectingPoint num="3" id="2411" />
+<TGConnectingPoint num="4" id="2412" />
+<TGConnectingPoint num="5" id="2413" />
+<TGConnectingPoint num="6" id="2414" />
+<TGConnectingPoint num="7" id="2415" />
+<TGConnectingPoint num="8" id="2416" />
+<TGConnectingPoint num="9" id="2417" />
+<TGConnectingPoint num="10" id="2418" />
+<TGConnectingPoint num="11" id="2419" />
+<TGConnectingPoint num="12" id="2420" />
+<TGConnectingPoint num="13" id="2421" />
+<TGConnectingPoint num="14" id="2422" />
+<TGConnectingPoint num="15" id="2423" />
+<TGConnectingPoint num="16" id="2424" />
+<TGConnectingPoint num="17" id="2425" />
+<TGConnectingPoint num="18" id="2426" />
+<TGConnectingPoint num="19" id="2427" />
+<TGConnectingPoint num="20" id="2428" />
+<TGConnectingPoint num="21" id="2429" />
+<TGConnectingPoint num="22" id="2430" />
+<TGConnectingPoint num="23" id="2431" />
+<TGConnectingPoint num="24" id="2432" />
+<TGConnectingPoint num="25" id="2433" />
+<TGConnectingPoint num="26" id="2434" />
+<TGConnectingPoint num="27" id="2435" />
+<TGConnectingPoint num="28" id="2436" />
+<TGConnectingPoint num="29" id="2437" />
+<TGConnectingPoint num="30" id="2438" />
+<TGConnectingPoint num="31" id="2439" />
+<TGConnectingPoint num="32" id="2440" />
+<TGConnectingPoint num="33" id="2441" />
+<TGConnectingPoint num="34" id="2442" />
+<TGConnectingPoint num="35" id="2443" />
+<TGConnectingPoint num="36" id="2444" />
+<TGConnectingPoint num="37" id="2445" />
+<TGConnectingPoint num="38" id="2446" />
+<TGConnectingPoint num="39" id="2447" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2489" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="waitingForMessage" />
-<TGConnectingPoint num="0" id="2598" />
-<TGConnectingPoint num="1" id="2599" />
-<TGConnectingPoint num="2" id="2600" />
-<TGConnectingPoint num="3" id="2601" />
-<TGConnectingPoint num="4" id="2602" />
-<TGConnectingPoint num="5" id="2603" />
-<TGConnectingPoint num="6" id="2604" />
-<TGConnectingPoint num="7" id="2605" />
-<TGConnectingPoint num="8" id="2606" />
-<TGConnectingPoint num="9" id="2607" />
-<TGConnectingPoint num="10" id="2608" />
-<TGConnectingPoint num="11" id="2609" />
-<TGConnectingPoint num="12" id="2610" />
-<TGConnectingPoint num="13" id="2611" />
-<TGConnectingPoint num="14" id="2612" />
-<TGConnectingPoint num="15" id="2613" />
-<TGConnectingPoint num="16" id="2614" />
-<TGConnectingPoint num="17" id="2615" />
-<TGConnectingPoint num="18" id="2616" />
-<TGConnectingPoint num="19" id="2617" />
-<TGConnectingPoint num="20" id="2618" />
-<TGConnectingPoint num="21" id="2619" />
-<TGConnectingPoint num="22" id="2620" />
-<TGConnectingPoint num="23" id="2621" />
-<TGConnectingPoint num="24" id="2622" />
-<TGConnectingPoint num="25" id="2623" />
-<TGConnectingPoint num="26" id="2624" />
-<TGConnectingPoint num="27" id="2625" />
-<TGConnectingPoint num="28" id="2626" />
-<TGConnectingPoint num="29" id="2627" />
-<TGConnectingPoint num="30" id="2628" />
-<TGConnectingPoint num="31" id="2629" />
-<TGConnectingPoint num="32" id="2630" />
-<TGConnectingPoint num="33" id="2631" />
-<TGConnectingPoint num="34" id="2632" />
-<TGConnectingPoint num="35" id="2633" />
-<TGConnectingPoint num="36" id="2634" />
-<TGConnectingPoint num="37" id="2635" />
-<TGConnectingPoint num="38" id="2636" />
-<TGConnectingPoint num="39" id="2637" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="2640" >
+<infoparam name="state0" value="makingMessage" />
+<TGConnectingPoint num="0" id="2449" />
+<TGConnectingPoint num="1" id="2450" />
+<TGConnectingPoint num="2" id="2451" />
+<TGConnectingPoint num="3" id="2452" />
+<TGConnectingPoint num="4" id="2453" />
+<TGConnectingPoint num="5" id="2454" />
+<TGConnectingPoint num="6" id="2455" />
+<TGConnectingPoint num="7" id="2456" />
+<TGConnectingPoint num="8" id="2457" />
+<TGConnectingPoint num="9" id="2458" />
+<TGConnectingPoint num="10" id="2459" />
+<TGConnectingPoint num="11" id="2460" />
+<TGConnectingPoint num="12" id="2461" />
+<TGConnectingPoint num="13" id="2462" />
+<TGConnectingPoint num="14" id="2463" />
+<TGConnectingPoint num="15" id="2464" />
+<TGConnectingPoint num="16" id="2465" />
+<TGConnectingPoint num="17" id="2466" />
+<TGConnectingPoint num="18" id="2467" />
+<TGConnectingPoint num="19" id="2468" />
+<TGConnectingPoint num="20" id="2469" />
+<TGConnectingPoint num="21" id="2470" />
+<TGConnectingPoint num="22" id="2471" />
+<TGConnectingPoint num="23" id="2472" />
+<TGConnectingPoint num="24" id="2473" />
+<TGConnectingPoint num="25" id="2474" />
+<TGConnectingPoint num="26" id="2475" />
+<TGConnectingPoint num="27" id="2476" />
+<TGConnectingPoint num="28" id="2477" />
+<TGConnectingPoint num="29" id="2478" />
+<TGConnectingPoint num="30" id="2479" />
+<TGConnectingPoint num="31" id="2480" />
+<TGConnectingPoint num="32" id="2481" />
+<TGConnectingPoint num="33" id="2482" />
+<TGConnectingPoint num="34" id="2483" />
+<TGConnectingPoint num="35" id="2484" />
+<TGConnectingPoint num="36" id="2485" />
+<TGConnectingPoint num="37" id="2486" />
+<TGConnectingPoint num="38" id="2487" />
+<TGConnectingPoint num="39" id="2488" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="2491" >
 <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="2639" />
+<TGConnectingPoint num="0" id="2490" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2647" >
-<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="2646" />
-<P1  x="407" y="310" id="2718" />
-<P2  x="416" y="356" id="2677" />
+<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="2498" >
+<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="2497" />
+<P1  x="416" y="379" id="2533" />
+<P2  x="420" y="424" id="2569" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2645" >
-<father id="2647" num="0" />
-<cdparam x="449" y="353" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2496" >
+<father id="2498" 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" />
 <enabled value="true" />
 <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="2641" />
-<TGConnectingPoint num="1" id="2642" />
-<TGConnectingPoint num="2" id="2643" />
-<TGConnectingPoint num="3" id="2644" />
+<TGConnectingPoint num="0" id="2492" />
+<TGConnectingPoint num="1" id="2493" />
+<TGConnectingPoint num="2" id="2494" />
+<TGConnectingPoint num="3" id="2495" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8734,29 +8692,30 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
+<actions value="receivedData = m.data" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2654" >
-<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="2653" />
-<P1  x="416" y="406" id="2682" />
-<P2  x="434" y="446" id="2728" />
+<CONNECTOR type="5102" id="2505" >
+<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="2504" />
+<P1  x="407" y="273" id="2615" />
+<P2  x="416" y="339" id="2528" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2652" >
-<father id="2654" num="0" />
-<cdparam x="449" y="440" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2503" >
+<father id="2505" 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" />
 <enabled value="true" />
 <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="2648" />
-<TGConnectingPoint num="1" id="2649" />
-<TGConnectingPoint num="2" id="2650" />
-<TGConnectingPoint num="3" id="2651" />
+<TGConnectingPoint num="0" id="2499" />
+<TGConnectingPoint num="1" id="2500" />
+<TGConnectingPoint num="2" id="2501" />
+<TGConnectingPoint num="3" id="2502" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8764,29 +8723,30 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
+<actions value="m = sdecrypt(m2, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2661" >
-<cdparam x="407" y="251" />
+<CONNECTOR type="5102" id="2512" >
+<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 state0 to stop state" value="null" />
-<TGConnectingPoint num="0" id="2660" />
-<P1  x="407" y="251" id="2736" />
-<P2  x="407" y="280" id="2717" />
+<infoparam name="connector from Send signal to state0" value="null" />
+<TGConnectingPoint num="0" id="2511" />
+<P1  x="406" y="201" id="2651" />
+<P2  x="407" y="233" id="2610" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2659" >
-<father id="2661" num="0" />
-<cdparam x="407" y="291" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2510" >
+<father id="2512" 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" />
 <enabled value="true" />
 <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="2655" />
-<TGConnectingPoint num="1" id="2656" />
-<TGConnectingPoint num="2" id="2657" />
-<TGConnectingPoint num="3" id="2658" />
+<TGConnectingPoint num="0" id="2506" />
+<TGConnectingPoint num="1" id="2507" />
+<TGConnectingPoint num="2" id="2508" />
+<TGConnectingPoint num="3" id="2509" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8797,26 +8757,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2668" >
-<cdparam x="407" y="132" />
+<CONNECTOR type="5102" id="2519" >
+<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 state0" value="null" />
-<TGConnectingPoint num="0" id="2667" />
-<P1  x="407" y="132" id="2777" />
-<P2  x="407" y="211" id="2731" />
+<infoparam name="connector from state0 to Send signal" value="null" />
+<TGConnectingPoint num="0" id="2518" />
+<P1  x="406" y="141" id="2667" />
+<P2  x="406" y="171" id="2650" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2666" >
-<father id="2668" num="0" />
-<cdparam x="414" y="162" />
-<sizeparam width="126" height="30" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2517" >
+<father id="2519" 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" />
 <enabled value="true" />
 <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="2662" />
-<TGConnectingPoint num="1" id="2663" />
-<TGConnectingPoint num="2" id="2664" />
-<TGConnectingPoint num="3" id="2665" />
+<TGConnectingPoint num="0" id="2513" />
+<TGConnectingPoint num="1" id="2514" />
+<TGConnectingPoint num="2" id="2515" />
+<TGConnectingPoint num="3" id="2516" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8824,31 +8784,29 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="m.data = secretData" enabled="true"/>
-<actions value="m1 = sencrypt(m, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2675" >
+<CONNECTOR type="5102" id="2526" >
 <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="2674" />
-<P1  x="407" y="70" id="2812" />
-<P2  x="407" y="92" id="2772" />
+<TGConnectingPoint num="0" id="2525" />
+<P1  x="407" y="70" id="2702" />
+<P2  x="406" y="101" id="2662" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2673" >
-<father id="2675" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2524" >
+<father id="2526" 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" />
 <enabled value="true" />
 <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="2669" />
-<TGConnectingPoint num="1" id="2670" />
-<TGConnectingPoint num="2" id="2671" />
-<TGConnectingPoint num="3" id="2672" />
+<TGConnectingPoint num="0" id="2520" />
+<TGConnectingPoint num="1" id="2521" />
+<TGConnectingPoint num="2" id="2522" />
+<TGConnectingPoint num="3" id="2523" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -8859,194 +8817,236 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5106" id="2716" >
-<cdparam x="366" y="356" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<COMPONENT type="5106" id="2567" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="beforeFinish" />
-<TGConnectingPoint num="0" id="2676" />
-<TGConnectingPoint num="1" id="2677" />
-<TGConnectingPoint num="2" id="2678" />
-<TGConnectingPoint num="3" id="2679" />
-<TGConnectingPoint num="4" id="2680" />
-<TGConnectingPoint num="5" id="2681" />
-<TGConnectingPoint num="6" id="2682" />
-<TGConnectingPoint num="7" id="2683" />
-<TGConnectingPoint num="8" id="2684" />
-<TGConnectingPoint num="9" id="2685" />
-<TGConnectingPoint num="10" id="2686" />
-<TGConnectingPoint num="11" id="2687" />
-<TGConnectingPoint num="12" id="2688" />
-<TGConnectingPoint num="13" id="2689" />
-<TGConnectingPoint num="14" id="2690" />
-<TGConnectingPoint num="15" id="2691" />
-<TGConnectingPoint num="16" id="2692" />
-<TGConnectingPoint num="17" id="2693" />
-<TGConnectingPoint num="18" id="2694" />
-<TGConnectingPoint num="19" id="2695" />
-<TGConnectingPoint num="20" id="2696" />
-<TGConnectingPoint num="21" id="2697" />
-<TGConnectingPoint num="22" id="2698" />
-<TGConnectingPoint num="23" id="2699" />
-<TGConnectingPoint num="24" id="2700" />
-<TGConnectingPoint num="25" id="2701" />
-<TGConnectingPoint num="26" id="2702" />
-<TGConnectingPoint num="27" id="2703" />
-<TGConnectingPoint num="28" id="2704" />
-<TGConnectingPoint num="29" id="2705" />
-<TGConnectingPoint num="30" id="2706" />
-<TGConnectingPoint num="31" id="2707" />
-<TGConnectingPoint num="32" id="2708" />
-<TGConnectingPoint num="33" id="2709" />
-<TGConnectingPoint num="34" id="2710" />
-<TGConnectingPoint num="35" id="2711" />
-<TGConnectingPoint num="36" id="2712" />
-<TGConnectingPoint num="37" id="2713" />
-<TGConnectingPoint num="38" id="2714" />
-<TGConnectingPoint num="39" id="2715" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="2727" >
-<cdparam x="373" y="285" />
-<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="messageDecrypted" />
+<TGConnectingPoint num="0" id="2527" />
+<TGConnectingPoint num="1" id="2528" />
+<TGConnectingPoint num="2" id="2529" />
+<TGConnectingPoint num="3" id="2530" />
+<TGConnectingPoint num="4" id="2531" />
+<TGConnectingPoint num="5" id="2532" />
+<TGConnectingPoint num="6" id="2533" />
+<TGConnectingPoint num="7" id="2534" />
+<TGConnectingPoint num="8" id="2535" />
+<TGConnectingPoint num="9" id="2536" />
+<TGConnectingPoint num="10" id="2537" />
+<TGConnectingPoint num="11" id="2538" />
+<TGConnectingPoint num="12" id="2539" />
+<TGConnectingPoint num="13" id="2540" />
+<TGConnectingPoint num="14" id="2541" />
+<TGConnectingPoint num="15" id="2542" />
+<TGConnectingPoint num="16" id="2543" />
+<TGConnectingPoint num="17" id="2544" />
+<TGConnectingPoint num="18" id="2545" />
+<TGConnectingPoint num="19" id="2546" />
+<TGConnectingPoint num="20" id="2547" />
+<TGConnectingPoint num="21" id="2548" />
+<TGConnectingPoint num="22" id="2549" />
+<TGConnectingPoint num="23" id="2550" />
+<TGConnectingPoint num="24" id="2551" />
+<TGConnectingPoint num="25" id="2552" />
+<TGConnectingPoint num="26" id="2553" />
+<TGConnectingPoint num="27" id="2554" />
+<TGConnectingPoint num="28" id="2555" />
+<TGConnectingPoint num="29" id="2556" />
+<TGConnectingPoint num="30" id="2557" />
+<TGConnectingPoint num="31" id="2558" />
+<TGConnectingPoint num="32" id="2559" />
+<TGConnectingPoint num="33" id="2560" />
+<TGConnectingPoint num="34" id="2561" />
+<TGConnectingPoint num="35" id="2562" />
+<TGConnectingPoint num="36" id="2563" />
+<TGConnectingPoint num="37" id="2564" />
+<TGConnectingPoint num="38" id="2565" />
+<TGConnectingPoint num="39" id="2566" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2608" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chout(m1)" />
-<TGConnectingPoint num="0" id="2717" />
-<TGConnectingPoint num="1" id="2718" />
-<TGConnectingPoint num="2" id="2719" />
-<TGConnectingPoint num="3" id="2720" />
-<TGConnectingPoint num="4" id="2721" />
-<TGConnectingPoint num="5" id="2722" />
-<TGConnectingPoint num="6" id="2723" />
-<TGConnectingPoint num="7" id="2724" />
-<TGConnectingPoint num="8" id="2725" />
-<TGConnectingPoint num="9" id="2726" />
-</COMPONENT>
-
-<COMPONENT type="5101" id="2729" >
-<cdparam x="424" y="451" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="SecretDataReceived" />
+<TGConnectingPoint num="0" id="2568" />
+<TGConnectingPoint num="1" id="2569" />
+<TGConnectingPoint num="2" id="2570" />
+<TGConnectingPoint num="3" id="2571" />
+<TGConnectingPoint num="4" id="2572" />
+<TGConnectingPoint num="5" id="2573" />
+<TGConnectingPoint num="6" id="2574" />
+<TGConnectingPoint num="7" id="2575" />
+<TGConnectingPoint num="8" id="2576" />
+<TGConnectingPoint num="9" id="2577" />
+<TGConnectingPoint num="10" id="2578" />
+<TGConnectingPoint num="11" id="2579" />
+<TGConnectingPoint num="12" id="2580" />
+<TGConnectingPoint num="13" id="2581" />
+<TGConnectingPoint num="14" id="2582" />
+<TGConnectingPoint num="15" id="2583" />
+<TGConnectingPoint num="16" id="2584" />
+<TGConnectingPoint num="17" id="2585" />
+<TGConnectingPoint num="18" id="2586" />
+<TGConnectingPoint num="19" id="2587" />
+<TGConnectingPoint num="20" id="2588" />
+<TGConnectingPoint num="21" id="2589" />
+<TGConnectingPoint num="22" id="2590" />
+<TGConnectingPoint num="23" id="2591" />
+<TGConnectingPoint num="24" id="2592" />
+<TGConnectingPoint num="25" id="2593" />
+<TGConnectingPoint num="26" id="2594" />
+<TGConnectingPoint num="27" id="2595" />
+<TGConnectingPoint num="28" id="2596" />
+<TGConnectingPoint num="29" id="2597" />
+<TGConnectingPoint num="30" id="2598" />
+<TGConnectingPoint num="31" id="2599" />
+<TGConnectingPoint num="32" id="2600" />
+<TGConnectingPoint num="33" id="2601" />
+<TGConnectingPoint num="34" id="2602" />
+<TGConnectingPoint num="35" id="2603" />
+<TGConnectingPoint num="36" id="2604" />
+<TGConnectingPoint num="37" id="2605" />
+<TGConnectingPoint num="38" id="2606" />
+<TGConnectingPoint num="39" id="2607" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="2649" >
+<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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="2728" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="2770" >
-<cdparam x="336" y="211" />
-<sizeparam width="143" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="messageDecrypt" />
+<TGConnectingPoint num="0" id="2609" />
+<TGConnectingPoint num="1" id="2610" />
+<TGConnectingPoint num="2" id="2611" />
+<TGConnectingPoint num="3" id="2612" />
+<TGConnectingPoint num="4" id="2613" />
+<TGConnectingPoint num="5" id="2614" />
+<TGConnectingPoint num="6" id="2615" />
+<TGConnectingPoint num="7" id="2616" />
+<TGConnectingPoint num="8" id="2617" />
+<TGConnectingPoint num="9" id="2618" />
+<TGConnectingPoint num="10" id="2619" />
+<TGConnectingPoint num="11" id="2620" />
+<TGConnectingPoint num="12" id="2621" />
+<TGConnectingPoint num="13" id="2622" />
+<TGConnectingPoint num="14" id="2623" />
+<TGConnectingPoint num="15" id="2624" />
+<TGConnectingPoint num="16" id="2625" />
+<TGConnectingPoint num="17" id="2626" />
+<TGConnectingPoint num="18" id="2627" />
+<TGConnectingPoint num="19" id="2628" />
+<TGConnectingPoint num="20" id="2629" />
+<TGConnectingPoint num="21" id="2630" />
+<TGConnectingPoint num="22" id="2631" />
+<TGConnectingPoint num="23" id="2632" />
+<TGConnectingPoint num="24" id="2633" />
+<TGConnectingPoint num="25" id="2634" />
+<TGConnectingPoint num="26" id="2635" />
+<TGConnectingPoint num="27" id="2636" />
+<TGConnectingPoint num="28" id="2637" />
+<TGConnectingPoint num="29" id="2638" />
+<TGConnectingPoint num="30" id="2639" />
+<TGConnectingPoint num="31" id="2640" />
+<TGConnectingPoint num="32" id="2641" />
+<TGConnectingPoint num="33" id="2642" />
+<TGConnectingPoint num="34" id="2643" />
+<TGConnectingPoint num="35" id="2644" />
+<TGConnectingPoint num="36" id="2645" />
+<TGConnectingPoint num="37" id="2646" />
+<TGConnectingPoint num="38" id="2647" />
+<TGConnectingPoint num="39" id="2648" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="2660" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="sendingMessage" />
-<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" />
-<TGConnectingPoint num="24" id="2754" />
-<TGConnectingPoint num="25" id="2755" />
-<TGConnectingPoint num="26" id="2756" />
-<TGConnectingPoint num="27" id="2757" />
-<TGConnectingPoint num="28" id="2758" />
-<TGConnectingPoint num="29" id="2759" />
-<TGConnectingPoint num="30" id="2760" />
-<TGConnectingPoint num="31" id="2761" />
-<TGConnectingPoint num="32" id="2762" />
-<TGConnectingPoint num="33" id="2763" />
-<TGConnectingPoint num="34" id="2764" />
-<TGConnectingPoint num="35" id="2765" />
-<TGConnectingPoint num="36" id="2766" />
-<TGConnectingPoint num="37" id="2767" />
-<TGConnectingPoint num="38" id="2768" />
-<TGConnectingPoint num="39" id="2769" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="2811" >
-<cdparam x="340" y="92" />
-<sizeparam width="134" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="Send signal" value="chin(m2)" />
+<TGConnectingPoint num="0" id="2650" />
+<TGConnectingPoint num="1" id="2651" />
+<TGConnectingPoint num="2" id="2652" />
+<TGConnectingPoint num="3" id="2653" />
+<TGConnectingPoint num="4" id="2654" />
+<TGConnectingPoint num="5" id="2655" />
+<TGConnectingPoint num="6" id="2656" />
+<TGConnectingPoint num="7" id="2657" />
+<TGConnectingPoint num="8" id="2658" />
+<TGConnectingPoint num="9" id="2659" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2701" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="makingMessage" />
-<TGConnectingPoint num="0" id="2771" />
-<TGConnectingPoint num="1" id="2772" />
-<TGConnectingPoint num="2" id="2773" />
-<TGConnectingPoint num="3" id="2774" />
-<TGConnectingPoint num="4" id="2775" />
-<TGConnectingPoint num="5" id="2776" />
-<TGConnectingPoint num="6" id="2777" />
-<TGConnectingPoint num="7" id="2778" />
-<TGConnectingPoint num="8" id="2779" />
-<TGConnectingPoint num="9" id="2780" />
-<TGConnectingPoint num="10" id="2781" />
-<TGConnectingPoint num="11" id="2782" />
-<TGConnectingPoint num="12" id="2783" />
-<TGConnectingPoint num="13" id="2784" />
-<TGConnectingPoint num="14" id="2785" />
-<TGConnectingPoint num="15" id="2786" />
-<TGConnectingPoint num="16" id="2787" />
-<TGConnectingPoint num="17" id="2788" />
-<TGConnectingPoint num="18" id="2789" />
-<TGConnectingPoint num="19" id="2790" />
-<TGConnectingPoint num="20" id="2791" />
-<TGConnectingPoint num="21" id="2792" />
-<TGConnectingPoint num="22" id="2793" />
-<TGConnectingPoint num="23" id="2794" />
-<TGConnectingPoint num="24" id="2795" />
-<TGConnectingPoint num="25" id="2796" />
-<TGConnectingPoint num="26" id="2797" />
-<TGConnectingPoint num="27" id="2798" />
-<TGConnectingPoint num="28" id="2799" />
-<TGConnectingPoint num="29" id="2800" />
-<TGConnectingPoint num="30" id="2801" />
-<TGConnectingPoint num="31" id="2802" />
-<TGConnectingPoint num="32" id="2803" />
-<TGConnectingPoint num="33" id="2804" />
-<TGConnectingPoint num="34" id="2805" />
-<TGConnectingPoint num="35" id="2806" />
-<TGConnectingPoint num="36" id="2807" />
-<TGConnectingPoint num="37" id="2808" />
-<TGConnectingPoint num="38" id="2809" />
-<TGConnectingPoint num="39" id="2810" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="2813" >
+<infoparam name="state0" value="waitingForMessage" />
+<TGConnectingPoint num="0" id="2661" />
+<TGConnectingPoint num="1" id="2662" />
+<TGConnectingPoint num="2" id="2663" />
+<TGConnectingPoint num="3" id="2664" />
+<TGConnectingPoint num="4" id="2665" />
+<TGConnectingPoint num="5" id="2666" />
+<TGConnectingPoint num="6" id="2667" />
+<TGConnectingPoint num="7" id="2668" />
+<TGConnectingPoint num="8" id="2669" />
+<TGConnectingPoint num="9" id="2670" />
+<TGConnectingPoint num="10" id="2671" />
+<TGConnectingPoint num="11" id="2672" />
+<TGConnectingPoint num="12" id="2673" />
+<TGConnectingPoint num="13" id="2674" />
+<TGConnectingPoint num="14" id="2675" />
+<TGConnectingPoint num="15" id="2676" />
+<TGConnectingPoint num="16" id="2677" />
+<TGConnectingPoint num="17" id="2678" />
+<TGConnectingPoint num="18" id="2679" />
+<TGConnectingPoint num="19" id="2680" />
+<TGConnectingPoint num="20" id="2681" />
+<TGConnectingPoint num="21" id="2682" />
+<TGConnectingPoint num="22" id="2683" />
+<TGConnectingPoint num="23" id="2684" />
+<TGConnectingPoint num="24" id="2685" />
+<TGConnectingPoint num="25" id="2686" />
+<TGConnectingPoint num="26" id="2687" />
+<TGConnectingPoint num="27" id="2688" />
+<TGConnectingPoint num="28" id="2689" />
+<TGConnectingPoint num="29" id="2690" />
+<TGConnectingPoint num="30" id="2691" />
+<TGConnectingPoint num="31" id="2692" />
+<TGConnectingPoint num="32" id="2693" />
+<TGConnectingPoint num="33" id="2694" />
+<TGConnectingPoint num="34" id="2695" />
+<TGConnectingPoint num="35" id="2696" />
+<TGConnectingPoint num="36" id="2697" />
+<TGConnectingPoint num="37" id="2698" />
+<TGConnectingPoint num="38" id="2699" />
+<TGConnectingPoint num="39" id="2700" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="2703" >
 <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="2812" />
+<TGConnectingPoint num="0" id="2702" />
 </COMPONENT>
 
 
@@ -9065,15 +9065,15 @@ the smart card and the terminal
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="5002" id="2819" >
+<CONNECTOR type="5002" id="2709" >
 <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="2816" />
-<TGConnectingPoint num="1" id="2817" />
-<TGConnectingPoint num="2" id="2818" />
-<P1  x="459" y="199" id="2916" />
-<P2  x="459" y="254" id="2909" />
+<TGConnectingPoint num="0" id="2706" />
+<TGConnectingPoint num="1" id="2707" />
+<TGConnectingPoint num="2" id="2708" />
+<P1  x="459" y="199" id="2806" />
+<P2  x="459" y="254" id="2799" />
 <Point x="490" y="199" />
 <Point x="490" y="254" />
 <AutomaticDrawing  data="true" />
@@ -9082,16 +9082,16 @@ the smart card and the terminal
 <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="2814" >
-<father id="2819" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2704" >
+<father id="2709" 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="2815" >
-<father id="2819" num="1" />
+<SUBCOMPONENT type="-1" id="2705" >
+<father id="2709" 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" />
@@ -9099,7 +9099,7 @@ the smart card and the terminal
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<COMPONENT type="302" id="2836" >
+<COMPONENT type="302" id="2726" >
 <cdparam x="517" y="154" />
 <sizeparam width="565" height="110" minWidth="80" minHeight="10" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
 <hidden value="false" />
@@ -9110,22 +9110,22 @@ the smart card and the terminal
 #Confidentiality InterfaceDevice.secretData
 #Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
 " />
-<TGConnectingPoint num="0" id="2820" />
-<TGConnectingPoint num="1" id="2821" />
-<TGConnectingPoint num="2" id="2822" />
-<TGConnectingPoint num="3" id="2823" />
-<TGConnectingPoint num="4" id="2824" />
-<TGConnectingPoint num="5" id="2825" />
-<TGConnectingPoint num="6" id="2826" />
-<TGConnectingPoint num="7" id="2827" />
-<TGConnectingPoint num="8" id="2828" />
-<TGConnectingPoint num="9" id="2829" />
-<TGConnectingPoint num="10" id="2830" />
-<TGConnectingPoint num="11" id="2831" />
-<TGConnectingPoint num="12" id="2832" />
-<TGConnectingPoint num="13" id="2833" />
-<TGConnectingPoint num="14" id="2834" />
-<TGConnectingPoint num="15" id="2835" />
+<TGConnectingPoint num="0" id="2710" />
+<TGConnectingPoint num="1" id="2711" />
+<TGConnectingPoint num="2" id="2712" />
+<TGConnectingPoint num="3" id="2713" />
+<TGConnectingPoint num="4" id="2714" />
+<TGConnectingPoint num="5" id="2715" />
+<TGConnectingPoint num="6" id="2716" />
+<TGConnectingPoint num="7" id="2717" />
+<TGConnectingPoint num="8" id="2718" />
+<TGConnectingPoint num="9" id="2719" />
+<TGConnectingPoint num="10" id="2720" />
+<TGConnectingPoint num="11" id="2721" />
+<TGConnectingPoint num="12" id="2722" />
+<TGConnectingPoint num="13" id="2723" />
+<TGConnectingPoint num="14" id="2724" />
+<TGConnectingPoint num="15" id="2725" />
 <extraparam>
 <Line value="#PrivatePublicKeys InterfaceDevice privK pubK" />
 <Line value="#PrivatePublicKeys SmartCard privK pubK" />
@@ -9135,74 +9135,74 @@ the smart card and the terminal
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="2845" >
+<COMPONENT type="5003" id="2735" >
 <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="2837" />
-<TGConnectingPoint num="1" id="2838" />
-<TGConnectingPoint num="2" id="2839" />
-<TGConnectingPoint num="3" id="2840" />
-<TGConnectingPoint num="4" id="2841" />
-<TGConnectingPoint num="5" id="2842" />
-<TGConnectingPoint num="6" id="2843" />
-<TGConnectingPoint num="7" id="2844" />
+<TGConnectingPoint num="0" id="2727" />
+<TGConnectingPoint num="1" id="2728" />
+<TGConnectingPoint num="2" id="2729" />
+<TGConnectingPoint num="3" id="2730" />
+<TGConnectingPoint num="4" id="2731" />
+<TGConnectingPoint num="5" id="2732" />
+<TGConnectingPoint num="6" id="2733" />
+<TGConnectingPoint num="7" id="2734" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="2854" >
+<COMPONENT type="5003" id="2744" >
 <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="2846" />
-<TGConnectingPoint num="1" id="2847" />
-<TGConnectingPoint num="2" id="2848" />
-<TGConnectingPoint num="3" id="2849" />
-<TGConnectingPoint num="4" id="2850" />
-<TGConnectingPoint num="5" id="2851" />
-<TGConnectingPoint num="6" id="2852" />
-<TGConnectingPoint num="7" id="2853" />
+<TGConnectingPoint num="0" id="2736" />
+<TGConnectingPoint num="1" id="2737" />
+<TGConnectingPoint num="2" id="2738" />
+<TGConnectingPoint num="3" id="2739" />
+<TGConnectingPoint num="4" id="2740" />
+<TGConnectingPoint num="5" id="2741" />
+<TGConnectingPoint num="6" id="2742" />
+<TGConnectingPoint num="7" id="2743" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="2929" >
+<COMPONENT type="5000" id="2819" >
 <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="2905" />
-<TGConnectingPoint num="1" id="2906" />
-<TGConnectingPoint num="2" id="2907" />
-<TGConnectingPoint num="3" id="2908" />
-<TGConnectingPoint num="4" id="2909" />
-<TGConnectingPoint num="5" id="2910" />
-<TGConnectingPoint num="6" id="2911" />
-<TGConnectingPoint num="7" id="2912" />
-<TGConnectingPoint num="8" id="2913" />
-<TGConnectingPoint num="9" id="2914" />
-<TGConnectingPoint num="10" id="2915" />
-<TGConnectingPoint num="11" id="2916" />
-<TGConnectingPoint num="12" id="2917" />
-<TGConnectingPoint num="13" id="2918" />
-<TGConnectingPoint num="14" id="2919" />
-<TGConnectingPoint num="15" id="2920" />
-<TGConnectingPoint num="16" id="2921" />
-<TGConnectingPoint num="17" id="2922" />
-<TGConnectingPoint num="18" id="2923" />
-<TGConnectingPoint num="19" id="2924" />
-<TGConnectingPoint num="20" id="2925" />
-<TGConnectingPoint num="21" id="2926" />
-<TGConnectingPoint num="22" id="2927" />
-<TGConnectingPoint num="23" id="2928" />
+<TGConnectingPoint num="0" id="2795" />
+<TGConnectingPoint num="1" id="2796" />
+<TGConnectingPoint num="2" id="2797" />
+<TGConnectingPoint num="3" id="2798" />
+<TGConnectingPoint num="4" id="2799" />
+<TGConnectingPoint num="5" id="2800" />
+<TGConnectingPoint num="6" id="2801" />
+<TGConnectingPoint num="7" id="2802" />
+<TGConnectingPoint num="8" id="2803" />
+<TGConnectingPoint num="9" id="2804" />
+<TGConnectingPoint num="10" id="2805" />
+<TGConnectingPoint num="11" id="2806" />
+<TGConnectingPoint num="12" id="2807" />
+<TGConnectingPoint num="13" id="2808" />
+<TGConnectingPoint num="14" id="2809" />
+<TGConnectingPoint num="15" id="2810" />
+<TGConnectingPoint num="16" id="2811" />
+<TGConnectingPoint num="17" id="2812" />
+<TGConnectingPoint num="18" id="2813" />
+<TGConnectingPoint num="19" id="2814" />
+<TGConnectingPoint num="20" id="2815" />
+<TGConnectingPoint num="21" id="2816" />
+<TGConnectingPoint num="22" id="2817" />
+<TGConnectingPoint num="23" id="2818" />
 <extraparam>
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
@@ -9210,47 +9210,47 @@ the smart card and the terminal
 <Signal value="out chout(Message msg)" attached="true" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="5000" id="2879" >
-<father id="2929" 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 type="5000" id="2769" >
+<father id="2819" 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="299" minY="0" maxY="93" />
-<infoparam name="Block0" value="SmartCard" />
-<TGConnectingPoint num="0" id="2855" />
-<TGConnectingPoint num="1" id="2856" />
-<TGConnectingPoint num="2" id="2857" />
-<TGConnectingPoint num="3" id="2858" />
-<TGConnectingPoint num="4" id="2859" />
-<TGConnectingPoint num="5" id="2860" />
-<TGConnectingPoint num="6" id="2861" />
-<TGConnectingPoint num="7" id="2862" />
-<TGConnectingPoint num="8" id="2863" />
-<TGConnectingPoint num="9" id="2864" />
-<TGConnectingPoint num="10" id="2865" />
-<TGConnectingPoint num="11" id="2866" />
-<TGConnectingPoint num="12" id="2867" />
-<TGConnectingPoint num="13" id="2868" />
-<TGConnectingPoint num="14" id="2869" />
-<TGConnectingPoint num="15" id="2870" />
-<TGConnectingPoint num="16" id="2871" />
-<TGConnectingPoint num="17" id="2872" />
-<TGConnectingPoint num="18" id="2873" />
-<TGConnectingPoint num="19" id="2874" />
-<TGConnectingPoint num="20" id="2875" />
-<TGConnectingPoint num="21" id="2876" />
-<TGConnectingPoint num="22" id="2877" />
-<TGConnectingPoint num="23" id="2878" />
+<cdrectangleparam minX="0" maxX="223" minY="0" maxY="93" />
+<infoparam name="Block0" value="InterfaceDevice" />
+<TGConnectingPoint num="0" id="2745" />
+<TGConnectingPoint num="1" id="2746" />
+<TGConnectingPoint num="2" id="2747" />
+<TGConnectingPoint num="3" id="2748" />
+<TGConnectingPoint num="4" id="2749" />
+<TGConnectingPoint num="5" id="2750" />
+<TGConnectingPoint num="6" id="2751" />
+<TGConnectingPoint num="7" id="2752" />
+<TGConnectingPoint num="8" id="2753" />
+<TGConnectingPoint num="9" id="2754" />
+<TGConnectingPoint num="10" id="2755" />
+<TGConnectingPoint num="11" id="2756" />
+<TGConnectingPoint num="12" id="2757" />
+<TGConnectingPoint num="13" id="2758" />
+<TGConnectingPoint num="14" id="2759" />
+<TGConnectingPoint num="15" id="2760" />
+<TGConnectingPoint num="16" id="2761" />
+<TGConnectingPoint num="17" id="2762" />
+<TGConnectingPoint num="18" id="2763" />
+<TGConnectingPoint num="19" id="2764" />
+<TGConnectingPoint num="20" id="2765" />
+<TGConnectingPoint num="21" id="2766" />
+<TGConnectingPoint num="22" id="2767" />
+<TGConnectingPoint num="23" id="2768" />
 <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="m2" 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="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="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)" />
@@ -9275,47 +9275,47 @@ the smart card and the terminal
 <Method value="Message hash(Message msg)" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="2904" >
-<father id="2929" 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="5000" id="2794" >
+<father id="2819" 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="223" minY="0" maxY="93" />
-<infoparam name="Block0" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="2880" />
-<TGConnectingPoint num="1" id="2881" />
-<TGConnectingPoint num="2" id="2882" />
-<TGConnectingPoint num="3" id="2883" />
-<TGConnectingPoint num="4" id="2884" />
-<TGConnectingPoint num="5" id="2885" />
-<TGConnectingPoint num="6" id="2886" />
-<TGConnectingPoint num="7" id="2887" />
-<TGConnectingPoint num="8" id="2888" />
-<TGConnectingPoint num="9" id="2889" />
-<TGConnectingPoint num="10" id="2890" />
-<TGConnectingPoint num="11" id="2891" />
-<TGConnectingPoint num="12" id="2892" />
-<TGConnectingPoint num="13" id="2893" />
-<TGConnectingPoint num="14" id="2894" />
-<TGConnectingPoint num="15" id="2895" />
-<TGConnectingPoint num="16" id="2896" />
-<TGConnectingPoint num="17" id="2897" />
-<TGConnectingPoint num="18" id="2898" />
-<TGConnectingPoint num="19" id="2899" />
-<TGConnectingPoint num="20" id="2900" />
-<TGConnectingPoint num="21" id="2901" />
-<TGConnectingPoint num="22" id="2902" />
-<TGConnectingPoint num="23" id="2903" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="93" />
+<infoparam name="Block0" value="SmartCard" />
+<TGConnectingPoint num="0" id="2770" />
+<TGConnectingPoint num="1" id="2771" />
+<TGConnectingPoint num="2" id="2772" />
+<TGConnectingPoint num="3" id="2773" />
+<TGConnectingPoint num="4" id="2774" />
+<TGConnectingPoint num="5" id="2775" />
+<TGConnectingPoint num="6" id="2776" />
+<TGConnectingPoint num="7" id="2777" />
+<TGConnectingPoint num="8" id="2778" />
+<TGConnectingPoint num="9" id="2779" />
+<TGConnectingPoint num="10" id="2780" />
+<TGConnectingPoint num="11" id="2781" />
+<TGConnectingPoint num="12" id="2782" />
+<TGConnectingPoint num="13" id="2783" />
+<TGConnectingPoint num="14" id="2784" />
+<TGConnectingPoint num="15" id="2785" />
+<TGConnectingPoint num="16" id="2786" />
+<TGConnectingPoint num="17" id="2787" />
+<TGConnectingPoint num="18" id="2788" />
+<TGConnectingPoint num="19" id="2789" />
+<TGConnectingPoint num="20" id="2790" />
+<TGConnectingPoint num="21" id="2791" />
+<TGConnectingPoint num="22" id="2792" />
+<TGConnectingPoint num="23" id="2793" />
 <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="m2" 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="receivedData" value="" type="8" typeOther="" />
 <Attribute access="0" id="privK" value="" type="5" typeOther="Key" />
-<Attribute access="0" id="bobPubK" 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)" />
@@ -9345,39 +9345,39 @@ the smart card and the terminal
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="System" minX="10" maxX="1400" minY="10" maxY="900" >
-<COMPONENT type="5100" id="2931" >
+<COMPONENT type="5100" id="2821" >
 <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="2930" />
+<TGConnectingPoint num="0" id="2820" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="2938" >
-<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="2937" />
-<P1  x="411" y="567" id="3141" />
-<P2  x="420" y="613" id="3100" />
+<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="2828" >
+<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="2827" />
+<P1  x="418" y="632" id="2995" />
+<P2  x="422" y="677" id="3031" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2936" >
-<father id="2938" num="0" />
-<cdparam x="453" y="610" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2826" >
+<father id="2828" 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" />
 <enabled value="true" />
 <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="2932" />
-<TGConnectingPoint num="1" id="2933" />
-<TGConnectingPoint num="2" id="2934" />
-<TGConnectingPoint num="3" id="2935" />
+<TGConnectingPoint num="0" id="2822" />
+<TGConnectingPoint num="1" id="2823" />
+<TGConnectingPoint num="2" id="2824" />
+<TGConnectingPoint num="3" id="2825" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9385,29 +9385,30 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
+<actions value="receivedData = m.data" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2945" >
-<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="2944" />
-<P1  x="420" y="663" id="3105" />
-<P2  x="438" y="703" id="3151" />
+<CONNECTOR type="5102" id="2835" >
+<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="2834" />
+<P1  x="409" y="526" id="3077" />
+<P2  x="418" y="592" id="2990" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2943" >
-<father id="2945" num="0" />
-<cdparam x="453" y="697" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2833" >
+<father id="2835" 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" />
 <enabled value="true" />
 <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="2939" />
-<TGConnectingPoint num="1" id="2940" />
-<TGConnectingPoint num="2" id="2941" />
-<TGConnectingPoint num="3" id="2942" />
+<TGConnectingPoint num="0" id="2829" />
+<TGConnectingPoint num="1" id="2830" />
+<TGConnectingPoint num="2" id="2831" />
+<TGConnectingPoint num="3" id="2832" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9415,29 +9416,31 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
+<actions value="sk = DH(alicePubK, privK)" enabled="true"/>
+<actions value="m = sdecrypt(m2, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2952" >
-<cdparam x="411" y="508" />
+<CONNECTOR type="5102" id="2842" >
+<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 state0 to stop state" value="null" />
-<TGConnectingPoint num="0" id="2951" />
-<P1  x="411" y="508" id="3159" />
-<P2  x="411" y="537" id="3140" />
+<infoparam name="connector from Send signal to state0" value="null" />
+<TGConnectingPoint num="0" id="2841" />
+<P1  x="408" y="454" id="3113" />
+<P2  x="409" y="486" id="3072" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2950" >
-<father id="2952" num="0" />
-<cdparam x="411" y="548" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2840" >
+<father id="2842" 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" />
 <enabled value="true" />
 <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="2946" />
-<TGConnectingPoint num="1" id="2947" />
-<TGConnectingPoint num="2" id="2948" />
-<TGConnectingPoint num="3" id="2949" />
+<TGConnectingPoint num="0" id="2836" />
+<TGConnectingPoint num="1" id="2837" />
+<TGConnectingPoint num="2" id="2838" />
+<TGConnectingPoint num="3" id="2839" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9448,26 +9451,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2959" >
-<cdparam x="411" y="389" />
+<CONNECTOR type="5102" id="2849" >
+<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 state0" value="null" />
-<TGConnectingPoint num="0" id="2958" />
-<P1  x="411" y="389" id="3200" />
-<P2  x="411" y="468" id="3154" />
+<infoparam name="connector from state0 to Send signal" value="null" />
+<TGConnectingPoint num="0" id="2848" />
+<P1  x="408" y="394" id="3129" />
+<P2  x="408" y="424" id="3112" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2957" >
-<father id="2959" num="0" />
-<cdparam x="439" y="414" />
-<sizeparam width="148" height="45" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2847" >
+<father id="2849" 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" />
 <enabled value="true" />
 <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="2953" />
-<TGConnectingPoint num="1" id="2954" />
-<TGConnectingPoint num="2" id="2955" />
-<TGConnectingPoint num="3" id="2956" />
+<TGConnectingPoint num="0" id="2843" />
+<TGConnectingPoint num="1" id="2844" />
+<TGConnectingPoint num="2" id="2845" />
+<TGConnectingPoint num="3" id="2846" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9475,32 +9478,29 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="sk = DH(bobPubK, privK)" enabled="true"/>
-<actions value="m.data = secretData" enabled="true"/>
-<actions value="m1 = sencrypt(m, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2966" >
+<CONNECTOR type="5102" id="2856" >
 <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="2965" />
-<P1  x="407" y="70" id="3235" />
-<P2  x="405" y="91" id="3059" />
+<TGConnectingPoint num="0" id="2855" />
+<P1  x="407" y="70" id="3164" />
+<P2  x="407" y="95" id="2949" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2964" >
-<father id="2966" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2854" >
+<father id="2856" 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" />
 <enabled value="true" />
 <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="2960" />
-<TGConnectingPoint num="1" id="2961" />
-<TGConnectingPoint num="2" id="2962" />
-<TGConnectingPoint num="3" id="2963" />
+<TGConnectingPoint num="0" id="2850" />
+<TGConnectingPoint num="1" id="2851" />
+<TGConnectingPoint num="2" id="2852" />
+<TGConnectingPoint num="3" id="2853" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9511,26 +9511,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2973" >
-<cdparam x="392" y="122" />
+<CONNECTOR type="5102" id="2863" >
+<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="2972" />
-<P1  x="392" y="122" id="3087" />
-<P2  x="392" y="150" id="3047" />
+<TGConnectingPoint num="0" id="2862" />
+<P1  x="407" y="127" id="2954" />
+<P2  x="407" y="153" id="2937" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2971" >
-<father id="2973" num="0" />
-<cdparam x="411" y="142" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2861" >
+<father id="2863" 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" />
 <enabled value="true" />
 <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="2967" />
-<TGConnectingPoint num="1" id="2968" />
-<TGConnectingPoint num="2" id="2969" />
-<TGConnectingPoint num="3" id="2970" />
+<TGConnectingPoint num="0" id="2857" />
+<TGConnectingPoint num="1" id="2858" />
+<TGConnectingPoint num="2" id="2859" />
+<TGConnectingPoint num="3" id="2860" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9542,26 +9542,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2980" >
-<cdparam x="391" y="166" />
+<CONNECTOR type="5102" id="2870" >
+<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="2979" />
-<P1  x="392" y="180" id="3048" />
-<P2  x="380" y="224" id="3023" />
+<TGConnectingPoint num="0" id="2869" />
+<P1  x="407" y="183" id="2938" />
+<P2  x="408" y="213" id="2897" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2978" >
-<father id="2980" num="0" />
-<cdparam x="390" y="188" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2868" >
+<father id="2870" 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" />
 <enabled value="true" />
 <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="2974" />
-<TGConnectingPoint num="1" id="2975" />
-<TGConnectingPoint num="2" id="2976" />
-<TGConnectingPoint num="3" id="2977" />
+<TGConnectingPoint num="0" id="2864" />
+<TGConnectingPoint num="1" id="2865" />
+<TGConnectingPoint num="2" id="2866" />
+<TGConnectingPoint num="3" id="2867" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9572,26 +9572,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2987" >
-<cdparam x="380" y="258" />
+<CONNECTOR type="5102" id="2877" >
+<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="2986" />
-<P1  x="380" y="258" id="3035" />
-<P2  x="386" y="287" id="2995" />
+<TGConnectingPoint num="0" id="2876" />
+<P1  x="408" y="251" id="2902" />
+<P2  x="406" y="285" id="2885" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2985" >
-<father id="2987" num="0" />
-<cdparam x="377" y="267" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2875" >
+<father id="2877" 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" />
 <enabled value="true" />
 <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="2981" />
-<TGConnectingPoint num="1" id="2982" />
-<TGConnectingPoint num="2" id="2983" />
-<TGConnectingPoint num="3" id="2984" />
+<TGConnectingPoint num="0" id="2871" />
+<TGConnectingPoint num="1" id="2872" />
+<TGConnectingPoint num="2" id="2873" />
+<TGConnectingPoint num="3" id="2874" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9602,26 +9602,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="2994" >
-<cdparam x="375" y="306" />
+<CONNECTOR type="5102" id="2884" >
+<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="2993" />
-<P1  x="386" y="317" id="2996" />
-<P2  x="377" y="349" id="3202" />
+<TGConnectingPoint num="0" id="2883" />
+<P1  x="406" y="315" id="2886" />
+<P2  x="408" y="354" id="3124" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="2992" >
-<father id="2994" num="0" />
-<cdparam x="396" y="336" />
-<sizeparam width="142" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="2882" >
+<father id="2884" 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" />
 <enabled value="true" />
 <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="2988" />
-<TGConnectingPoint num="1" id="2989" />
-<TGConnectingPoint num="2" id="2990" />
-<TGConnectingPoint num="3" id="2991" />
+<TGConnectingPoint num="0" id="2878" />
+<TGConnectingPoint num="1" id="2879" />
+<TGConnectingPoint num="2" id="2880" />
+<TGConnectingPoint num="3" id="2881" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9629,364 +9629,406 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="bobPubK.data = m.data" enabled="true"/>
+<actions value="alicePubK.data = m.data" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="3005" >
-<cdparam x="356" y="292" />
+<COMPONENT type="5104" id="2895" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="chin(m)" />
-<TGConnectingPoint num="0" id="2995" />
-<TGConnectingPoint num="1" id="2996" />
-<TGConnectingPoint num="2" id="2997" />
-<TGConnectingPoint num="3" id="2998" />
-<TGConnectingPoint num="4" id="2999" />
-<TGConnectingPoint num="5" id="3000" />
-<TGConnectingPoint num="6" id="3001" />
-<TGConnectingPoint num="7" id="3002" />
-<TGConnectingPoint num="8" id="3003" />
-<TGConnectingPoint num="9" id="3004" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3046" >
-<cdparam x="338" y="224" />
-<sizeparam width="114" height="34" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="2885" />
+<TGConnectingPoint num="1" id="2886" />
+<TGConnectingPoint num="2" id="2887" />
+<TGConnectingPoint num="3" id="2888" />
+<TGConnectingPoint num="4" id="2889" />
+<TGConnectingPoint num="5" id="2890" />
+<TGConnectingPoint num="6" id="2891" />
+<TGConnectingPoint num="7" id="2892" />
+<TGConnectingPoint num="8" id="2893" />
+<TGConnectingPoint num="9" id="2894" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2936" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="State" value="receivingPubK" />
-<TGConnectingPoint num="0" id="3006" />
-<TGConnectingPoint num="1" id="3007" />
-<TGConnectingPoint num="2" id="3008" />
-<TGConnectingPoint num="3" id="3009" />
-<TGConnectingPoint num="4" id="3010" />
-<TGConnectingPoint num="5" id="3011" />
-<TGConnectingPoint num="6" id="3012" />
-<TGConnectingPoint num="7" id="3013" />
-<TGConnectingPoint num="8" id="3014" />
-<TGConnectingPoint num="9" id="3015" />
-<TGConnectingPoint num="10" id="3016" />
-<TGConnectingPoint num="11" id="3017" />
-<TGConnectingPoint num="12" id="3018" />
-<TGConnectingPoint num="13" id="3019" />
-<TGConnectingPoint num="14" id="3020" />
-<TGConnectingPoint num="15" id="3021" />
-<TGConnectingPoint num="16" id="3022" />
-<TGConnectingPoint num="17" id="3023" />
-<TGConnectingPoint num="18" id="3024" />
-<TGConnectingPoint num="19" id="3025" />
-<TGConnectingPoint num="20" id="3026" />
-<TGConnectingPoint num="21" id="3027" />
-<TGConnectingPoint num="22" id="3028" />
-<TGConnectingPoint num="23" id="3029" />
-<TGConnectingPoint num="24" id="3030" />
-<TGConnectingPoint num="25" id="3031" />
-<TGConnectingPoint num="26" id="3032" />
-<TGConnectingPoint num="27" id="3033" />
-<TGConnectingPoint num="28" id="3034" />
-<TGConnectingPoint num="29" id="3035" />
-<TGConnectingPoint num="30" id="3036" />
-<TGConnectingPoint num="31" id="3037" />
-<TGConnectingPoint num="32" id="3038" />
-<TGConnectingPoint num="33" id="3039" />
-<TGConnectingPoint num="34" id="3040" />
-<TGConnectingPoint num="35" id="3041" />
-<TGConnectingPoint num="36" id="3042" />
-<TGConnectingPoint num="37" id="3043" />
-<TGConnectingPoint num="38" id="3044" />
-<TGConnectingPoint num="39" id="3045" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="3057" >
-<cdparam x="362" y="155" />
+<TGConnectingPoint num="0" id="2896" />
+<TGConnectingPoint num="1" id="2897" />
+<TGConnectingPoint num="2" id="2898" />
+<TGConnectingPoint num="3" id="2899" />
+<TGConnectingPoint num="4" id="2900" />
+<TGConnectingPoint num="5" id="2901" />
+<TGConnectingPoint num="6" id="2902" />
+<TGConnectingPoint num="7" id="2903" />
+<TGConnectingPoint num="8" id="2904" />
+<TGConnectingPoint num="9" id="2905" />
+<TGConnectingPoint num="10" id="2906" />
+<TGConnectingPoint num="11" id="2907" />
+<TGConnectingPoint num="12" id="2908" />
+<TGConnectingPoint num="13" id="2909" />
+<TGConnectingPoint num="14" id="2910" />
+<TGConnectingPoint num="15" id="2911" />
+<TGConnectingPoint num="16" id="2912" />
+<TGConnectingPoint num="17" id="2913" />
+<TGConnectingPoint num="18" id="2914" />
+<TGConnectingPoint num="19" id="2915" />
+<TGConnectingPoint num="20" id="2916" />
+<TGConnectingPoint num="21" id="2917" />
+<TGConnectingPoint num="22" id="2918" />
+<TGConnectingPoint num="23" id="2919" />
+<TGConnectingPoint num="24" id="2920" />
+<TGConnectingPoint num="25" id="2921" />
+<TGConnectingPoint num="26" id="2922" />
+<TGConnectingPoint num="27" id="2923" />
+<TGConnectingPoint num="28" id="2924" />
+<TGConnectingPoint num="29" id="2925" />
+<TGConnectingPoint num="30" id="2926" />
+<TGConnectingPoint num="31" id="2927" />
+<TGConnectingPoint num="32" id="2928" />
+<TGConnectingPoint num="33" id="2929" />
+<TGConnectingPoint num="34" id="2930" />
+<TGConnectingPoint num="35" id="2931" />
+<TGConnectingPoint num="36" id="2932" />
+<TGConnectingPoint num="37" id="2933" />
+<TGConnectingPoint num="38" id="2934" />
+<TGConnectingPoint num="39" id="2935" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="2947" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="chout(m)" />
-<TGConnectingPoint num="0" id="3047" />
-<TGConnectingPoint num="1" id="3048" />
-<TGConnectingPoint num="2" id="3049" />
-<TGConnectingPoint num="3" id="3050" />
-<TGConnectingPoint num="4" id="3051" />
-<TGConnectingPoint num="5" id="3052" />
-<TGConnectingPoint num="6" id="3053" />
-<TGConnectingPoint num="7" id="3054" />
-<TGConnectingPoint num="8" id="3055" />
-<TGConnectingPoint num="9" id="3056" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3098" >
-<cdparam x="355" y="91" />
-<sizeparam width="100" height="31" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="2937" />
+<TGConnectingPoint num="1" id="2938" />
+<TGConnectingPoint num="2" id="2939" />
+<TGConnectingPoint num="3" id="2940" />
+<TGConnectingPoint num="4" id="2941" />
+<TGConnectingPoint num="5" id="2942" />
+<TGConnectingPoint num="6" id="2943" />
+<TGConnectingPoint num="7" id="2944" />
+<TGConnectingPoint num="8" id="2945" />
+<TGConnectingPoint num="9" id="2946" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="2988" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="State" value="sendingPubK" />
-<TGConnectingPoint num="0" id="3058" />
-<TGConnectingPoint num="1" id="3059" />
-<TGConnectingPoint num="2" id="3060" />
-<TGConnectingPoint num="3" id="3061" />
-<TGConnectingPoint num="4" id="3062" />
-<TGConnectingPoint num="5" id="3063" />
-<TGConnectingPoint num="6" id="3064" />
-<TGConnectingPoint num="7" id="3065" />
-<TGConnectingPoint num="8" id="3066" />
-<TGConnectingPoint num="9" id="3067" />
-<TGConnectingPoint num="10" id="3068" />
-<TGConnectingPoint num="11" id="3069" />
-<TGConnectingPoint num="12" id="3070" />
-<TGConnectingPoint num="13" id="3071" />
-<TGConnectingPoint num="14" id="3072" />
-<TGConnectingPoint num="15" id="3073" />
-<TGConnectingPoint num="16" id="3074" />
-<TGConnectingPoint num="17" id="3075" />
-<TGConnectingPoint num="18" id="3076" />
-<TGConnectingPoint num="19" id="3077" />
-<TGConnectingPoint num="20" id="3078" />
-<TGConnectingPoint num="21" id="3079" />
-<TGConnectingPoint num="22" id="3080" />
-<TGConnectingPoint num="23" id="3081" />
-<TGConnectingPoint num="24" id="3082" />
-<TGConnectingPoint num="25" id="3083" />
-<TGConnectingPoint num="26" id="3084" />
-<TGConnectingPoint num="27" id="3085" />
-<TGConnectingPoint num="28" id="3086" />
-<TGConnectingPoint num="29" id="3087" />
-<TGConnectingPoint num="30" id="3088" />
-<TGConnectingPoint num="31" id="3089" />
-<TGConnectingPoint num="32" id="3090" />
-<TGConnectingPoint num="33" id="3091" />
-<TGConnectingPoint num="34" id="3092" />
-<TGConnectingPoint num="35" id="3093" />
-<TGConnectingPoint num="36" id="3094" />
-<TGConnectingPoint num="37" id="3095" />
-<TGConnectingPoint num="38" id="3096" />
-<TGConnectingPoint num="39" id="3097" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3139" >
-<cdparam x="370" y="613" />
-<sizeparam width="100" height="50" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="2948" />
+<TGConnectingPoint num="1" id="2949" />
+<TGConnectingPoint num="2" id="2950" />
+<TGConnectingPoint num="3" id="2951" />
+<TGConnectingPoint num="4" id="2952" />
+<TGConnectingPoint num="5" id="2953" />
+<TGConnectingPoint num="6" id="2954" />
+<TGConnectingPoint num="7" id="2955" />
+<TGConnectingPoint num="8" id="2956" />
+<TGConnectingPoint num="9" id="2957" />
+<TGConnectingPoint num="10" id="2958" />
+<TGConnectingPoint num="11" id="2959" />
+<TGConnectingPoint num="12" id="2960" />
+<TGConnectingPoint num="13" id="2961" />
+<TGConnectingPoint num="14" id="2962" />
+<TGConnectingPoint num="15" id="2963" />
+<TGConnectingPoint num="16" id="2964" />
+<TGConnectingPoint num="17" id="2965" />
+<TGConnectingPoint num="18" id="2966" />
+<TGConnectingPoint num="19" id="2967" />
+<TGConnectingPoint num="20" id="2968" />
+<TGConnectingPoint num="21" id="2969" />
+<TGConnectingPoint num="22" id="2970" />
+<TGConnectingPoint num="23" id="2971" />
+<TGConnectingPoint num="24" id="2972" />
+<TGConnectingPoint num="25" id="2973" />
+<TGConnectingPoint num="26" id="2974" />
+<TGConnectingPoint num="27" id="2975" />
+<TGConnectingPoint num="28" id="2976" />
+<TGConnectingPoint num="29" id="2977" />
+<TGConnectingPoint num="30" id="2978" />
+<TGConnectingPoint num="31" id="2979" />
+<TGConnectingPoint num="32" id="2980" />
+<TGConnectingPoint num="33" id="2981" />
+<TGConnectingPoint num="34" id="2982" />
+<TGConnectingPoint num="35" id="2983" />
+<TGConnectingPoint num="36" id="2984" />
+<TGConnectingPoint num="37" id="2985" />
+<TGConnectingPoint num="38" id="2986" />
+<TGConnectingPoint num="39" id="2987" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3029" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="State" value="beforeFinish" />
-<TGConnectingPoint num="0" id="3099" />
-<TGConnectingPoint num="1" id="3100" />
-<TGConnectingPoint num="2" id="3101" />
-<TGConnectingPoint num="3" id="3102" />
-<TGConnectingPoint num="4" id="3103" />
-<TGConnectingPoint num="5" id="3104" />
-<TGConnectingPoint num="6" id="3105" />
-<TGConnectingPoint num="7" id="3106" />
-<TGConnectingPoint num="8" id="3107" />
-<TGConnectingPoint num="9" id="3108" />
-<TGConnectingPoint num="10" id="3109" />
-<TGConnectingPoint num="11" id="3110" />
-<TGConnectingPoint num="12" id="3111" />
-<TGConnectingPoint num="13" id="3112" />
-<TGConnectingPoint num="14" id="3113" />
-<TGConnectingPoint num="15" id="3114" />
-<TGConnectingPoint num="16" id="3115" />
-<TGConnectingPoint num="17" id="3116" />
-<TGConnectingPoint num="18" id="3117" />
-<TGConnectingPoint num="19" id="3118" />
-<TGConnectingPoint num="20" id="3119" />
-<TGConnectingPoint num="21" id="3120" />
-<TGConnectingPoint num="22" id="3121" />
-<TGConnectingPoint num="23" id="3122" />
-<TGConnectingPoint num="24" id="3123" />
-<TGConnectingPoint num="25" id="3124" />
-<TGConnectingPoint num="26" id="3125" />
-<TGConnectingPoint num="27" id="3126" />
-<TGConnectingPoint num="28" id="3127" />
-<TGConnectingPoint num="29" id="3128" />
-<TGConnectingPoint num="30" id="3129" />
-<TGConnectingPoint num="31" id="3130" />
-<TGConnectingPoint num="32" id="3131" />
-<TGConnectingPoint num="33" id="3132" />
-<TGConnectingPoint num="34" id="3133" />
-<TGConnectingPoint num="35" id="3134" />
-<TGConnectingPoint num="36" id="3135" />
-<TGConnectingPoint num="37" id="3136" />
-<TGConnectingPoint num="38" id="3137" />
-<TGConnectingPoint num="39" id="3138" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="3150" >
-<cdparam x="377" y="542" />
-<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="messageDecrypted" />
+<TGConnectingPoint num="0" id="2989" />
+<TGConnectingPoint num="1" id="2990" />
+<TGConnectingPoint num="2" id="2991" />
+<TGConnectingPoint num="3" id="2992" />
+<TGConnectingPoint num="4" id="2993" />
+<TGConnectingPoint num="5" id="2994" />
+<TGConnectingPoint num="6" id="2995" />
+<TGConnectingPoint num="7" id="2996" />
+<TGConnectingPoint num="8" id="2997" />
+<TGConnectingPoint num="9" id="2998" />
+<TGConnectingPoint num="10" id="2999" />
+<TGConnectingPoint num="11" id="3000" />
+<TGConnectingPoint num="12" id="3001" />
+<TGConnectingPoint num="13" id="3002" />
+<TGConnectingPoint num="14" id="3003" />
+<TGConnectingPoint num="15" id="3004" />
+<TGConnectingPoint num="16" id="3005" />
+<TGConnectingPoint num="17" id="3006" />
+<TGConnectingPoint num="18" id="3007" />
+<TGConnectingPoint num="19" id="3008" />
+<TGConnectingPoint num="20" id="3009" />
+<TGConnectingPoint num="21" id="3010" />
+<TGConnectingPoint num="22" id="3011" />
+<TGConnectingPoint num="23" id="3012" />
+<TGConnectingPoint num="24" id="3013" />
+<TGConnectingPoint num="25" id="3014" />
+<TGConnectingPoint num="26" id="3015" />
+<TGConnectingPoint num="27" id="3016" />
+<TGConnectingPoint num="28" id="3017" />
+<TGConnectingPoint num="29" id="3018" />
+<TGConnectingPoint num="30" id="3019" />
+<TGConnectingPoint num="31" id="3020" />
+<TGConnectingPoint num="32" id="3021" />
+<TGConnectingPoint num="33" id="3022" />
+<TGConnectingPoint num="34" id="3023" />
+<TGConnectingPoint num="35" id="3024" />
+<TGConnectingPoint num="36" id="3025" />
+<TGConnectingPoint num="37" id="3026" />
+<TGConnectingPoint num="38" id="3027" />
+<TGConnectingPoint num="39" id="3028" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3070" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chout(m1)" />
-<TGConnectingPoint num="0" id="3140" />
-<TGConnectingPoint num="1" id="3141" />
-<TGConnectingPoint num="2" id="3142" />
-<TGConnectingPoint num="3" id="3143" />
-<TGConnectingPoint num="4" id="3144" />
-<TGConnectingPoint num="5" id="3145" />
-<TGConnectingPoint num="6" id="3146" />
-<TGConnectingPoint num="7" id="3147" />
-<TGConnectingPoint num="8" id="3148" />
-<TGConnectingPoint num="9" id="3149" />
-</COMPONENT>
-
-<COMPONENT type="5101" id="3152" >
-<cdparam x="428" y="708" />
-<sizeparam width="20" height="20" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="SecretDataReceived" />
+<TGConnectingPoint num="0" id="3030" />
+<TGConnectingPoint num="1" id="3031" />
+<TGConnectingPoint num="2" id="3032" />
+<TGConnectingPoint num="3" id="3033" />
+<TGConnectingPoint num="4" id="3034" />
+<TGConnectingPoint num="5" id="3035" />
+<TGConnectingPoint num="6" id="3036" />
+<TGConnectingPoint num="7" id="3037" />
+<TGConnectingPoint num="8" id="3038" />
+<TGConnectingPoint num="9" id="3039" />
+<TGConnectingPoint num="10" id="3040" />
+<TGConnectingPoint num="11" id="3041" />
+<TGConnectingPoint num="12" id="3042" />
+<TGConnectingPoint num="13" id="3043" />
+<TGConnectingPoint num="14" id="3044" />
+<TGConnectingPoint num="15" id="3045" />
+<TGConnectingPoint num="16" id="3046" />
+<TGConnectingPoint num="17" id="3047" />
+<TGConnectingPoint num="18" id="3048" />
+<TGConnectingPoint num="19" id="3049" />
+<TGConnectingPoint num="20" id="3050" />
+<TGConnectingPoint num="21" id="3051" />
+<TGConnectingPoint num="22" id="3052" />
+<TGConnectingPoint num="23" id="3053" />
+<TGConnectingPoint num="24" id="3054" />
+<TGConnectingPoint num="25" id="3055" />
+<TGConnectingPoint num="26" id="3056" />
+<TGConnectingPoint num="27" id="3057" />
+<TGConnectingPoint num="28" id="3058" />
+<TGConnectingPoint num="29" id="3059" />
+<TGConnectingPoint num="30" id="3060" />
+<TGConnectingPoint num="31" id="3061" />
+<TGConnectingPoint num="32" id="3062" />
+<TGConnectingPoint num="33" id="3063" />
+<TGConnectingPoint num="34" id="3064" />
+<TGConnectingPoint num="35" id="3065" />
+<TGConnectingPoint num="36" id="3066" />
+<TGConnectingPoint num="37" id="3067" />
+<TGConnectingPoint num="38" id="3068" />
+<TGConnectingPoint num="39" id="3069" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3111" >
+<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" />
+<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="stop state" value="null" />
-<TGConnectingPoint num="0" id="3151" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3193" >
-<cdparam x="340" y="468" />
-<sizeparam width="143" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="messageDecrypt" />
+<TGConnectingPoint num="0" id="3071" />
+<TGConnectingPoint num="1" id="3072" />
+<TGConnectingPoint num="2" id="3073" />
+<TGConnectingPoint num="3" id="3074" />
+<TGConnectingPoint num="4" id="3075" />
+<TGConnectingPoint num="5" id="3076" />
+<TGConnectingPoint num="6" id="3077" />
+<TGConnectingPoint num="7" id="3078" />
+<TGConnectingPoint num="8" id="3079" />
+<TGConnectingPoint num="9" id="3080" />
+<TGConnectingPoint num="10" id="3081" />
+<TGConnectingPoint num="11" id="3082" />
+<TGConnectingPoint num="12" id="3083" />
+<TGConnectingPoint num="13" id="3084" />
+<TGConnectingPoint num="14" id="3085" />
+<TGConnectingPoint num="15" id="3086" />
+<TGConnectingPoint num="16" id="3087" />
+<TGConnectingPoint num="17" id="3088" />
+<TGConnectingPoint num="18" id="3089" />
+<TGConnectingPoint num="19" id="3090" />
+<TGConnectingPoint num="20" id="3091" />
+<TGConnectingPoint num="21" id="3092" />
+<TGConnectingPoint num="22" id="3093" />
+<TGConnectingPoint num="23" id="3094" />
+<TGConnectingPoint num="24" id="3095" />
+<TGConnectingPoint num="25" id="3096" />
+<TGConnectingPoint num="26" id="3097" />
+<TGConnectingPoint num="27" id="3098" />
+<TGConnectingPoint num="28" id="3099" />
+<TGConnectingPoint num="29" id="3100" />
+<TGConnectingPoint num="30" id="3101" />
+<TGConnectingPoint num="31" id="3102" />
+<TGConnectingPoint num="32" id="3103" />
+<TGConnectingPoint num="33" id="3104" />
+<TGConnectingPoint num="34" id="3105" />
+<TGConnectingPoint num="35" id="3106" />
+<TGConnectingPoint num="36" id="3107" />
+<TGConnectingPoint num="37" id="3108" />
+<TGConnectingPoint num="38" id="3109" />
+<TGConnectingPoint num="39" id="3110" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5104" id="3122" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="sendingMessage" />
-<TGConnectingPoint num="0" id="3153" />
-<TGConnectingPoint num="1" id="3154" />
-<TGConnectingPoint num="2" id="3155" />
-<TGConnectingPoint num="3" id="3156" />
-<TGConnectingPoint num="4" id="3157" />
-<TGConnectingPoint num="5" id="3158" />
-<TGConnectingPoint num="6" id="3159" />
-<TGConnectingPoint num="7" id="3160" />
-<TGConnectingPoint num="8" id="3161" />
-<TGConnectingPoint num="9" id="3162" />
-<TGConnectingPoint num="10" id="3163" />
-<TGConnectingPoint num="11" id="3164" />
-<TGConnectingPoint num="12" id="3165" />
-<TGConnectingPoint num="13" id="3166" />
-<TGConnectingPoint num="14" id="3167" />
-<TGConnectingPoint num="15" id="3168" />
-<TGConnectingPoint num="16" id="3169" />
-<TGConnectingPoint num="17" id="3170" />
-<TGConnectingPoint num="18" id="3171" />
-<TGConnectingPoint num="19" id="3172" />
-<TGConnectingPoint num="20" id="3173" />
-<TGConnectingPoint num="21" id="3174" />
-<TGConnectingPoint num="22" id="3175" />
-<TGConnectingPoint num="23" id="3176" />
-<TGConnectingPoint num="24" id="3177" />
-<TGConnectingPoint num="25" id="3178" />
-<TGConnectingPoint num="26" id="3179" />
-<TGConnectingPoint num="27" id="3180" />
-<TGConnectingPoint num="28" id="3181" />
-<TGConnectingPoint num="29" id="3182" />
-<TGConnectingPoint num="30" id="3183" />
-<TGConnectingPoint num="31" id="3184" />
-<TGConnectingPoint num="32" id="3185" />
-<TGConnectingPoint num="33" id="3186" />
-<TGConnectingPoint num="34" id="3187" />
-<TGConnectingPoint num="35" id="3188" />
-<TGConnectingPoint num="36" id="3189" />
-<TGConnectingPoint num="37" id="3190" />
-<TGConnectingPoint num="38" id="3191" />
-<TGConnectingPoint num="39" id="3192" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3234" >
-<cdparam x="344" y="349" />
-<sizeparam width="134" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="Send signal" value="chin(m2)" />
+<TGConnectingPoint num="0" id="3112" />
+<TGConnectingPoint num="1" id="3113" />
+<TGConnectingPoint num="2" id="3114" />
+<TGConnectingPoint num="3" id="3115" />
+<TGConnectingPoint num="4" id="3116" />
+<TGConnectingPoint num="5" id="3117" />
+<TGConnectingPoint num="6" id="3118" />
+<TGConnectingPoint num="7" id="3119" />
+<TGConnectingPoint num="8" id="3120" />
+<TGConnectingPoint num="9" id="3121" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3163" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="makingMessage" />
-<TGConnectingPoint num="0" id="3194" />
-<TGConnectingPoint num="1" id="3195" />
-<TGConnectingPoint num="2" id="3196" />
-<TGConnectingPoint num="3" id="3197" />
-<TGConnectingPoint num="4" id="3198" />
-<TGConnectingPoint num="5" id="3199" />
-<TGConnectingPoint num="6" id="3200" />
-<TGConnectingPoint num="7" id="3201" />
-<TGConnectingPoint num="8" id="3202" />
-<TGConnectingPoint num="9" id="3203" />
-<TGConnectingPoint num="10" id="3204" />
-<TGConnectingPoint num="11" id="3205" />
-<TGConnectingPoint num="12" id="3206" />
-<TGConnectingPoint num="13" id="3207" />
-<TGConnectingPoint num="14" id="3208" />
-<TGConnectingPoint num="15" id="3209" />
-<TGConnectingPoint num="16" id="3210" />
-<TGConnectingPoint num="17" id="3211" />
-<TGConnectingPoint num="18" id="3212" />
-<TGConnectingPoint num="19" id="3213" />
-<TGConnectingPoint num="20" id="3214" />
-<TGConnectingPoint num="21" id="3215" />
-<TGConnectingPoint num="22" id="3216" />
-<TGConnectingPoint num="23" id="3217" />
-<TGConnectingPoint num="24" id="3218" />
-<TGConnectingPoint num="25" id="3219" />
-<TGConnectingPoint num="26" id="3220" />
-<TGConnectingPoint num="27" id="3221" />
-<TGConnectingPoint num="28" id="3222" />
-<TGConnectingPoint num="29" id="3223" />
-<TGConnectingPoint num="30" id="3224" />
-<TGConnectingPoint num="31" id="3225" />
-<TGConnectingPoint num="32" id="3226" />
-<TGConnectingPoint num="33" id="3227" />
-<TGConnectingPoint num="34" id="3228" />
-<TGConnectingPoint num="35" id="3229" />
-<TGConnectingPoint num="36" id="3230" />
-<TGConnectingPoint num="37" id="3231" />
-<TGConnectingPoint num="38" id="3232" />
-<TGConnectingPoint num="39" id="3233" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="3236" >
+<infoparam name="state0" value="waitingForMessage" />
+<TGConnectingPoint num="0" id="3123" />
+<TGConnectingPoint num="1" id="3124" />
+<TGConnectingPoint num="2" id="3125" />
+<TGConnectingPoint num="3" id="3126" />
+<TGConnectingPoint num="4" id="3127" />
+<TGConnectingPoint num="5" id="3128" />
+<TGConnectingPoint num="6" id="3129" />
+<TGConnectingPoint num="7" id="3130" />
+<TGConnectingPoint num="8" id="3131" />
+<TGConnectingPoint num="9" id="3132" />
+<TGConnectingPoint num="10" id="3133" />
+<TGConnectingPoint num="11" id="3134" />
+<TGConnectingPoint num="12" id="3135" />
+<TGConnectingPoint num="13" id="3136" />
+<TGConnectingPoint num="14" id="3137" />
+<TGConnectingPoint num="15" id="3138" />
+<TGConnectingPoint num="16" id="3139" />
+<TGConnectingPoint num="17" id="3140" />
+<TGConnectingPoint num="18" id="3141" />
+<TGConnectingPoint num="19" id="3142" />
+<TGConnectingPoint num="20" id="3143" />
+<TGConnectingPoint num="21" id="3144" />
+<TGConnectingPoint num="22" id="3145" />
+<TGConnectingPoint num="23" id="3146" />
+<TGConnectingPoint num="24" id="3147" />
+<TGConnectingPoint num="25" id="3148" />
+<TGConnectingPoint num="26" id="3149" />
+<TGConnectingPoint num="27" id="3150" />
+<TGConnectingPoint num="28" id="3151" />
+<TGConnectingPoint num="29" id="3152" />
+<TGConnectingPoint num="30" id="3153" />
+<TGConnectingPoint num="31" id="3154" />
+<TGConnectingPoint num="32" id="3155" />
+<TGConnectingPoint num="33" id="3156" />
+<TGConnectingPoint num="34" id="3157" />
+<TGConnectingPoint num="35" id="3158" />
+<TGConnectingPoint num="36" id="3159" />
+<TGConnectingPoint num="37" id="3160" />
+<TGConnectingPoint num="38" id="3161" />
+<TGConnectingPoint num="39" id="3162" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3165" >
 <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="3235" />
+<TGConnectingPoint num="0" id="3164" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="1400" minY="10" maxY="900" >
-<CONNECTOR type="5102" id="3243" >
-<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="3242" />
-<P1  x="418" y="632" id="3410" />
-<P2  x="422" y="677" id="3446" />
+<AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="1400" minY="10" maxY="900" >
+<CONNECTOR type="5102" id="3172" >
+<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="3171" />
+<P1  x="411" y="567" id="3375" />
+<P2  x="420" y="613" id="3334" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3241" >
-<father id="3243" 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="3170" >
+<father id="3172" 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" />
 <enabled value="true" />
 <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="3237" />
-<TGConnectingPoint num="1" id="3238" />
-<TGConnectingPoint num="2" id="3239" />
-<TGConnectingPoint num="3" id="3240" />
+<TGConnectingPoint num="0" id="3166" />
+<TGConnectingPoint num="1" id="3167" />
+<TGConnectingPoint num="2" id="3168" />
+<TGConnectingPoint num="3" id="3169" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -9994,30 +10036,29 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="receivedData = m.data" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3250" >
-<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="3249" />
-<P1  x="409" y="526" id="3492" />
-<P2  x="418" y="592" id="3405" />
+<CONNECTOR type="5102" id="3179" >
+<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="3178" />
+<P1  x="420" y="663" id="3339" />
+<P2  x="438" y="703" id="3385" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3248" >
-<father id="3250" 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="3177" >
+<father id="3179" 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" />
 <enabled value="true" />
 <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="3244" />
-<TGConnectingPoint num="1" id="3245" />
-<TGConnectingPoint num="2" id="3246" />
-<TGConnectingPoint num="3" id="3247" />
+<TGConnectingPoint num="0" id="3173" />
+<TGConnectingPoint num="1" id="3174" />
+<TGConnectingPoint num="2" id="3175" />
+<TGConnectingPoint num="3" id="3176" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10025,31 +10066,29 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="sk = DH(alicePubK, privK)" enabled="true"/>
-<actions value="m = sdecrypt(m2, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3257" >
-<cdparam x="408" y="454" />
+<CONNECTOR type="5102" id="3186" >
+<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 Send signal to state0" value="null" />
-<TGConnectingPoint num="0" id="3256" />
-<P1  x="408" y="454" id="3528" />
-<P2  x="409" y="486" id="3487" />
+<infoparam name="connector from state0 to stop state" value="null" />
+<TGConnectingPoint num="0" id="3185" />
+<P1  x="411" y="508" id="3393" />
+<P2  x="411" y="537" id="3374" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3255" >
-<father id="3257" num="0" />
-<cdparam x="408" y="494" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3184" >
+<father id="3186" 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" />
 <enabled value="true" />
 <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="3251" />
-<TGConnectingPoint num="1" id="3252" />
-<TGConnectingPoint num="2" id="3253" />
-<TGConnectingPoint num="3" id="3254" />
+<TGConnectingPoint num="0" id="3180" />
+<TGConnectingPoint num="1" id="3181" />
+<TGConnectingPoint num="2" id="3182" />
+<TGConnectingPoint num="3" id="3183" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10060,26 +10099,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3264" >
-<cdparam x="408" y="394" />
+<CONNECTOR type="5102" id="3193" >
+<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 Send signal" value="null" />
-<TGConnectingPoint num="0" id="3263" />
-<P1  x="408" y="394" id="3544" />
-<P2  x="408" y="424" id="3527" />
+<infoparam name="connector from state0 to state0" value="null" />
+<TGConnectingPoint num="0" id="3192" />
+<P1  x="411" y="389" id="3434" />
+<P2  x="411" y="468" id="3388" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3262" >
-<father id="3264" num="0" />
-<cdparam x="408" y="434" />
-<sizeparam width="10" height="15" minWidth="0" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3191" >
+<father id="3193" 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" />
 <enabled value="true" />
 <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="3258" />
-<TGConnectingPoint num="1" id="3259" />
-<TGConnectingPoint num="2" id="3260" />
-<TGConnectingPoint num="3" id="3261" />
+<TGConnectingPoint num="0" id="3187" />
+<TGConnectingPoint num="1" id="3188" />
+<TGConnectingPoint num="2" id="3189" />
+<TGConnectingPoint num="3" id="3190" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10087,29 +10126,32 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
+<actions value="sk = DH(bobPubK, privK)" enabled="true"/>
+<actions value="m.data = secretData" enabled="true"/>
+<actions value="m1 = sencrypt(m, sk)" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3271" >
+<CONNECTOR type="5102" id="3200" >
 <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="3270" />
-<P1  x="407" y="70" id="3579" />
-<P2  x="407" y="95" id="3364" />
+<TGConnectingPoint num="0" id="3199" />
+<P1  x="407" y="70" id="3469" />
+<P2  x="405" y="91" id="3293" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3269" >
-<father id="3271" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3198" >
+<father id="3200" 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" />
 <enabled value="true" />
 <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="3265" />
-<TGConnectingPoint num="1" id="3266" />
-<TGConnectingPoint num="2" id="3267" />
-<TGConnectingPoint num="3" id="3268" />
+<TGConnectingPoint num="0" id="3194" />
+<TGConnectingPoint num="1" id="3195" />
+<TGConnectingPoint num="2" id="3196" />
+<TGConnectingPoint num="3" id="3197" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10120,26 +10162,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3278" >
-<cdparam x="407" y="127" />
+<CONNECTOR type="5102" id="3207" >
+<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="3277" />
-<P1  x="407" y="127" id="3369" />
-<P2  x="407" y="153" id="3352" />
+<TGConnectingPoint num="0" id="3206" />
+<P1  x="392" y="122" id="3321" />
+<P2  x="392" y="150" id="3281" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3276" >
-<father id="3278" num="0" />
-<cdparam x="428" y="145" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3205" >
+<father id="3207" 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" />
 <enabled value="true" />
 <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="3272" />
-<TGConnectingPoint num="1" id="3273" />
-<TGConnectingPoint num="2" id="3274" />
-<TGConnectingPoint num="3" id="3275" />
+<TGConnectingPoint num="0" id="3201" />
+<TGConnectingPoint num="1" id="3202" />
+<TGConnectingPoint num="2" id="3203" />
+<TGConnectingPoint num="3" id="3204" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10151,26 +10193,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3285" >
-<cdparam x="407" y="183" />
+<CONNECTOR type="5102" id="3214" >
+<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="3284" />
-<P1  x="407" y="183" id="3353" />
-<P2  x="408" y="213" id="3312" />
+<TGConnectingPoint num="0" id="3213" />
+<P1  x="392" y="180" id="3282" />
+<P2  x="380" y="224" id="3257" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3283" >
-<father id="3285" num="0" />
-<cdparam x="408" y="199" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3212" >
+<father id="3214" 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" />
 <enabled value="true" />
 <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="3279" />
-<TGConnectingPoint num="1" id="3280" />
-<TGConnectingPoint num="2" id="3281" />
-<TGConnectingPoint num="3" id="3282" />
+<TGConnectingPoint num="0" id="3208" />
+<TGConnectingPoint num="1" id="3209" />
+<TGConnectingPoint num="2" id="3210" />
+<TGConnectingPoint num="3" id="3211" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10181,26 +10223,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3292" >
-<cdparam x="409" y="265" />
+<CONNECTOR type="5102" id="3221" >
+<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="3291" />
-<P1  x="408" y="251" id="3317" />
-<P2  x="406" y="285" id="3300" />
+<TGConnectingPoint num="0" id="3220" />
+<P1  x="380" y="258" id="3269" />
+<P2  x="386" y="287" id="3229" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3290" >
-<father id="3292" num="0" />
-<cdparam x="409" y="281" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3219" >
+<father id="3221" 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" />
 <enabled value="true" />
 <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="3286" />
-<TGConnectingPoint num="1" id="3287" />
-<TGConnectingPoint num="2" id="3288" />
-<TGConnectingPoint num="3" id="3289" />
+<TGConnectingPoint num="0" id="3215" />
+<TGConnectingPoint num="1" id="3216" />
+<TGConnectingPoint num="2" id="3217" />
+<TGConnectingPoint num="3" id="3218" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10211,26 +10253,26 @@ the smart card and the terminal
 </extraparam>
 </SUBCOMPONENT>
 
-<CONNECTOR type="5102" id="3299" >
-<cdparam x="410" y="327" />
+<CONNECTOR type="5102" id="3228" >
+<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="3298" />
-<P1  x="406" y="315" id="3301" />
-<P2  x="408" y="354" id="3539" />
+<TGConnectingPoint num="0" id="3227" />
+<P1  x="386" y="317" id="3230" />
+<P2  x="377" y="349" id="3436" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3297" >
-<father id="3299" 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="3226" >
+<father id="3228" 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" />
 <enabled value="true" />
 <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="3293" />
-<TGConnectingPoint num="1" id="3294" />
-<TGConnectingPoint num="2" id="3295" />
-<TGConnectingPoint num="3" id="3296" />
+<TGConnectingPoint num="0" id="3222" />
+<TGConnectingPoint num="1" id="3223" />
+<TGConnectingPoint num="2" id="3224" />
+<TGConnectingPoint num="3" id="3225" />
 <extraparam>
 <guard value="[ ]" enabled="true"/>
 <afterMin value="" enabled="true"/>
@@ -10238,380 +10280,338 @@ the smart card and the terminal
 <computeMin value="" enabled="true"/>
 <computeMax value="" enabled="true"/>
 <probability value="" enabled="true"/>
-<actions value="alicePubK.data = m.data" enabled="true"/>
+<actions value="bobPubK.data = m.data" enabled="true"/>
 </extraparam>
 </SUBCOMPONENT>
 
-<COMPONENT type="5104" id="3310" >
-<cdparam x="376" y="290" />
+<COMPONENT type="5104" id="3239" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Receive signal" value="chin(m)" />
-<TGConnectingPoint num="0" id="3300" />
-<TGConnectingPoint num="1" id="3301" />
-<TGConnectingPoint num="2" id="3302" />
-<TGConnectingPoint num="3" id="3303" />
-<TGConnectingPoint num="4" id="3304" />
-<TGConnectingPoint num="5" id="3305" />
-<TGConnectingPoint num="6" id="3306" />
-<TGConnectingPoint num="7" id="3307" />
-<TGConnectingPoint num="8" id="3308" />
-<TGConnectingPoint num="9" id="3309" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3351" >
-<cdparam x="347" y="213" />
-<sizeparam width="123" height="38" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="3229" />
+<TGConnectingPoint num="1" id="3230" />
+<TGConnectingPoint num="2" id="3231" />
+<TGConnectingPoint num="3" id="3232" />
+<TGConnectingPoint num="4" id="3233" />
+<TGConnectingPoint num="5" id="3234" />
+<TGConnectingPoint num="6" id="3235" />
+<TGConnectingPoint num="7" id="3236" />
+<TGConnectingPoint num="8" id="3237" />
+<TGConnectingPoint num="9" id="3238" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3280" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="State" value="receivingPubK" />
-<TGConnectingPoint num="0" id="3311" />
-<TGConnectingPoint num="1" id="3312" />
-<TGConnectingPoint num="2" id="3313" />
-<TGConnectingPoint num="3" id="3314" />
-<TGConnectingPoint num="4" id="3315" />
-<TGConnectingPoint num="5" id="3316" />
-<TGConnectingPoint num="6" id="3317" />
-<TGConnectingPoint num="7" id="3318" />
-<TGConnectingPoint num="8" id="3319" />
-<TGConnectingPoint num="9" id="3320" />
-<TGConnectingPoint num="10" id="3321" />
-<TGConnectingPoint num="11" id="3322" />
-<TGConnectingPoint num="12" id="3323" />
-<TGConnectingPoint num="13" id="3324" />
-<TGConnectingPoint num="14" id="3325" />
-<TGConnectingPoint num="15" id="3326" />
-<TGConnectingPoint num="16" id="3327" />
-<TGConnectingPoint num="17" id="3328" />
-<TGConnectingPoint num="18" id="3329" />
-<TGConnectingPoint num="19" id="3330" />
-<TGConnectingPoint num="20" id="3331" />
-<TGConnectingPoint num="21" id="3332" />
-<TGConnectingPoint num="22" id="3333" />
-<TGConnectingPoint num="23" id="3334" />
-<TGConnectingPoint num="24" id="3335" />
-<TGConnectingPoint num="25" id="3336" />
-<TGConnectingPoint num="26" id="3337" />
-<TGConnectingPoint num="27" id="3338" />
-<TGConnectingPoint num="28" id="3339" />
-<TGConnectingPoint num="29" id="3340" />
-<TGConnectingPoint num="30" id="3341" />
-<TGConnectingPoint num="31" id="3342" />
-<TGConnectingPoint num="32" id="3343" />
-<TGConnectingPoint num="33" id="3344" />
-<TGConnectingPoint num="34" id="3345" />
-<TGConnectingPoint num="35" id="3346" />
-<TGConnectingPoint num="36" id="3347" />
-<TGConnectingPoint num="37" id="3348" />
-<TGConnectingPoint num="38" id="3349" />
-<TGConnectingPoint num="39" id="3350" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5103" id="3362" >
-<cdparam x="377" y="158" />
+<TGConnectingPoint num="0" id="3240" />
+<TGConnectingPoint num="1" id="3241" />
+<TGConnectingPoint num="2" id="3242" />
+<TGConnectingPoint num="3" id="3243" />
+<TGConnectingPoint num="4" id="3244" />
+<TGConnectingPoint num="5" id="3245" />
+<TGConnectingPoint num="6" id="3246" />
+<TGConnectingPoint num="7" id="3247" />
+<TGConnectingPoint num="8" id="3248" />
+<TGConnectingPoint num="9" id="3249" />
+<TGConnectingPoint num="10" id="3250" />
+<TGConnectingPoint num="11" id="3251" />
+<TGConnectingPoint num="12" id="3252" />
+<TGConnectingPoint num="13" id="3253" />
+<TGConnectingPoint num="14" id="3254" />
+<TGConnectingPoint num="15" id="3255" />
+<TGConnectingPoint num="16" id="3256" />
+<TGConnectingPoint num="17" id="3257" />
+<TGConnectingPoint num="18" id="3258" />
+<TGConnectingPoint num="19" id="3259" />
+<TGConnectingPoint num="20" id="3260" />
+<TGConnectingPoint num="21" id="3261" />
+<TGConnectingPoint num="22" id="3262" />
+<TGConnectingPoint num="23" id="3263" />
+<TGConnectingPoint num="24" id="3264" />
+<TGConnectingPoint num="25" id="3265" />
+<TGConnectingPoint num="26" id="3266" />
+<TGConnectingPoint num="27" id="3267" />
+<TGConnectingPoint num="28" id="3268" />
+<TGConnectingPoint num="29" id="3269" />
+<TGConnectingPoint num="30" id="3270" />
+<TGConnectingPoint num="31" id="3271" />
+<TGConnectingPoint num="32" id="3272" />
+<TGConnectingPoint num="33" id="3273" />
+<TGConnectingPoint num="34" id="3274" />
+<TGConnectingPoint num="35" id="3275" />
+<TGConnectingPoint num="36" id="3276" />
+<TGConnectingPoint num="37" id="3277" />
+<TGConnectingPoint num="38" id="3278" />
+<TGConnectingPoint num="39" id="3279" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="3291" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="Send signal" value="chout(m)" />
-<TGConnectingPoint num="0" id="3352" />
-<TGConnectingPoint num="1" id="3353" />
-<TGConnectingPoint num="2" id="3354" />
-<TGConnectingPoint num="3" id="3355" />
-<TGConnectingPoint num="4" id="3356" />
-<TGConnectingPoint num="5" id="3357" />
-<TGConnectingPoint num="6" id="3358" />
-<TGConnectingPoint num="7" id="3359" />
-<TGConnectingPoint num="8" id="3360" />
-<TGConnectingPoint num="9" id="3361" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3403" >
-<cdparam x="351" y="95" />
-<sizeparam width="113" height="32" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="3281" />
+<TGConnectingPoint num="1" id="3282" />
+<TGConnectingPoint num="2" id="3283" />
+<TGConnectingPoint num="3" id="3284" />
+<TGConnectingPoint num="4" id="3285" />
+<TGConnectingPoint num="5" id="3286" />
+<TGConnectingPoint num="6" id="3287" />
+<TGConnectingPoint num="7" id="3288" />
+<TGConnectingPoint num="8" id="3289" />
+<TGConnectingPoint num="9" id="3290" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3332" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
 <infoparam name="State" value="sendingPubK" />
-<TGConnectingPoint num="0" id="3363" />
-<TGConnectingPoint num="1" id="3364" />
-<TGConnectingPoint num="2" id="3365" />
-<TGConnectingPoint num="3" id="3366" />
-<TGConnectingPoint num="4" id="3367" />
-<TGConnectingPoint num="5" id="3368" />
-<TGConnectingPoint num="6" id="3369" />
-<TGConnectingPoint num="7" id="3370" />
-<TGConnectingPoint num="8" id="3371" />
-<TGConnectingPoint num="9" id="3372" />
-<TGConnectingPoint num="10" id="3373" />
-<TGConnectingPoint num="11" id="3374" />
-<TGConnectingPoint num="12" id="3375" />
-<TGConnectingPoint num="13" id="3376" />
-<TGConnectingPoint num="14" id="3377" />
-<TGConnectingPoint num="15" id="3378" />
-<TGConnectingPoint num="16" id="3379" />
-<TGConnectingPoint num="17" id="3380" />
-<TGConnectingPoint num="18" id="3381" />
-<TGConnectingPoint num="19" id="3382" />
-<TGConnectingPoint num="20" id="3383" />
-<TGConnectingPoint num="21" id="3384" />
-<TGConnectingPoint num="22" id="3385" />
-<TGConnectingPoint num="23" id="3386" />
-<TGConnectingPoint num="24" id="3387" />
-<TGConnectingPoint num="25" id="3388" />
-<TGConnectingPoint num="26" id="3389" />
-<TGConnectingPoint num="27" id="3390" />
-<TGConnectingPoint num="28" id="3391" />
-<TGConnectingPoint num="29" id="3392" />
-<TGConnectingPoint num="30" id="3393" />
-<TGConnectingPoint num="31" id="3394" />
-<TGConnectingPoint num="32" id="3395" />
-<TGConnectingPoint num="33" id="3396" />
-<TGConnectingPoint num="34" id="3397" />
-<TGConnectingPoint num="35" id="3398" />
-<TGConnectingPoint num="36" id="3399" />
-<TGConnectingPoint num="37" id="3400" />
-<TGConnectingPoint num="38" id="3401" />
-<TGConnectingPoint num="39" id="3402" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3444" >
-<cdparam x="329" y="592" />
-<sizeparam width="178" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<TGConnectingPoint num="0" id="3292" />
+<TGConnectingPoint num="1" id="3293" />
+<TGConnectingPoint num="2" id="3294" />
+<TGConnectingPoint num="3" id="3295" />
+<TGConnectingPoint num="4" id="3296" />
+<TGConnectingPoint num="5" id="3297" />
+<TGConnectingPoint num="6" id="3298" />
+<TGConnectingPoint num="7" id="3299" />
+<TGConnectingPoint num="8" id="3300" />
+<TGConnectingPoint num="9" id="3301" />
+<TGConnectingPoint num="10" id="3302" />
+<TGConnectingPoint num="11" id="3303" />
+<TGConnectingPoint num="12" id="3304" />
+<TGConnectingPoint num="13" id="3305" />
+<TGConnectingPoint num="14" id="3306" />
+<TGConnectingPoint num="15" id="3307" />
+<TGConnectingPoint num="16" id="3308" />
+<TGConnectingPoint num="17" id="3309" />
+<TGConnectingPoint num="18" id="3310" />
+<TGConnectingPoint num="19" id="3311" />
+<TGConnectingPoint num="20" id="3312" />
+<TGConnectingPoint num="21" id="3313" />
+<TGConnectingPoint num="22" id="3314" />
+<TGConnectingPoint num="23" id="3315" />
+<TGConnectingPoint num="24" id="3316" />
+<TGConnectingPoint num="25" id="3317" />
+<TGConnectingPoint num="26" id="3318" />
+<TGConnectingPoint num="27" id="3319" />
+<TGConnectingPoint num="28" id="3320" />
+<TGConnectingPoint num="29" id="3321" />
+<TGConnectingPoint num="30" id="3322" />
+<TGConnectingPoint num="31" id="3323" />
+<TGConnectingPoint num="32" id="3324" />
+<TGConnectingPoint num="33" id="3325" />
+<TGConnectingPoint num="34" id="3326" />
+<TGConnectingPoint num="35" id="3327" />
+<TGConnectingPoint num="36" id="3328" />
+<TGConnectingPoint num="37" id="3329" />
+<TGConnectingPoint num="38" id="3330" />
+<TGConnectingPoint num="39" id="3331" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3373" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="messageDecrypted" />
-<TGConnectingPoint num="0" id="3404" />
-<TGConnectingPoint num="1" id="3405" />
-<TGConnectingPoint num="2" id="3406" />
-<TGConnectingPoint num="3" id="3407" />
-<TGConnectingPoint num="4" id="3408" />
-<TGConnectingPoint num="5" id="3409" />
-<TGConnectingPoint num="6" id="3410" />
-<TGConnectingPoint num="7" id="3411" />
-<TGConnectingPoint num="8" id="3412" />
-<TGConnectingPoint num="9" id="3413" />
-<TGConnectingPoint num="10" id="3414" />
-<TGConnectingPoint num="11" id="3415" />
-<TGConnectingPoint num="12" id="3416" />
-<TGConnectingPoint num="13" id="3417" />
-<TGConnectingPoint num="14" id="3418" />
-<TGConnectingPoint num="15" id="3419" />
-<TGConnectingPoint num="16" id="3420" />
-<TGConnectingPoint num="17" id="3421" />
-<TGConnectingPoint num="18" id="3422" />
-<TGConnectingPoint num="19" id="3423" />
-<TGConnectingPoint num="20" id="3424" />
-<TGConnectingPoint num="21" id="3425" />
-<TGConnectingPoint num="22" id="3426" />
-<TGConnectingPoint num="23" id="3427" />
-<TGConnectingPoint num="24" id="3428" />
-<TGConnectingPoint num="25" id="3429" />
-<TGConnectingPoint num="26" id="3430" />
-<TGConnectingPoint num="27" id="3431" />
-<TGConnectingPoint num="28" id="3432" />
-<TGConnectingPoint num="29" id="3433" />
-<TGConnectingPoint num="30" id="3434" />
-<TGConnectingPoint num="31" id="3435" />
-<TGConnectingPoint num="32" id="3436" />
-<TGConnectingPoint num="33" id="3437" />
-<TGConnectingPoint num="34" id="3438" />
-<TGConnectingPoint num="35" id="3439" />
-<TGConnectingPoint num="36" id="3440" />
-<TGConnectingPoint num="37" id="3441" />
-<TGConnectingPoint num="38" id="3442" />
-<TGConnectingPoint num="39" id="3443" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3485" >
-<cdparam x="352" y="677" />
-<sizeparam width="140" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="State" value="beforeFinish" />
+<TGConnectingPoint num="0" id="3333" />
+<TGConnectingPoint num="1" id="3334" />
+<TGConnectingPoint num="2" id="3335" />
+<TGConnectingPoint num="3" id="3336" />
+<TGConnectingPoint num="4" id="3337" />
+<TGConnectingPoint num="5" id="3338" />
+<TGConnectingPoint num="6" id="3339" />
+<TGConnectingPoint num="7" id="3340" />
+<TGConnectingPoint num="8" id="3341" />
+<TGConnectingPoint num="9" id="3342" />
+<TGConnectingPoint num="10" id="3343" />
+<TGConnectingPoint num="11" id="3344" />
+<TGConnectingPoint num="12" id="3345" />
+<TGConnectingPoint num="13" id="3346" />
+<TGConnectingPoint num="14" id="3347" />
+<TGConnectingPoint num="15" id="3348" />
+<TGConnectingPoint num="16" id="3349" />
+<TGConnectingPoint num="17" id="3350" />
+<TGConnectingPoint num="18" id="3351" />
+<TGConnectingPoint num="19" id="3352" />
+<TGConnectingPoint num="20" id="3353" />
+<TGConnectingPoint num="21" id="3354" />
+<TGConnectingPoint num="22" id="3355" />
+<TGConnectingPoint num="23" id="3356" />
+<TGConnectingPoint num="24" id="3357" />
+<TGConnectingPoint num="25" id="3358" />
+<TGConnectingPoint num="26" id="3359" />
+<TGConnectingPoint num="27" id="3360" />
+<TGConnectingPoint num="28" id="3361" />
+<TGConnectingPoint num="29" id="3362" />
+<TGConnectingPoint num="30" id="3363" />
+<TGConnectingPoint num="31" id="3364" />
+<TGConnectingPoint num="32" id="3365" />
+<TGConnectingPoint num="33" id="3366" />
+<TGConnectingPoint num="34" id="3367" />
+<TGConnectingPoint num="35" id="3368" />
+<TGConnectingPoint num="36" id="3369" />
+<TGConnectingPoint num="37" id="3370" />
+<TGConnectingPoint num="38" id="3371" />
+<TGConnectingPoint num="39" id="3372" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5103" id="3384" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="SecretDataReceived" />
-<TGConnectingPoint num="0" id="3445" />
-<TGConnectingPoint num="1" id="3446" />
-<TGConnectingPoint num="2" id="3447" />
-<TGConnectingPoint num="3" id="3448" />
-<TGConnectingPoint num="4" id="3449" />
-<TGConnectingPoint num="5" id="3450" />
-<TGConnectingPoint num="6" id="3451" />
-<TGConnectingPoint num="7" id="3452" />
-<TGConnectingPoint num="8" id="3453" />
-<TGConnectingPoint num="9" id="3454" />
-<TGConnectingPoint num="10" id="3455" />
-<TGConnectingPoint num="11" id="3456" />
-<TGConnectingPoint num="12" id="3457" />
-<TGConnectingPoint num="13" id="3458" />
-<TGConnectingPoint num="14" id="3459" />
-<TGConnectingPoint num="15" id="3460" />
-<TGConnectingPoint num="16" id="3461" />
-<TGConnectingPoint num="17" id="3462" />
-<TGConnectingPoint num="18" id="3463" />
-<TGConnectingPoint num="19" id="3464" />
-<TGConnectingPoint num="20" id="3465" />
-<TGConnectingPoint num="21" id="3466" />
-<TGConnectingPoint num="22" id="3467" />
-<TGConnectingPoint num="23" id="3468" />
-<TGConnectingPoint num="24" id="3469" />
-<TGConnectingPoint num="25" id="3470" />
-<TGConnectingPoint num="26" id="3471" />
-<TGConnectingPoint num="27" id="3472" />
-<TGConnectingPoint num="28" id="3473" />
-<TGConnectingPoint num="29" id="3474" />
-<TGConnectingPoint num="30" id="3475" />
-<TGConnectingPoint num="31" id="3476" />
-<TGConnectingPoint num="32" id="3477" />
-<TGConnectingPoint num="33" id="3478" />
-<TGConnectingPoint num="34" id="3479" />
-<TGConnectingPoint num="35" id="3480" />
-<TGConnectingPoint num="36" id="3481" />
-<TGConnectingPoint num="37" id="3482" />
-<TGConnectingPoint num="38" id="3483" />
-<TGConnectingPoint num="39" id="3484" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5106" id="3526" >
-<cdparam x="338" y="486" />
-<sizeparam width="142" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="Send signal" value="chout(m1)" />
+<TGConnectingPoint num="0" id="3374" />
+<TGConnectingPoint num="1" id="3375" />
+<TGConnectingPoint num="2" id="3376" />
+<TGConnectingPoint num="3" id="3377" />
+<TGConnectingPoint num="4" id="3378" />
+<TGConnectingPoint num="5" id="3379" />
+<TGConnectingPoint num="6" id="3380" />
+<TGConnectingPoint num="7" id="3381" />
+<TGConnectingPoint num="8" id="3382" />
+<TGConnectingPoint num="9" id="3383" />
+</COMPONENT>
+
+<COMPONENT type="5101" id="3386" >
+<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" />
-<enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="messageDecrypt" />
-<TGConnectingPoint num="0" id="3486" />
-<TGConnectingPoint num="1" id="3487" />
-<TGConnectingPoint num="2" id="3488" />
-<TGConnectingPoint num="3" id="3489" />
-<TGConnectingPoint num="4" id="3490" />
-<TGConnectingPoint num="5" id="3491" />
-<TGConnectingPoint num="6" id="3492" />
-<TGConnectingPoint num="7" id="3493" />
-<TGConnectingPoint num="8" id="3494" />
-<TGConnectingPoint num="9" id="3495" />
-<TGConnectingPoint num="10" id="3496" />
-<TGConnectingPoint num="11" id="3497" />
-<TGConnectingPoint num="12" id="3498" />
-<TGConnectingPoint num="13" id="3499" />
-<TGConnectingPoint num="14" id="3500" />
-<TGConnectingPoint num="15" id="3501" />
-<TGConnectingPoint num="16" id="3502" />
-<TGConnectingPoint num="17" id="3503" />
-<TGConnectingPoint num="18" id="3504" />
-<TGConnectingPoint num="19" id="3505" />
-<TGConnectingPoint num="20" id="3506" />
-<TGConnectingPoint num="21" id="3507" />
-<TGConnectingPoint num="22" id="3508" />
-<TGConnectingPoint num="23" id="3509" />
-<TGConnectingPoint num="24" id="3510" />
-<TGConnectingPoint num="25" id="3511" />
-<TGConnectingPoint num="26" id="3512" />
-<TGConnectingPoint num="27" id="3513" />
-<TGConnectingPoint num="28" id="3514" />
-<TGConnectingPoint num="29" id="3515" />
-<TGConnectingPoint num="30" id="3516" />
-<TGConnectingPoint num="31" id="3517" />
-<TGConnectingPoint num="32" id="3518" />
-<TGConnectingPoint num="33" id="3519" />
-<TGConnectingPoint num="34" id="3520" />
-<TGConnectingPoint num="35" id="3521" />
-<TGConnectingPoint num="36" id="3522" />
-<TGConnectingPoint num="37" id="3523" />
-<TGConnectingPoint num="38" id="3524" />
-<TGConnectingPoint num="39" id="3525" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5104" id="3537" >
-<cdparam x="374" y="429" />
-<sizeparam width="68" height="20" minWidth="30" minHeight="0" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="stop state" value="null" />
+<TGConnectingPoint num="0" id="3385" />
+</COMPONENT>
+
+<COMPONENT type="5106" id="3427" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="Send signal" value="chin(m2)" />
-<TGConnectingPoint num="0" id="3527" />
-<TGConnectingPoint num="1" id="3528" />
-<TGConnectingPoint num="2" id="3529" />
-<TGConnectingPoint num="3" id="3530" />
-<TGConnectingPoint num="4" id="3531" />
-<TGConnectingPoint num="5" id="3532" />
-<TGConnectingPoint num="6" id="3533" />
-<TGConnectingPoint num="7" id="3534" />
-<TGConnectingPoint num="8" id="3535" />
-<TGConnectingPoint num="9" id="3536" />
-</COMPONENT>
-
-<COMPONENT type="5106" id="3578" >
-<cdparam x="342" y="354" />
-<sizeparam width="132" height="40" minWidth="40" minHeight="30" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<infoparam name="state0" value="sendingMessage" />
+<TGConnectingPoint num="0" id="3387" />
+<TGConnectingPoint num="1" id="3388" />
+<TGConnectingPoint num="2" id="3389" />
+<TGConnectingPoint num="3" id="3390" />
+<TGConnectingPoint num="4" id="3391" />
+<TGConnectingPoint num="5" id="3392" />
+<TGConnectingPoint num="6" id="3393" />
+<TGConnectingPoint num="7" id="3394" />
+<TGConnectingPoint num="8" id="3395" />
+<TGConnectingPoint num="9" id="3396" />
+<TGConnectingPoint num="10" id="3397" />
+<TGConnectingPoint num="11" id="3398" />
+<TGConnectingPoint num="12" id="3399" />
+<TGConnectingPoint num="13" id="3400" />
+<TGConnectingPoint num="14" id="3401" />
+<TGConnectingPoint num="15" id="3402" />
+<TGConnectingPoint num="16" id="3403" />
+<TGConnectingPoint num="17" id="3404" />
+<TGConnectingPoint num="18" id="3405" />
+<TGConnectingPoint num="19" id="3406" />
+<TGConnectingPoint num="20" id="3407" />
+<TGConnectingPoint num="21" id="3408" />
+<TGConnectingPoint num="22" id="3409" />
+<TGConnectingPoint num="23" id="3410" />
+<TGConnectingPoint num="24" id="3411" />
+<TGConnectingPoint num="25" id="3412" />
+<TGConnectingPoint num="26" id="3413" />
+<TGConnectingPoint num="27" id="3414" />
+<TGConnectingPoint num="28" id="3415" />
+<TGConnectingPoint num="29" id="3416" />
+<TGConnectingPoint num="30" id="3417" />
+<TGConnectingPoint num="31" id="3418" />
+<TGConnectingPoint num="32" id="3419" />
+<TGConnectingPoint num="33" id="3420" />
+<TGConnectingPoint num="34" id="3421" />
+<TGConnectingPoint num="35" id="3422" />
+<TGConnectingPoint num="36" id="3423" />
+<TGConnectingPoint num="37" id="3424" />
+<TGConnectingPoint num="38" id="3425" />
+<TGConnectingPoint num="39" id="3426" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5106" id="3468" >
+<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" />
 <enabled value="true" />
 <cdrectangleparam minX="10" maxX="1400" minY="10" maxY="900" />
-<infoparam name="state0" value="waitingForMessage" />
-<TGConnectingPoint num="0" id="3538" />
-<TGConnectingPoint num="1" id="3539" />
-<TGConnectingPoint num="2" id="3540" />
-<TGConnectingPoint num="3" id="3541" />
-<TGConnectingPoint num="4" id="3542" />
-<TGConnectingPoint num="5" id="3543" />
-<TGConnectingPoint num="6" id="3544" />
-<TGConnectingPoint num="7" id="3545" />
-<TGConnectingPoint num="8" id="3546" />
-<TGConnectingPoint num="9" id="3547" />
-<TGConnectingPoint num="10" id="3548" />
-<TGConnectingPoint num="11" id="3549" />
-<TGConnectingPoint num="12" id="3550" />
-<TGConnectingPoint num="13" id="3551" />
-<TGConnectingPoint num="14" id="3552" />
-<TGConnectingPoint num="15" id="3553" />
-<TGConnectingPoint num="16" id="3554" />
-<TGConnectingPoint num="17" id="3555" />
-<TGConnectingPoint num="18" id="3556" />
-<TGConnectingPoint num="19" id="3557" />
-<TGConnectingPoint num="20" id="3558" />
-<TGConnectingPoint num="21" id="3559" />
-<TGConnectingPoint num="22" id="3560" />
-<TGConnectingPoint num="23" id="3561" />
-<TGConnectingPoint num="24" id="3562" />
-<TGConnectingPoint num="25" id="3563" />
-<TGConnectingPoint num="26" id="3564" />
-<TGConnectingPoint num="27" id="3565" />
-<TGConnectingPoint num="28" id="3566" />
-<TGConnectingPoint num="29" id="3567" />
-<TGConnectingPoint num="30" id="3568" />
-<TGConnectingPoint num="31" id="3569" />
-<TGConnectingPoint num="32" id="3570" />
-<TGConnectingPoint num="33" id="3571" />
-<TGConnectingPoint num="34" id="3572" />
-<TGConnectingPoint num="35" id="3573" />
-<TGConnectingPoint num="36" id="3574" />
-<TGConnectingPoint num="37" id="3575" />
-<TGConnectingPoint num="38" id="3576" />
-<TGConnectingPoint num="39" id="3577" />
-<extraparam>
-</extraparam>
-</COMPONENT>
-
-<COMPONENT type="5100" id="3580" >
+<infoparam name="state0" value="makingMessage" />
+<TGConnectingPoint num="0" id="3428" />
+<TGConnectingPoint num="1" id="3429" />
+<TGConnectingPoint num="2" id="3430" />
+<TGConnectingPoint num="3" id="3431" />
+<TGConnectingPoint num="4" id="3432" />
+<TGConnectingPoint num="5" id="3433" />
+<TGConnectingPoint num="6" id="3434" />
+<TGConnectingPoint num="7" id="3435" />
+<TGConnectingPoint num="8" id="3436" />
+<TGConnectingPoint num="9" id="3437" />
+<TGConnectingPoint num="10" id="3438" />
+<TGConnectingPoint num="11" id="3439" />
+<TGConnectingPoint num="12" id="3440" />
+<TGConnectingPoint num="13" id="3441" />
+<TGConnectingPoint num="14" id="3442" />
+<TGConnectingPoint num="15" id="3443" />
+<TGConnectingPoint num="16" id="3444" />
+<TGConnectingPoint num="17" id="3445" />
+<TGConnectingPoint num="18" id="3446" />
+<TGConnectingPoint num="19" id="3447" />
+<TGConnectingPoint num="20" id="3448" />
+<TGConnectingPoint num="21" id="3449" />
+<TGConnectingPoint num="22" id="3450" />
+<TGConnectingPoint num="23" id="3451" />
+<TGConnectingPoint num="24" id="3452" />
+<TGConnectingPoint num="25" id="3453" />
+<TGConnectingPoint num="26" id="3454" />
+<TGConnectingPoint num="27" id="3455" />
+<TGConnectingPoint num="28" id="3456" />
+<TGConnectingPoint num="29" id="3457" />
+<TGConnectingPoint num="30" id="3458" />
+<TGConnectingPoint num="31" id="3459" />
+<TGConnectingPoint num="32" id="3460" />
+<TGConnectingPoint num="33" id="3461" />
+<TGConnectingPoint num="34" id="3462" />
+<TGConnectingPoint num="35" id="3463" />
+<TGConnectingPoint num="36" id="3464" />
+<TGConnectingPoint num="37" id="3465" />
+<TGConnectingPoint num="38" id="3466" />
+<TGConnectingPoint num="39" id="3467" />
+<extraparam>
+</extraparam>
+</COMPONENT>
+
+<COMPONENT type="5100" id="3470" >
 <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="3579" />
+<TGConnectingPoint num="0" id="3469" />
 </COMPONENT>
 
 
@@ -10630,15 +10630,15 @@ the smart card and the terminal
 <Validated value="" />
 <Ignored value="" />
 
-<CONNECTOR type="5002" id="3586" >
+<CONNECTOR type="5002" id="3476" >
 <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="3583" />
-<TGConnectingPoint num="1" id="3584" />
-<TGConnectingPoint num="2" id="3585" />
-<P1  x="459" y="106" id="3726" />
-<P2  x="459" y="192" id="3719" />
+<TGConnectingPoint num="0" id="3473" />
+<TGConnectingPoint num="1" id="3474" />
+<TGConnectingPoint num="2" id="3475" />
+<P1  x="459" y="106" id="3616" />
+<P2  x="459" y="192" id="3609" />
 <Point x="492" y="119" />
 <Point x="492" y="174" />
 <AutomaticDrawing  data="true" />
@@ -10647,16 +10647,16 @@ the smart card and the terminal
 <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="3581" >
-<father id="3586" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3471" >
+<father id="3476" 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="-1" id="3582" >
-<father id="3586" num="1" />
+<SUBCOMPONENT type="-1" id="3472" >
+<father id="3476" 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" />
@@ -10664,45 +10664,45 @@ the smart card and the terminal
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<COMPONENT type="5003" id="3595" >
+<COMPONENT type="5003" id="3485" >
 <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="3587" />
-<TGConnectingPoint num="1" id="3588" />
-<TGConnectingPoint num="2" id="3589" />
-<TGConnectingPoint num="3" id="3590" />
-<TGConnectingPoint num="4" id="3591" />
-<TGConnectingPoint num="5" id="3592" />
-<TGConnectingPoint num="6" id="3593" />
-<TGConnectingPoint num="7" id="3594" />
+<TGConnectingPoint num="0" id="3477" />
+<TGConnectingPoint num="1" id="3478" />
+<TGConnectingPoint num="2" id="3479" />
+<TGConnectingPoint num="3" id="3480" />
+<TGConnectingPoint num="4" id="3481" />
+<TGConnectingPoint num="5" id="3482" />
+<TGConnectingPoint num="6" id="3483" />
+<TGConnectingPoint num="7" id="3484" />
 <extraparam>
 <Attribute access="2" id="data" value="0" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="3604" >
+<COMPONENT type="5003" id="3494" >
 <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="3596" />
-<TGConnectingPoint num="1" id="3597" />
-<TGConnectingPoint num="2" id="3598" />
-<TGConnectingPoint num="3" id="3599" />
-<TGConnectingPoint num="4" id="3600" />
-<TGConnectingPoint num="5" id="3601" />
-<TGConnectingPoint num="6" id="3602" />
-<TGConnectingPoint num="7" id="3603" />
+<TGConnectingPoint num="0" id="3486" />
+<TGConnectingPoint num="1" id="3487" />
+<TGConnectingPoint num="2" id="3488" />
+<TGConnectingPoint num="3" id="3489" />
+<TGConnectingPoint num="4" id="3490" />
+<TGConnectingPoint num="5" id="3491" />
+<TGConnectingPoint num="6" id="3492" />
+<TGConnectingPoint num="7" id="3493" />
 <extraparam>
 <Attribute access="2" id="data" value="0" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="302" id="3621" >
+<COMPONENT type="302" id="3511" >
 <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" />
@@ -10719,22 +10719,22 @@ the smart card and the terminal
 #Confidentiality InterfaceDevice.secretData
 #Authenticity InterfaceDevice.sendingMessage.m SmartCard.messageDecrypted.m
 " />
-<TGConnectingPoint num="0" id="3605" />
-<TGConnectingPoint num="1" id="3606" />
-<TGConnectingPoint num="2" id="3607" />
-<TGConnectingPoint num="3" id="3608" />
-<TGConnectingPoint num="4" id="3609" />
-<TGConnectingPoint num="5" id="3610" />
-<TGConnectingPoint num="6" id="3611" />
-<TGConnectingPoint num="7" id="3612" />
-<TGConnectingPoint num="8" id="3613" />
-<TGConnectingPoint num="9" id="3614" />
-<TGConnectingPoint num="10" id="3615" />
-<TGConnectingPoint num="11" id="3616" />
-<TGConnectingPoint num="12" id="3617" />
-<TGConnectingPoint num="13" id="3618" />
-<TGConnectingPoint num="14" id="3619" />
-<TGConnectingPoint num="15" id="3620" />
+<TGConnectingPoint num="0" id="3495" />
+<TGConnectingPoint num="1" id="3496" />
+<TGConnectingPoint num="2" id="3497" />
+<TGConnectingPoint num="3" id="3498" />
+<TGConnectingPoint num="4" id="3499" />
+<TGConnectingPoint num="5" id="3500" />
+<TGConnectingPoint num="6" id="3501" />
+<TGConnectingPoint num="7" id="3502" />
+<TGConnectingPoint num="8" id="3503" />
+<TGConnectingPoint num="9" id="3504" />
+<TGConnectingPoint num="10" id="3505" />
+<TGConnectingPoint num="11" id="3506" />
+<TGConnectingPoint num="12" id="3507" />
+<TGConnectingPoint num="13" id="3508" />
+<TGConnectingPoint num="14" id="3509" />
+<TGConnectingPoint num="15" id="3510" />
 <extraparam>
 <Line value="#PrivatePublicKeys InterfaceDevice privK pubK" />
 <Line value="#PrivatePublicKeys SmartCard privK pubK" />
@@ -10750,74 +10750,74 @@ the smart card and the terminal
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="3630" >
+<COMPONENT type="5003" id="3520" >
 <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="3622" />
-<TGConnectingPoint num="1" id="3623" />
-<TGConnectingPoint num="2" id="3624" />
-<TGConnectingPoint num="3" id="3625" />
-<TGConnectingPoint num="4" id="3626" />
-<TGConnectingPoint num="5" id="3627" />
-<TGConnectingPoint num="6" id="3628" />
-<TGConnectingPoint num="7" id="3629" />
+<TGConnectingPoint num="0" id="3512" />
+<TGConnectingPoint num="1" id="3513" />
+<TGConnectingPoint num="2" id="3514" />
+<TGConnectingPoint num="3" id="3515" />
+<TGConnectingPoint num="4" id="3516" />
+<TGConnectingPoint num="5" id="3517" />
+<TGConnectingPoint num="6" id="3518" />
+<TGConnectingPoint num="7" id="3519" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5003" id="3639" >
+<COMPONENT type="5003" id="3529" >
 <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="3631" />
-<TGConnectingPoint num="1" id="3632" />
-<TGConnectingPoint num="2" id="3633" />
-<TGConnectingPoint num="3" id="3634" />
-<TGConnectingPoint num="4" id="3635" />
-<TGConnectingPoint num="5" id="3636" />
-<TGConnectingPoint num="6" id="3637" />
-<TGConnectingPoint num="7" id="3638" />
+<TGConnectingPoint num="0" id="3521" />
+<TGConnectingPoint num="1" id="3522" />
+<TGConnectingPoint num="2" id="3523" />
+<TGConnectingPoint num="3" id="3524" />
+<TGConnectingPoint num="4" id="3525" />
+<TGConnectingPoint num="5" id="3526" />
+<TGConnectingPoint num="6" id="3527" />
+<TGConnectingPoint num="7" id="3528" />
 <extraparam>
 <Attribute access="0" id="data" value="" type="8" typeOther="" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="5000" id="3739" >
+<COMPONENT type="5000" id="3629" >
 <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="Block0" value="System" />
-<TGConnectingPoint num="0" id="3715" />
-<TGConnectingPoint num="1" id="3716" />
-<TGConnectingPoint num="2" id="3717" />
-<TGConnectingPoint num="3" id="3718" />
-<TGConnectingPoint num="4" id="3719" />
-<TGConnectingPoint num="5" id="3720" />
-<TGConnectingPoint num="6" id="3721" />
-<TGConnectingPoint num="7" id="3722" />
-<TGConnectingPoint num="8" id="3723" />
-<TGConnectingPoint num="9" id="3724" />
-<TGConnectingPoint num="10" id="3725" />
-<TGConnectingPoint num="11" id="3726" />
-<TGConnectingPoint num="12" id="3727" />
-<TGConnectingPoint num="13" id="3728" />
-<TGConnectingPoint num="14" id="3729" />
-<TGConnectingPoint num="15" id="3730" />
-<TGConnectingPoint num="16" id="3731" />
-<TGConnectingPoint num="17" id="3732" />
-<TGConnectingPoint num="18" id="3733" />
-<TGConnectingPoint num="19" id="3734" />
-<TGConnectingPoint num="20" id="3735" />
-<TGConnectingPoint num="21" id="3736" />
-<TGConnectingPoint num="22" id="3737" />
-<TGConnectingPoint num="23" id="3738" />
+<TGConnectingPoint num="0" id="3605" />
+<TGConnectingPoint num="1" id="3606" />
+<TGConnectingPoint num="2" id="3607" />
+<TGConnectingPoint num="3" id="3608" />
+<TGConnectingPoint num="4" id="3609" />
+<TGConnectingPoint num="5" id="3610" />
+<TGConnectingPoint num="6" id="3611" />
+<TGConnectingPoint num="7" id="3612" />
+<TGConnectingPoint num="8" id="3613" />
+<TGConnectingPoint num="9" id="3614" />
+<TGConnectingPoint num="10" id="3615" />
+<TGConnectingPoint num="11" id="3616" />
+<TGConnectingPoint num="12" id="3617" />
+<TGConnectingPoint num="13" id="3618" />
+<TGConnectingPoint num="14" id="3619" />
+<TGConnectingPoint num="15" id="3620" />
+<TGConnectingPoint num="16" id="3621" />
+<TGConnectingPoint num="17" id="3622" />
+<TGConnectingPoint num="18" id="3623" />
+<TGConnectingPoint num="19" id="3624" />
+<TGConnectingPoint num="20" id="3625" />
+<TGConnectingPoint num="21" id="3626" />
+<TGConnectingPoint num="22" id="3627" />
+<TGConnectingPoint num="23" id="3628" />
 <extraparam>
 <blockType data="block" color="-4072719" />
 <CryptoBlock value="false" />
@@ -10825,64 +10825,57 @@ the smart card and the terminal
 <Signal value="out chout(Message msg)" attached="true" />
 </extraparam>
 </COMPONENT>
-<SUBCOMPONENT type="5000" id="3664" >
-<father id="3739" num="0" />
-<cdparam x="115" y="249" />
-<sizeparam width="261" height="83" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5000" id="3554" >
+<father id="3629" 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="177" minY="0" maxY="261" />
-<infoparam name="Block0" value="CA" />
-<TGConnectingPoint num="0" id="3640" />
-<TGConnectingPoint num="1" id="3641" />
-<TGConnectingPoint num="2" id="3642" />
-<TGConnectingPoint num="3" id="3643" />
-<TGConnectingPoint num="4" id="3644" />
-<TGConnectingPoint num="5" id="3645" />
-<TGConnectingPoint num="6" id="3646" />
-<TGConnectingPoint num="7" id="3647" />
-<TGConnectingPoint num="8" id="3648" />
-<TGConnectingPoint num="9" id="3649" />
-<TGConnectingPoint num="10" id="3650" />
-<TGConnectingPoint num="11" id="3651" />
-<TGConnectingPoint num="12" id="3652" />
-<TGConnectingPoint num="13" id="3653" />
-<TGConnectingPoint num="14" id="3654" />
-<TGConnectingPoint num="15" id="3655" />
-<TGConnectingPoint num="16" id="3656" />
-<TGConnectingPoint num="17" id="3657" />
-<TGConnectingPoint num="18" id="3658" />
-<TGConnectingPoint num="19" id="3659" />
-<TGConnectingPoint num="20" id="3660" />
-<TGConnectingPoint num="21" id="3661" />
-<TGConnectingPoint num="22" id="3662" />
-<TGConnectingPoint num="23" id="3663" />
+<cdrectangleparam minX="0" maxX="299" minY="0" maxY="218" />
+<infoparam name="Block0" value="SmartCard" />
+<TGConnectingPoint num="0" id="3530" />
+<TGConnectingPoint num="1" id="3531" />
+<TGConnectingPoint num="2" id="3532" />
+<TGConnectingPoint num="3" id="3533" />
+<TGConnectingPoint num="4" id="3534" />
+<TGConnectingPoint num="5" id="3535" />
+<TGConnectingPoint num="6" id="3536" />
+<TGConnectingPoint num="7" id="3537" />
+<TGConnectingPoint num="8" id="3538" />
+<TGConnectingPoint num="9" id="3539" />
+<TGConnectingPoint num="10" id="3540" />
+<TGConnectingPoint num="11" id="3541" />
+<TGConnectingPoint num="12" id="3542" />
+<TGConnectingPoint num="13" id="3543" />
+<TGConnectingPoint num="14" id="3544" />
+<TGConnectingPoint num="15" id="3545" />
+<TGConnectingPoint num="16" id="3546" />
+<TGConnectingPoint num="17" id="3547" />
+<TGConnectingPoint num="18" id="3548" />
+<TGConnectingPoint num="19" id="3549" />
+<TGConnectingPoint num="20" id="3550" />
+<TGConnectingPoint num="21" id="3551" />
+<TGConnectingPoint num="22" id="3552" />
+<TGConnectingPoint num="23" id="3553" />
 <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="" />
 <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="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="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="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="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)" />
+<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="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)" />
@@ -10891,39 +10884,49 @@ the smart card and the terminal
 <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="3689" >
-<father id="3739" num="1" />
+<SUBCOMPONENT type="5000" id="3579" >
+<father id="3629" 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="223" minY="0" maxY="218" />
 <infoparam name="Block0" value="InterfaceDevice" />
-<TGConnectingPoint num="0" id="3665" />
-<TGConnectingPoint num="1" id="3666" />
-<TGConnectingPoint num="2" id="3667" />
-<TGConnectingPoint num="3" id="3668" />
-<TGConnectingPoint num="4" id="3669" />
-<TGConnectingPoint num="5" id="3670" />
-<TGConnectingPoint num="6" id="3671" />
-<TGConnectingPoint num="7" id="3672" />
-<TGConnectingPoint num="8" id="3673" />
-<TGConnectingPoint num="9" id="3674" />
-<TGConnectingPoint num="10" id="3675" />
-<TGConnectingPoint num="11" id="3676" />
-<TGConnectingPoint num="12" id="3677" />
-<TGConnectingPoint num="13" id="3678" />
-<TGConnectingPoint num="14" id="3679" />
-<TGConnectingPoint num="15" id="3680" />
-<TGConnectingPoint num="16" id="3681" />
-<TGConnectingPoint num="17" id="3682" />
-<TGConnectingPoint num="18" id="3683" />
-<TGConnectingPoint num="19" id="3684" />
-<TGConnectingPoint num="20" id="3685" />
-<TGConnectingPoint num="21" id="3686" />
-<TGConnectingPoint num="22" id="3687" />
-<TGConnectingPoint num="23" id="3688" />
+<TGConnectingPoint num="0" id="3555" />
+<TGConnectingPoint num="1" id="3556" />
+<TGConnectingPoint num="2" id="3557" />
+<TGConnectingPoint num="3" id="3558" />
+<TGConnectingPoint num="4" id="3559" />
+<TGConnectingPoint num="5" id="3560" />
+<TGConnectingPoint num="6" id="3561" />
+<TGConnectingPoint num="7" id="3562" />
+<TGConnectingPoint num="8" id="3563" />
+<TGConnectingPoint num="9" id="3564" />
+<TGConnectingPoint num="10" id="3565" />
+<TGConnectingPoint num="11" id="3566" />
+<TGConnectingPoint num="12" id="3567" />
+<TGConnectingPoint num="13" id="3568" />
+<TGConnectingPoint num="14" id="3569" />
+<TGConnectingPoint num="15" id="3570" />
+<TGConnectingPoint num="16" id="3571" />
+<TGConnectingPoint num="17" id="3572" />
+<TGConnectingPoint num="18" id="3573" />
+<TGConnectingPoint num="19" id="3574" />
+<TGConnectingPoint num="20" id="3575" />
+<TGConnectingPoint num="21" id="3576" />
+<TGConnectingPoint num="22" id="3577" />
+<TGConnectingPoint num="23" id="3578" />
 <extraparam>
 <blockType data="cryptoblock" color="-4072719" />
 <CryptoBlock value="true" />
@@ -10963,65 +10966,52 @@ the smart card and the terminal
 <Method value="Message hash(Message msg)" />
 </extraparam>
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5000" id="3714" >
-<father id="3739" num="2" />
-<cdparam x="263" y="108" />
-<sizeparam width="139" height="126" minWidth="5" minHeight="2" maxWidth="2000" maxHeight="2000" minDesiredWidth="0" minDesiredHeight="0" />
+<SUBCOMPONENT type="5000" id="3604" >
+<father id="3629" 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="299" minY="0" maxY="218" />
-<infoparam name="Block0" value="SmartCard" />
-<TGConnectingPoint num="0" id="3690" />
-<TGConnectingPoint num="1" id="3691" />
-<TGConnectingPoint num="2" id="3692" />
-<TGConnectingPoint num="3" id="3693" />
-<TGConnectingPoint num="4" id="3694" />
-<TGConnectingPoint num="5" id="3695" />
-<TGConnectingPoint num="6" id="3696" />
-<TGConnectingPoint num="7" id="3697" />
-<TGConnectingPoint num="8" id="3698" />
-<TGConnectingPoint num="9" id="3699" />
-<TGConnectingPoint num="10" id="3700" />
-<TGConnectingPoint num="11" id="3701" />
-<TGConnectingPoint num="12" id="3702" />
-<TGConnectingPoint num="13" id="3703" />
-<TGConnectingPoint num="14" id="3704" />
-<TGConnectingPoint num="15" id="3705" />
-<TGConnectingPoint num="16" id="3706" />
-<TGConnectingPoint num="17" id="3707" />
-<TGConnectingPoint num="18" id="3708" />
-<TGConnectingPoint num="19" id="3709" />
-<TGConnectingPoint num="20" id="3710" />
-<TGConnectingPoint num="21" id="3711" />
-<TGConnectingPoint num="22" id="3712" />
-<TGConnectingPoint num="23" id="3713" />
+<cdrectangleparam minX="0" maxX="177" minY="0" maxY="261" />
+<infoparam name="Block0" value="CA" />
+<TGConnectingPoint num="0" id="3580" />
+<TGConnectingPoint num="1" id="3581" />
+<TGConnectingPoint num="2" id="3582" />
+<TGConnectingPoint num="3" id="3583" />
+<TGConnectingPoint num="4" id="3584" />
+<TGConnectingPoint num="5" id="3585" />
+<TGConnectingPoint num="6" id="3586" />
+<TGConnectingPoint num="7" id="3587" />
+<TGConnectingPoint num="8" id="3588" />
+<TGConnectingPoint num="9" id="3589" />
+<TGConnectingPoint num="10" id="3590" />
+<TGConnectingPoint num="11" id="3591" />
+<TGConnectingPoint num="12" id="3592" />
+<TGConnectingPoint num="13" id="3593" />
+<TGConnectingPoint num="14" id="3594" />
+<TGConnectingPoint num="15" id="3595" />
+<TGConnectingPoint num="16" id="3596" />
+<TGConnectingPoint num="17" id="3597" />
+<TGConnectingPoint num="18" id="3598" />
+<TGConnectingPoint num="19" id="3599" />
+<TGConnectingPoint num="20" id="3600" />
+<TGConnectingPoint num="21" id="3601" />
+<TGConnectingPoint num="22" id="3602" />
+<TGConnectingPoint num="23" id="3603" />
 <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="" />
 <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="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="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="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" />
-<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)" />
+<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)" />
@@ -11030,8 +11020,18 @@ the smart card and the terminal
 <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>
 
@@ -11039,52 +11039,52 @@ the smart card and the terminal
 </AVATARBlockDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="System" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3741" >
+<COMPONENT type="5100" id="3631" >
 <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="3740" />
+<TGConnectingPoint num="0" id="3630" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3743" >
+<AVATARStateMachineDiagramPanel name="CA" minX="10" maxX="2500" minY="10" maxY="1500" >
+<COMPONENT type="5100" id="3633" >
 <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="3742" />
+<TGConnectingPoint num="0" id="3632" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
 <AVATARStateMachineDiagramPanel name="InterfaceDevice" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3745" >
+<COMPONENT type="5100" id="3635" >
 <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="3744" />
+<TGConnectingPoint num="0" id="3634" />
 </COMPONENT>
 
 
 </AVATARStateMachineDiagramPanel>
 
-<AVATARStateMachineDiagramPanel name="CA" minX="10" maxX="2500" minY="10" maxY="1500" >
-<COMPONENT type="5100" id="3747" >
+<AVATARStateMachineDiagramPanel name="SmartCard" minX="10" maxX="2500" minY="10" maxY="1500" >
+<COMPONENT type="5100" id="3637" >
 <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="3746" />
+<TGConnectingPoint num="0" id="3636" />
 </COMPONENT>
 
 
@@ -11097,155 +11097,155 @@ the smart card and the terminal
 
 <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="3752" >
+<COMPONENT type="5705" id="3642" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Properties" />
-<TGConnectingPoint num="0" id="3748" />
-<TGConnectingPoint num="1" id="3749" />
-<TGConnectingPoint num="2" id="3750" />
-<TGConnectingPoint num="3" id="3751" />
+<TGConnectingPoint num="0" id="3638" />
+<TGConnectingPoint num="1" id="3639" />
+<TGConnectingPoint num="2" id="3640" />
+<TGConnectingPoint num="3" id="3641" />
 </COMPONENT>
 
-<COMPONENT type="5706" id="3757" >
+<COMPONENT type="5706" id="3647" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Prototyping" />
-<TGConnectingPoint num="0" id="3753" />
-<TGConnectingPoint num="1" id="3754" />
-<TGConnectingPoint num="2" id="3755" />
-<TGConnectingPoint num="3" id="3756" />
+<TGConnectingPoint num="0" id="3643" />
+<TGConnectingPoint num="1" id="3644" />
+<TGConnectingPoint num="2" id="3645" />
+<TGConnectingPoint num="3" id="3646" />
 </COMPONENT>
 
-<COMPONENT type="5704" id="3766" >
+<COMPONENT type="5704" id="3656" >
 <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="3761" />
-<TGConnectingPoint num="1" id="3762" />
-<TGConnectingPoint num="2" id="3763" />
-<TGConnectingPoint num="3" id="3764" />
-<TGConnectingPoint num="4" id="3765" />
-</COMPONENT>
-<SUBCOMPONENT type="5707" id="3758" >
-<father id="3766" num="0" />
-<cdparam x="804" y="432" />
+<TGConnectingPoint num="0" id="3651" />
+<TGConnectingPoint num="1" id="3652" />
+<TGConnectingPoint num="2" id="3653" />
+<TGConnectingPoint num="3" id="3654" />
+<TGConnectingPoint num="4" id="3655" />
+</COMPONENT>
+<SUBCOMPONENT type="5707" id="3648" >
+<father id="3656" 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="540" maxY="540" />
-<infoparam name="value " value="BasicSecurityProtocol" />
+<cdrectangleparam minX="1005" maxX="1005" minY="570" maxY="570" />
+<infoparam name="value " value="DHWithCertificateSecurityProtocol" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3759" >
-<father id="3766" num="1" />
+<SUBCOMPONENT type="5707" id="3649" >
+<father id="3656" 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="1005" maxX="1005" minY="555" maxY="555" />
 <infoparam name="value " value="DHSecurityProtocol" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3760" >
-<father id="3766" num="2" />
-<cdparam x="804" y="456" />
+<SUBCOMPONENT type="5707" id="3650" >
+<father id="3656" 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="570" maxY="570" />
-<infoparam name="value " value="DHWithCertificateSecurityProtocol" />
+<cdrectangleparam minX="1005" maxX="1005" minY="540" maxY="540" />
+<infoparam name="value " value="BasicSecurityProtocol" />
 </SUBCOMPONENT>
 
-<COMPONENT type="5703" id="3772" >
+<COMPONENT type="5703" id="3662" >
 <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="3767" />
-<TGConnectingPoint num="1" id="3768" />
-<TGConnectingPoint num="2" id="3769" />
-<TGConnectingPoint num="3" id="3770" />
-<TGConnectingPoint num="4" id="3771" />
+<TGConnectingPoint num="0" id="3657" />
+<TGConnectingPoint num="1" id="3658" />
+<TGConnectingPoint num="2" id="3659" />
+<TGConnectingPoint num="3" id="3660" />
+<TGConnectingPoint num="4" id="3661" />
 </COMPONENT>
 
-<COMPONENT type="5711" id="3777" >
+<COMPONENT type="5711" id="3667" >
 <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="3773" />
-<TGConnectingPoint num="1" id="3774" />
-<TGConnectingPoint num="2" id="3775" />
-<TGConnectingPoint num="3" id="3776" />
+<TGConnectingPoint num="0" id="3663" />
+<TGConnectingPoint num="1" id="3664" />
+<TGConnectingPoint num="2" id="3665" />
+<TGConnectingPoint num="3" id="3666" />
 </COMPONENT>
 
-<COMPONENT type="5710" id="3784" >
+<COMPONENT type="5710" id="3674" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Mapping" />
-<TGConnectingPoint num="0" id="3778" />
-<TGConnectingPoint num="1" id="3779" />
-<TGConnectingPoint num="2" id="3780" />
-<TGConnectingPoint num="3" id="3781" />
-<TGConnectingPoint num="4" id="3782" />
-<TGConnectingPoint num="5" id="3783" />
+<TGConnectingPoint num="0" id="3668" />
+<TGConnectingPoint num="1" id="3669" />
+<TGConnectingPoint num="2" id="3670" />
+<TGConnectingPoint num="3" id="3671" />
+<TGConnectingPoint num="4" id="3672" />
+<TGConnectingPoint num="5" id="3673" />
 </COMPONENT>
 
-<COMPONENT type="5709" id="3792" >
+<COMPONENT type="5709" id="3682" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Architecture view" />
-<TGConnectingPoint num="0" id="3788" />
-<TGConnectingPoint num="1" id="3789" />
-<TGConnectingPoint num="2" id="3790" />
-<TGConnectingPoint num="3" id="3791" />
+<TGConnectingPoint num="0" id="3678" />
+<TGConnectingPoint num="1" id="3679" />
+<TGConnectingPoint num="2" id="3680" />
+<TGConnectingPoint num="3" id="3681" />
 </COMPONENT>
-<SUBCOMPONENT type="5707" id="3785" >
-<father id="3792" num="0" />
-<cdparam x="924" y="112" />
+<SUBCOMPONENT type="5707" id="3675" >
+<father id="3682" 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="1155" maxX="1155" minY="140" maxY="140" />
-<infoparam name="value " value="Mapping1" />
+<cdrectangleparam minX="1155" maxX="1155" minY="170" maxY="170" />
+<infoparam name="value " value="Mapping2_Sec" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3786" >
-<father id="3792" num="1" />
+<SUBCOMPONENT type="5707" id="3676" >
+<father id="3682" 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="1155" maxX="1155" minY="155" maxY="155" />
 <infoparam name="value " value="Mapping2" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="5707" id="3787" >
-<father id="3792" num="2" />
-<cdparam x="924" y="136" />
+<SUBCOMPONENT type="5707" id="3677" >
+<father id="3682" 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="1155" maxX="1155" minY="170" maxY="170" />
-<infoparam name="value " value="Mapping2_Sec" />
+<cdrectangleparam minX="1155" maxX="1155" minY="140" maxY="140" />
+<infoparam name="value " value="Mapping1" />
 </SUBCOMPONENT>
 
-<COMPONENT type="5713" id="3798" >
+<COMPONENT type="5713" id="3688" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Functional view" />
-<TGConnectingPoint num="0" id="3794" />
-<TGConnectingPoint num="1" id="3795" />
-<TGConnectingPoint num="2" id="3796" />
-<TGConnectingPoint num="3" id="3797" />
+<TGConnectingPoint num="0" id="3684" />
+<TGConnectingPoint num="1" id="3685" />
+<TGConnectingPoint num="2" id="3686" />
+<TGConnectingPoint num="3" id="3687" />
 </COMPONENT>
-<SUBCOMPONENT type="5707" id="3793" >
-<father id="3798" num="0" />
+<SUBCOMPONENT type="5707" id="3683" >
+<father id="3688" 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" />
@@ -11253,33 +11253,33 @@ the smart card and the terminal
 <infoparam name="value " value="AppC" />
 </SUBCOMPONENT>
 
-<COMPONENT type="5719" id="3804" >
+<COMPONENT type="5719" id="3694" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Faults" />
-<TGConnectingPoint num="0" id="3799" />
-<TGConnectingPoint num="1" id="3800" />
-<TGConnectingPoint num="2" id="3801" />
-<TGConnectingPoint num="3" id="3802" />
-<TGConnectingPoint num="4" id="3803" />
+<TGConnectingPoint num="0" id="3689" />
+<TGConnectingPoint num="1" id="3690" />
+<TGConnectingPoint num="2" id="3691" />
+<TGConnectingPoint num="3" id="3692" />
+<TGConnectingPoint num="4" id="3693" />
 </COMPONENT>
 
-<COMPONENT type="5712" id="3811" >
+<COMPONENT type="5712" id="3701" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Attacks" />
-<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" />
-</COMPONENT>
-<SUBCOMPONENT type="5707" id="3805" >
-<father id="3811" num="0" />
+<TGConnectingPoint num="0" id="3696" />
+<TGConnectingPoint num="1" id="3697" />
+<TGConnectingPoint num="2" id="3698" />
+<TGConnectingPoint num="3" id="3699" />
+<TGConnectingPoint num="4" id="3700" />
+</COMPONENT>
+<SUBCOMPONENT type="5707" id="3695" >
+<father id="3701" 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" />
@@ -11287,23 +11287,23 @@ the smart card and the terminal
 <infoparam name="value " value="Attack Trees" />
 </SUBCOMPONENT>
 
-<COMPONENT type="5702" id="3821" >
+<COMPONENT type="5702" id="3711" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Requirements" />
-<TGConnectingPoint num="0" id="3813" />
-<TGConnectingPoint num="1" id="3814" />
-<TGConnectingPoint num="2" id="3815" />
-<TGConnectingPoint num="3" id="3816" />
-<TGConnectingPoint num="4" id="3817" />
-<TGConnectingPoint num="5" id="3818" />
-<TGConnectingPoint num="6" id="3819" />
-<TGConnectingPoint num="7" id="3820" />
-</COMPONENT>
-<SUBCOMPONENT type="5707" id="3812" >
-<father id="3821" num="0" />
+<TGConnectingPoint num="0" id="3703" />
+<TGConnectingPoint num="1" id="3704" />
+<TGConnectingPoint num="2" id="3705" />
+<TGConnectingPoint num="3" id="3706" />
+<TGConnectingPoint num="4" id="3707" />
+<TGConnectingPoint num="5" id="3708" />
+<TGConnectingPoint num="6" id="3709" />
+<TGConnectingPoint num="7" id="3710" />
+</COMPONENT>
+<SUBCOMPONENT type="5707" id="3702" >
+<father id="3711" 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" />
@@ -11311,151 +11311,151 @@ the smart card and the terminal
 <infoparam name="value " value="Requirements" />
 </SUBCOMPONENT>
 
-<COMPONENT type="5701" id="3826" >
+<COMPONENT type="5701" id="3716" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="TGComponent" value="Assumptions" />
-<TGConnectingPoint num="0" id="3822" />
-<TGConnectingPoint num="1" id="3823" />
-<TGConnectingPoint num="2" id="3824" />
-<TGConnectingPoint num="3" id="3825" />
+<TGConnectingPoint num="0" id="3712" />
+<TGConnectingPoint num="1" id="3713" />
+<TGConnectingPoint num="2" id="3714" />
+<TGConnectingPoint num="3" id="3715" />
 </COMPONENT>
 
-<COMPONENT type="304" id="3843" >
+<COMPONENT type="304" id="3733" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="Info" value="SW/HW Partitioning" />
-<TGConnectingPoint num="0" id="3827" />
-<TGConnectingPoint num="1" id="3828" />
-<TGConnectingPoint num="2" id="3829" />
-<TGConnectingPoint num="3" id="3830" />
-<TGConnectingPoint num="4" id="3831" />
-<TGConnectingPoint num="5" id="3832" />
-<TGConnectingPoint num="6" id="3833" />
-<TGConnectingPoint num="7" id="3834" />
-<TGConnectingPoint num="8" id="3835" />
-<TGConnectingPoint num="9" id="3836" />
-<TGConnectingPoint num="10" id="3837" />
-<TGConnectingPoint num="11" id="3838" />
-<TGConnectingPoint num="12" id="3839" />
-<TGConnectingPoint num="13" id="3840" />
-<TGConnectingPoint num="14" id="3841" />
-<TGConnectingPoint num="15" id="3842" />
+<TGConnectingPoint num="0" id="3717" />
+<TGConnectingPoint num="1" id="3718" />
+<TGConnectingPoint num="2" id="3719" />
+<TGConnectingPoint num="3" id="3720" />
+<TGConnectingPoint num="4" id="3721" />
+<TGConnectingPoint num="5" id="3722" />
+<TGConnectingPoint num="6" id="3723" />
+<TGConnectingPoint num="7" id="3724" />
+<TGConnectingPoint num="8" id="3725" />
+<TGConnectingPoint num="9" id="3726" />
+<TGConnectingPoint num="10" id="3727" />
+<TGConnectingPoint num="11" id="3728" />
+<TGConnectingPoint num="12" id="3729" />
+<TGConnectingPoint num="13" id="3730" />
+<TGConnectingPoint num="14" id="3731" />
+<TGConnectingPoint num="15" id="3732" />
 <extraparam>
 <TextColor value="-1" />
 <FillColor value="-1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="304" id="3860" >
+<COMPONENT type="304" id="3750" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="Info" value="SW Design" />
-<TGConnectingPoint num="0" id="3844" />
-<TGConnectingPoint num="1" id="3845" />
-<TGConnectingPoint num="2" id="3846" />
-<TGConnectingPoint num="3" id="3847" />
-<TGConnectingPoint num="4" id="3848" />
-<TGConnectingPoint num="5" id="3849" />
-<TGConnectingPoint num="6" id="3850" />
-<TGConnectingPoint num="7" id="3851" />
-<TGConnectingPoint num="8" id="3852" />
-<TGConnectingPoint num="9" id="3853" />
-<TGConnectingPoint num="10" id="3854" />
-<TGConnectingPoint num="11" id="3855" />
-<TGConnectingPoint num="12" id="3856" />
-<TGConnectingPoint num="13" id="3857" />
-<TGConnectingPoint num="14" id="3858" />
-<TGConnectingPoint num="15" id="3859" />
+<TGConnectingPoint num="0" id="3734" />
+<TGConnectingPoint num="1" id="3735" />
+<TGConnectingPoint num="2" id="3736" />
+<TGConnectingPoint num="3" id="3737" />
+<TGConnectingPoint num="4" id="3738" />
+<TGConnectingPoint num="5" id="3739" />
+<TGConnectingPoint num="6" id="3740" />
+<TGConnectingPoint num="7" id="3741" />
+<TGConnectingPoint num="8" id="3742" />
+<TGConnectingPoint num="9" id="3743" />
+<TGConnectingPoint num="10" id="3744" />
+<TGConnectingPoint num="11" id="3745" />
+<TGConnectingPoint num="12" id="3746" />
+<TGConnectingPoint num="13" id="3747" />
+<TGConnectingPoint num="14" id="3748" />
+<TGConnectingPoint num="15" id="3749" />
 <extraparam>
 <TextColor value="-1" />
 <FillColor value="-1" />
 </extraparam>
 </COMPONENT>
 
-<COMPONENT type="304" id="3877" >
+<COMPONENT type="304" id="3767" >
 <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="8" maxX="1601" minY="8" maxY="961" />
 <infoparam name="Info" value="Req / faults / attacks" />
-<TGConnectingPoint num="0" id="3861" />
-<TGConnectingPoint num="1" id="3862" />
-<TGConnectingPoint num="2" id="3863" />
-<TGConnectingPoint num="3" id="3864" />
-<TGConnectingPoint num="4" id="3865" />
-<TGConnectingPoint num="5" id="3866" />
-<TGConnectingPoint num="6" id="3867" />
-<TGConnectingPoint num="7" id="3868" />
-<TGConnectingPoint num="8" id="3869" />
-<TGConnectingPoint num="9" id="3870" />
-<TGConnectingPoint num="10" id="3871" />
-<TGConnectingPoint num="11" id="3872" />
-<TGConnectingPoint num="12" id="3873" />
-<TGConnectingPoint num="13" id="3874" />
-<TGConnectingPoint num="14" id="3875" />
-<TGConnectingPoint num="15" id="3876" />
+<TGConnectingPoint num="0" id="3751" />
+<TGConnectingPoint num="1" id="3752" />
+<TGConnectingPoint num="2" id="3753" />
+<TGConnectingPoint num="3" id="3754" />
+<TGConnectingPoint num="4" id="3755" />
+<TGConnectingPoint num="5" id="3756" />
+<TGConnectingPoint num="6" id="3757" />
+<TGConnectingPoint num="7" id="3758" />
+<TGConnectingPoint num="8" id="3759" />
+<TGConnectingPoint num="9" id="3760" />
+<TGConnectingPoint num="10" id="3761" />
+<TGConnectingPoint num="11" id="3762" />
+<TGConnectingPoint num="12" id="3763" />
+<TGConnectingPoint num="13" id="3764" />
+<TGConnectingPoint num="14" id="3765" />
+<TGConnectingPoint num="15" id="3766" />
 <extraparam>
 <TextColor value="-1" />
 <FillColor value="-1" />
 </extraparam>
 </COMPONENT>
 
-<CONNECTOR type="6004" id="3879" >
+<CONNECTOR type="6004" id="3769" >
 <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="3878" />
-<P1  x="1000" y="136" id="3788" />
-<P2  x="832" y="180" id="3779" />
+<TGConnectingPoint num="0" id="3768" />
+<P1  x="1000" y="136" id="3678" />
+<P2  x="832" y="180" id="3669" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="6004" id="3881" >
+<CONNECTOR type="6004" id="3771" >
 <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="3880" />
-<P1  x="799" y="136" id="3773" />
-<P2  x="800" y="180" id="3780" />
+<TGConnectingPoint num="0" id="3770" />
+<P1  x="799" y="136" id="3663" />
+<P2  x="800" y="180" id="3670" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="6004" id="3883" >
+<CONNECTOR type="6004" id="3773" >
 <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="3882" />
-<P1  x="600" y="136" id="3794" />
-<P2  x="768" y="180" id="3778" />
+<TGConnectingPoint num="0" id="3772" />
+<P1  x="600" y="136" id="3684" />
+<P2  x="768" y="180" id="3668" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5718" id="3889" >
+<CONNECTOR type="5718" id="3779" >
 <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="3886" />
-<TGConnectingPoint num="1" id="3887" />
-<TGConnectingPoint num="2" id="3888" />
-<P1  x="440" y="308" id="3813" />
-<P2  x="592" y="400" id="3748" />
+<TGConnectingPoint num="0" id="3776" />
+<TGConnectingPoint num="1" id="3777" />
+<TGConnectingPoint num="2" id="3778" />
+<P1  x="440" y="308" id="3703" />
+<P2  x="592" y="400" id="3638" />
 <Point x="476" y="308" />
 <Point x="476" y="360" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3884" >
-<father id="3889" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3774" >
+<father id="3779" 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="2500" minY="10" maxY="1500" />
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
-<SUBCOMPONENT type="-1" id="3885" >
-<father id="3889" num="1" />
+<SUBCOMPONENT type="-1" id="3775" >
+<father id="3779" 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" />
@@ -11463,18 +11463,18 @@ the smart card and the terminal
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="5718" id="3893" >
+<CONNECTOR type="5718" id="3783" >
 <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="3891" />
-<TGConnectingPoint num="1" id="3892" />
-<P1  x="832" y="456" id="3762" />
-<P2  x="880" y="508" id="3753" />
+<TGConnectingPoint num="0" id="3781" />
+<TGConnectingPoint num="1" id="3782" />
+<P1  x="832" y="456" id="3652" />
+<P2  x="880" y="508" id="3643" />
 <Point x="848" y="500" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3890" >
-<father id="3893" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3780" >
+<father id="3783" 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" />
@@ -11482,18 +11482,18 @@ the smart card and the terminal
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="5718" id="3897" >
+<CONNECTOR type="5718" id="3787" >
 <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="3895" />
-<TGConnectingPoint num="1" id="3896" />
-<P1  x="768" y="376" id="3768" />
-<P2  x="800" y="428" id="3761" />
+<TGConnectingPoint num="0" id="3785" />
+<TGConnectingPoint num="1" id="3786" />
+<P1  x="768" y="376" id="3658" />
+<P2  x="800" y="428" id="3651" />
 <Point x="768" y="420" />
 <AutomaticDrawing  data="true" />
-</CONNECTOR><SUBCOMPONENT type="-1" id="3894" >
-<father id="3897" num="0" />
+</CONNECTOR><SUBCOMPONENT type="-1" id="3784" >
+<father id="3787" 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" />
@@ -11501,40 +11501,40 @@ the smart card and the terminal
 <infoparam name="point " value="null" />
 </SUBCOMPONENT>
 
-<CONNECTOR type="5718" id="3899" >
+<CONNECTOR type="5718" id="3789" >
 <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="3898" />
-<P1  x="376" y="440" id="3807" />
-<P2  x="376" y="336" id="3815" />
+<TGConnectingPoint num="0" id="3788" />
+<P1  x="376" y="440" id="3697" />
+<P2  x="376" y="336" id="3705" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5718" id="3901" >
+<CONNECTOR type="5718" id="3791" >
 <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="3900" />
-<P1  x="376" y="176" id="3800" />
-<P2  x="376" y="280" id="3816" />
+<TGConnectingPoint num="0" id="3790" />
+<P1  x="376" y="176" id="3690" />
+<P2  x="376" y="280" id="3706" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5718" id="3903" >
+<CONNECTOR type="5718" id="3793" >
 <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="3902" />
-<P1  x="328" y="280" id="3817" />
-<P2  x="328" y="176" id="3799" />
+<TGConnectingPoint num="0" id="3792" />
+<P1  x="328" y="280" id="3707" />
+<P2  x="328" y="176" id="3689" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
-<CONNECTOR type="5718" id="3905" >
+<CONNECTOR type="5718" id="3795" >
 <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="3904" />
-<P1  x="328" y="336" id="3814" />
-<P2  x="328" y="440" id="3806" />
+<TGConnectingPoint num="0" id="3794" />
+<P1  x="328" y="336" id="3704" />
+<P2  x="328" y="440" id="3696" />
 <AutomaticDrawing  data="true" />
 </CONNECTOR>
 
diff --git a/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java b/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java
index d3791fc746..2c11bfb1cf 100644
--- a/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java
+++ b/src/main/java/avatartranslator/modelchecker/AvatarModelChecker.java
@@ -607,7 +607,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
             // Compute the hash of the new state, and create the link to the right next state
             SpecificationLink link = new SpecificationLink();
             link.originState = _ss;
-            action += " [" + tr.clockMin + " ..." + clockMax + "]";
+            action += " [" + tr.clockMin + "..." + clockMax + "]";
             link.action = action;
             newState.computeHash(blockValues);
             //SpecificationState similar = states.get(newState.getHash(blockValues));
diff --git a/src/main/java/common/SpecConfigTTool.java b/src/main/java/common/SpecConfigTTool.java
index 3bcd28296a..869711a743 100644
--- a/src/main/java/common/SpecConfigTTool.java
+++ b/src/main/java/common/SpecConfigTTool.java
@@ -188,7 +188,7 @@ public class SpecConfigTTool {
         AVATARExecutableSoclibCodeCompileCommand = ConfigurationTTool.AVATARExecutableSoclibCodeCompileCommand.replace(ConfigurationTTool.AVATARMPSoCCodeDirectory, AVATARMPSoCCompileCommand);
         AVATARExecutableSoclibCodeExecuteCommand = ConfigurationTTool.AVATARExecutableSoclibCodeExecuteCommand.replace(ConfigurationTTool.AVATARMPSoCCodeDirectory, AVATARMPSoCCompileCommand);
         AVATARExecutableSoclibCodeTraceCommand = ConfigurationTTool.AVATARExecutableSoclibCodeTraceCommand.replace(ConfigurationTTool.AVATARMPSoCCodeDirectory, AVATARMPSoCCompileCommand);
-        ExternalCommand1 = ConfigurationTTool.ExternalCommand1.replace(ConfigurationTTool.VCDPath, SpecConfigTTool.VCDPath);
+        //ExternalCommand1 = ConfigurationTTool.ExternalCommand1.replace(ConfigurationTTool.VCDPath, SpecConfigTTool.VCDPath);
     }
 
     public static void setBasicConfig(boolean systemcOn) {
@@ -286,7 +286,7 @@ public class SpecConfigTTool {
         try {
             Element elt = (Element) (nl.item(0));
             lastVCD = elt.getAttribute("data");
-            ExternalCommand1 = "gtkwave " + lastVCD;
+           // ExternalCommand1 = "gtkwave " + lastVCD;
         } catch (Exception e) {
             throw new MalformedConfigurationException(e.getMessage());
         }
diff --git a/src/main/java/ui/ADDPanel.java b/src/main/java/ui/ADDPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ActionStateErrorHighlight.java b/src/main/java/ui/ActionStateErrorHighlight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ActivityDiagram2TMLTranslator.java b/src/main/java/ui/ActivityDiagram2TMLTranslator.java
index a97c4778d3..808703b214 100644
--- a/src/main/java/ui/ActivityDiagram2TMLTranslator.java
+++ b/src/main/java/ui/ActivityDiagram2TMLTranslator.java
@@ -91,7 +91,7 @@ public class ActivityDiagram2TMLTranslator {
         TMLActivity activity = tmltask.getActivityDiagram();
         TMLActivityDiagramPanel tadp = (TMLActivityDiagramPanel)(activity.getReferenceObject());
 
-        TraceManager.addDev( "Generating activity diagram of: " + tmltask.getName());
+        //TraceManager.addDev( "Generating activity diagram of: " + tmltask.getName());
 
         // search for start state
         List<TGComponent> list = tadp.getComponentList();
diff --git a/src/main/java/ui/ActivityDiagramPanelInterface.java b/src/main/java/ui/ActivityDiagramPanelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AnalysisPanel.java b/src/main/java/ui/AnalysisPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AnalysisPanelTranslator.java b/src/main/java/ui/AnalysisPanelTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AnalysisSyntaxException.java b/src/main/java/ui/AnalysisSyntaxException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ArtifactTClassGate.java b/src/main/java/ui/ArtifactTClassGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AttackTreePanel.java b/src/main/java/ui/AttackTreePanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AvatarAnalysisPanel.java b/src/main/java/ui/AvatarAnalysisPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AvatarMethodologyPanel.java b/src/main/java/ui/AvatarMethodologyPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/AvatarRequirementPanel.java b/src/main/java/ui/AvatarRequirementPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/BasicErrorHighlight.java b/src/main/java/ui/BasicErrorHighlight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CDElement.java b/src/main/java/ui/CDElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CheckableAccessibility.java b/src/main/java/ui/CheckableAccessibility.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CheckableInvariant.java b/src/main/java/ui/CheckableInvariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ClassDiagramPanelInterface.java b/src/main/java/ui/ClassDiagramPanelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ColorManager.java b/src/main/java/ui/ColorManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ComponentPluginInterface.java b/src/main/java/ui/ComponentPluginInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CompositionOperatorInterface.java b/src/main/java/ui/CompositionOperatorInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/CorrespondanceTGElement.java b/src/main/java/ui/CorrespondanceTGElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DeploymentPanel.java b/src/main/java/ui/DeploymentPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DesignPanel.java b/src/main/java/ui/DesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DesignPanelTranslator.java b/src/main/java/ui/DesignPanelTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/DiplodocusMethodologyPanel.java b/src/main/java/ui/DiplodocusMethodologyPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/EBRDDTranslator.java b/src/main/java/ui/EBRDDTranslator.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/EmbeddedComment.java b/src/main/java/ui/EmbeddedComment.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ErrorGUI.java b/src/main/java/ui/ErrorGUI.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ErrorHighlight.java b/src/main/java/ui/ErrorHighlight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/FaultTreePanel.java b/src/main/java/ui/FaultTreePanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/FormatManager.java b/src/main/java/ui/FormatManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GNCModeling.java b/src/main/java/ui/GNCModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GProactiveDesign.java b/src/main/java/ui/GProactiveDesign.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GTMLModeling.java b/src/main/java/ui/GTMLModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/GTURTLEModeling.java b/src/main/java/ui/GTURTLEModeling.java
index 584c9f9f9f..c4a5307bf1 100644
--- a/src/main/java/ui/GTURTLEModeling.java
+++ b/src/main/java/ui/GTURTLEModeling.java
@@ -201,8 +201,10 @@ public class GTURTLEModeling {
     private String tlsa;
     private String tlsadot;
 
+    private List<SimulationTrace> simulationTraces;
     private List<RG> graphs;
     private GraphTree gt;
+    private SimulationTraceTree stt;
 
     private int nbRTLOTOS;
     private int nbSuggestedDesign;
@@ -264,6 +266,7 @@ public class GTURTLEModeling {
         pointerOperation = -1;
 
         graphs = new ArrayList<RG>();
+        simulationTraces = new ArrayList<SimulationTrace>();
         invariants = new LinkedList<Invariant>();
 
         //vdt = new ValidationDataTree(mgui);
@@ -271,6 +274,7 @@ public class GTURTLEModeling {
         idt = new InvariantDataTree(mgui);
         st = new SearchTree(mgui);
         gt = new GraphTree(mgui);
+        stt = new SimulationTraceTree(mgui);
 
 		/*if (!Charset.isSupported("UTF-8")) {
 		  ErrorGUI.exit(ErrorGUI.ERROR_CHARSET);
@@ -290,6 +294,20 @@ public class GTURTLEModeling {
         return tm.isARegularTIFSpec();
     }
 
+    public List<SimulationTrace> getSimulationTraces() {
+        return simulationTraces;
+    }
+
+    public void addSimulationTrace(SimulationTrace newTrace) {
+        TraceManager.addDev("Adding new simulation trace " + newTrace);
+        simulationTraces.add(newTrace);
+    }
+
+    public void removeSimulationTrace(SimulationTrace oldTrace) {
+        //TraceManager.addDev("Adding new graph " + newGraph);
+        simulationTraces.remove(oldTrace);
+    }
+
     public List<RG> getRGs() {
         return graphs;
     }
@@ -2582,6 +2600,22 @@ public class GTURTLEModeling {
             mgui.dtree.expandMyPath(new TreePath(obj));
             mgui.dtree.forceUpdate();
 
+        } else {
+            TraceManager.addDev("Pb to expand Graph tree");
+        }
+    }
+
+    public void expandToSimulationTraces() {
+        if ((stt != null) && (simulationTraces != null) && (simulationTraces.size() > 0)) {
+            Object[] obj = new Object[2];
+            obj[0] = mgui.dtree.getModel().getRoot();
+            obj[1] = stt;
+            TraceManager.addDev("Expanding Path because of simulation traces");
+            mgui.dtree.expandMyPath(new TreePath(obj));
+            mgui.dtree.forceUpdate();
+
+        } else {
+            TraceManager.addDev("Pb to expand ST tree");
         }
     }
 
@@ -2590,7 +2624,7 @@ public class GTURTLEModeling {
     }
 
     public int getChildCount() {
-        return panels.size() + 4;
+        return panels.size() + 5;
     }
 
     public Object getChild(int index) {
@@ -2599,8 +2633,10 @@ public class GTURTLEModeling {
         } else if (index == panels.size()) {
             return mcvdt;
         } else if (index == (panels.size() + 1)) {
-            return gt;
+            return stt;
         } else if (index == (panels.size() + 2)) {
+            return gt;
+        } else if (index == (panels.size() + 3)) {
             return idt;
         } else {
             return st;
@@ -2618,16 +2654,20 @@ public class GTURTLEModeling {
             return panels.size();
         }
 
-        if (child == gt) {
+        if (child == stt) {
             return panels.size() + 1;
         }
 
-        if (child == idt) {
+        if (child == gt) {
             return panels.size() + 2;
         }
 
+        if (child == idt) {
+            return panels.size() + 3;
+        }
+
 
-        return panels.size() + 3;
+        return panels.size() + 4;
     }
 
     // Projection management
diff --git a/src/main/java/ui/GTURTLEOSModeling.java b/src/main/java/ui/GTURTLEOSModeling.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/HiddenInternalComponents.java b/src/main/java/ui/HiddenInternalComponents.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/Invariant.java b/src/main/java/ui/Invariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/InvariantSynchro.java b/src/main/java/ui/InvariantSynchro.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/JMenuBarTurtle.java b/src/main/java/ui/JMenuBarTurtle.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/JScrollDiagramPanel.java b/src/main/java/ui/JScrollDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/JTGComponentButton.java b/src/main/java/ui/JTGComponentButton.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/JToolBarMainTurtle.java b/src/main/java/ui/JToolBarMainTurtle.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/LRArtifactTClassGate.java b/src/main/java/ui/LRArtifactTClassGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MSCDrawer.java b/src/main/java/ui/MSCDrawer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MainGUI.java b/src/main/java/ui/MainGUI.java
index b9e4bef033..e5d2aa5796 100644
--- a/src/main/java/ui/MainGUI.java
+++ b/src/main/java/ui/MainGUI.java
@@ -769,6 +769,35 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         jfm.setVisible(true);
     }
 
+
+    // Simulation traces
+    public List<SimulationTrace> getSimulationTraces() {
+        return gtm.getSimulationTraces();
+    }
+
+    public void addSimulationTrace(SimulationTrace _newSimulationTrace) {
+        gtm.addSimulationTrace(_newSimulationTrace);
+        expandToSimulationTraces();
+        dtree.toBeUpdated();
+    }
+
+    public void removeSimulationTrace(SimulationTrace _toBeRemoved) {
+        gtm.removeSimulationTrace(_toBeRemoved);
+        /*if (_toBeRemoved.fileName != null) {
+            TraceManager.addDev("Filename=" + _toBeRemoved.fileName);
+            File toBeDeleted = new File(_toBeRemoved.fileName);
+            try {
+                toBeDeleted.delete();
+                TraceManager.addDev("File of RG was deleted on disk");
+            } catch (Exception e) {
+
+            }
+        }*/
+        dtree.toBeUpdated();
+    }
+
+
+
     public void showInFinder(RG inputGraph) {
         TraceManager.addDev("in show in finder");
         if (inputGraph.fileName == null) {
@@ -789,6 +818,32 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
     }
 
 
+    // Can open directory or file
+    public void showInFinder(SimulationTrace trace, boolean openDirectory) {
+        TraceManager.addDev("in show in finder");
+        if (!trace.hasFile()) {
+            return;
+        }
+        if (!Desktop.isDesktopSupported()) {
+            return;
+        }
+        File file = new File(trace.getFullPath());
+        if (openDirectory) {
+            if (!file.isDirectory()) {
+                file = file.getParentFile();
+            }
+        }
+        TraceManager.addDev("Getting desktop");
+        Desktop desktop = Desktop.getDesktop();
+        try {
+            TraceManager.addDev("Opening in desktop");
+            desktop.open(file);
+        } catch (Exception e) {
+            TraceManager.addDev("Exception in opening explorer: " + e.getMessage());
+        }
+    }
+
+
     public void setCurrentInvariant(Invariant inv) {
         currentInvariant = inv;
     }
@@ -1174,6 +1229,12 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
         }
     }
 
+    public void expandToSimulationTraces() {
+        if (gtm != null) {
+            gtm.expandToSimulationTraces();
+        }
+    }
+
     public Vector<String> getTMLTasks() {
         TURTLEPanel tp;
         Vector<String> list = new Vector<String>();
@@ -5611,6 +5672,10 @@ public class MainGUI implements ActionListener, WindowListener, KeyListener, Per
 
     }
 
+    public void runGTKWave(String pathToFile) {
+        executeUserCommand("localhost", ConfigurationTTool.GTKWavePath + " " + pathToFile);
+    }
+
     public void showModifiedAUTDOT() {
         String s = GTURTLEModeling.runDOTTY(modifiedautdot);
         if (s != null) {
diff --git a/src/main/java/ui/MalformedModelingException.java b/src/main/java/ui/MalformedModelingException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MalformedTMLDesignException.java b/src/main/java/ui/MalformedTMLDesignException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/MalformedTURTLEModelingException.java b/src/main/java/ui/MalformedTURTLEModelingException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ModeManager.java b/src/main/java/ui/ModeManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/NCPanel.java b/src/main/java/ui/NCPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/NoComponentException.java b/src/main/java/ui/NoComponentException.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PartOfHighInvariant.java b/src/main/java/ui/PartOfHighInvariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PartOfInvariant.java b/src/main/java/ui/PartOfInvariant.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PostJavaCode.java b/src/main/java/ui/PostJavaCode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/PreJavaCode.java b/src/main/java/ui/PreJavaCode.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ProactiveDesignPanel.java b/src/main/java/ui/ProactiveDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/RequirementPanel.java b/src/main/java/ui/RequirementPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ScalableTGComponent.java b/src/main/java/ui/ScalableTGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SimulationTrace.java b/src/main/java/ui/SimulationTrace.java
new file mode 100644
index 0000000000..07c46b87bf
--- /dev/null
+++ b/src/main/java/ui/SimulationTrace.java
@@ -0,0 +1,95 @@
+/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
+ *
+ * ludovic.apvrille AT telecom-paristech.fr
+ *
+ * This software is a computer program whose purpose is to allow the
+ * edition of TURTLE analysis, design and deployment diagrams, to
+ * allow the generation of RT-LOTOS or Java code from this diagram,
+ * and at last to allow the analysis of formal validation traces
+ * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
+ * from INRIA Rhone-Alpes.
+ *
+ * This software is governed by the CeCILL  license under French law and
+ * abiding by the rules of distribution of free software.  You can  use,
+ * modify and/ or redistribute the software under the terms of the CeCILL
+ * license as circulated by CEA, CNRS and INRIA at the following URL
+ * "http://www.cecill.info".
+ *
+ * As a counterpart to the access to the source code and  rights to copy,
+ * modify and redistribute granted by the license, users are provided only
+ * with a limited warranty  and the software's author,  the holder of the
+ * economic rights,  and the successive licensors  have only  limited
+ * liability.
+ *
+ * In this respect, the user's attention is drawn to the risks associated
+ * with loading,  using,  modifying and/or developing or reproducing the
+ * software by the user in light of its specific status of free software,
+ * that may mean  that it is complicated to manipulate,  and  that  also
+ * therefore means  that it is reserved for developers  and  experienced
+ * professionals having in-depth computer knowledge. Users are therefore
+ * encouraged to load and test the software's suitability as regards their
+ * requirements in conditions enabling the security of their systems and/or
+ * data to be ensured and,  more generally, to use and operate it in the
+ * same conditions as regards security.
+ *
+ * The fact that you are presently reading this means that you have had
+ * knowledge of the CeCILL license and that you accept its terms.
+ */
+
+package ui;
+
+public class SimulationTrace {
+	private String name;
+	private String fullPathToFile = null;
+	private int type;
+
+	public static final int VCD_DIPLO = 0;
+    public static final int TXT_DIPLO = 1;
+    public static final int HTML_DIPLO = 2;
+
+	private static String[] TYPES = {"VCD DIPLO", "TXT DIPLO", "HTML DIPLO"};
+
+    public SimulationTrace(String name, int type) {
+        this(name, type, null);
+    }
+
+	public SimulationTrace(String name, int type, String fullPathToFile) {
+	    this.name = name;
+	    this.type = type;
+	    this.fullPathToFile = fullPathToFile;
+    }
+
+    public int getType() {
+	    return type;
+    }
+
+    public String getTypeString() {
+	    return TYPES[type];
+    }
+
+    public String getFullPath() {
+        return fullPathToFile;
+    }
+
+    public String getToolTip() {
+	    return "Simulation trace. Name:" + name;
+    }
+
+    public boolean hasFile() {
+	    return fullPathToFile != null;
+    }
+
+    public String getName() {
+	    return name;
+    }
+
+    public String toString() {
+        String ret="";
+        ret += name + " of type " +  TYPES[type];
+        if (fullPathToFile != null) {
+            ret += " " + fullPathToFile;
+        }
+        return ret;
+
+    }
+}
diff --git a/src/main/java/ui/SpecificActionAfterAdd.java b/src/main/java/ui/SpecificActionAfterAdd.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SpecificActionAfterMove.java b/src/main/java/ui/SpecificActionAfterMove.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/StoppableGUIElement.java b/src/main/java/ui/StoppableGUIElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SwallowTGComponent.java b/src/main/java/ui/SwallowTGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SwallowedTGComponent.java b/src/main/java/ui/SwallowedTGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/SysmlsecMethodologyPanel.java b/src/main/java/ui/SysmlsecMethodologyPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TAction.java b/src/main/java/ui/TAction.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TAttribute.java b/src/main/java/ui/TAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TClassAndGateDS.java b/src/main/java/ui/TClassAndGateDS.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TClassInterface.java b/src/main/java/ui/TClassInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TClassSynchroInterface.java b/src/main/java/ui/TClassSynchroInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TDPWithAttributes.java b/src/main/java/ui/TDPWithAttributes.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TDiagramMouseManager.java b/src/main/java/ui/TDiagramMouseManager.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TDiagramPanel.java b/src/main/java/ui/TDiagramPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGAutoAdjust.java b/src/main/java/ui/TGAutoAdjust.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCAttributeBox.java b/src/main/java/ui/TGCAttributeBox.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCNote.java b/src/main/java/ui/TGCNote.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCOneLineText.java b/src/main/java/ui/TGCOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCPanelInfo.java b/src/main/java/ui/TGCPanelInfo.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCPointOfConnector.java b/src/main/java/ui/TGCPointOfConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableOneLineText.java b/src/main/java/ui/TGCScalableOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableWithInternalComponent.java b/src/main/java/ui/TGCScalableWithInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableWithoutInternalComponent.java b/src/main/java/ui/TGCScalableWithoutInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCScalableWithoutInternalComponentOneLineText.java b/src/main/java/ui/TGCScalableWithoutInternalComponentOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCTimeInterval.java b/src/main/java/ui/TGCTimeInterval.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCWithInternalComponent.java b/src/main/java/ui/TGCWithInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCWithOneLineText.java b/src/main/java/ui/TGCWithOneLineText.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGCWithoutInternalComponent.java b/src/main/java/ui/TGCWithoutInternalComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGComponent.java b/src/main/java/ui/TGComponent.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGComponentAndUPPAALQuery.java b/src/main/java/ui/TGComponentAndUPPAALQuery.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGComponentPlugin.java b/src/main/java/ui/TGComponentPlugin.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPoint.java b/src/main/java/ui/TGConnectingPoint.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointComment.java b/src/main/java/ui/TGConnectingPointComment.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointGroup.java b/src/main/java/ui/TGConnectingPointGroup.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointTmp.java b/src/main/java/ui/TGConnectingPointTmp.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointTwoFathers.java b/src/main/java/ui/TGConnectingPointTwoFathers.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectingPointWidthHeight.java b/src/main/java/ui/TGConnectingPointWidthHeight.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnector.java b/src/main/java/ui/TGConnector.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorAttribute.java b/src/main/java/ui/TGConnectorAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorBetweenElementsInterface.java b/src/main/java/ui/TGConnectorBetweenElementsInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorComment.java b/src/main/java/ui/TGConnectorComment.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorFullArrow.java b/src/main/java/ui/TGConnectorFullArrow.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGConnectorWithCommentConnectionPoints.java b/src/main/java/ui/TGConnectorWithCommentConnectionPoints.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TGState.java b/src/main/java/ui/TGState.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLArchiPanel.java b/src/main/java/ui/TMLArchiPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLCommunicationPatternPanel.java b/src/main/java/ui/TMLCommunicationPatternPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLComponentDesignPanel.java b/src/main/java/ui/TMLComponentDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLDesignPanel.java b/src/main/java/ui/TMLDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TMLTaskInterface.java b/src/main/java/ui/TMLTaskInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TOneAttribute.java b/src/main/java/ui/TOneAttribute.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TToolBar.java b/src/main/java/ui/TToolBar.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TToolUpdater.java b/src/main/java/ui/TToolUpdater.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TTwoAttributes.java b/src/main/java/ui/TTwoAttributes.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TType.java b/src/main/java/ui/TType.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEDesignPanelInterface.java b/src/main/java/ui/TURTLEDesignPanelInterface.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEModelChecker.java b/src/main/java/ui/TURTLEModelChecker.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEModelingDrawer.java b/src/main/java/ui/TURTLEModelingDrawer.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEOSDesignPanel.java b/src/main/java/ui/TURTLEOSDesignPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEPanel.java b/src/main/java/ui/TURTLEPanel.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/TURTLEPanelPopupListener.java b/src/main/java/ui/TURTLEPanelPopupListener.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ThreadGUIElement.java b/src/main/java/ui/ThreadGUIElement.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/UICheckingError.java b/src/main/java/ui/UICheckingError.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/VectorLRArtifactTClassGate.java b/src/main/java/ui/VectorLRArtifactTClassGate.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/WithAttributes.java b/src/main/java/ui/WithAttributes.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/ZoomGraphics.java b/src/main/java/ui/ZoomGraphics.java
old mode 100755
new mode 100644
diff --git a/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java b/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java
index 00a268f54a..f0fc14d6eb 100755
--- a/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java
+++ b/src/main/java/ui/interactivesimulation/JFrameInteractiveSimulation.java
@@ -40,6 +40,7 @@ package ui.interactivesimulation;
 
 import common.ConfigurationTTool;
 import common.SpecConfigTTool;
+import ddtranslatorSoclib.toTopCell.Simulation;
 import launcher.LauncherException;
 import launcher.RshClient;
 import myutil.*;
@@ -2606,16 +2607,20 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene
     	return filename;
     }
 
+    // Format. VCD=0, HTML=1, TXT=2
     private void sendSaveTraceCommand( 	String filename,
     									final String format) {
 //        String param = saveFileName.getText().trim();
-        
+
+        //TraceManager.addDev("format >" + format + "<");
+
         if ( filename.isEmpty() ) {
         	final String message = "Please enter a file name for the trace.";
         	JOptionPane.showMessageDialog( this, message, "Output File Name not Specified", JOptionPane.ERROR_MESSAGE );
         	error( message );
         }
         else {
+            String original = filename;
         	final String directory = saveDirName.getText().trim();
         	
 	        if ( !directory.isEmpty() ) {
@@ -2624,11 +2629,25 @@ public class JFrameInteractiveSimulation extends JFrame implements ActionListene
 	        	else
 	        		filename = directory + filename;
 	        }
-	        if ("vcd".equals(FileUtils.getExtension(filename))) {
-	        	SpecConfigTTool.ExternalCommand1 = SpecConfigTTool.ExternalCommand1.replace(SpecConfigTTool.lastVCD, filename);
+
+	        // VCD
+	        if (format.compareTo("0") == 0) {
+	        	//SpecConfigTTool.ExternalCommand1 = SpecConfigTTool.ExternalCommand1.replace(SpecConfigTTool.lastVCD, filename);
 	        	SpecConfigTTool.lastVCD = filename;
+
 	        }
 
+	        int type;
+            if (format.compareTo("0") == 0) {
+                type = SimulationTrace.VCD_DIPLO;
+            } else if (format.compareTo("1") == 0) {
+	            type = SimulationTrace.HTML_DIPLO;
+            } else {
+	            type = SimulationTrace.TXT_DIPLO;
+            }
+	        SimulationTrace st = new SimulationTrace(original, type, filename);
+            mgui.addSimulationTrace(st);
+
 	        // DB: now useless check
 //	        if (param.length() >0) {
 	        sendCommand( "save-trace-in-file" + " " + format + " " + filename );
diff --git a/src/main/java/ui/tree/DiagramTreeModel.java b/src/main/java/ui/tree/DiagramTreeModel.java
index f72d2771a4..e7ce5dbaea 100755
--- a/src/main/java/ui/tree/DiagramTreeModel.java
+++ b/src/main/java/ui/tree/DiagramTreeModel.java
@@ -166,6 +166,10 @@ public class DiagramTreeModel implements TreeModel {
                 return false;
             }
 
+            if (node instanceof SimulationTraceTree) {
+                return false;
+            }
+
             if (node instanceof Invariant) {
                 return false;
             }
diff --git a/src/main/java/ui/tree/DiagramTreeRenderer.java b/src/main/java/ui/tree/DiagramTreeRenderer.java
index 35223ee58a..8dda1bd5f4 100755
--- a/src/main/java/ui/tree/DiagramTreeRenderer.java
+++ b/src/main/java/ui/tree/DiagramTreeRenderer.java
@@ -288,6 +288,10 @@ public class DiagramTreeRenderer extends DefaultTreeCellRenderer  {
             RG rg = (RG)value;
             setIcon(IconManager.imgic310);
             setToolTipText("Graph: " + rg.getToolTip());
+        } else if (value instanceof SimulationTrace) {
+            SimulationTrace st = (SimulationTrace)value;
+            setIcon(IconManager.imgic312);
+            setToolTipText("Simulation trace: " + st.getToolTip());
         } else if (value instanceof Invariant) {
             Invariant inv = (Invariant)value;
             setIcon(IconManager.imgic5110);
@@ -302,6 +306,9 @@ public class DiagramTreeRenderer extends DefaultTreeCellRenderer  {
         } else if (value instanceof GraphTree) {
             setIcon(IconManager.imgic310);
             setToolTipText("List of RG");
+        } else if (value instanceof SimulationTraceTree) {
+            setIcon(IconManager.imgic312);
+            setToolTipText("List of Simulation Traces");
         } else if (value instanceof TAttribute) {
             setIcon(IconManager.imgic5106);
             setToolTipText(value.toString());
diff --git a/src/main/java/ui/tree/JDiagramTree.java b/src/main/java/ui/tree/JDiagramTree.java
index a54acaf10d..0ccaa15d0a 100755
--- a/src/main/java/ui/tree/JDiagramTree.java
+++ b/src/main/java/ui/tree/JDiagramTree.java
@@ -41,6 +41,7 @@ package ui.tree;
 
 //import java.awt.*;
 
+import common.*;
 import translator.CheckingError;
 import tmltranslator.TMLCheckingError;
 import ui.*;
@@ -89,10 +90,15 @@ public class JDiagramTree extends javax.swing.JTree implements ActionListener, M
     protected JMenuItem jmiRefusalGraph;
     protected JMenuItem jmiRemove;
     protected JMenuItem jmiShowInFinder;
+    protected JMenuItem jmiShowST;
+    protected JMenuItem jmiShowInFinderST;
     protected JPopupMenu popupTree;
+    protected JPopupMenu popupTreeST;
     protected RG selectedRG;
+    protected SimulationTrace selectedST;
 
     protected JPopupMenu popupGraphTree;
+    protected JPopupMenu popupSimulationTraceTree;
     protected JMenuItem jmiAddFromFile;
     protected GraphTree selectedGT;
 
@@ -202,6 +208,7 @@ public class JDiagramTree extends javax.swing.JTree implements ActionListener, M
         if (obj instanceof RG) {
             //TraceManager.addDev("RG object");
             selectedRG = (RG) obj;
+            selectedST = null;
             if (popupTree == null) {
                 popupTree = new JPopupMenu();
                 jmiAnalyze = new JMenuItem("Analyze");
@@ -226,6 +233,30 @@ public class JDiagramTree extends javax.swing.JTree implements ActionListener, M
             }
             popupTree.show(tree, x, y);
         }
+
+        if (obj instanceof SimulationTrace) {
+            //TraceManager.addDev("RG object");
+            selectedST = (SimulationTrace) obj;
+            selectedRG = null;
+            //if (popupTree == null) {
+                popupTreeST = new JPopupMenu();
+                if (selectedST.getType() == SimulationTrace.VCD_DIPLO) {
+                    jmiShowST = new JMenuItem("Show with gtkwave");
+                } else {
+                    jmiShowST = new JMenuItem("Show (default app)");
+                }
+                jmiShowST.addActionListener(this);
+                popupTreeST.add(jmiShowST);
+                if(selectedST.hasFile()) {
+                    jmiShowInFinderST = new JMenuItem("Show in File Explorer");
+                    jmiShowInFinderST.addActionListener(this);
+                }
+
+                popupTreeST.add(jmiShowInFinderST);
+
+            //}
+            popupTreeST.show(tree, x, y);
+        }
     }
 
     public synchronized void run() {
@@ -404,17 +435,35 @@ public class JDiagramTree extends javax.swing.JTree implements ActionListener, M
         }
     }
 
+    public void showSimulationTrace() {
+        TraceManager.addDev("Showing simulation trace");
+
+        if (selectedST.getType() == SimulationTrace.VCD_DIPLO) {
+            String gtkwavePath = ConfigurationTTool.GTKWavePath;
+            if ((gtkwavePath != null) && (gtkwavePath.length() > 0)) {
+                mgui.runGTKWave(selectedST.getFullPath());
+                return ;
+            }
+        }
+
+        if (selectedST.hasFile()) {
+            mgui.showInFinder(selectedST, false);
+        }
+    }
+
     public void actionPerformed(ActionEvent ae) {
         if (selectedRG != null) {
             if (ae.getSource() == jmiAnalyze) {
                 mgui.showAUTFromRG(selectedRG.name, selectedRG);
 
             } else if (ae.getSource() == jmiShow) {
-                if (selectedRG.graph != null) {
-                    selectedRG.graph.display();
-                } else {
-                    mgui.displayAUTFromRG(selectedRG.name, selectedRG);
-                }
+
+                    if (selectedRG.graph != null) {
+                        selectedRG.graph.display();
+                    } else {
+                        mgui.displayAUTFromRG(selectedRG.name, selectedRG);
+                    }
+
             } else if (ae.getSource() == jmiRemove) {
                 if (selectedRG != null) {
                     mgui.removeRG(selectedRG);
@@ -433,10 +482,19 @@ public class JDiagramTree extends javax.swing.JTree implements ActionListener, M
                 if (selectedRG != null) {
                     mgui.showInFinder(selectedRG);
                 }
+
             }
 
         }
 
+        if (selectedST != null) {
+           if (ae.getSource() == jmiShowST) {
+               showSimulationTrace();
+            } else if (ae.getSource() == jmiShowInFinderST) {
+               mgui.showInFinder(selectedST, true);
+            }
+        }
+
         if (selectedGT != null) {
             if (ae.getSource() == jmiAddFromFile) {
 
diff --git a/src/main/java/ui/tree/SimulationTraceTree.java b/src/main/java/ui/tree/SimulationTraceTree.java
new file mode 100755
index 0000000000..0f349bb07c
--- /dev/null
+++ b/src/main/java/ui/tree/SimulationTraceTree.java
@@ -0,0 +1,96 @@
+/* Copyright or (C) or Copr. GET / ENST, Telecom-Paris, Ludovic Apvrille
+ * 
+ * ludovic.apvrille AT enst.fr
+ * 
+ * This software is a computer program whose purpose is to allow the
+ * edition of TURTLE analysis, design and deployment diagrams, to
+ * allow the generation of RT-LOTOS or Java code from this diagram,
+ * and at last to allow the analysis of formal validation traces
+ * obtained from external tools, e.g. RTL from LAAS-CNRS and CADP
+ * from INRIA Rhone-Alpes.
+ * 
+ * This software is governed by the CeCILL  license under French law and
+ * abiding by the rules of distribution of free software.  You can  use,
+ * modify and/ or redistribute the software under the terms of the CeCILL
+ * license as circulated by CEA, CNRS and INRIA at the following URL
+ * "http://www.cecill.info".
+ * 
+ * As a counterpart to the access to the source code and  rights to copy,
+ * modify and redistribute granted by the license, users are provided only
+ * with a limited warranty  and the software's author,  the holder of the
+ * economic rights,  and the successive licensors  have only  limited
+ * liability.
+ * 
+ * In this respect, the user's attention is drawn to the risks associated
+ * with loading,  using,  modifying and/or developing or reproducing the
+ * software by the user in light of its specific status of free software,
+ * that may mean  that it is complicated to manipulate,  and  that  also
+ * therefore means  that it is reserved for developers  and  experienced
+ * professionals having in-depth computer knowledge. Users are therefore
+ * encouraged to load and test the software's suitability as regards their
+ * requirements in conditions enabling the security of their systems and/or
+ * data to be ensured and,  more generally, to use and operate it in the
+ * same conditions as regards security.
+ * 
+ * The fact that you are presently reading this means that you have had
+ * knowledge of the CeCILL license and that you accept its terms.
+ */
+
+
+
+
+package ui.tree;
+
+import myutil.*;
+import ui.*;
+import graph.RG;
+
+import java.util.List;
+
+/**
+ * Class SimulationTraceTree
+ * Creation: 25/09/2018
+ * Version 2.0 25/09/2018
+ * @author Ludovic APVRILLE
+ */
+public class SimulationTraceTree implements GenericTree {
+    
+    private MainGUI mgui;
+    private String name = "Simulation Traces";
+ 
+    
+    public SimulationTraceTree(MainGUI _mgui) {
+        mgui = _mgui;
+    }
+    
+    // TREE MANAGEMENT
+    public String toString() {
+        return name;
+    }
+    
+    public int getChildCount() {
+        //TraceManager.addDev("Getting nb of child in SimulationTraceTree");
+        int nb =  mgui.getSimulationTraces().size();
+        //TraceManager.addDev("size of simulation tree:" + nb);
+        if (nb == 0) {
+        	return 1;
+        }
+        return nb;
+    }
+    
+    public Object getChild(int index) {
+        //TraceManager.addDev("Getting child of SimulationTraceTree at index:" + index);
+    	List<SimulationTrace> sts = mgui.getSimulationTraces();
+    	if (sts.size() == 0) {
+    		return "No simulation trace";
+    	}
+    	return mgui.getSimulationTraces().get(index);
+    }
+    
+    public int getIndexOfChild(Object child) {
+    	if (child instanceof String) {
+    		return 0;
+    	}
+       return  mgui.getSimulationTraces().indexOf(child);
+    }
+}
diff --git a/src/main/java/ui/tree/ValidationDataTree.java b/src/main/java/ui/tree/ValidationDataTree.java
index d0609bb895..b6b02ab352 100755
--- a/src/main/java/ui/tree/ValidationDataTree.java
+++ b/src/main/java/ui/tree/ValidationDataTree.java
@@ -59,6 +59,7 @@ public class ValidationDataTree implements GenericTree {
     private CorrespondanceValidationDataTree cvdt;
     private InvariantDataTree idt;
     private GraphTree gt;
+    private SimulationTraceTree stt;
 
     public ValidationDataTree(MainGUI _mgui) {
         mgui = _mgui;
@@ -67,6 +68,7 @@ public class ValidationDataTree implements GenericTree {
         cvdt = new CorrespondanceValidationDataTree();
         idt = new InvariantDataTree(mgui);
         gt = new GraphTree(mgui);
+        stt = new SimulationTraceTree(mgui);
     }
 
     // TREE MANAGEMENT
@@ -77,7 +79,7 @@ public class ValidationDataTree implements GenericTree {
 
     public int getChildCount() {
         //
-        return 5;
+        return 6;
     }
 
     public Object getChild(int index) {
@@ -90,8 +92,10 @@ public class ValidationDataTree implements GenericTree {
         case 2:
             return cvdt;
         case 3:
-            return gt;
-        case 4:
+            return stt;
+            case 4:
+                return gt;
+        case 5:
             return idt;
         }
         return null;
@@ -105,10 +109,12 @@ public class ValidationDataTree implements GenericTree {
             return 1;
         } else if (child instanceof CorrespondanceValidationDataTree) {
             return 2;
-        } else if (child instanceof GraphTree) {
+        } else if (child instanceof SimulationTraceTree) {
             return 3;
-        } else if (child instanceof InvariantDataTree) {
+        } else if (child instanceof GraphTree) {
             return 4;
+        } else if (child instanceof InvariantDataTree) {
+            return 5;
         }
         return -1;
     }
diff --git a/src/main/java/ui/window/JDialogSystemCGeneration.java b/src/main/java/ui/window/JDialogSystemCGeneration.java
index 3a4c9f2056..a65766f0ba 100644
--- a/src/main/java/ui/window/JDialogSystemCGeneration.java
+++ b/src/main/java/ui/window/JDialogSystemCGeneration.java
@@ -961,7 +961,7 @@ public class JDialogSystemCGeneration extends JDialog implements ActionListener,
                 executeSimulationCmd(exe2.getText(), "Generating one simulation trace");
                 String[] tab = exe2.getText().split(" ");
                 SpecConfigTTool.lastVCD = tab[2];
-                SpecConfigTTool.ExternalCommand1 = "gtkwave " + SpecConfigTTool.lastVCD;
+                //SpecConfigTTool.ExternalCommand1 = "gtkwave " + SpecConfigTTool.lastVCD;
                 break;
             case ANIMATION:
                 dispose();
diff --git a/src/main/java/ui/window/JFramePowerManagementAnalysis.java b/src/main/java/ui/window/JFramePowerManagementAnalysis.java
index 46dfe3a988..ba22ebdf2a 100644
--- a/src/main/java/ui/window/JFramePowerManagementAnalysis.java
+++ b/src/main/java/ui/window/JFramePowerManagementAnalysis.java
@@ -428,7 +428,7 @@ public	class JFramePowerManagementAnalysis extends JFrame implements ActionListe
 			try {
 				generator.saveInFile(SpecConfigTTool.VCDPath, "spec.vcd");
 				SpecConfigTTool.lastVCD = SpecConfigTTool.VCDPath + "spec.vcd";
-				SpecConfigTTool.ExternalCommand1 = "gtkwave " + SpecConfigTTool.lastVCD;
+				//SpecConfigTTool.ExternalCommand1 = "gtkwave " + SpecConfigTTool.lastVCD;
 			} catch (FileException fe) {
 				jta.append("Saving in file failed: " + fe.getMessage() + "\n");
 			}
-- 
GitLab