Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003847/0.003846, allocations: 358.5 kB / 15.95 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.593/4.593, allocations: 446.6 MB / 463.2 MB, free: 2.918 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.001998/0.001998, allocations: 184.1 kB / 0.5025 GB, free: 15.57 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.2143/0.2143, allocations: 27.14 MB / 0.5789 GB, free: 210.2 MB / 458.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 12 kB / 0.6415 GB, free: 147.3 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1434, allocations: 53.72 MB / 0.694 GB, free: 93.54 MB / 458.7 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample): time 0.001965/0.1454, allocations: 1.461 MB / 0.6954 GB, free: 92.07 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1469, allocations: 0.7833 MB / 0.6962 GB, free: 91.29 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1471, allocations: 11.94 kB / 0.6962 GB, free: 91.27 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.1473, allocations: 39.66 kB / 0.6962 GB, free: 91.23 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.898e-05/0.1474, allocations: 23.8 kB / 0.6963 GB, free: 91.21 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.0007527/0.1482, allocations: 188.3 kB / 0.6964 GB, free: 91.03 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.1487, allocations: 375.2 kB / 0.6968 GB, free: 90.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.1498, allocations: 0.7064 MB / 0.6975 GB, free: 89.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.15, allocations: 127.4 kB / 0.6976 GB, free: 89.79 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.1502, allocations: 103.4 kB / 0.6977 GB, free: 89.69 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.1502, allocations: 16 kB / 0.6977 GB, free: 89.68 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1503, allocations: 27.98 kB / 0.6978 GB, free: 89.65 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.1504, allocations: 71.73 kB / 0.6978 GB, free: 89.58 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.1505, allocations: 77.52 kB / 0.6979 GB, free: 89.5 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.1509, allocations: 267.5 kB / 0.6982 GB, free: 89.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1509, allocations: 3.938 kB / 0.6982 GB, free: 89.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1509, allocations: 0 / 0.6982 GB, free: 89.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1509, allocations: 0 / 0.6982 GB, free: 89.23 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0008032/0.1517, allocations: 0.5545 MB / 0.6987 GB, free: 88.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1518, allocations: 12.02 kB / 0.6987 GB, free: 88.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.359e-05/0.1519, allocations: 39.53 kB / 0.6987 GB, free: 88.57 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.1525, allocations: 310.4 kB / 0.699 GB, free: 88.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.1526, allocations: 33 kB / 0.6991 GB, free: 88.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.1527, allocations: 36 kB / 0.6991 GB, free: 88.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.1542, allocations: 455.4 kB / 0.6995 GB, free: 87.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.1542, allocations: 4 kB / 0.6995 GB, free: 87.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.1543, allocations: 16 kB / 0.6996 GB, free: 87.67 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1544, allocations: 8 kB / 0.6996 GB, free: 87.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1555, allocations: 282.3 kB / 0.6998 GB, free: 87.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/0.1593, allocations: 1.899 MB / 0.7017 GB, free: 85.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.16, allocations: 382.9 kB / 0.7021 GB, free: 84.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1603, allocations: 65.2 kB / 0.7021 GB, free: 84.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.1604, allocations: 81.3 kB / 0.7022 GB, free: 84.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.1608, allocations: 107.5 kB / 0.7023 GB, free: 84.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 7.584e-06/0.1609, allocations: 4 kB / 0.7023 GB, free: 84.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007105/0.1616, allocations: 209.2 kB / 0.7025 GB, free: 84.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.1617, allocations: 106.8 kB / 0.7026 GB, free: 84.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.1621, allocations: 258.6 kB / 0.7029 GB, free: 83.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.1621, allocations: 33.7 kB / 0.7029 GB, free: 83.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1623, allocations: 192.4 kB / 0.7031 GB, free: 83.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.1625, allocations: 47.36 kB / 0.7031 GB, free: 83.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1625, allocations: 12 kB / 0.7031 GB, free: 83.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1626, allocations: 338.8 kB / 0.7034 GB, free: 83.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.163, allocations: 68.84 kB / 0.7035 GB, free: 83.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.1635, allocations: 218.7 kB / 0.7037 GB, free: 83.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1638, allocations: 91.95 kB / 0.7038 GB, free: 82.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1638, allocations: 0 / 0.7038 GB, free: 82.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008918/0.1647, allocations: 315 kB / 0.7041 GB, free: 82.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.1648, allocations: 4 kB / 0.7041 GB, free: 82.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.1648, allocations: 4.594 kB / 0.7041 GB, free: 82.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/0.1649, allocations: 12 kB / 0.7041 GB, free: 82.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.1651, allocations: 27.92 kB / 0.7042 GB, free: 82.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/0.1651, allocations: 11.92 kB / 0.7042 GB, free: 82.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.1655, allocations: 39.69 kB / 0.7042 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.1656, allocations: 16 kB / 0.7042 GB, free: 82.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$whenCondition2,$whenCondition1,initialStep.active,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.condition,T1.enableFire,$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,T3.condition,T2.condition,initialStep.connectorNode.node.suspend,initialStep.connectorNode.node.resume,T3.outPort.checkOneDelayedTransitionPerLoop,step2.inPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[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 (47): * Single equations (assignments): 47 * 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.0002655/0.1659, allocations: 206.9 kB / 0.7044 GB, free: 82.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.1659, allocations: 19.75 kB / 0.7044 GB, free: 82.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004103/0.1664, allocations: 193.8 kB / 0.7046 GB, free: 82.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1664, allocations: 0 / 0.7046 GB, free: 82.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1664, allocations: 0 / 0.7046 GB, free: 82.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.1665, allocations: 116.7 kB / 0.7047 GB, free: 81.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.1665, allocations: 8 kB / 0.7047 GB, free: 81.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1667, allocations: 7.984 kB / 0.7047 GB, free: 81.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.1668, allocations: 31.92 kB / 0.7048 GB, free: 81.9 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003746/0.1672, allocations: 252.7 kB / 0.705 GB, free: 81.65 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003445/0.1676, allocations: 343.8 kB / 0.7053 GB, free: 81.3 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001341/0.1677, allocations: 73.78 kB / 0.7054 GB, free: 81.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1679, allocations: 144.6 kB / 0.7056 GB, free: 81.09 MB / 458.7 MB Notification: Performance of Backend: time 4.71e-07/0.1679, allocations: 0 / 0.7056 GB, free: 81.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.1686, allocations: 239 kB / 0.7058 GB, free: 80.85 MB / 458.7 MB Notification: Performance of SimCode: time 0.001136/0.1698, allocations: 0.994 MB / 0.7068 GB, free: 79.8 MB / 458.7 MB Notification: Performance of Templates: time 0.008117/0.1779, allocations: 2.169 MB / 0.7089 GB, free: 77.64 MB / 458.7 MB