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_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep") Notification: Performance of loadModel(Modelica): time 2.173/2.173, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.876e-05, allocations: 4 kB / 292.1 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/0.09058, allocations: 50.41 MB / 342.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4544, allocations: 77.92 MB / 420.5 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.4546, allocations: 67.66 kB / 420.5 MB, free: 268 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05737/0.512, allocations: 14.03 MB / 434.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.512, allocations: 0 / 434.6 MB, free: 4.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.353e-05/0.5121, allocations: 32.14 kB / 434.6 MB, free: 4.395 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.002136/0.5143, allocations: 0.9431 MB / 435.5 MB, free: 3.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5143, allocations: 8.031 kB / 435.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.5147, allocations: 102.1 kB / 435.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009816/0.5157, allocations: 498.9 kB / 436.1 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.5158, allocations: 99.25 kB / 436.2 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.516, allocations: 121.7 kB / 436.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.5185, allocations: 1.022 MB / 437.4 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.5186, allocations: 3.938 kB / 437.4 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.5187, allocations: 45.3 kB / 437.4 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.5188, allocations: 31.95 kB / 437.5 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.5208, allocations: 0.7809 MB / 438.2 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005778/0.5267, allocations: 2.96 MB / 441.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5283, allocations: 0.7173 MB / 441.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/0.5291, allocations: 370.7 kB / 442.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/0.5292, allocations: 23.5 kB / 442.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009921/0.5302, allocations: 477.7 kB / 442.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 5.023e-06/0.5302, allocations: 3.938 kB / 442.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=105): time 0.00176/0.532, allocations: 0.6879 MB / 443.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.5321, allocations: 98.11 kB / 443.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.5327, allocations: 322 kB / 443.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001848/0.5329, allocations: 85.69 kB / 443.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.5332, allocations: 313 kB / 444.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.5336, allocations: 260.8 kB / 444.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.5337, allocations: 31.94 kB / 444.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.5339, allocations: 370.8 kB / 444.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008259/0.5348, allocations: 302.6 kB / 445.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.5358, allocations: 0.5191 MB / 445.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.5368, allocations: 316.9 kB / 446 MB, free: 10.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.5368, allocations: 3.953 kB / 446 MB, free: 10.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002282/0.5391, allocations: 0.9411 MB / 447 MB, free: 9.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.5391, allocations: 8 kB / 447 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.5392, allocations: 4.812 kB / 447 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/0.5392, allocations: 15.94 kB / 447 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.5398, allocations: 127.7 kB / 447.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.5399, allocations: 15.94 kB / 447.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/0.5404, allocations: 75.66 kB / 447.2 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.5406, allocations: 55.98 kB / 447.3 MB, free: 9.59 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.000363/0.541, allocations: 240.1 kB / 447.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.5411, allocations: 55.39 kB / 447.6 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.543, allocations: 0.7613 MB / 448.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.586e-05/0.5431, allocations: 12 kB / 448.3 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.928e-06/0.5431, allocations: 3.984 kB / 448.3 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.5431, allocations: 7.969 kB / 448.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.5475, allocations: 1.826 MB / 450.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.5475, allocations: 4 kB / 450.2 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.548, allocations: 75.77 kB / 450.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.548, allocations: 7.953 kB / 450.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.5481, allocations: 27.97 kB / 450.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.952e-06/0.5481, allocations: 4 kB / 450.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.939e-06/0.5481, allocations: 0 / 450.3 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.5498, allocations: 0.8225 MB / 451.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.55, allocations: 128.4 kB / 451.2 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.5501, allocations: 20 kB / 451.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.5505, allocations: 43.97 kB / 451.3 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003677/0.5509, allocations: 136.8 kB / 451.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.551, allocations: 31.98 kB / 451.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002366/0.5513, allocations: 167.1 kB / 451.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.27e-07/0.5513, allocations: 0 / 451.6 MB, free: 5.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009106/0.5522, allocations: 183.9 kB / 451.8 MB, free: 4.941 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.0003383/0.5526, allocations: 175.3 kB / 452 MB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.5545, allocations: 0.7986 MB / 452.8 MB, free: 3.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.845e-06/0.5546, allocations: 1.625 kB / 452.8 MB, free: 3.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008913/0.5555, allocations: 395.6 kB / 453.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.5561, allocations: 72.53 kB / 453.2 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/0.5593, allocations: 1.118 MB / 454.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/0.5602, allocations: 0.9782 MB / 455.3 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006304/0.5608, allocations: 110.2 kB / 455.4 MB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.5612, allocations: 79.39 kB / 455.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.021e-06/0.5612, allocations: 0 / 455.5 MB, free: 1.16 MB / 362.7 MB Notification: Performance of Templates: time 0.02373/0.5849, allocations: 7.468 MB / 463 MB, free: 9.727 MB / 378.7 MB