Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2.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.Actions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002577/0.002577, allocations: 361.3 kB / 15.96 MB, free: 6.203 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.575/4.575, allocations: 446.6 MB / 463.2 MB, free: 2.844 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.002935/0.002935, allocations: 184 kB / 0.5025 GB, free: 15.5 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.2393/0.2393, allocations: 27.15 MB / 0.5789 GB, free: 210.1 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005467/0.0005469, allocations: 15.98 kB / 0.6415 GB, free: 147.2 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09467, allocations: 53.71 MB / 0.694 GB, free: 93.5 MB / 458.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2): time 0.002564/0.09729, allocations: 1.846 MB / 0.6958 GB, free: 91.64 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.09953, allocations: 1.052 MB / 0.6968 GB, free: 90.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.09982, allocations: 23.88 kB / 0.6969 GB, free: 90.56 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.1001, allocations: 71.38 kB / 0.6969 GB, free: 90.49 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1002, allocations: 39.66 kB / 0.697 GB, free: 90.45 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.001306/0.1016, allocations: 326.6 kB / 0.6973 GB, free: 90.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.1024, allocations: 0.6587 MB / 0.6979 GB, free: 89.48 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.1045, allocations: 1.122 MB / 0.699 GB, free: 88.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.1048, allocations: 211 kB / 0.6992 GB, free: 88.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1051, allocations: 214.7 kB / 0.6994 GB, free: 87.9 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.1052, allocations: 24 kB / 0.6994 GB, free: 87.88 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1054, allocations: 47.98 kB / 0.6995 GB, free: 87.83 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.1055, allocations: 123.6 kB / 0.6996 GB, free: 87.71 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1056, allocations: 121.3 kB / 0.6997 GB, free: 87.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.1062, allocations: 475 kB / 0.7002 GB, free: 87.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1063, allocations: 0 / 0.7002 GB, free: 87.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1063, allocations: 0 / 0.7002 GB, free: 87.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1063, allocations: 0 / 0.7002 GB, free: 87.12 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001389/0.1077, allocations: 0.7856 MB / 0.7009 GB, free: 86.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1077, allocations: 8.031 kB / 0.7009 GB, free: 86.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.1079, allocations: 71.16 kB / 0.701 GB, free: 86.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.1087, allocations: 429.8 kB / 0.7014 GB, free: 85.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.1088, allocations: 57.98 kB / 0.7015 GB, free: 85.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.1089, allocations: 79.95 kB / 0.7016 GB, free: 85.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.1105, allocations: 0.7807 MB / 0.7023 GB, free: 84.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.1105, allocations: 4 kB / 0.7023 GB, free: 84.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.1106, allocations: 28 kB / 0.7024 GB, free: 84.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.1107, allocations: 29.25 kB / 0.7024 GB, free: 84.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.1119, allocations: 0.5164 MB / 0.7029 GB, free: 84.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003852/0.1158, allocations: 3.149 MB / 0.706 GB, free: 80.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.1166, allocations: 0.6764 MB / 0.7066 GB, free: 80.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.1169, allocations: 124.8 kB / 0.7067 GB, free: 79.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.96e-05/0.117, allocations: 101 kB / 0.7068 GB, free: 79.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.1175, allocations: 193.8 kB / 0.707 GB, free: 79.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=46): time 3.827e-06/0.1175, allocations: 0 / 0.707 GB, free: 79.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009668/0.1185, allocations: 416 kB / 0.7074 GB, free: 79.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.1186, allocations: 195.7 kB / 0.7076 GB, free: 78.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.119, allocations: 383.8 kB / 0.708 GB, free: 78.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.1191, allocations: 49.7 kB / 0.708 GB, free: 78.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1193, allocations: 284.1 kB / 0.7083 GB, free: 78.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.1194, allocations: 106.7 kB / 0.7084 GB, free: 78.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1194, allocations: 16 kB / 0.7084 GB, free: 78.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.1195, allocations: 354.8 kB / 0.7087 GB, free: 77.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.1199, allocations: 145.9 kB / 0.7089 GB, free: 77.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.1205, allocations: 415 kB / 0.7093 GB, free: 77.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.1209, allocations: 198 kB / 0.7095 GB, free: 76.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.1209, allocations: 4 kB / 0.7095 GB, free: 76.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001168/0.1221, allocations: 0.5802 MB / 0.71 GB, free: 76.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1221, allocations: 11.95 kB / 0.71 GB, free: 76.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1222, allocations: 8 kB / 0.7101 GB, free: 76.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/0.1222, allocations: 12 kB / 0.7101 GB, free: 76.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1224, allocations: 52.44 kB / 0.7101 GB, free: 76.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/0.1225, allocations: 16 kB / 0.7101 GB, free: 76.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.123, allocations: 83.41 kB / 0.7102 GB, free: 76.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/0.1231, allocations: 36 kB / 0.7102 GB, free: 76.08 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step1.oldActive,step1.oldActive,T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.fire,T5.enableFire,$PRE.T5.t_start,T5.t_start,$PRE.step1.newActive,step1.newActive,step1.inport_fire,step1.outport_fire,$PRE.risingEdge.u,risingEdge.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.fallingEdge.not_u,fallingEdge.not_u,set1.expr[1],set1.expr[2],initialStep.connectorNode.node.suspend,initialStep.connectorNode.node.resume,T5.outPort.checkOneDelayedTransitionPerLoop,step1.outPort[1].checkOneDelayedTransitionPerLoop,step1.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,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 (93): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * 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.000413/0.1235, allocations: 277.5 kB / 0.7105 GB, free: 75.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.1236, allocations: 39.52 kB / 0.7105 GB, free: 75.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.1244, allocations: 351.4 kB / 0.7109 GB, free: 75.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.1245, allocations: 4 kB / 0.7109 GB, free: 75.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1245, allocations: 0 / 0.7109 GB, free: 75.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.1246, allocations: 136.5 kB / 0.711 GB, free: 75.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.886e-05/0.1248, allocations: 19.98 kB / 0.711 GB, free: 75.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.1251, allocations: 23.98 kB / 0.7111 GB, free: 75.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.1252, allocations: 47.92 kB / 0.7111 GB, free: 75.16 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007602/0.126, allocations: 420.4 kB / 0.7115 GB, free: 74.75 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006903/0.1267, allocations: 0.5017 MB / 0.712 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002763/0.127, allocations: 143.7 kB / 0.7121 GB, free: 74.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002518/0.1273, allocations: 207.1 kB / 0.7123 GB, free: 73.88 MB / 458.7 MB Notification: Performance of Backend: time 7.82e-07/0.1273, allocations: 0 / 0.7123 GB, free: 73.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.1285, allocations: 395.2 kB / 0.7127 GB, free: 73.5 MB / 458.7 MB Notification: Performance of SimCode: time 0.001777/0.1303, allocations: 1.392 MB / 0.7141 GB, free: 72.05 MB / 458.7 MB Notification: Performance of Templates: time 0.01431/0.1447, allocations: 4.288 MB / 0.7183 GB, free: 67.8 MB / 458.7 MB