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_trunk_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.576e-05, allocations: 4 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 50.41 MB / 343.1 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4099/0.5314, allocations: 77.67 MB / 420.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001848/0.5317, allocations: 68.89 kB / 420.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04518/0.5768, allocations: 14.03 MB / 434.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5769, allocations: 0 / 434.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.316e-05/0.577, allocations: 27.56 kB / 434.9 MB, free: 4.008 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.001644/0.5786, allocations: 0.9474 MB / 435.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.5787, allocations: 11.53 kB / 435.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.5789, allocations: 96.56 kB / 435.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.5798, allocations: 499 kB / 436.4 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.5799, allocations: 100.1 kB / 436.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.5801, allocations: 116.8 kB / 436.6 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.5822, allocations: 1.031 MB / 437.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.5822, allocations: 0 / 437.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.5823, allocations: 47.55 kB / 437.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/0.5824, allocations: 30.48 kB / 437.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.5842, allocations: 0.7821 MB / 438.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00466/0.5889, allocations: 2.947 MB / 441.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.5903, allocations: 0.7392 MB / 442.2 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.591, allocations: 368 kB / 442.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.199e-05/0.5911, allocations: 12.34 kB / 442.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008923/0.592, allocations: 478 kB / 443 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of pre-optimization done (n=105): time 4.881e-06/0.592, allocations: 4 kB / 443 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of matching and sorting (n=105): time 0.001487/0.5935, allocations: 0.6879 MB / 443.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.5936, allocations: 97.05 kB / 443.8 MB, free: 428 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.594, allocations: 319.6 kB / 444.1 MB, free: 260 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.5941, allocations: 82.44 kB / 444.2 MB, free: 224 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.5944, allocations: 321.8 kB / 444.5 MB, free: 16 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.5947, allocations: 258 kB / 444.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.411e-05/0.5948, allocations: 27.16 kB / 444.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.595, allocations: 374.2 kB / 445.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006895/0.5957, allocations: 302.7 kB / 445.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008851/0.5966, allocations: 0.5178 MB / 446 MB, free: 15.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000719/0.5973, allocations: 315 kB / 446.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.258e-06/0.5974, allocations: 11.72 kB / 446.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001927/0.5993, allocations: 0.9384 MB / 447.2 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5993, allocations: 7.688 kB / 447.2 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5994, allocations: 7.688 kB / 447.2 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.5994, allocations: 11.66 kB / 447.3 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.6, allocations: 128 kB / 447.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/0.6, allocations: 23.53 kB / 447.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.6005, allocations: 73.55 kB / 447.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.6006, allocations: 52.58 kB / 447.5 MB, free: 14.92 MB / 346.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: 135 ($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,$PRE.transition7.t_start,transition7.t_start,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 (166): * Single equations (assignments): 166 * 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.000325/0.601, allocations: 249.3 kB / 447.8 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.6011, allocations: 46.66 kB / 447.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.6027, allocations: 0.7702 MB / 448.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6028, allocations: 11.47 kB / 448.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.644e-06/0.6028, allocations: 0 / 448.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.6028, allocations: 7.969 kB / 448.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.6065, allocations: 1.823 MB / 450.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.027e-06/0.6065, allocations: 0 / 450.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.6069, allocations: 85.2 kB / 450.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.092e-05/0.6069, allocations: 11.78 kB / 450.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.607, allocations: 21.92 kB / 450.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.69e-06/0.607, allocations: 3.844 kB / 450.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-06/0.607, allocations: 0 / 450.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.6085, allocations: 0.8201 MB / 451.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.6086, allocations: 131.6 kB / 451.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6088, allocations: 28.36 kB / 451.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.6091, allocations: 34.42 kB / 451.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/0.6094, allocations: 138.6 kB / 451.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.858e-05/0.6095, allocations: 33.2 kB / 451.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.6098, allocations: 172.8 kB / 451.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.6098, allocations: 0 / 451.9 MB, free: 13.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007919/0.6106, allocations: 173.8 kB / 452.1 MB, free: 13.27 MB / 346.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: 81 (transition7.t_start,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: 10 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive,transition7.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002916/0.6109, allocations: 172 kB / 452.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.6124, allocations: 0.8044 MB / 453 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.275e-06/0.6125, allocations: 0 / 453 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007349/0.6132, allocations: 396.2 kB / 453.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.6137, allocations: 75.94 kB / 453.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.6165, allocations: 1.105 MB / 454.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.6173, allocations: 0.9875 MB / 455.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005426/0.6179, allocations: 119.6 kB / 455.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.6182, allocations: 72.66 kB / 455.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.882e-06/0.6182, allocations: 0 / 455.8 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Templates: time 0.02227/0.6405, allocations: 7.472 MB / 463.2 MB, free: 4.691 MB / 346.7 MB