Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3.conf.json Using package Modelica_StateGraph2 with version 2.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002571/0.002571, allocations: 359.9 kB / 15.96 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 4.661/4.661, allocations: 446.6 MB / 463.2 MB, free: 2.875 MB / 362.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 184.1 kB / 0.5025 GB, free: 15.54 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2169/0.2169, allocations: 27.15 MB / 0.5789 GB, free: 210 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006921/0.0006924, allocations: 12 kB / 0.6415 GB, free: 147.3 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1078, allocations: 53.71 MB / 0.694 GB, free: 93.5 MB / 458.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3): time 0.003674/0.1116, allocations: 1.523 MB / 0.6955 GB, free: 91.97 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.1146, allocations: 0.7989 MB / 0.6963 GB, free: 91.17 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.115, allocations: 15.88 kB / 0.6963 GB, free: 91.15 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.1153, allocations: 35.66 kB / 0.6963 GB, free: 91.12 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.1155, allocations: 27.78 kB / 0.6963 GB, free: 91.09 MB / 458.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1169, allocations: 189.5 kB / 0.6965 GB, free: 90.91 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008393/0.1178, allocations: 407 kB / 0.6969 GB, free: 90.51 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.1201, allocations: 0.728 MB / 0.6976 GB, free: 89.74 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.1205, allocations: 123.4 kB / 0.6977 GB, free: 89.62 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.1207, allocations: 119.3 kB / 0.6979 GB, free: 89.5 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.1208, allocations: 16 kB / 0.6979 GB, free: 89.49 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.121, allocations: 31.92 kB / 0.6979 GB, free: 89.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.1212, allocations: 67.75 kB / 0.698 GB, free: 89.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1213, allocations: 85.52 kB / 0.698 GB, free: 89.3 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.122, allocations: 279.4 kB / 0.6983 GB, free: 89.03 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.122, allocations: 4 kB / 0.6983 GB, free: 89.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.122, allocations: 0 / 0.6983 GB, free: 89.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1221, allocations: 0 / 0.6983 GB, free: 89.02 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001366/0.1234, allocations: 0.5864 MB / 0.6989 GB, free: 88.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1235, allocations: 11.97 kB / 0.6989 GB, free: 88.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1237, allocations: 43.53 kB / 0.6989 GB, free: 88.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.1244, allocations: 314.3 kB / 0.6992 GB, free: 87.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.1245, allocations: 66.7 kB / 0.6993 GB, free: 87.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.1247, allocations: 43.95 kB / 0.6993 GB, free: 87.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.1262, allocations: 467.4 kB / 0.6998 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1263, allocations: 4 kB / 0.6998 GB, free: 87.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.1264, allocations: 16 kB / 0.6998 GB, free: 87.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.1264, allocations: 12 kB / 0.6998 GB, free: 87.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.1276, allocations: 298.3 kB / 0.7001 GB, free: 87.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.1314, allocations: 1.926 MB / 0.702 GB, free: 84.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.1321, allocations: 413.2 kB / 0.7024 GB, free: 84.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.1324, allocations: 81.88 kB / 0.7025 GB, free: 84.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.1337, allocations: 0.7211 MB / 0.7032 GB, free: 83.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/0.1342, allocations: 174.6 kB / 0.7033 GB, free: 83.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 5.982e-06/0.1343, allocations: 0 / 0.7033 GB, free: 83.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008933/0.1352, allocations: 262.1 kB / 0.7036 GB, free: 83.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.1353, allocations: 166.4 kB / 0.7037 GB, free: 82.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.1357, allocations: 258.7 kB / 0.704 GB, free: 82.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.1358, allocations: 33.7 kB / 0.704 GB, free: 82.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.136, allocations: 208.2 kB / 0.7042 GB, free: 82.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.1361, allocations: 55.34 kB / 0.7043 GB, free: 82.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1362, allocations: 8 kB / 0.7043 GB, free: 82.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1363, allocations: 334.8 kB / 0.7046 GB, free: 82.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.1366, allocations: 68.83 kB / 0.7047 GB, free: 82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.137, allocations: 223.7 kB / 0.7049 GB, free: 81.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.1374, allocations: 124.5 kB / 0.705 GB, free: 81.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.1375, allocations: 0 / 0.705 GB, free: 81.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001109/0.1386, allocations: 350.5 kB / 0.7053 GB, free: 81.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.104e-05/0.1387, allocations: 33.7 kB / 0.7054 GB, free: 81.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.1387, allocations: 4 kB / 0.7054 GB, free: 81.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.1388, allocations: 8 kB / 0.7054 GB, free: 81.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.139, allocations: 32.48 kB / 0.7054 GB, free: 81.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.139, allocations: 11.98 kB / 0.7054 GB, free: 81.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.1395, allocations: 39.7 kB / 0.7054 GB, free: 81.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.1395, allocations: 16 kB / 0.7055 GB, free: 81.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.onDelay.u,$PRE.step3.oldActive,step3.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.initialStep.oldActive,initialStep.oldActive,$whenCondition1,$whenCondition2,$whenCondition3,initialStep.active,$PRE.initialStep.newActive,initialStep.newActive,T1.condition,T1.enableFire,$PRE.step2.newActive,step2.newActive,step2.inport_fire,T2.enableFire,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,onDelay.y,onDelay.u,$PRE.onDelay.delaySignal,onDelay.delaySignal,$PRE.onDelay.t_next,onDelay.t_next,step3.outPort[1].checkOneDelayedTransitionPerLoop,T3.condition,initialStep.connectorNode.node.suspend,initialStep.connectorNode.node.resume,T2.condition,T3.outPort.checkOneDelayedTransitionPerLoop,step2.inPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,step2.inPort[1].checkUnaryConnection,initialStep.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004339/0.14, allocations: 240.5 kB / 0.7057 GB, free: 80.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.1401, allocations: 19.81 kB / 0.7057 GB, free: 80.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.1409, allocations: 248.8 kB / 0.706 GB, free: 80.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.1409, allocations: 3.984 kB / 0.706 GB, free: 80.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.1409, allocations: 3.953 kB / 0.706 GB, free: 80.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.1411, allocations: 104.8 kB / 0.7061 GB, free: 80.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.593e-05/0.1412, allocations: 8 kB / 0.7061 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.1415, allocations: 19.98 kB / 0.7061 GB, free: 80.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.1416, allocations: 15.97 kB / 0.7061 GB, free: 80.38 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007863/0.1424, allocations: 371.8 kB / 0.7065 GB, free: 80 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006978/0.1432, allocations: 400 kB / 0.7068 GB, free: 79.58 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002631/0.1435, allocations: 89.67 kB / 0.7069 GB, free: 79.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.1437, allocations: 144.6 kB / 0.7071 GB, free: 79.36 MB / 458.7 MB Notification: Performance of Backend: time 1.573e-06/0.1437, allocations: 0 / 0.7071 GB, free: 79.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1451, allocations: 308.7 kB / 0.7074 GB, free: 79.04 MB / 458.7 MB Notification: Performance of SimCode: time 0.001828/0.147, allocations: 1.077 MB / 0.7084 GB, free: 77.89 MB / 458.7 MB Notification: Performance of Templates: time 0.01305/0.1601, allocations: 2.165 MB / 0.7105 GB, free: 75.75 MB / 458.7 MB