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_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.155e-05, allocations: 0 / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2131, allocations: 38.76 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.3263, allocations: 67.12 MB / 330.9 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/0.3267, allocations: 67.97 kB / 331 MB, free: 6.543 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08195/0.4087, allocations: 13.49 MB / 344.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.827e-06/0.4088, allocations: 4 kB / 344.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.644e-05/0.4088, allocations: 27.88 kB / 344.5 MB, free: 8.93 MB / 298.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.001916/0.4108, allocations: 0.9192 MB / 345.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4108, allocations: 12.03 kB / 345.4 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.4111, allocations: 102.9 kB / 345.5 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.4121, allocations: 497.7 kB / 346 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.4123, allocations: 93.98 kB / 346.1 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/0.4125, allocations: 112 kB / 346.2 MB, free: 7.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.4152, allocations: 1.004 MB / 347.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.4152, allocations: 4 kB / 347.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.4154, allocations: 40 kB / 347.2 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.4154, allocations: 24 kB / 347.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.4176, allocations: 0.8043 MB / 348.1 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005909/0.4235, allocations: 2.894 MB / 351 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.4252, allocations: 0.704 MB / 351.7 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007843/0.426, allocations: 363.1 kB / 352 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/0.4261, allocations: 20.77 kB / 352 MB, free: 1.094 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009295/0.427, allocations: 410.9 kB / 352.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 5.451e-06/0.4271, allocations: 0 / 352.4 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.001741/0.4288, allocations: 0.677 MB / 353.1 MB, free: 0 / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.4289, allocations: 76.39 kB / 353.2 MB, free: 15.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005268/0.4295, allocations: 321.9 kB / 353.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.4297, allocations: 81.69 kB / 353.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.43, allocations: 320.9 kB / 353.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.4303, allocations: 252.8 kB / 354.1 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.4304, allocations: 24 kB / 354.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.4307, allocations: 370.8 kB / 354.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/0.4315, allocations: 302.6 kB / 354.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.4325, allocations: 0.5113 MB / 355.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.4334, allocations: 321 kB / 355.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.198e-06/0.4334, allocations: 0 / 355.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002326/0.4358, allocations: 0.9375 MB / 356.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.4358, allocations: 11.94 kB / 356.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4359, allocations: 4 kB / 356.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/0.4359, allocations: 16 kB / 356.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.4365, allocations: 123.6 kB / 356.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.4366, allocations: 12.53 kB / 356.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.4371, allocations: 79.66 kB / 356.8 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.4373, allocations: 51.98 kB / 356.9 MB, free: 12.11 MB / 314.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.0003681/0.4377, allocations: 255.9 kB / 357.1 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.4378, allocations: 59.3 kB / 357.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.4397, allocations: 0.7614 MB / 358 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.4397, allocations: 12 kB / 358 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.069e-06/0.4397, allocations: 3.938 kB / 358 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.4398, allocations: 3.984 kB / 358 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004244/0.444, allocations: 1.81 MB / 359.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.528e-06/0.4441, allocations: 0 / 359.8 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.4445, allocations: 67.83 kB / 359.8 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.4445, allocations: 4 kB / 359.9 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.4446, allocations: 31.97 kB / 359.9 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.4446, allocations: 7.953 kB / 359.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4447, allocations: 0 / 359.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.4463, allocations: 0.8004 MB / 360.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.4465, allocations: 128.4 kB / 360.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4466, allocations: 20 kB / 360.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.447, allocations: 39.97 kB / 360.9 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/0.4474, allocations: 136.8 kB / 361 MB, free: 7.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/0.4475, allocations: 35.97 kB / 361 MB, free: 7.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002363/0.4477, allocations: 171.1 kB / 361.2 MB, free: 7.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4477, allocations: 0 / 361.2 MB, free: 7.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008887/0.4486, allocations: 168 kB / 361.4 MB, free: 7.508 MB / 314.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.0003288/0.449, allocations: 187.2 kB / 361.6 MB, free: 7.305 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.4509, allocations: 0.7956 MB / 362.4 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.374e-06/0.4509, allocations: 0 / 362.4 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.4518, allocations: 391.6 kB / 362.7 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.4524, allocations: 72.45 kB / 362.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.4554, allocations: 1.071 MB / 363.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/0.4563, allocations: 0.9743 MB / 364.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006421/0.457, allocations: 114.2 kB / 365 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.4573, allocations: 79.41 kB / 365 MB, free: 3.766 MB / 314.7 MB Notification: Performance of SimCode: time 2.135e-06/0.4574, allocations: 0 / 365 MB, free: 3.766 MB / 314.7 MB Notification: Performance of Templates: time 0.2021/0.6595, allocations: 7.431 MB / 372.5 MB, free: 88.76 MB / 314.7 MB