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.324/2.324, allocations: 235 MB / 247.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.163e-05, allocations: 4 kB / 305 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3865, allocations: 54.85 MB / 359.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.535, allocations: 82.22 MB / 442.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5353, allocations: 55.98 kB / 442.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.5538, allocations: 4.138 MB / 446.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5538, allocations: 0 / 446.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.5539, allocations: 8 kB / 446.3 MB, free: 10.46 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.001178/0.5551, allocations: 0.5196 MB / 446.8 MB, free: 9.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5551, allocations: 8.031 kB / 446.8 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.5553, allocations: 78.84 kB / 446.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5554, allocations: 39.56 kB / 446.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.556, allocations: 302.1 kB / 447.2 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.5561, allocations: 28.56 kB / 447.2 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.5562, allocations: 31.91 kB / 447.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.5569, allocations: 260.8 kB / 447.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.5569, allocations: 7.938 kB / 447.5 MB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.557, allocations: 12 kB / 447.5 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.557, allocations: 7.984 kB / 447.6 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.5575, allocations: 158.2 kB / 447.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.5595, allocations: 0.8109 MB / 448.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.56, allocations: 193 kB / 448.7 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.5603, allocations: 84.84 kB / 448.8 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.5603, allocations: 7.984 kB / 448.8 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005179/0.5608, allocations: 218 kB / 449 MB, free: 7.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/0.5609, allocations: 0 / 449 MB, free: 7.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007367/0.5616, allocations: 253.3 kB / 449.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.5617, allocations: 59.41 kB / 449.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.562, allocations: 201 kB / 449.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.562, allocations: 41.69 kB / 449.6 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.5622, allocations: 168.5 kB / 449.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.5623, allocations: 98.61 kB / 449.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.5624, allocations: 4 kB / 449.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5625, allocations: 343.7 kB / 450.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.5627, allocations: 72.75 kB / 450.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.5631, allocations: 211 kB / 450.4 MB, free: 6.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.5634, allocations: 104.6 kB / 450.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.5634, allocations: 0 / 450.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008105/0.5642, allocations: 342.3 kB / 450.9 MB, free: 5.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5643, allocations: 8 kB / 450.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5643, allocations: 7.953 kB / 450.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.5643, allocations: 8 kB / 450.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.5649, allocations: 84.3 kB / 451 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.5649, allocations: 8 kB / 451 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.5652, allocations: 36.61 kB / 451 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.5653, allocations: 16.7 kB / 451 MB, free: 5.414 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.0001485/0.5654, allocations: 138.8 kB / 451.2 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.5655, allocations: 27.62 kB / 451.2 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008079/0.5663, allocations: 292.5 kB / 451.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5663, allocations: 8.094 kB / 451.5 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5664, allocations: 3.984 kB / 451.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5664, allocations: 0 / 451.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.5676, allocations: 0.6855 MB / 452.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5676, allocations: 1.406 kB / 452.2 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.5681, allocations: 55.91 kB / 452.2 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.5681, allocations: 3.953 kB / 452.2 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.5682, allocations: 11.98 kB / 452.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5682, allocations: 0 / 452.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5682, allocations: 4 kB / 452.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.5693, allocations: 491.5 kB / 452.7 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.5694, allocations: 104.8 kB / 452.8 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.5694, allocations: 16 kB / 452.8 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/0.5698, allocations: 19.98 kB / 452.9 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.5699, allocations: 23.91 kB / 452.9 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.5699, allocations: 15.92 kB / 452.9 MB, free: 3.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.5701, allocations: 157.4 kB / 453.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5701, allocations: 0 / 453.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004842/0.5706, allocations: 75.73 kB / 453.1 MB, free: 3.203 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.001387/0.572, allocations: 1.037 MB / 454.2 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006362/0.5727, allocations: 233.1 kB / 454.4 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5727, allocations: 4.062 kB / 454.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.573, allocations: 123.8 kB / 454.5 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5734, allocations: 28.7 kB / 454.6 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.5749, allocations: 0.535 MB / 455.1 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.5753, allocations: 0.7841 MB / 455.9 MB, free: 384 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.5755, allocations: 42.33 kB / 455.9 MB, free: 340 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.5758, allocations: 107.4 kB / 456 MB, free: 236 kB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5758, allocations: 0 / 456 MB, free: 236 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.6035, allocations: 4.85 MB / 460.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/0.6039, allocations: 124.9 kB / 461 MB, free: 11.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.981, allocations: 4 kB / 461 MB, free: 11.23 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