Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ShowCompositeStep,fileNamePrefix="Modelica_4_0_0_Modelica_StateGraph_Examples_ShowCompositeStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.539e-05, allocations: 7.984 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50.4 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5598, allocations: 77.93 MB / 420.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5602, allocations: 68.91 kB / 420.6 MB, free: 15.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05583/0.616, allocations: 14.03 MB / 434.7 MB, free: 4.062 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6161, allocations: 0 / 434.7 MB, free: 4.062 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.048e-05/0.6161, allocations: 28.16 kB / 434.7 MB, free: 4.035 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002495/0.6187, allocations: 0.9537 MB / 435.6 MB, free: 3.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.6187, allocations: 8.031 kB / 435.7 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003426/0.6191, allocations: 159.2 kB / 435.8 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002765/0.6194, allocations: 98.88 kB / 435.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.6205, allocations: 0.4952 MB / 436.4 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.6207, allocations: 97.42 kB / 436.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.6209, allocations: 126.1 kB / 436.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.6237, allocations: 1.025 MB / 437.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.6238, allocations: 0 / 437.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.624, allocations: 47.75 kB / 437.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.624, allocations: 24 kB / 437.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.6266, allocations: 0.7819 MB / 438.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007533/0.6342, allocations: 2.953 MB / 441.5 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.6361, allocations: 0.7174 MB / 442.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008993/0.6371, allocations: 371.1 kB / 442.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.6372, allocations: 16.77 kB / 442.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.6384, allocations: 481.5 kB / 443 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 5.24e-06/0.6384, allocations: 0 / 443 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=105): time 0.001994/0.6404, allocations: 0.6834 MB / 443.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.303e-05/0.6406, allocations: 105.8 kB / 443.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/0.6412, allocations: 321.2 kB / 444.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002457/0.6414, allocations: 77.73 kB / 444.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.6418, allocations: 321 kB / 444.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.6422, allocations: 264.7 kB / 444.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.6423, allocations: 27.94 kB / 444.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.6425, allocations: 378.7 kB / 445.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009476/0.6435, allocations: 302.6 kB / 445.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.6447, allocations: 0.5191 MB / 446 MB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/0.6457, allocations: 316.9 kB / 446.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.6457, allocations: 0 / 446.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002569/0.6483, allocations: 0.9411 MB / 447.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.6484, allocations: 4 kB / 447.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.6484, allocations: 8 kB / 447.2 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.284e-05/0.6485, allocations: 12.78 kB / 447.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.6493, allocations: 123.7 kB / 447.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.066e-05/0.6493, allocations: 19.94 kB / 447.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.65, allocations: 75.66 kB / 447.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.6502, allocations: 55.98 kB / 447.5 MB, free: 9.211 MB / 362.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: 135 ($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,$PRE.transition7.t_start,transition7.t_start,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 (166): * Single equations (assignments): 166 * 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.0004089/0.6506, allocations: 252 kB / 447.8 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.6507, allocations: 47.44 kB / 447.8 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.6529, allocations: 0.7614 MB / 448.6 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.653, allocations: 12 kB / 448.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.653, allocations: 0 / 448.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.653, allocations: 3.984 kB / 448.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004942/0.658, allocations: 1.833 MB / 450.4 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6581, allocations: 7.938 kB / 450.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.6586, allocations: 75.78 kB / 450.5 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/0.6587, allocations: 4 kB / 450.5 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.6587, allocations: 27.97 kB / 450.5 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.6588, allocations: 4 kB / 450.5 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6588, allocations: 0 / 450.5 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.6607, allocations: 0.8225 MB / 451.4 MB, free: 5.273 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.6609, allocations: 124.5 kB / 451.5 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.661, allocations: 24 kB / 451.5 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.6615, allocations: 43.97 kB / 451.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/0.6619, allocations: 136.7 kB / 451.7 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.6621, allocations: 35.98 kB / 451.7 MB, free: 4.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.6623, allocations: 163.1 kB / 451.9 MB, free: 4.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6623, allocations: 0 / 451.9 MB, free: 4.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001022/0.6634, allocations: 187.9 kB / 452.1 MB, free: 4.555 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 81 (transition7.t_start,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: 10 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive,transition7.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.002478/0.6659, allocations: 1.499 MB / 453.6 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.6682, allocations: 0.8077 MB / 454.4 MB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6682, allocations: 0 / 454.4 MB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.6693, allocations: 395.6 kB / 454.8 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.67, allocations: 72.47 kB / 454.8 MB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.6745, allocations: 1.256 MB / 456.1 MB, free: 468 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000788/0.6753, allocations: 0.9825 MB / 457.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007627/0.6761, allocations: 118.1 kB / 457.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/0.6769, allocations: 291.3 kB / 457.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6769, allocations: 0 / 457.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05404/0.7309, allocations: 13.55 MB / 471 MB, free: 1.582 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/0.7313, allocations: 147 kB / 471.2 MB, free: 1.359 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/3.806, allocations: 4 kB / 471.2 MB, free: 1.355 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat does not exist to compare? outputFormat=mat