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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.609/1.609, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003555, allocations: 8 kB / 233.2 MB, free: 0.9414 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0702/0.07058, allocations: 38.77 MB / 272 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.3452, allocations: 67.19 MB / 339.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.3455, allocations: 71.97 kB / 339.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04945/0.3949, allocations: 13.53 MB / 352.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.278e-06/0.395, allocations: 0 / 352.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.98e-05/0.395, allocations: 32.14 kB / 352.8 MB, free: 2.18 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.001885/0.3969, allocations: 0.9469 MB / 353.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.397, allocations: 8.031 kB / 353.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.3973, allocations: 90.97 kB / 353.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000944/0.3982, allocations: 0.4938 MB / 354.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3984, allocations: 86 kB / 354.4 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.3986, allocations: 119.9 kB / 354.6 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.4011, allocations: 1.031 MB / 355.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.4011, allocations: 0 / 355.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.4013, allocations: 43.98 kB / 355.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.4013, allocations: 28 kB / 355.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.4034, allocations: 0.8315 MB / 356.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.4088, allocations: 2.906 MB / 359.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4106, allocations: 0.7415 MB / 360.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.4107, allocations: 13 kB / 360.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009618/0.4116, allocations: 429 kB / 360.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 5.035e-06/0.4117, allocations: 4 kB / 360.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.002397/0.4141, allocations: 0.9454 MB / 361.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.4142, allocations: 80.39 kB / 361.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.4147, allocations: 316.8 kB / 361.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.4148, allocations: 81.69 kB / 362 MB, free: 8.695 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.4152, allocations: 371.5 kB / 362.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.4155, allocations: 252.8 kB / 362.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.4156, allocations: 24 kB / 362.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4158, allocations: 366.7 kB / 363 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.4166, allocations: 310.5 kB / 363.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.4177, allocations: 0.5372 MB / 363.8 MB, free: 6.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.4185, allocations: 322.4 kB / 364.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.458e-06/0.4185, allocations: 0 / 364.1 MB, free: 6.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002261/0.4208, allocations: 0.9646 MB / 365.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4209, allocations: 8.625 kB / 365.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.4209, allocations: 8 kB / 365.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.4209, allocations: 12 kB / 365.1 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.4215, allocations: 128.3 kB / 365.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/0.4215, allocations: 15.94 kB / 365.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.422, allocations: 79.66 kB / 365.3 MB, free: 5.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4222, allocations: 47.98 kB / 365.4 MB, free: 5.184 MB / 298.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.0006905/0.4229, allocations: 352.8 kB / 365.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.423, allocations: 51.39 kB / 365.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.4249, allocations: 0.7886 MB / 366.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.4249, allocations: 8 kB / 366.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.425, allocations: 0 / 366.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.425, allocations: 11.97 kB / 366.6 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/0.429, allocations: 1.82 MB / 368.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.939e-06/0.429, allocations: 0 / 368.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.4294, allocations: 75.77 kB / 368.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.4295, allocations: 4 kB / 368.5 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.4295, allocations: 23.92 kB / 368.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.4296, allocations: 7.953 kB / 368.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.065e-06/0.4296, allocations: 0 / 368.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.4312, allocations: 0.8161 MB / 369.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4314, allocations: 124.5 kB / 369.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4315, allocations: 20 kB / 369.5 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.4318, allocations: 39.97 kB / 369.5 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/0.4322, allocations: 140.7 kB / 369.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/0.4323, allocations: 35.98 kB / 369.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.4325, allocations: 166 kB / 369.9 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.4325, allocations: 0 / 369.9 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008709/0.4334, allocations: 175.9 kB / 370 MB, free: 460 kB / 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) * 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.0003024/0.4337, allocations: 183.2 kB / 370.2 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.4356, allocations: 0.8381 MB / 371 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.03e-06/0.4356, allocations: 0 / 371 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.4365, allocations: 401.5 kB / 371.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.437, allocations: 75.56 kB / 371.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.4406, allocations: 1.596 MB / 373.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.4414, allocations: 0.9628 MB / 374.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.4418, allocations: 79.39 kB / 374.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.677e-06/0.4418, allocations: 0 / 374.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Templates: time 0.01877/0.4606, allocations: 9.763 MB / 383.9 MB, free: 2.477 MB / 314.7 MB