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.198/2.198, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.471e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 48.69 MB / 321.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5608, allocations: 74.45 MB / 396.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5611, allocations: 59.97 kB / 396.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007508/0.5686, allocations: 1.653 MB / 398 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5687, allocations: 0 / 398 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.5687, allocations: 4 kB / 398 MB, free: 13.38 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006716/0.5694, allocations: 379.9 kB / 398.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5694, allocations: 8.031 kB / 398.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.292e-05/0.5695, allocations: 38.55 kB / 398.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.5696, allocations: 11.91 kB / 398.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.57, allocations: 222.7 kB / 398.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.57, allocations: 7.984 kB / 398.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.57, allocations: 8 kB / 398.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.5703, allocations: 81.67 kB / 398.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.5703, allocations: 0 / 398.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.5703, allocations: 7.984 kB / 398.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5704, allocations: 4 kB / 398.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.5705, allocations: 32 kB / 398.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.5713, allocations: 368.5 kB / 399.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.5715, allocations: 58.5 kB / 399.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.5716, allocations: 24.89 kB / 399.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.5716, allocations: 4 kB / 399.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.5719, allocations: 95.27 kB / 399.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.5719, allocations: 0 / 399.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003172/0.5722, allocations: 97.52 kB / 399.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.5723, allocations: 55.41 kB / 399.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.5725, allocations: 128.6 kB / 399.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.5725, allocations: 29.7 kB / 399.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.5726, allocations: 112.5 kB / 399.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.5726, allocations: 23.66 kB / 399.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.5727, allocations: 0 / 399.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5728, allocations: 326.8 kB / 400.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.5729, allocations: 16 kB / 400.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.573, allocations: 83.66 kB / 400.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.5732, allocations: 31.97 kB / 400.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5732, allocations: 0 / 400.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000318/0.5735, allocations: 129.3 kB / 400.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5735, allocations: 4 kB / 400.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.5736, allocations: 4 kB / 400.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.5736, allocations: 4 kB / 400.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.5738, allocations: 23.92 kB / 400.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5738, allocations: 8.078 kB / 400.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.574, allocations: 16.09 kB / 400.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.574, allocations: 12 kB / 400.4 MB, free: 10.72 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.0001062/0.5741, allocations: 112.9 kB / 400.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.5741, allocations: 11.86 kB / 400.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.5742, allocations: 16.61 kB / 400.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5742, allocations: 0 / 400.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5742, allocations: 0 / 400.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5742, allocations: 0 / 400.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.5745, allocations: 201.5 kB / 400.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5745, allocations: 0 / 400.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.5747, allocations: 20 kB / 400.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5747, allocations: 0 / 400.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.5747, allocations: 7.938 kB / 400.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5748, allocations: 3.938 kB / 400.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5748, allocations: 3.938 kB / 400.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.5752, allocations: 145 kB / 401 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.953e-05/0.5753, allocations: 93.03 kB / 401 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5753, allocations: 4.062 kB / 401 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5755, allocations: 19.88 kB / 401.1 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.5755, allocations: 8 kB / 401.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.5755, allocations: 7.984 kB / 401.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.5757, allocations: 99.28 kB / 401.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5757, allocations: 0 / 401.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.576, allocations: 27.92 kB / 401.2 MB, free: 9.863 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.0007455/0.5768, allocations: 0.6944 MB / 401.9 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.577, allocations: 63.91 kB / 402 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.577, allocations: 0 / 402 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.5772, allocations: 27.98 kB / 402 MB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.5774, allocations: 11.95 kB / 402 MB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.5781, allocations: 211.5 kB / 402.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.5785, allocations: 0.7045 MB / 402.9 MB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.941e-05/0.5786, allocations: 12.78 kB / 402.9 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.5787, allocations: 31.36 kB / 403 MB, free: 8.023 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5787, allocations: 0 / 403 MB, free: 8.023 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.6004, allocations: 1.987 MB / 404.9 MB, free: 6.098 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/0.6007, allocations: 138.2 kB / 405.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.125, allocations: 0 / 405.1 MB, free: 5.875 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