Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ShowCompositeStep,fileNamePrefix="Modelica_3_2_2_cs_Modelica_StateGraph_Examples_ShowCompositeStep",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.274/2.274, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.606e-05, allocations: 2.469 kB / 249.8 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4451/0.5582, allocations: 71.75 MB / 366 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5585, allocations: 63.88 kB / 366.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05863/0.6172, allocations: 13.18 MB / 379.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6172, allocations: 0 / 379.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.703e-05/0.6173, allocations: 30.94 kB / 379.3 MB, free: 20.2 MB / 314.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.0024/0.6197, allocations: 0.9165 MB / 380.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6198, allocations: 11.62 kB / 380.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.6201, allocations: 97.53 kB / 380.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.6213, allocations: 491.6 kB / 380.8 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.335e-05/0.6214, allocations: 53.72 kB / 380.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.6216, allocations: 66 kB / 380.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002285/0.6239, allocations: 0.7564 MB / 381.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.6265, allocations: 0.8765 MB / 382.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.6266, allocations: 3.938 kB / 382.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.6267, allocations: 7.828 kB / 382.6 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.6267, allocations: 27.38 kB / 382.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.6329, allocations: 2.728 MB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.6346, allocations: 0.6595 MB / 386 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.6354, allocations: 335.3 kB / 386.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.6355, allocations: 19.44 kB / 386.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009767/0.6365, allocations: 390 kB / 386.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 6.181e-06/0.6366, allocations: 0 / 386.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.001883/0.6385, allocations: 0.6323 MB / 387.3 MB, free: 16.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.6386, allocations: 75.7 kB / 387.4 MB, free: 16.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.6391, allocations: 309.9 kB / 387.7 MB, free: 16.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.6393, allocations: 54.28 kB / 387.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.6396, allocations: 316.8 kB / 388.1 MB, free: 16.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.6399, allocations: 243.1 kB / 388.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.64, allocations: 0 / 388.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.6403, allocations: 376.6 kB / 388.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008719/0.6412, allocations: 275.7 kB / 389 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009659/0.6422, allocations: 0.4884 MB / 389.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009248/0.6431, allocations: 293.2 kB / 389.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.6431, allocations: 3.969 kB / 389.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00239/0.6455, allocations: 0.8392 MB / 390.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.6456, allocations: 7.781 kB / 390.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.6456, allocations: 8.656 kB / 390.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.005e-05/0.6457, allocations: 11.66 kB / 390.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.6466, allocations: 132.2 kB / 390.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.6466, allocations: 11.66 kB / 390.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007115/0.6473, allocations: 47.47 kB / 390.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.6475, allocations: 50.58 kB / 390.8 MB, free: 15.36 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.0003911/0.6479, allocations: 213.8 kB / 391 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001749/0.6497, allocations: 0.618 MB / 391.7 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.6498, allocations: 50.72 kB / 391.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.6518, allocations: 0.7032 MB / 392.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.6519, allocations: 11.73 kB / 392.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6519, allocations: 0 / 392.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.6519, allocations: 11.97 kB / 392.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/0.6564, allocations: 1.626 MB / 394.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.6565, allocations: 0 / 394.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.6571, allocations: 72.86 kB / 394.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.6572, allocations: 3.875 kB / 394.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/0.6573, allocations: 7.703 kB / 394.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/0.6573, allocations: 11.91 kB / 394.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6573, allocations: 3.938 kB / 394.2 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.6592, allocations: 0.7524 MB / 394.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/0.6594, allocations: 131.9 kB / 395 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.6595, allocations: 3.375 kB / 395 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.66, allocations: 31.47 kB / 395.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/0.6605, allocations: 134.9 kB / 395.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.6606, allocations: 30.88 kB / 395.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002306/0.6609, allocations: 158.8 kB / 395.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6609, allocations: 0 / 395.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001088/0.662, allocations: 127.3 kB / 395.5 MB, free: 13.62 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.002416/0.6645, allocations: 1.355 MB / 396.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.6664, allocations: 0.7632 MB / 397.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6665, allocations: 4.562 kB / 397.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008323/0.6673, allocations: 374 kB / 398 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.668, allocations: 56.89 kB / 398.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.6721, allocations: 1.138 MB / 399.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.673, allocations: 0.9818 MB / 400.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007765/0.6738, allocations: 112.2 kB / 400.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/0.6745, allocations: 283.2 kB / 400.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6745, allocations: 3.938 kB / 400.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09595/0.7705, allocations: 12.98 MB / 413.5 MB, free: 3.438 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0007052/0.7713, allocations: 145.2 kB / 413.7 MB, free: 3.238 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.851/4.623, allocations: 0 / 413.7 MB, free: 3.238 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat does not exist to compare? outputFormat=mat