Running command: translateModel(Modelica.StateGraph.Examples.ShowCompositeStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.84e-05/4.858e-05, allocations: 0 / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 50.42 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4844, allocations: 77.97 MB / 420.5 MB, free: 124 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.4847, allocations: 68 kB / 420.6 MB, free: 92 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0493/0.534, allocations: 14.03 MB / 434.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.008e-06/0.534, allocations: 0 / 434.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.455e-05/0.5341, allocations: 28.16 kB / 434.6 MB, free: 4.23 MB / 346.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.001826/0.5359, allocations: 0.9366 MB / 435.6 MB, free: 3.285 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.536, allocations: 12.03 kB / 435.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.5362, allocations: 98.86 kB / 435.7 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009249/0.5372, allocations: 0.4913 MB / 436.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.5373, allocations: 100 kB / 436.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.5375, allocations: 116 kB / 436.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.5398, allocations: 1.03 MB / 437.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.5399, allocations: 0 / 437.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.54, allocations: 38.69 kB / 437.4 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.54, allocations: 39.94 kB / 437.5 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.542, allocations: 0.7819 MB / 438.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005168/0.5472, allocations: 2.959 MB / 441.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.5487, allocations: 0.72 MB / 441.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000731/0.5495, allocations: 371.5 kB / 442.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.577e-05/0.5496, allocations: 20.77 kB / 442.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009578/0.5505, allocations: 468 kB / 442.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 4.577e-06/0.5506, allocations: 3.938 kB / 442.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=105): time 0.00163/0.5522, allocations: 0.6871 MB / 443.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/0.5523, allocations: 105.6 kB / 443.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.5528, allocations: 319.1 kB / 443.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.5529, allocations: 81.38 kB / 444 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.5533, allocations: 378.5 kB / 444.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.5536, allocations: 257.8 kB / 444.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.5537, allocations: 34.62 kB / 444.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.5539, allocations: 356.2 kB / 445 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007623/0.5547, allocations: 305.5 kB / 445.3 MB, free: 11.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.5557, allocations: 0.5191 MB / 445.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.5565, allocations: 312.9 kB / 446.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.5566, allocations: 7.953 kB / 446.1 MB, free: 11 MB / 362.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002169/0.5587, allocations: 0.9295 MB / 447 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5588, allocations: 8.812 kB / 447 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.5588, allocations: 8 kB / 447.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/0.5589, allocations: 16 kB / 447.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.5594, allocations: 123.7 kB / 447.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.5595, allocations: 15.94 kB / 447.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.5599, allocations: 71.66 kB / 447.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.5601, allocations: 55.98 kB / 447.3 MB, free: 9.773 MB / 362.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.0003467/0.5604, allocations: 252.1 kB / 447.6 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5606, allocations: 59.3 kB / 447.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.5624, allocations: 0.7576 MB / 448.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.5624, allocations: 8 kB / 448.4 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.593e-06/0.5624, allocations: 4 kB / 448.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.5625, allocations: 7.984 kB / 448.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004012/0.5665, allocations: 1.833 MB / 450.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.118e-06/0.5665, allocations: 3.938 kB / 450.2 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.5669, allocations: 71.83 kB / 450.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.937e-05/0.5669, allocations: 7.953 kB / 450.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.567, allocations: 23.97 kB / 450.3 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.567, allocations: 8 kB / 450.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.065e-06/0.567, allocations: 0 / 450.4 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.5687, allocations: 0.8148 MB / 451.2 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.5688, allocations: 132.3 kB / 451.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.5689, allocations: 20 kB / 451.3 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.5693, allocations: 43.97 kB / 451.4 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.5697, allocations: 140.7 kB / 451.5 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.5698, allocations: 35.98 kB / 451.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.57, allocations: 163.1 kB / 451.7 MB, free: 5.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-07/0.57, allocations: 0 / 451.7 MB, free: 5.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007883/0.5708, allocations: 172 kB / 451.9 MB, free: 5.129 MB / 362.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.0003038/0.5711, allocations: 180.3 kB / 452 MB, free: 4.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.573, allocations: 0.8037 MB / 452.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.999e-06/0.573, allocations: 0 / 452.8 MB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008266/0.5738, allocations: 388 kB / 453.2 MB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.5743, allocations: 72.53 kB / 453.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.5772, allocations: 1.128 MB / 454.4 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.5781, allocations: 0.9704 MB / 455.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.5784, allocations: 83.39 kB / 455.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5784, allocations: 0 / 455.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of Templates: time 0.01834/0.5968, allocations: 9.826 MB / 465.3 MB, free: 7.609 MB / 378.7 MB