Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.156/1.156, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002706, allocations: 4 kB / 158.9 MB, free: 15.25 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05468/0.05497, allocations: 25.17 MB / 184 MB, free: 6.039 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.2701, allocations: 34.35 MB / 218.4 MB, free: 6.555 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.2703, allocations: 67.97 kB / 218.4 MB, free: 6.547 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05434/0.3247, allocations: 11.34 MB / 229.8 MB, free: 1.836 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3248, allocations: 0 / 229.8 MB, free: 1.836 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.695e-05/0.3249, allocations: 26.97 kB / 229.8 MB, free: 1.828 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002955/0.3278, allocations: 0.9065 MB / 230.7 MB, free: 1.129 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.3279, allocations: 8.25 kB / 230.7 MB, free: 1.129 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.3284, allocations: 93.86 kB / 230.8 MB, free: 1.082 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.3296, allocations: 423.8 kB / 231.2 MB, free: 0.7031 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.3298, allocations: 89.98 kB / 231.3 MB, free: 0.6484 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.3301, allocations: 107 kB / 231.4 MB, free: 0.5742 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.3337, allocations: 0.935 MB / 232.4 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.3338, allocations: 0 / 232.4 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.334, allocations: 38.69 kB / 232.4 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/0.334, allocations: 27.95 kB / 232.4 MB, free: 15.88 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/0.3374, allocations: 0.7232 MB / 233.1 MB, free: 15.38 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007072/0.3446, allocations: 2.304 MB / 235.5 MB, free: 13.55 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.3469, allocations: 0.671 MB / 236.1 MB, free: 13.11 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.347, allocations: 9 kB / 236.1 MB, free: 13.09 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.3485, allocations: 437.2 kB / 236.6 MB, free: 12.77 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 5.159e-06/0.3485, allocations: 0 / 236.6 MB, free: 12.77 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.003248/0.3517, allocations: 0.8321 MB / 237.4 MB, free: 12.15 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.3519, allocations: 106 kB / 237.5 MB, free: 12.04 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.3526, allocations: 318.5 kB / 237.8 MB, free: 11.78 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.3528, allocations: 70.44 kB / 237.9 MB, free: 11.73 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/0.3532, allocations: 346.2 kB / 238.2 MB, free: 11.45 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/0.3536, allocations: 241.5 kB / 238.4 MB, free: 11.27 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.013e-05/0.3537, allocations: 24.25 kB / 238.5 MB, free: 11.26 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.3539, allocations: 356.6 kB / 238.8 MB, free: 10.92 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.355, allocations: 257.5 kB / 239.1 MB, free: 10.76 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.3565, allocations: 480.1 kB / 239.5 MB, free: 10.32 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3576, allocations: 278.2 kB / 239.8 MB, free: 10.15 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.3577, allocations: 8 kB / 239.8 MB, free: 10.14 MB / 186.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003136/0.3608, allocations: 0.8547 MB / 240.7 MB, free: 9.512 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.3609, allocations: 8 kB / 240.7 MB, free: 9.504 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.361, allocations: 7.984 kB / 240.7 MB, free: 9.496 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.565e-05/0.361, allocations: 12 kB / 240.7 MB, free: 9.484 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008675/0.3619, allocations: 115.2 kB / 240.8 MB, free: 9.383 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/0.3619, allocations: 15.92 kB / 240.8 MB, free: 9.367 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.3626, allocations: 78.09 kB / 240.9 MB, free: 9.309 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.3628, allocations: 50.48 kB / 241 MB, free: 9.27 MB / 186.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0008442/0.3636, allocations: 336.8 kB / 241.3 MB, free: 8.961 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.3638, allocations: 47.44 kB / 241.3 MB, free: 8.914 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.3659, allocations: 0.7454 MB / 242.1 MB, free: 8.164 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.366, allocations: 16 kB / 242.1 MB, free: 8.148 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.366, allocations: 4 kB / 242.1 MB, free: 8.145 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.3661, allocations: 7.984 kB / 242.1 MB, free: 8.137 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.3706, allocations: 1.664 MB / 243.8 MB, free: 6.445 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.3706, allocations: 0 / 243.8 MB, free: 6.445 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.3712, allocations: 71.77 kB / 243.8 MB, free: 6.375 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/0.3712, allocations: 8 kB / 243.8 MB, free: 6.367 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.3713, allocations: 23.98 kB / 243.9 MB, free: 6.344 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.3713, allocations: 4 kB / 243.9 MB, free: 6.34 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3714, allocations: 0 / 243.9 MB, free: 6.34 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.3733, allocations: 0.7775 MB / 244.6 MB, free: 5.543 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3735, allocations: 132.3 kB / 244.8 MB, free: 5.395 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.3737, allocations: 27.94 kB / 244.8 MB, free: 5.367 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.3741, allocations: 47.91 kB / 244.9 MB, free: 5.32 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.3745, allocations: 104.8 kB / 245 MB, free: 5.219 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.562e-05/0.3746, allocations: 31.98 kB / 245 MB, free: 5.188 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.3748, allocations: 148.5 kB / 245.1 MB, free: 5.047 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3748, allocations: 0 / 245.1 MB, free: 5.047 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0009236/0.3757, allocations: 172 kB / 245.3 MB, free: 4.879 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * 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.0003396/0.3761, allocations: 167.1 kB / 245.5 MB, free: 4.703 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.3782, allocations: 0.7493 MB / 246.2 MB, free: 3.957 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3783, allocations: 0 / 246.2 MB, free: 3.957 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3793, allocations: 372.6 kB / 246.6 MB, free: 3.594 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006325/0.38, allocations: 64.41 kB / 246.6 MB, free: 3.531 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.3833, allocations: 1.425 MB / 248.1 MB, free: 2.074 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/0.3841, allocations: 0.951 MB / 249 MB, free: 1.098 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.3846, allocations: 71.41 kB / 249.1 MB, free: 1.027 MB / 186.7 MB Notification: Performance of SimCode: time 1.452e-06/0.3846, allocations: 8 kB / 249.1 MB, free: 1.02 MB / 186.7 MB Notification: Performance of Templates: time 0.02246/0.407, allocations: 8.692 MB / 257.8 MB, free: 8.312 MB / 202.7 MB