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.896/1.896, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.026e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 38.76 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.4327, allocations: 67.12 MB / 331 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.433, allocations: 67.97 kB / 331 MB, free: 6.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05568/0.4887, allocations: 13.49 MB / 344.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4888, allocations: 0 / 344.5 MB, free: 8.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.632e-05/0.4889, allocations: 27.94 kB / 344.6 MB, free: 8.93 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.002368/0.4912, allocations: 0.9309 MB / 345.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.4913, allocations: 8.031 kB / 345.5 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003019/0.4916, allocations: 152.2 kB / 345.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002623/0.4919, allocations: 98.97 kB / 345.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.4931, allocations: 497.9 kB / 346.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.4932, allocations: 89.98 kB / 346.3 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.4935, allocations: 116 kB / 346.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.4962, allocations: 1.008 MB / 347.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.4963, allocations: 3.938 kB / 347.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.4964, allocations: 44 kB / 347.5 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.4965, allocations: 27.98 kB / 347.5 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.4988, allocations: 0.7966 MB / 348.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006263/0.5051, allocations: 2.894 MB / 351.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.5071, allocations: 0.7038 MB / 351.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009743/0.5081, allocations: 364.5 kB / 352.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9e-05/0.5082, allocations: 16.77 kB / 352.3 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.5093, allocations: 419.4 kB / 352.7 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 4.809e-06/0.5094, allocations: 0 / 352.7 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.001969/0.5113, allocations: 0.6728 MB / 353.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.5115, allocations: 84.23 kB / 353.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.512, allocations: 317.9 kB / 353.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.5122, allocations: 77.69 kB / 353.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.5126, allocations: 317 kB / 354.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000344/0.513, allocations: 252.8 kB / 354.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.5131, allocations: 28 kB / 354.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.5133, allocations: 374.8 kB / 354.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/0.5142, allocations: 302.6 kB / 355.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5153, allocations: 0.5152 MB / 355.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/0.5163, allocations: 312.9 kB / 355.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.5163, allocations: 4 kB / 355.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002527/0.5189, allocations: 0.9337 MB / 356.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.5189, allocations: 8 kB / 356.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.519, allocations: 8 kB / 356.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.948e-05/0.519, allocations: 12 kB / 356.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.5198, allocations: 127.6 kB / 357 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.662e-05/0.5199, allocations: 19.92 kB / 357 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.5205, allocations: 72.05 kB / 357.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.5207, allocations: 59.98 kB / 357.1 MB, free: 11.93 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.0003984/0.5211, allocations: 243.9 kB / 357.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5213, allocations: 55.3 kB / 357.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.5234, allocations: 0.7652 MB / 358.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.5235, allocations: 12 kB / 358.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5235, allocations: 0 / 358.2 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.5235, allocations: 7.969 kB / 358.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.5282, allocations: 1.814 MB / 360 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5283, allocations: 0 / 360 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.5289, allocations: 71.77 kB / 360.1 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/0.5289, allocations: 4 kB / 360.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.333e-05/0.529, allocations: 27.94 kB / 360.1 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.064e-05/0.529, allocations: 4 kB / 360.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.529, allocations: 0 / 360.1 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.5309, allocations: 0.7966 MB / 360.9 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.531, allocations: 132.4 kB / 361.1 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.5312, allocations: 24 kB / 361.1 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.5316, allocations: 43.92 kB / 361.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004163/0.5321, allocations: 136.8 kB / 361.3 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5322, allocations: 35.98 kB / 361.3 MB, free: 7.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002349/0.5324, allocations: 163.1 kB / 361.5 MB, free: 7.512 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5325, allocations: 4 kB / 361.5 MB, free: 7.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009524/0.5334, allocations: 176 kB / 361.6 MB, free: 7.336 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.002344/0.5358, allocations: 1.416 MB / 363.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.5379, allocations: 0.7986 MB / 363.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.538, allocations: 4 kB / 363.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009354/0.5389, allocations: 391.6 kB / 364.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.5396, allocations: 78.03 kB / 364.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.5436, allocations: 1.216 MB / 365.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/0.5444, allocations: 0.9665 MB / 366.5 MB, free: 2.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006856/0.5451, allocations: 122.2 kB / 366.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007525/0.5459, allocations: 279.3 kB / 366.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5459, allocations: 0 / 366.9 MB, free: 1.977 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/0.825, allocations: 13.44 MB / 380.3 MB, free: 87.07 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/0.8253, allocations: 143.9 kB / 380.5 MB, free: 86.85 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/3.876, allocations: 0 / 380.5 MB, free: 86.85 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