Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Mean") Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.204e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3481, allocations: 54.85 MB / 359.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.4854, allocations: 82.23 MB / 442 MB, free: 14.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.4857, allocations: 59.98 kB / 442.1 MB, free: 14.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01827/0.504, allocations: 4.129 MB / 446.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.994e-06/0.5041, allocations: 3.938 kB / 446.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.03e-05/0.5041, allocations: 12 kB / 446.2 MB, free: 10.53 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.001504/0.5056, allocations: 0.5189 MB / 446.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.5057, allocations: 12.03 kB / 446.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.5058, allocations: 39.53 kB / 446.8 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.5064, allocations: 302.1 kB / 447.1 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.5065, allocations: 20.56 kB / 447.1 MB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.5065, allocations: 35.98 kB / 447.1 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.5071, allocations: 239.7 kB / 447.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.5072, allocations: 3.938 kB / 447.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.5072, allocations: 8 kB / 447.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.5072, allocations: 8 kB / 447.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.5077, allocations: 149.1 kB / 447.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.5094, allocations: 0.7802 MB / 448.3 MB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004677/0.5099, allocations: 179 kB / 448.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.5102, allocations: 84.84 kB / 448.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.5102, allocations: 8 kB / 448.6 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.5108, allocations: 211.1 kB / 448.8 MB, free: 7.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 5.825e-06/0.5108, allocations: 7.984 kB / 448.8 MB, free: 7.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006804/0.5115, allocations: 257.3 kB / 449 MB, free: 7.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.5115, allocations: 63.39 kB / 449.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.5118, allocations: 197.1 kB / 449.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.5119, allocations: 37.7 kB / 449.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.5121, allocations: 164.6 kB / 449.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5122, allocations: 102.5 kB / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.5122, allocations: 4 kB / 449.6 MB, free: 6.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.5125, allocations: 346.8 kB / 449.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/0.5127, allocations: 72.75 kB / 450 MB, free: 6.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.513, allocations: 210.2 kB / 450.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.5133, allocations: 99.89 kB / 450.3 MB, free: 6.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-06/0.5133, allocations: 4 kB / 450.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007971/0.5141, allocations: 322.7 kB / 450.6 MB, free: 5.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.5142, allocations: 9.719 kB / 450.6 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5142, allocations: 5.953 kB / 450.6 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.5142, allocations: 8 kB / 450.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.5147, allocations: 76.36 kB / 450.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.5147, allocations: 15.94 kB / 450.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.515, allocations: 47.62 kB / 450.8 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.5151, allocations: 12 kB / 450.8 MB, free: 5.66 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.0001689/0.5153, allocations: 136.8 kB / 450.9 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.5153, allocations: 23.72 kB / 451 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.5161, allocations: 300.8 kB / 451.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.805e-06/0.5161, allocations: 0 / 451.2 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.58e-06/0.5161, allocations: 4 kB / 451.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.503e-06/0.5162, allocations: 3.984 kB / 451.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.5173, allocations: 0.6738 MB / 451.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.003e-06/0.5174, allocations: 0 / 451.9 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.5178, allocations: 51.97 kB / 452 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.5178, allocations: 4.141 kB / 452 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.5178, allocations: 9.016 kB / 452 MB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.708e-06/0.5179, allocations: 4 kB / 452 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.149e-06/0.5179, allocations: 11.92 kB / 452 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.5189, allocations: 483.5 kB / 452.5 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.519, allocations: 108.7 kB / 452.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.5191, allocations: 12 kB / 452.6 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.5194, allocations: 15.98 kB / 452.6 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.5195, allocations: 23.97 kB / 452.6 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.5195, allocations: 15.92 kB / 452.7 MB, free: 3.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.5197, allocations: 165.3 kB / 452.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.5198, allocations: 0 / 452.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005298/0.5203, allocations: 73.19 kB / 452.9 MB, free: 3.469 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.0002027/0.5205, allocations: 127.9 kB / 453 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005757/0.5211, allocations: 223.7 kB / 453.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.404e-06/0.5211, allocations: 0 / 453.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.5214, allocations: 115.8 kB / 453.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.5217, allocations: 25.64 kB / 453.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.5229, allocations: 437 kB / 453.8 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.5234, allocations: 0.7844 MB / 454.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002161/0.5236, allocations: 34.05 kB / 454.6 MB, free: 1.684 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.5238, allocations: 35.44 kB / 454.6 MB, free: 1.652 MB / 378.7 MB Notification: Performance of SimCode: time 2.203e-06/0.5238, allocations: 3.938 kB / 454.6 MB, free: 1.648 MB / 378.7 MB Notification: Performance of Templates: time 0.01243/0.5362, allocations: 2.198 MB / 456.8 MB, free: 15.46 MB / 394.7 MB