Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions3.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.Actions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002511/0.002516, allocations: 362.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.444/4.444, allocations: 446.6 MB / 463.2 MB, free: 4.602 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.001934/0.001934, allocations: 188 kB / 0.5024 GB, free: 1.273 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.2079/0.2079, allocations: 27.15 MB / 0.5789 GB, free: 209.8 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004512, allocations: 8 kB / 0.6415 GB, free: 147.5 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/0.09607, allocations: 53.71 MB / 0.694 GB, free: 93.79 MB / 458.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions3): time 0.002853/0.09899, allocations: 1.858 MB / 0.6958 GB, free: 91.92 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.1016, allocations: 1.056 MB / 0.6968 GB, free: 90.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003492/0.102, allocations: 19.88 kB / 0.6969 GB, free: 90.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1023, allocations: 59.45 kB / 0.6969 GB, free: 90.78 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1025, allocations: 51.56 kB / 0.697 GB, free: 90.73 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.001406/0.1039, allocations: 330.5 kB / 0.6973 GB, free: 90.41 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008828/0.1048, allocations: 0.6626 MB / 0.6979 GB, free: 89.75 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.107, allocations: 1.141 MB / 0.699 GB, free: 88.57 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.1073, allocations: 211 kB / 0.6992 GB, free: 88.36 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1076, allocations: 202.8 kB / 0.6994 GB, free: 88.16 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.1077, allocations: 28 kB / 0.6995 GB, free: 88.13 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1079, allocations: 55.92 kB / 0.6995 GB, free: 88.08 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1081, allocations: 131.5 kB / 0.6996 GB, free: 87.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1082, allocations: 125.3 kB / 0.6998 GB, free: 87.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.1088, allocations: 483 kB / 0.7002 GB, free: 87.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1089, allocations: 0 / 0.7002 GB, free: 87.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1089, allocations: 0 / 0.7002 GB, free: 87.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1089, allocations: 0 / 0.7002 GB, free: 87.35 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.00141/0.1103, allocations: 0.7899 MB / 0.701 GB, free: 86.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1104, allocations: 8.031 kB / 0.701 GB, free: 86.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.1105, allocations: 71.16 kB / 0.7011 GB, free: 86.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.1113, allocations: 429.8 kB / 0.7015 GB, free: 85.97 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.1114, allocations: 65.92 kB / 0.7015 GB, free: 85.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1115, allocations: 79.95 kB / 0.7016 GB, free: 85.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.1131, allocations: 0.7963 MB / 0.7024 GB, free: 84.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.1132, allocations: 4 kB / 0.7024 GB, free: 84.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.1133, allocations: 31.98 kB / 0.7024 GB, free: 84.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.1134, allocations: 29.25 kB / 0.7025 GB, free: 84.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.1147, allocations: 0.5242 MB / 0.703 GB, free: 84.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/0.1189, allocations: 3.236 MB / 0.7061 GB, free: 80.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.1197, allocations: 0.6685 MB / 0.7068 GB, free: 80.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.1199, allocations: 122.7 kB / 0.7069 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.989e-05/0.1201, allocations: 89.09 kB / 0.707 GB, free: 79.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004458/0.1205, allocations: 201.2 kB / 0.7072 GB, free: 79.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 3.967e-06/0.1205, allocations: 0 / 0.7072 GB, free: 79.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.00099/0.1215, allocations: 412 kB / 0.7076 GB, free: 79.28 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.1216, allocations: 191.7 kB / 0.7078 GB, free: 79.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.1221, allocations: 395.7 kB / 0.7081 GB, free: 78.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.1222, allocations: 49.69 kB / 0.7082 GB, free: 78.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1224, allocations: 292 kB / 0.7085 GB, free: 78.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.1225, allocations: 102.8 kB / 0.7086 GB, free: 78.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1225, allocations: 16 kB / 0.7086 GB, free: 78.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.1226, allocations: 358.7 kB / 0.7089 GB, free: 77.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.123, allocations: 141.9 kB / 0.709 GB, free: 77.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.1235, allocations: 408.8 kB / 0.7094 GB, free: 77.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.1239, allocations: 192.7 kB / 0.7096 GB, free: 76.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.1239, allocations: 0 / 0.7096 GB, free: 76.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001125/0.125, allocations: 0.5617 MB / 0.7102 GB, free: 76.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1251, allocations: 8 kB / 0.7102 GB, free: 76.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.1251, allocations: 11.94 kB / 0.7102 GB, free: 76.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.1251, allocations: 12 kB / 0.7102 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.1254, allocations: 60.47 kB / 0.7103 GB, free: 76.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.1254, allocations: 15.94 kB / 0.7103 GB, free: 76.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.126, allocations: 79.41 kB / 0.7103 GB, free: 76.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/0.126, allocations: 32 kB / 0.7104 GB, free: 76.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 91 ($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,$PRE.add1.y,add1.y,T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,$whenCondition7,$whenCondition6,$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.set1.y,set1.y,set1.firstActiveIndex,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 (91): * Single equations (assignments): 91 * 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.0004036/0.1265, allocations: 284.4 kB / 0.7106 GB, free: 75.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.1265, allocations: 35.53 kB / 0.7107 GB, free: 75.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.1273, allocations: 355.5 kB / 0.711 GB, free: 75.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.1274, allocations: 3.984 kB / 0.711 GB, free: 75.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1274, allocations: 0 / 0.711 GB, free: 75.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.1275, allocations: 144.5 kB / 0.7112 GB, free: 75.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.232e-05/0.1276, allocations: 12 kB / 0.7112 GB, free: 75.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.128, allocations: 31.97 kB / 0.7112 GB, free: 75.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1281, allocations: 39.94 kB / 0.7112 GB, free: 75.29 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007741/0.1289, allocations: 424.4 kB / 0.7116 GB, free: 74.87 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006913/0.1296, allocations: 0.4939 MB / 0.7121 GB, free: 74.36 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000297/0.1299, allocations: 139.7 kB / 0.7123 GB, free: 74.22 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.1302, allocations: 211 kB / 0.7125 GB, free: 74.01 MB / 458.7 MB Notification: Performance of Backend: time 1.122e-06/0.1302, allocations: 4 kB / 0.7125 GB, free: 74.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.1313, allocations: 394.4 kB / 0.7128 GB, free: 73.61 MB / 458.7 MB Notification: Performance of SimCode: time 0.001796/0.1331, allocations: 1.403 MB / 0.7142 GB, free: 72.16 MB / 458.7 MB Notification: Performance of Templates: time 0.01353/0.1467, allocations: 4.208 MB / 0.7183 GB, free: 67.98 MB / 458.7 MB