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.514/1.514, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.561e-05, allocations: 6.188 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07693/0.07698, allocations: 38.77 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ShowCompositeStep): time 0.003874/0.08091, allocations: 2.223 MB / 269.1 MB, free: 14.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.08361, allocations: 0.9115 MB / 270 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004774/0.08413, allocations: 31.88 kB / 270.1 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.08445, allocations: 91.23 kB / 270.2 MB, free: 13.21 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.08489, allocations: 55.78 kB / 270.2 MB, free: 13.15 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.08682, allocations: 387.4 kB / 270.6 MB, free: 12.77 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.08821, allocations: 0.613 MB / 271.2 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.08934, allocations: 0.5755 MB / 271.8 MB, free: 11.57 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.08977, allocations: 271.4 kB / 272 MB, free: 11.31 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.0903, allocations: 306.8 kB / 272.3 MB, free: 11.01 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.09051, allocations: 55.98 kB / 272.4 MB, free: 10.95 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.09066, allocations: 40 kB / 272.4 MB, free: 10.91 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.09093, allocations: 187.3 kB / 272.6 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.09109, allocations: 52 kB / 272.7 MB, free: 10.68 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.09249, allocations: 0.9277 MB / 273.6 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09251, allocations: 0 / 273.6 MB, free: 9.75 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.09253, allocations: 0 / 273.6 MB, free: 9.75 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.09256, allocations: 0 / 273.6 MB, free: 9.75 MB / 234.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.002819/0.09539, allocations: 0.915 MB / 274.5 MB, free: 8.773 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.09545, allocations: 8.031 kB / 274.5 MB, free: 8.766 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.0958, allocations: 98.95 kB / 274.6 MB, free: 8.668 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.09687, allocations: 0.4935 MB / 275.1 MB, free: 8.133 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.09704, allocations: 90 kB / 275.2 MB, free: 8.043 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.09731, allocations: 120 kB / 275.3 MB, free: 7.926 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/0.1003, allocations: 1.027 MB / 276.3 MB, free: 6.875 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.1004, allocations: 0 / 276.3 MB, free: 6.875 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.1005, allocations: 43.98 kB / 276.4 MB, free: 6.832 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.1006, allocations: 24 kB / 276.4 MB, free: 6.809 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.1032, allocations: 0.847 MB / 277.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006217/0.1094, allocations: 2.971 MB / 280.2 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.1114, allocations: 0.7299 MB / 281 MB, free: 2.148 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.735e-05/0.1115, allocations: 16.98 kB / 281 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.1126, allocations: 429 kB / 281.4 MB, free: 1.703 MB / 234.7 MB Notification: Performance of pre-optimization done (n=104): time 3.917e-06/0.1126, allocations: 0 / 281.4 MB, free: 1.703 MB / 234.7 MB Notification: Performance of matching and sorting (n=104): time 0.002694/0.1153, allocations: 0.9532 MB / 282.3 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1154, allocations: 72.39 kB / 282.4 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004826/0.1159, allocations: 324.8 kB / 282.7 MB, free: 344 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.1161, allocations: 77.69 kB / 282.8 MB, free: 260 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.1164, allocations: 309.2 kB / 283.1 MB, free: 15.94 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.1168, allocations: 264.5 kB / 283.4 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.1169, allocations: 24 kB / 283.4 MB, free: 15.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.1171, allocations: 374.8 kB / 283.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009375/0.1181, allocations: 314.5 kB / 284.1 MB, free: 14.97 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.1193, allocations: 0.5372 MB / 284.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.1202, allocations: 314.4 kB / 284.9 MB, free: 14.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.1202, allocations: 4 kB / 284.9 MB, free: 14.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002535/0.1228, allocations: 0.9722 MB / 285.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.1228, allocations: 8 kB / 285.9 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.1228, allocations: 8 kB / 285.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.1229, allocations: 12 kB / 285.9 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.1237, allocations: 124.3 kB / 286 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.1237, allocations: 15.94 kB / 286.1 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.1243, allocations: 130.8 kB / 286.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.1245, allocations: 55.92 kB / 286.2 MB, free: 12.72 MB / 250.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.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,$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,compositeStep.step3.active,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step4.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,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,compositeStep.step4a.active,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,compositeStep.initStep.active,$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.exitStep.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.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.active,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,transition1.enableFire,transition1.fire,transition1.outPort.occupied,$PRE.transition1.t_start,transition1.t_start,step1.active,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,step6.active,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,transition7.condition,transition7.enableFire,Parallel1.outPort.available,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.0006918/0.1252, allocations: 352.8 kB / 286.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.1253, allocations: 51.39 kB / 286.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.1276, allocations: 0.7769 MB / 287.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.1276, allocations: 12 kB / 287.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1277, allocations: 0 / 287.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.1277, allocations: 7.969 kB / 287.4 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/0.1322, allocations: 1.843 MB / 289.3 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.1322, allocations: 3.984 kB / 289.3 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.1328, allocations: 71.83 kB / 289.3 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.1328, allocations: 7.938 kB / 289.3 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.1329, allocations: 19.98 kB / 289.4 MB, free: 9.508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.1329, allocations: 7.953 kB / 289.4 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1329, allocations: 0 / 289.4 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.1348, allocations: 0.82 MB / 290.2 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1349, allocations: 140.3 kB / 290.3 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.1351, allocations: 24 kB / 290.4 MB, free: 8.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004287/0.1355, allocations: 39.97 kB / 290.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/0.136, allocations: 132.8 kB / 290.5 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.734e-05/0.1361, allocations: 43.97 kB / 290.6 MB, free: 8.273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.1363, allocations: 166 kB / 290.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1363, allocations: 0 / 290.7 MB, free: 8.113 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009417/0.1373, allocations: 219.2 kB / 290.9 MB, free: 7.898 MB / 250.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.active,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step4.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.active,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.active,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.exitStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,step0.active,step0.newActive,step0.oldActive,transition1.fire,transition1.outPort.occupied,transition1.t_start,step1.active,step1.newActive,step1.oldActive,transition2.fire,transition2.t_start,step6.active,step6.newActive,step6.oldActive,transition7.condition,transition7.enableFire,Parallel1.outPort.available,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.0003281/0.1376, allocations: 175.3 kB / 291.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.1398, allocations: 0.842 MB / 292 MB, free: 6.871 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1399, allocations: 0 / 292 MB, free: 6.871 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.1409, allocations: 409.5 kB / 292.4 MB, free: 6.473 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.1416, allocations: 77.89 kB / 292.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.145, allocations: 1.469 MB / 293.9 MB, free: 4.895 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007982/0.1459, allocations: 0.9745 MB / 294.9 MB, free: 3.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0007086/0.1466, allocations: 122.2 kB / 295 MB, free: 3.773 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.147, allocations: 75.39 kB / 295.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of SimCode: time 1.894e-06/0.147, allocations: 0 / 295.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of Templates: time 0.2255/0.3725, allocations: 7.44 MB / 302.5 MB, free: 29.5 MB / 250.7 MB