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.437/2.437, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.805e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.5488, allocations: 82.22 MB / 442.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5491, allocations: 67.95 kB / 442.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01891/0.5681, allocations: 4.124 MB / 446.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5681, allocations: 4 kB / 446.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.5682, allocations: 4 kB / 446.3 MB, free: 10.44 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.001239/0.5694, allocations: 0.5273 MB / 446.8 MB, free: 9.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.5695, allocations: 12.03 kB / 446.8 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.5696, allocations: 78.78 kB / 446.9 MB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.5698, allocations: 35.62 kB / 447 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.5704, allocations: 314 kB / 447.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.5705, allocations: 24.56 kB / 447.3 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.5706, allocations: 35.95 kB / 447.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.5713, allocations: 251.6 kB / 447.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5713, allocations: 0 / 447.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.5714, allocations: 15.98 kB / 447.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.5714, allocations: 4 kB / 447.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.5719, allocations: 157.1 kB / 447.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.5739, allocations: 0.8148 MB / 448.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.5744, allocations: 179.6 kB / 448.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.5747, allocations: 85.7 kB / 448.8 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.5747, allocations: 11.97 kB / 448.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005172/0.5753, allocations: 204.6 kB / 449 MB, free: 7.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/0.5753, allocations: 4 kB / 449 MB, free: 7.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007271/0.576, allocations: 261.2 kB / 449.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5761, allocations: 55.41 kB / 449.3 MB, free: 7.203 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.5764, allocations: 205 kB / 449.5 MB, free: 7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.5765, allocations: 38.27 kB / 449.6 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5766, allocations: 176.4 kB / 449.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5768, allocations: 90.7 kB / 449.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.5768, allocations: 8 kB / 449.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.577, allocations: 342.8 kB / 450.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.5772, allocations: 72.75 kB / 450.2 MB, free: 6.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.5775, allocations: 199.7 kB / 450.4 MB, free: 6.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.5779, allocations: 119.8 kB / 450.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.5779, allocations: 4 kB / 450.6 MB, free: 5.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000811/0.5787, allocations: 318.3 kB / 450.9 MB, free: 5.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5787, allocations: 12.42 kB / 450.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5788, allocations: 8 kB / 450.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.5788, allocations: 8 kB / 450.9 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.5794, allocations: 79.83 kB / 451 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.5794, allocations: 8 kB / 451 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.5797, allocations: 43.67 kB / 451 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.5798, allocations: 12 kB / 451 MB, free: 5.406 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.0001607/0.5799, allocations: 140.8 kB / 451.2 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.58, allocations: 27.7 kB / 451.2 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008054/0.5808, allocations: 289.4 kB / 451.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5808, allocations: 7.938 kB / 451.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5809, allocations: 0 / 451.5 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.5809, allocations: 4 kB / 451.5 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5821, allocations: 0.6817 MB / 452.2 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.5821, allocations: 4 kB / 452.2 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.5826, allocations: 47.91 kB / 452.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/0.5827, allocations: 7.953 kB / 452.2 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.5827, allocations: 7.984 kB / 452.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.5827, allocations: 4 kB / 452.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5827, allocations: 4.844 kB / 452.3 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.5838, allocations: 491.5 kB / 452.7 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.5839, allocations: 100.8 kB / 452.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-05/0.584, allocations: 16.02 kB / 452.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.5843, allocations: 15.98 kB / 452.9 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.5844, allocations: 23.89 kB / 452.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.5845, allocations: 19.94 kB / 452.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.5847, allocations: 161.4 kB / 453.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5847, allocations: 0 / 453.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.5852, allocations: 81.14 kB / 453.1 MB, free: 3.195 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.001404/0.5866, allocations: 1.034 MB / 454.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.5873, allocations: 223.8 kB / 454.4 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5873, allocations: 0 / 454.4 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.5876, allocations: 112.4 kB / 454.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.588, allocations: 28.38 kB / 454.5 MB, free: 1.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.5895, allocations: 0.5316 MB / 455.1 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.59, allocations: 0.7892 MB / 455.9 MB, free: 404 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.5902, allocations: 38.06 kB / 455.9 MB, free: 364 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.5905, allocations: 111.4 kB / 456 MB, free: 256 kB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5905, allocations: 3.938 kB / 456 MB, free: 252 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.6173, allocations: 4.842 MB / 460.8 MB, free: 11.48 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002981/0.6177, allocations: 127.5 kB / 461 MB, free: 11.26 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.993, allocations: 3.938 kB / 461 MB, free: 11.25 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