from GraphSwitch1 import *
# Merge of GraphSwitch1 in GraphSwitch
-GraphSwitch.Merge( GraphSwitch1 )
+statmerge = GraphSwitch.Merge( GraphSwitch1 )
+if statmerge == 0 :
+ print "Failed to merge GraphSwitch1 in GraphSwitch"
# Create a variable for each node of GraphSwitch :
# IsOdd,IsOdd_1,InitLoopSwitch,InitLoop,EndOfInitLoopSwitch,EndOfInitLoop,Switch,Switch_1,EndOfSwitch,EndSwitch