Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.4 MB / 216.5 MB, free: 6.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.394e-05, allocations: 3.938 kB / 267.6 MB, free: 4.977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 48.7 MB / 316.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.5476, allocations: 74 MB / 390.3 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.5479, allocations: 64.22 kB / 390.4 MB, free: 2.336 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00732/0.5553, allocations: 1.641 MB / 392 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5553, allocations: 0 / 392 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.5553, allocations: 4 kB / 392 MB, free: 0.9414 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006582/0.556, allocations: 386.7 kB / 392.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.5561, allocations: 12.02 kB / 392.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.5562, allocations: 11.91 kB / 392.4 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.5565, allocations: 202.1 kB / 392.6 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.5565, allocations: 4 kB / 392.6 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.5566, allocations: 4 kB / 392.6 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001485/0.5567, allocations: 39.05 kB / 392.7 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.557, allocations: 79.66 kB / 392.8 MB, free: 176 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.557, allocations: 4 kB / 392.8 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.557, allocations: 0 / 392.8 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.557, allocations: 4 kB / 392.8 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.5578, allocations: 340.8 kB / 393.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.558, allocations: 58.58 kB / 393.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.35e-05/0.558, allocations: 22.98 kB / 393.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5581, allocations: 7.938 kB / 393.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.5583, allocations: 89.58 kB / 393.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.595e-06/0.5583, allocations: 0 / 393.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003128/0.5587, allocations: 94.42 kB / 393.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.5587, allocations: 55.39 kB / 393.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.5589, allocations: 125.1 kB / 393.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.5589, allocations: 29.7 kB / 393.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.559, allocations: 98.88 kB / 393.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.5591, allocations: 30.41 kB / 393.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.5591, allocations: 0 / 393.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5593, allocations: 318.3 kB / 394 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.5593, allocations: 18.69 kB / 394 MB, free: 14.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.5595, allocations: 82.09 kB / 394.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/0.5596, allocations: 25.92 kB / 394.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.5596, allocations: 0 / 394.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003014/0.5599, allocations: 117 kB / 394.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5599, allocations: 8 kB / 394.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.56, allocations: 3.953 kB / 394.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.56, allocations: 4 kB / 394.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.5603, allocations: 28.2 kB / 394.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5603, allocations: 4 kB / 394.3 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.5604, allocations: 15.92 kB / 394.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.5604, allocations: 7.938 kB / 394.3 MB, free: 14.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001107/0.5606, allocations: 107.6 kB / 394.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002313/0.5608, allocations: 94.3 kB / 394.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.5608, allocations: 11.86 kB / 394.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.5609, allocations: 11.75 kB / 394.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5609, allocations: 4 kB / 394.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5609, allocations: 0 / 394.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.561, allocations: 3.984 kB / 394.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.5612, allocations: 178.1 kB / 394.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5612, allocations: 0 / 394.7 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.5614, allocations: 11.98 kB / 394.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.5614, allocations: 0 / 394.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5614, allocations: 7.953 kB / 394.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.5614, allocations: 0 / 394.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5615, allocations: 3.938 kB / 394.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.5618, allocations: 146.6 kB / 394.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/0.5619, allocations: 92.97 kB / 395 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.562, allocations: 8.078 kB / 395 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5621, allocations: 3.953 kB / 395 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.5622, allocations: 15.91 kB / 395 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.5622, allocations: 4 kB / 395 MB, free: 13.9 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.5623, allocations: 109 kB / 395.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5623, allocations: 4.062 kB / 395.1 MB, free: 13.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.5627, allocations: 19.94 kB / 395.1 MB, free: 13.78 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006668/0.5634, allocations: 0.6766 MB / 395.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.5636, allocations: 56.34 kB / 395.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5636, allocations: 8 kB / 395.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.5637, allocations: 31.55 kB / 395.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.5639, allocations: 11.55 kB / 395.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007275/0.5647, allocations: 205.2 kB / 396.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.565, allocations: 0.7078 MB / 396.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.912e-05/0.5651, allocations: 12.56 kB / 396.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.5652, allocations: 26.98 kB / 396.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of SimCode: time 2.825e-06/0.5652, allocations: 0 / 396.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.6004, allocations: 1.661 MB / 398.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/0.6008, allocations: 130.7 kB / 398.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.977, allocations: 0 / 398.6 MB, free: 10.18 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat