Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.StateGraph.Examples.ShowCompositeStep.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|compositeStep.transition3.enableFire|compositeStep.transition4.enableFire|compositeStep.transition4a.enableFire|compositeStep.transition5.enableFire|compositeStep.transition6.enableFire|compositeStep.transition6a.enableFire|transition1.enableFire|transition2.enableFire|transition7.enableFire",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.879e-05, allocations: 4 kB / 222.5 MB, free: 8.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07719/0.07723, allocations: 38.76 MB / 261.3 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3045/0.3818, allocations: 66.47 MB / 327.7 MB, free: 5.824 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.3821, allocations: 67.72 kB / 327.8 MB, free: 5.793 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04902/0.4311, allocations: 13.18 MB / 341 MB, free: 10.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.4312, allocations: 0 / 341 MB, free: 10.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.903e-05/0.4312, allocations: 24 kB / 341 MB, free: 10.87 MB / 282.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.002156/0.4334, allocations: 0.9201 MB / 341.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4335, allocations: 12.03 kB / 341.9 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.4338, allocations: 90.97 kB / 342 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.4349, allocations: 0.4922 MB / 342.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/0.435, allocations: 39.62 kB / 342.5 MB, free: 9.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.4352, allocations: 72 kB / 342.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002029/0.4372, allocations: 0.7596 MB / 343.4 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.4394, allocations: 0.8766 MB / 344.3 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.4395, allocations: 7.938 kB / 344.3 MB, free: 8.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/0.4396, allocations: 3.984 kB / 344.3 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.4396, allocations: 24 kB / 344.3 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.4451, allocations: 2.727 MB / 347 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.4467, allocations: 0.6685 MB / 347.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/0.4475, allocations: 331.2 kB / 348 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.4476, allocations: 16.72 kB / 348 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.4489, allocations: 394.9 kB / 348.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 1.434e-05/0.449, allocations: 4 kB / 348.4 MB, free: 4.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.003672/0.4527, allocations: 0.6254 MB / 349 MB, free: 3.766 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.4529, allocations: 76.7 kB / 349.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/0.4538, allocations: 309.1 kB / 349.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.4541, allocations: 57.69 kB / 349.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.4547, allocations: 375.4 kB / 349.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005744/0.4553, allocations: 236.9 kB / 350.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4554, allocations: 0 / 350.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003598/0.4558, allocations: 358.8 kB / 350.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.4573, allocations: 282.6 kB / 350.7 MB, free: 2.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.4592, allocations: 495.6 kB / 351.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.4609, allocations: 290.2 kB / 351.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.461, allocations: 0 / 351.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004254/0.4652, allocations: 0.8319 MB / 352.3 MB, free: 392 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.4653, allocations: 11.95 kB / 352.3 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.4654, allocations: 11.94 kB / 352.3 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.07e-05/0.4655, allocations: 12.81 kB / 352.3 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4666, allocations: 123.6 kB / 352.5 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.886e-05/0.4666, allocations: 19.94 kB / 352.5 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009823/0.4676, allocations: 48.06 kB / 352.5 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.4679, allocations: 55.98 kB / 352.6 MB, free: 108 kB / 282.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 () * 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.000613/0.4686, allocations: 204 kB / 352.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.4688, allocations: 47.44 kB / 352.8 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/0.4724, allocations: 0.6986 MB / 353.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/0.4725, allocations: 12 kB / 353.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4725, allocations: 3.938 kB / 353.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/0.4726, allocations: 7.969 kB / 353.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/0.48, allocations: 1.626 MB / 355.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.4801, allocations: 0 / 355.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.4808, allocations: 67.83 kB / 355.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/0.4809, allocations: 7.984 kB / 355.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.481, allocations: 11.98 kB / 355.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.481, allocations: 4 kB / 355.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/0.4811, allocations: 3.938 kB / 355.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/0.4843, allocations: 0.7585 MB / 356 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.4846, allocations: 116.5 kB / 356.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.4848, allocations: 15.92 kB / 356.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.4855, allocations: 27.97 kB / 356.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006594/0.4862, allocations: 137.1 kB / 356.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/0.4864, allocations: 35.97 kB / 356.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003698/0.4868, allocations: 154 kB / 356.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.233e-06/0.4868, allocations: 0 / 356.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001753/0.4886, allocations: 143.8 kB / 356.6 MB, free: 11.95 MB / 298.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) * 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.0005004/0.4891, allocations: 163.2 kB / 356.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003354/0.4925, allocations: 0.7557 MB / 357.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.825e-06/0.4925, allocations: 0 / 357.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.494, allocations: 368.9 kB / 357.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4951, allocations: 62.08 kB / 358 MB, free: 10.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005434/0.5005, allocations: 1.046 MB / 359 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.502, allocations: 0.9585 MB / 360 MB, free: 8.539 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/0.5028, allocations: 79.41 kB / 360.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of SimCode: time 2.421e-06/0.5028, allocations: 0 / 360.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of Templates: time 0.03563/0.5384, allocations: 9.699 MB / 369.8 MB, free: 14.73 MB / 314.7 MB