Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ShowCompositeStep,fileNamePrefix="Modelica_3_2_1_Modelica_StateGraph_Examples_ShowCompositeStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.646/1.646, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.438e-05, allocations: 4 kB / 225.1 MB, free: 2.219 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 38.77 MB / 263.8 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4027, allocations: 67.11 MB / 331 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.403, allocations: 67.97 kB / 331 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05872/0.4618, allocations: 13.5 MB / 344.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4618, allocations: 0 / 344.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.288e-05/0.4619, allocations: 27.94 kB / 344.5 MB, free: 8.906 MB / 298.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.002835/0.4647, allocations: 0.931 MB / 345.5 MB, free: 7.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4648, allocations: 11.97 kB / 345.5 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004561/0.4653, allocations: 156.2 kB / 345.6 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.4656, allocations: 90.97 kB / 345.7 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.4668, allocations: 497.7 kB / 346.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.467, allocations: 94 kB / 346.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.4673, allocations: 112 kB / 346.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.4706, allocations: 1.016 MB / 347.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.4707, allocations: 0 / 347.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.4708, allocations: 43.98 kB / 347.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.4709, allocations: 27.94 kB / 347.5 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.4737, allocations: 0.8122 MB / 348.3 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00723/0.481, allocations: 2.898 MB / 351.2 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.4832, allocations: 0.7215 MB / 351.9 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.4843, allocations: 359.2 kB / 352.3 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.4845, allocations: 16.75 kB / 352.3 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001175/0.4857, allocations: 420.9 kB / 352.7 MB, free: 460 kB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 4.969e-06/0.4857, allocations: 0 / 352.7 MB, free: 460 kB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.002014/0.4877, allocations: 0.6768 MB / 353.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.4879, allocations: 76.34 kB / 353.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.4885, allocations: 325.9 kB / 353.8 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002549/0.4887, allocations: 81.62 kB / 353.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.4891, allocations: 317 kB / 354.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004361/0.4896, allocations: 248.8 kB / 354.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.4897, allocations: 28 kB / 354.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.4899, allocations: 370.8 kB / 354.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009583/0.4909, allocations: 306.6 kB / 355.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.492, allocations: 0.5256 MB / 355.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.493, allocations: 308.9 kB / 355.9 MB, free: 13.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.4931, allocations: 7.938 kB / 355.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002691/0.4958, allocations: 0.9574 MB / 356.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.4959, allocations: 12.03 kB / 356.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.4959, allocations: 4 kB / 356.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.831e-05/0.4959, allocations: 12 kB / 356.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/0.4968, allocations: 123.6 kB / 357 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.158e-05/0.4969, allocations: 12 kB / 357.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.4976, allocations: 79.64 kB / 357.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.4977, allocations: 59.98 kB / 357.2 MB, free: 11.83 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.0004173/0.4982, allocations: 235.9 kB / 357.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.4984, allocations: 59.28 kB / 357.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.5005, allocations: 0.7614 MB / 358.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.5006, allocations: 12 kB / 358.3 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5006, allocations: 4 kB / 358.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.5007, allocations: 3.984 kB / 358.3 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004959/0.5056, allocations: 1.814 MB / 360.1 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.5057, allocations: 0 / 360.1 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.5063, allocations: 71.83 kB / 360.1 MB, free: 8.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.5063, allocations: 8 kB / 360.2 MB, free: 8.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.5064, allocations: 27.94 kB / 360.2 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.5064, allocations: 4 kB / 360.2 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5064, allocations: 0 / 360.2 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.5084, allocations: 0.8044 MB / 361 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.5086, allocations: 124.4 kB / 361.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.5088, allocations: 19.98 kB / 361.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/0.5093, allocations: 51.92 kB / 361.2 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/0.5098, allocations: 128.8 kB / 361.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5099, allocations: 31.98 kB / 361.3 MB, free: 7.578 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.5101, allocations: 171.1 kB / 361.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5101, allocations: 0 / 361.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009785/0.5111, allocations: 168 kB / 361.7 MB, free: 7.25 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.002523/0.5137, allocations: 1.42 MB / 363.1 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.5161, allocations: 0.8195 MB / 363.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.5162, allocations: 4 kB / 363.9 MB, free: 4.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.5172, allocations: 397.6 kB / 364.3 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.518, allocations: 72.42 kB / 364.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.5224, allocations: 1.226 MB / 365.6 MB, free: 3.254 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.5232, allocations: 0.9743 MB / 366.6 MB, free: 2.254 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007592/0.524, allocations: 122.1 kB / 366.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/0.5248, allocations: 283.3 kB / 367 MB, free: 1.855 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5248, allocations: 0 / 367 MB, free: 1.855 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/0.8385, allocations: 13.46 MB / 380.4 MB, free: 87.27 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.8387, allocations: 152.1 kB / 380.6 MB, free: 87.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.771, allocations: 0 / 380.6 MB, free: 87.04 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat does not exist to compare? outputFormat=mat