Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Mean,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Mean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.788/2.788, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.946e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4632, allocations: 58.83 MB / 382.3 MB, free: 10.35 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.6493, allocations: 87.23 MB / 469.5 MB, free: 5.297 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.6496, allocations: 63.97 kB / 469.6 MB, free: 5.234 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.02163/0.6713, allocations: 4.283 MB / 473.9 MB, free: 0.9336 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6714, allocations: 4 kB / 473.9 MB, free: 0.9297 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.807e-05/0.6714, allocations: 8 kB / 473.9 MB, free: 0.9219 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001477/0.6729, allocations: 0.5244 MB / 474.4 MB, free: 360 kB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.673, allocations: 8.031 kB / 474.4 MB, free: 352 kB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.6731, allocations: 82.94 kB / 474.5 MB, free: 260 kB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.6733, allocations: 39.53 kB / 474.5 MB, free: 220 kB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.674, allocations: 322.1 kB / 474.8 MB, free: 15.86 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.674, allocations: 24.55 kB / 474.9 MB, free: 15.83 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.6741, allocations: 32 kB / 474.9 MB, free: 15.8 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.6749, allocations: 251.8 kB / 475.1 MB, free: 15.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.6749, allocations: 0 / 475.1 MB, free: 15.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/0.675, allocations: 12 kB / 475.2 MB, free: 15.54 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.675, allocations: 11.95 kB / 475.2 MB, free: 15.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.6755, allocations: 169 kB / 475.3 MB, free: 15.36 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.678, allocations: 0.8222 MB / 476.2 MB, free: 14.48 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.6786, allocations: 190.8 kB / 476.3 MB, free: 14.29 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.6788, allocations: 84.84 kB / 476.4 MB, free: 14.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.6789, allocations: 4 kB / 476.4 MB, free: 14.2 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/0.6794, allocations: 209 kB / 476.6 MB, free: 13.98 MB / 410.8 MB Notification: Performance of pre-optimization done (n=31): time 3.807e-06/0.6795, allocations: 4 kB / 476.6 MB, free: 13.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=31): time 0.0008157/0.6803, allocations: 245.3 kB / 476.9 MB, free: 13.73 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.6804, allocations: 67.3 kB / 476.9 MB, free: 13.66 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.6807, allocations: 209 kB / 477.1 MB, free: 13.45 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.6808, allocations: 37.69 kB / 477.2 MB, free: 13.4 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.6809, allocations: 176.4 kB / 477.4 MB, free: 13.23 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.6811, allocations: 90.7 kB / 477.4 MB, free: 13.14 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.6811, allocations: 12 kB / 477.5 MB, free: 13.12 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6813, allocations: 335.2 kB / 477.8 MB, free: 12.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.6816, allocations: 80.73 kB / 477.9 MB, free: 12.71 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.682, allocations: 202 kB / 478.1 MB, free: 12.45 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.6824, allocations: 111.8 kB / 478.2 MB, free: 12.34 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.6824, allocations: 0 / 478.2 MB, free: 12.34 MB / 410.8 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008481/0.6832, allocations: 325 kB / 478.5 MB, free: 12.02 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.6833, allocations: 8 kB / 478.5 MB, free: 12.01 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6833, allocations: 4 kB / 478.5 MB, free: 12 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.6833, allocations: 11.98 kB / 478.5 MB, free: 11.99 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.6839, allocations: 75.84 kB / 478.6 MB, free: 11.92 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/0.684, allocations: 15.94 kB / 478.6 MB, free: 11.9 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.6843, allocations: 43.97 kB / 478.6 MB, free: 11.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.6844, allocations: 12 kB / 478.7 MB, free: 11.85 MB / 410.8 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.0001871/0.6846, allocations: 144.8 kB / 478.8 MB, free: 11.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.6847, allocations: 27.81 kB / 478.8 MB, free: 11.67 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.6857, allocations: 297.6 kB / 479.1 MB, free: 11.38 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.6857, allocations: 4 kB / 479.1 MB, free: 11.38 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6857, allocations: 0 / 479.1 MB, free: 11.38 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/0.6858, allocations: 11.94 kB / 479.1 MB, free: 11.36 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.6871, allocations: 0.6894 MB / 479.8 MB, free: 10.62 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6872, allocations: 0 / 479.8 MB, free: 10.62 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.6877, allocations: 55.91 kB / 479.9 MB, free: 10.56 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.6878, allocations: 0 / 479.9 MB, free: 10.56 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.6878, allocations: 15.98 kB / 479.9 MB, free: 10.55 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.6879, allocations: 3.953 kB / 479.9 MB, free: 10.54 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6879, allocations: 0 / 479.9 MB, free: 10.54 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.6892, allocations: 487.5 kB / 480.4 MB, free: 10.05 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.6894, allocations: 104.7 kB / 480.5 MB, free: 9.93 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.462e-05/0.6894, allocations: 8 kB / 480.5 MB, free: 9.922 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.6898, allocations: 15.98 kB / 480.5 MB, free: 9.906 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6899, allocations: 31.92 kB / 480.5 MB, free: 9.875 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.69, allocations: 11.98 kB / 480.5 MB, free: 9.863 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002475/0.6902, allocations: 165.4 kB / 480.7 MB, free: 9.703 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-07/0.6902, allocations: 3.938 kB / 480.7 MB, free: 9.699 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005733/0.6908, allocations: 71.83 kB / 480.8 MB, free: 9.629 MB / 410.8 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.001551/0.6924, allocations: 1.044 MB / 481.8 MB, free: 8.559 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0009434/0.6934, allocations: 215.8 kB / 482 MB, free: 8.348 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6934, allocations: 0 / 482 MB, free: 8.348 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.6937, allocations: 119.8 kB / 482.1 MB, free: 8.23 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.6942, allocations: 29.31 kB / 482.2 MB, free: 8.203 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.6959, allocations: 0.5391 MB / 482.7 MB, free: 7.629 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.6963, allocations: 0.7919 MB / 483.5 MB, free: 6.805 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002709/0.6966, allocations: 46.31 kB / 483.5 MB, free: 6.758 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.6969, allocations: 111.4 kB / 483.7 MB, free: 6.648 MB / 410.8 MB Notification: Performance of SimCode: time 1.253e-06/0.6969, allocations: 0 / 483.7 MB, free: 6.648 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.7336, allocations: 4.896 MB / 488.6 MB, free: 1.824 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.734, allocations: 131.8 kB / 488.7 MB, free: 1.598 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.417, allocations: 4 kB / 488.7 MB, free: 1.594 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean_res.mat does not exist to compare? outputFormat=mat