Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ShowCompositeStep,fileNamePrefix="Modelica_3_2_2_Modelica_StateGraph_Examples_ShowCompositeStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.373/2.373, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.469e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3642, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4942, allocations: 71.75 MB / 366 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4945, allocations: 67.97 kB / 366 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05515/0.5497, allocations: 13.19 MB / 379.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5498, allocations: 0 / 379.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.142e-05/0.5499, allocations: 24 kB / 379.2 MB, free: 12.75 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003002/0.5529, allocations: 0.9309 MB / 380.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.5529, allocations: 8.031 kB / 380.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.5534, allocations: 98.88 kB / 380.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.5547, allocations: 490.2 kB / 380.8 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.5549, allocations: 43.98 kB / 380.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/0.5552, allocations: 64 kB / 380.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002611/0.5578, allocations: 0.7653 MB / 381.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.5604, allocations: 0.8714 MB / 382.5 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.5605, allocations: 0 / 382.5 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.5606, allocations: 11.94 kB / 382.5 MB, free: 9.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.5607, allocations: 24 kB / 382.5 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00682/0.5675, allocations: 2.726 MB / 385.3 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.5694, allocations: 0.6623 MB / 385.9 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008729/0.5703, allocations: 335.1 kB / 386.3 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.5704, allocations: 16.77 kB / 386.3 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.5715, allocations: 390.4 kB / 386.6 MB, free: 5.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 4.649e-06/0.5716, allocations: 0 / 386.6 MB, free: 5.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.001901/0.5735, allocations: 0.6253 MB / 387.3 MB, free: 4.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.5736, allocations: 80.7 kB / 387.4 MB, free: 4.348 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.5742, allocations: 309.2 kB / 387.7 MB, free: 4.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.5744, allocations: 53.69 kB / 387.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.5748, allocations: 309 kB / 388 MB, free: 3.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.5752, allocations: 244.8 kB / 388.2 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.5753, allocations: 3.938 kB / 388.3 MB, free: 3.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.5755, allocations: 378.7 kB / 388.6 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.5764, allocations: 270.6 kB / 388.9 MB, free: 2.785 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.5774, allocations: 0.4964 MB / 389.4 MB, free: 2.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/0.5783, allocations: 286.2 kB / 389.7 MB, free: 1.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.5784, allocations: 0 / 389.7 MB, free: 1.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002449/0.5808, allocations: 0.8475 MB / 390.5 MB, free: 1.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.5809, allocations: 7.938 kB / 390.5 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.581, allocations: 8 kB / 390.5 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.39e-05/0.581, allocations: 16 kB / 390.5 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.5818, allocations: 123.7 kB / 390.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.5818, allocations: 16.53 kB / 390.7 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006264/0.5825, allocations: 52.06 kB / 390.7 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.5827, allocations: 55.98 kB / 390.8 MB, free: 0.8008 MB / 330.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.000375/0.5831, allocations: 211.6 kB / 391 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00176/0.5848, allocations: 0.6215 MB / 391.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.585, allocations: 51.34 kB / 391.7 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.5871, allocations: 0.6987 MB / 392.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.5871, allocations: 8 kB / 392.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5871, allocations: 0 / 392.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.5872, allocations: 3.984 kB / 392.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004687/0.5919, allocations: 1.626 MB / 394 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.5919, allocations: 0 / 394 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.5925, allocations: 75.83 kB / 394.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/0.5925, allocations: 4 kB / 394.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/0.5926, allocations: 11.97 kB / 394.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.5926, allocations: 4 kB / 394.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.5927, allocations: 4 kB / 394.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.5945, allocations: 0.7585 MB / 394.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.5948, allocations: 132.3 kB / 395 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.5949, allocations: 11.98 kB / 395 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.5954, allocations: 23.97 kB / 395 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/0.5959, allocations: 129.1 kB / 395.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.596, allocations: 39.98 kB / 395.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.5962, allocations: 158 kB / 395.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5962, allocations: 0 / 395.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001051/0.5973, allocations: 128 kB / 395.5 MB, free: 12.02 MB / 346.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.002424/0.5997, allocations: 1.358 MB / 396.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.6018, allocations: 0.7556 MB / 397.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6018, allocations: 5.625 kB / 397.6 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.6027, allocations: 380.9 kB / 398 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.6034, allocations: 60.45 kB / 398 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.6074, allocations: 1.128 MB / 399.1 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.6082, allocations: 0.9662 MB / 400.1 MB, free: 7.281 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006508/0.6089, allocations: 118.2 kB / 400.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007178/0.6096, allocations: 287.3 kB / 400.5 MB, free: 6.883 MB / 346.7 MB Notification: Performance of SimCode: time 1.442e-06/0.6096, allocations: 0 / 400.5 MB, free: 6.883 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06578/0.6754, allocations: 12.98 MB / 413.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.6758, allocations: 136.7 kB / 413.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.411/4.087, allocations: 3.938 kB / 413.6 MB, free: 9.711 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat does not exist to compare? outputFormat=mat