Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Mean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.861e-05, allocations: 7.922 kB / 299.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3813, allocations: 54.85 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5346, allocations: 81.56 MB / 435.9 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.5349, allocations: 63.97 kB / 436 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02202/0.5569, allocations: 4.095 MB / 440 MB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.32e-06/0.557, allocations: 0 / 440 MB, free: 12.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.473e-05/0.5571, allocations: 11.94 kB / 440.1 MB, free: 12.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001701/0.5588, allocations: 0.5216 MB / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.5589, allocations: 8.031 kB / 440.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.5591, allocations: 35.62 kB / 440.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/0.5631, allocations: 313.9 kB / 440.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.5632, allocations: 8 kB / 440.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5633, allocations: 19.94 kB / 441 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006998/0.564, allocations: 153 kB / 441.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.5649, allocations: 203.8 kB / 441.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.5649, allocations: 4 kB / 441.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/0.565, allocations: 3.984 kB / 441.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.565, allocations: 4 kB / 441.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.5677, allocations: 0.7246 MB / 442 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.5684, allocations: 174.8 kB / 442.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.5687, allocations: 80.84 kB / 442.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.5688, allocations: 4 kB / 442.3 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006537/0.5695, allocations: 204.8 kB / 442.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 4.618e-06/0.5695, allocations: 0 / 442.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009426/0.5704, allocations: 249.2 kB / 442.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.5705, allocations: 55.41 kB / 442.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.5709, allocations: 192.5 kB / 443 MB, free: 9.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.571, allocations: 29.69 kB / 443 MB, free: 9.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0101/0.5811, allocations: 160.9 kB / 443.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.5814, allocations: 90.66 kB / 443.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.5815, allocations: 0 / 443.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.5817, allocations: 342.8 kB / 443.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.582, allocations: 72.75 kB / 443.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.5825, allocations: 198.2 kB / 443.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.5829, allocations: 95.89 kB / 443.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.054e-06/0.5829, allocations: 0 / 443.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001097/0.584, allocations: 297.3 kB / 444.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.5841, allocations: 8 kB / 444.2 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.5841, allocations: 8.078 kB / 444.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.5842, allocations: 11.94 kB / 444.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.585, allocations: 79.83 kB / 444.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.585, allocations: 8 kB / 444.4 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.5855, allocations: 35.8 kB / 444.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.5855, allocations: 24 kB / 444.4 MB, free: 7.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.mean.y,mean.y,$PRE.rectifiedMean.mean.y,rectifiedMean.mean.y,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y,$PRE.harmonic.mean1.y,harmonic.mean1.y,$PRE.harmonic.mean2.y,harmonic.mean2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0002172/0.5858, allocations: 120.9 kB / 444.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008611/0.5866, allocations: 233.3 kB / 444.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.5868, allocations: 27.66 kB / 444.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.5878, allocations: 268.5 kB / 445 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.5878, allocations: 4 kB / 445 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5879, allocations: 0 / 445 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.5879, allocations: 3.984 kB / 445.1 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.5894, allocations: 0.616 MB / 445.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5895, allocations: 0 / 445.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.5902, allocations: 47.97 kB / 445.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.5902, allocations: 0 / 445.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.5903, allocations: 15.98 kB / 445.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5903, allocations: 0 / 445.7 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.5903, allocations: 4 kB / 445.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.5917, allocations: 466.8 kB / 446.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.5919, allocations: 104.8 kB / 446.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.592, allocations: 4 kB / 446.3 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.5924, allocations: 19.92 kB / 446.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.5926, allocations: 23.95 kB / 446.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/0.5927, allocations: 12 kB / 446.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.593, allocations: 152.5 kB / 446.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.593, allocations: 0 / 446.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008998/0.5939, allocations: 67.72 kB / 446.6 MB, free: 5.688 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.x,rectifiedMean.mean.x,rootMeanSquare.mean.x,harmonic.mean1.x,harmonic.mean2.x) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y,rectifiedMean.mean.y,rootMeanSquare.mean.y,harmonic.mean1.y,harmonic.mean2.y) * Number of discrete states: 5 (harmonic.mean2.x,harmonic.mean1.x,rootMeanSquare.mean.x,rectifiedMean.mean.x,mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002072/0.596, allocations: 1.014 MB / 447.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008014/0.5968, allocations: 211.8 kB / 447.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.5968, allocations: 0 / 447.8 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.5972, allocations: 111.8 kB / 447.9 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.5978, allocations: 22.77 kB / 447.9 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.6, allocations: 499.1 kB / 448.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.6006, allocations: 0.7883 MB / 449.2 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.6009, allocations: 38.23 kB / 449.2 MB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.6011, allocations: 107.4 kB / 449.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6012, allocations: 3.938 kB / 449.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.648, allocations: 4.405 MB / 453.7 MB, free: 14.43 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.6483, allocations: 110.5 kB / 453.9 MB, free: 14.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.206, allocations: 0 / 453.9 MB, free: 14.24 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean_res.mat does not exist to compare? outputFormat=mat