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.277/2.277, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.043e-05, allocations: 0 / 255.4 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1323, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.5313, allocations: 72.41 MB / 372.4 MB, free: 22.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5316, allocations: 71.3 kB / 372.4 MB, free: 22.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05477/0.5864, allocations: 13.5 MB / 385.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5864, allocations: 0 / 385.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.494e-05/0.5865, allocations: 23.16 kB / 385.9 MB, free: 21.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.002318/0.5888, allocations: 0.9322 MB / 386.9 MB, free: 20.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.5889, allocations: 9.438 kB / 386.9 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003303/0.5893, allocations: 159.2 kB / 387 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.5896, allocations: 96.59 kB / 387.1 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5907, allocations: 494 kB / 387.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.5908, allocations: 94.42 kB / 387.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002436/0.5911, allocations: 109.2 kB / 387.8 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.5939, allocations: 1.016 MB / 388.8 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.594, allocations: 1.406 kB / 388.8 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.5942, allocations: 38.94 kB / 388.9 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5942, allocations: 23.75 kB / 388.9 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.5966, allocations: 0.8141 MB / 389.7 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.6026, allocations: 2.908 MB / 392.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6043, allocations: 0.7195 MB / 393.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007731/0.6051, allocations: 358.3 kB / 393.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-05/0.6052, allocations: 12.03 kB / 393.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009663/0.6062, allocations: 419.5 kB / 394.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 4.639e-06/0.6062, allocations: 0 / 394.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.001707/0.6079, allocations: 0.6758 MB / 394.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.608, allocations: 82.95 kB / 394.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.6085, allocations: 322 kB / 395.2 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.6087, allocations: 77.69 kB / 395.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.609, allocations: 316 kB / 395.6 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.6092, allocations: 254.8 kB / 395.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.599e-05/0.6093, allocations: 29.72 kB / 395.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6094, allocations: 370.9 kB / 396.2 MB, free: 18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008338/0.6103, allocations: 303.8 kB / 396.5 MB, free: 18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009208/0.6112, allocations: 0.5244 MB / 397 MB, free: 17.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.6121, allocations: 314.1 kB / 397.3 MB, free: 17.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.6121, allocations: 3.906 kB / 397.3 MB, free: 17.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002248/0.6144, allocations: 0.9536 MB / 398.3 MB, free: 17.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.6144, allocations: 8.625 kB / 398.3 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.6145, allocations: 3.906 kB / 398.3 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/0.6145, allocations: 19.72 kB / 398.3 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.6153, allocations: 128.9 kB / 398.5 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.6153, allocations: 11.72 kB / 398.5 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.616, allocations: 72.91 kB / 398.5 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.6161, allocations: 57.16 kB / 398.6 MB, free: 17.56 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.0003401/0.6165, allocations: 245.4 kB / 398.8 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6166, allocations: 50.48 kB / 398.9 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.6185, allocations: 0.7614 MB / 399.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.6186, allocations: 7.812 kB / 399.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6186, allocations: 3.891 kB / 399.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.6186, allocations: 7.047 kB / 399.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/0.6228, allocations: 1.809 MB / 401.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.6228, allocations: 3.906 kB / 401.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.6234, allocations: 70.77 kB / 401.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.6234, allocations: 3.906 kB / 401.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.6235, allocations: 26.64 kB / 401.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.6235, allocations: 7.609 kB / 401.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6235, allocations: 4 kB / 401.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.6252, allocations: 0.8054 MB / 402.4 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.6254, allocations: 124 kB / 402.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.6255, allocations: 21.7 kB / 402.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.626, allocations: 48.34 kB / 402.6 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/0.6264, allocations: 128.6 kB / 402.7 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/0.6265, allocations: 37.34 kB / 402.7 MB, free: 16.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.6268, allocations: 165.7 kB / 402.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6268, allocations: 0 / 402.9 MB, free: 16.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001053/0.6279, allocations: 169 kB / 403.1 MB, free: 16.5 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.002097/0.63, allocations: 1.424 MB / 404.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.632, allocations: 0.8195 MB / 405.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.632, allocations: 8.062 kB / 405.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.6329, allocations: 395.3 kB / 405.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.6336, allocations: 66.73 kB / 405.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.6374, allocations: 1.218 MB / 407 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/0.638, allocations: 0.9778 MB / 408 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006429/0.6387, allocations: 116.5 kB / 408.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000612/0.6393, allocations: 285.6 kB / 408.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6393, allocations: 7.906 kB / 408.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04752/0.6868, allocations: 13.46 MB / 421.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.6872, allocations: 154.8 kB / 422 MB, free: 8.816 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/4.023, allocations: 0 / 422 MB, free: 8.816 MB / 314.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