Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep") translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001065/0.001065, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.125/1.125, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001653/0.001653, allocations: 117.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002835, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08065/0.08094, allocations: 44.5 MB / 355 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/0.3099, allocations: 72.5 MB / 427.6 MB, free: 17.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.3101, allocations: 71.22 kB / 427.6 MB, free: 17.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02654/0.3366, allocations: 13.53 MB / 441.2 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3367, allocations: 4 kB / 441.2 MB, free: 5.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.3367, allocations: 27.94 kB / 441.2 MB, free: 5.836 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001212/0.3379, allocations: 0.9464 MB / 442.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.338, allocations: 11.97 kB / 442.1 MB, free: 4.867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.3381, allocations: 95.91 kB / 442.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.3388, allocations: 498.3 kB / 442.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.3388, allocations: 97.06 kB / 442.8 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.339, allocations: 111.7 kB / 442.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3403, allocations: 1.029 MB / 444 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.3403, allocations: 3.938 kB / 444 MB, free: 3.191 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/0.3404, allocations: 40 kB / 444 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3404, allocations: 31.98 kB / 444 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3416, allocations: 0.8315 MB / 444.9 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.3446, allocations: 2.907 MB / 447.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3457, allocations: 0.7225 MB / 448.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.3458, allocations: 21.06 kB / 448.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006255/0.3464, allocations: 425 kB / 448.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.336e-06/0.3464, allocations: 0 / 448.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.001446/0.3479, allocations: 0.945 MB / 449.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.348, allocations: 76.39 kB / 449.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3482, allocations: 324.9 kB / 450.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.008e-05/0.3483, allocations: 77.69 kB / 450.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3485, allocations: 309 kB / 450.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.3487, allocations: 252.8 kB / 450.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.3487, allocations: 31.94 kB / 450.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3489, allocations: 370.7 kB / 451.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.3494, allocations: 318.5 kB / 451.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.35, allocations: 0.5333 MB / 452.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.3506, allocations: 322.3 kB / 452.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3506, allocations: 4 kB / 452.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.001311/0.3519, allocations: 0.9686 MB / 453.4 MB, free: 9.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.352, allocations: 8 kB / 453.4 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.352, allocations: 4 kB / 453.4 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.352, allocations: 16 kB / 453.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.3524, allocations: 123.7 kB / 453.6 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.3524, allocations: 15.94 kB / 453.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.3528, allocations: 76.09 kB / 453.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.982e-05/0.3529, allocations: 55.98 kB / 453.7 MB, free: 9.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 133 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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.0003957/0.3533, allocations: 362.9 kB / 454.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.3533, allocations: 51.44 kB / 454.1 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.3545, allocations: 0.7761 MB / 454.9 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.3545, allocations: 12 kB / 454.9 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3546, allocations: 3.984 kB / 454.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3546, allocations: 3.984 kB / 454.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.3571, allocations: 1.823 MB / 456.7 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3571, allocations: 3.953 kB / 456.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.3574, allocations: 75.83 kB / 456.8 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.3574, allocations: 7.938 kB / 456.8 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.3574, allocations: 19.98 kB / 456.8 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3574, allocations: 4 kB / 456.8 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3574, allocations: 0 / 456.8 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3585, allocations: 0.8122 MB / 457.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.3586, allocations: 132.3 kB / 457.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.3586, allocations: 23.98 kB / 457.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3589, allocations: 39.97 kB / 457.8 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.3591, allocations: 136.8 kB / 458 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.3592, allocations: 31.98 kB / 458 MB, free: 4.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3593, allocations: 174 kB / 458.2 MB, free: 4.617 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3593, allocations: 0 / 458.2 MB, free: 4.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000562/0.3599, allocations: 179.9 kB / 458.3 MB, free: 4.441 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002484/0.3602, allocations: 168.2 kB / 458.5 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.3614, allocations: 0.8387 MB / 459.4 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3614, allocations: 0 / 459.4 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005379/0.362, allocations: 401.5 kB / 459.7 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3623, allocations: 72.33 kB / 459.8 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.3648, allocations: 1.571 MB / 461.4 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.3654, allocations: 0.9706 MB / 462.4 MB, free: 376 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003498/0.3657, allocations: 117.6 kB / 462.5 MB, free: 264 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.366, allocations: 75.39 kB / 462.5 MB, free: 192 kB / 330.7 MB Notification: Performance of SimCode: time 5.21e-07/0.366, allocations: 4 kB / 462.5 MB, free: 188 kB / 330.7 MB Notification: Performance of Templates: time 0.01289/0.3789, allocations: 7.464 MB / 470 MB, free: 8.746 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.makefile (rm -f Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; mkfifo Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe >> ../files/Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.sim & ./Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep.pipe 2>&1)