Running command: "" <> buildModelFMU(Modelica.StateGraph.Examples.ShowCompositeStep,fileNamePrefix="Modelica_3_2_3_Modelica_StateGraph_Examples_ShowCompositeStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.265/2.265, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.962e-05, allocations: 0 / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.568, allocations: 76.75 MB / 393.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5683, allocations: 67.34 kB / 393.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05583/0.6242, allocations: 13.75 MB / 407.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6242, allocations: 0 / 407.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.585e-05/0.6243, allocations: 27.94 kB / 407.6 MB, free: 15.62 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.00244/0.6268, allocations: 0.9445 MB / 408.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6268, allocations: 12.03 kB / 408.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003168/0.6272, allocations: 160.2 kB / 408.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.6275, allocations: 98.88 kB / 408.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.6285, allocations: 496.5 kB / 409.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.6287, allocations: 103.6 kB / 409.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.6289, allocations: 118.7 kB / 409.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002655/0.6316, allocations: 1.029 MB / 410.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.6316, allocations: 0 / 410.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.6318, allocations: 42.62 kB / 410.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.6318, allocations: 24 kB / 410.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.6341, allocations: 0.7808 MB / 411.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/0.6404, allocations: 2.963 MB / 414.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.6422, allocations: 0.7007 MB / 415 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008308/0.6431, allocations: 358.3 kB / 415.4 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.75e-05/0.6432, allocations: 20.77 kB / 415.4 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.6442, allocations: 411.2 kB / 415.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 4.177e-06/0.6442, allocations: 0 / 415.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.00187/0.6461, allocations: 0.6749 MB / 416.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.6462, allocations: 83.84 kB / 416.6 MB, free: 8.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.6468, allocations: 320.4 kB / 416.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.647, allocations: 82.44 kB / 417 MB, free: 8.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.6473, allocations: 330.6 kB / 417.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.6476, allocations: 254.4 kB / 417.5 MB, free: 7.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.6477, allocations: 28.88 kB / 417.6 MB, free: 7.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.6479, allocations: 367.8 kB / 417.9 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008654/0.6488, allocations: 301.9 kB / 418.2 MB, free: 7.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.6499, allocations: 0.5164 MB / 418.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.6508, allocations: 311.8 kB / 419 MB, free: 6.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.6508, allocations: 4 kB / 419 MB, free: 6.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002383/0.6532, allocations: 0.9372 MB / 420 MB, free: 6.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.6532, allocations: 4 kB / 420 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.6533, allocations: 8 kB / 420 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.6533, allocations: 12.78 kB / 420 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/0.6541, allocations: 125.8 kB / 420.1 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.126e-05/0.6542, allocations: 16 kB / 420.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.6548, allocations: 77.67 kB / 420.2 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.655, allocations: 54.67 kB / 420.3 MB, free: 5.789 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.0003839/0.6554, allocations: 253.2 kB / 420.5 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.6555, allocations: 51.34 kB / 420.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.6576, allocations: 0.7603 MB / 421.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.6576, allocations: 8 kB / 421.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6576, allocations: 0 / 421.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.6577, allocations: 3.984 kB / 421.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.6623, allocations: 1.841 MB / 423.2 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6624, allocations: 4 kB / 423.2 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.6629, allocations: 70.89 kB / 423.3 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.6629, allocations: 4 kB / 423.3 MB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.663, allocations: 19.55 kB / 423.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.663, allocations: 4 kB / 423.3 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.6631, allocations: 4 kB / 423.3 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.6654, allocations: 0.807 MB / 424.1 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.6655, allocations: 127.9 kB / 424.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.6657, allocations: 21.48 kB / 424.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.6661, allocations: 37.97 kB / 424.3 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003988/0.6666, allocations: 139.3 kB / 424.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/0.6667, allocations: 31.73 kB / 424.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.6669, allocations: 163.1 kB / 424.6 MB, free: 2.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6669, allocations: 4 kB / 424.6 MB, free: 2.379 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009561/0.6679, allocations: 173.9 kB / 424.8 MB, free: 2.242 MB / 330.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.00231/0.6702, allocations: 1.42 MB / 426.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002062/0.6723, allocations: 0.7973 MB / 427 MB, free: 428 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.6723, allocations: 5.625 kB / 427 MB, free: 424 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.6732, allocations: 388.9 kB / 427.4 MB, free: 144 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005937/0.6738, allocations: 72.22 kB / 427.5 MB, free: 96 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/0.6778, allocations: 1.25 MB / 428.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.6786, allocations: 0.9698 MB / 429.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006232/0.6792, allocations: 126.1 kB / 429.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006605/0.6799, allocations: 286.1 kB / 430.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6799, allocations: 0 / 430.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05034/0.7303, allocations: 13.53 MB / 443.6 MB, free: 360 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003739/0.7307, allocations: 147 kB / 443.8 MB, free: 132 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.327/4.058, allocations: 3.938 kB / 443.8 MB, free: 128 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.StateGraph.Examples.ShowCompositeStep_res.mat does not exist to compare? outputFormat=mat