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.033/2.033, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.303e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.5266, allocations: 72.42 MB / 372.4 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5269, allocations: 69.36 kB / 372.5 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0616/0.5885, allocations: 13.49 MB / 386 MB, free: 20.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5886, allocations: 0 / 386 MB, free: 20.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.223e-05/0.5887, allocations: 23.25 kB / 386 MB, free: 20.78 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.00276/0.5914, allocations: 0.9264 MB / 386.9 MB, free: 20.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.5915, allocations: 10.03 kB / 386.9 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004594/0.592, allocations: 157.1 kB / 387.1 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.5923, allocations: 96.31 kB / 387.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5934, allocations: 494.2 kB / 387.6 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.5935, allocations: 91.06 kB / 387.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.5938, allocations: 115.1 kB / 387.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.5966, allocations: 1.002 MB / 388.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.5967, allocations: 4 kB / 388.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.5969, allocations: 38.34 kB / 388.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.5969, allocations: 23.59 kB / 388.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002404/0.5993, allocations: 0.8035 MB / 389.7 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005843/0.6052, allocations: 2.906 MB / 392.6 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.607, allocations: 0.7016 MB / 393.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008197/0.6079, allocations: 357.8 kB / 393.7 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.684e-05/0.608, allocations: 19.98 kB / 393.7 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009712/0.609, allocations: 416.8 kB / 394.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 5.57e-06/0.609, allocations: 3.938 kB / 394.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.001783/0.6108, allocations: 0.6698 MB / 394.8 MB, free: 18.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.6109, allocations: 71.94 kB / 394.8 MB, free: 18.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.6115, allocations: 322.8 kB / 395.2 MB, free: 18.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.6117, allocations: 79.41 kB / 395.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.612, allocations: 315.6 kB / 395.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.6123, allocations: 259.3 kB / 395.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.6124, allocations: 26.47 kB / 395.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6125, allocations: 373.3 kB / 396.2 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008022/0.6133, allocations: 303.3 kB / 396.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009168/0.6143, allocations: 0.5156 MB / 397 MB, free: 17.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.6151, allocations: 318.7 kB / 397.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.6151, allocations: 7.875 kB / 397.3 MB, free: 17.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002217/0.6173, allocations: 0.9324 MB / 398.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.6174, allocations: 7.906 kB / 398.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.6175, allocations: 3.906 kB / 398.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.061e-05/0.6175, allocations: 15.62 kB / 398.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.6183, allocations: 124.8 kB / 398.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.123e-05/0.6183, allocations: 15.56 kB / 398.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.619, allocations: 79.06 kB / 398.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.6192, allocations: 53.55 kB / 398.5 MB, free: 17.16 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.0003527/0.6195, allocations: 247.7 kB / 398.8 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.6197, allocations: 50.97 kB / 398.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.6216, allocations: 0.7659 MB / 399.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.6217, allocations: 12.97 kB / 399.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6217, allocations: 0 / 399.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.6217, allocations: 7.547 kB / 399.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.6263, allocations: 1.809 MB / 401.4 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.6263, allocations: 0 / 401.4 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.6269, allocations: 70.67 kB / 401.5 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/0.6269, allocations: 3.875 kB / 401.5 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.627, allocations: 29.47 kB / 401.5 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.627, allocations: 7.875 kB / 401.5 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.627, allocations: 0 / 401.5 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.6287, allocations: 0.8057 MB / 402.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.6289, allocations: 120.1 kB / 402.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.629, allocations: 25.81 kB / 402.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.6295, allocations: 39.95 kB / 402.5 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/0.6299, allocations: 133 kB / 402.7 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/0.63, allocations: 34.34 kB / 402.7 MB, free: 16.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.6303, allocations: 163.5 kB / 402.8 MB, free: 16.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6303, allocations: 0 / 402.8 MB, free: 16.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001016/0.6313, allocations: 175.5 kB / 403 MB, free: 16.1 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.002117/0.6334, allocations: 1.429 MB / 404.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.6356, allocations: 0.7922 MB / 405.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.6357, allocations: 4 kB / 405.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.6367, allocations: 395.1 kB / 405.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.6374, allocations: 72.77 kB / 405.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004635/0.6421, allocations: 1.213 MB / 406.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007381/0.6429, allocations: 0.9699 MB / 407.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001032/0.644, allocations: 119.5 kB / 408 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/0.645, allocations: 283.5 kB / 408.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.734e-06/0.645, allocations: 0 / 408.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.6976, allocations: 13.44 MB / 421.7 MB, free: 8.703 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.6979, allocations: 149.5 kB / 421.9 MB, free: 8.484 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/4.107, allocations: 3.938 kB / 421.9 MB, free: 8.48 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