Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Mean") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.224e-05, allocations: 7.984 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.471, allocations: 87.22 MB / 469.4 MB, free: 5.316 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.4713, allocations: 67.97 kB / 469.5 MB, free: 5.25 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01864/0.4899, allocations: 4.29 MB / 473.8 MB, free: 0.9414 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.081e-06/0.49, allocations: 0 / 473.8 MB, free: 0.9414 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.056e-05/0.49, allocations: 8 kB / 473.8 MB, free: 0.9336 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.001056/0.4911, allocations: 0.5198 MB / 474.3 MB, free: 380 kB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4911, allocations: 12.03 kB / 474.3 MB, free: 368 kB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.4913, allocations: 43.48 kB / 474.4 MB, free: 324 kB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.4919, allocations: 322 kB / 474.7 MB, free: 15.96 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.4919, allocations: 28.55 kB / 474.7 MB, free: 15.93 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.492, allocations: 31.98 kB / 474.7 MB, free: 15.9 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.4926, allocations: 231.8 kB / 475 MB, free: 15.66 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.4927, allocations: 7.906 kB / 475 MB, free: 15.66 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.4927, allocations: 8 kB / 475 MB, free: 15.65 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4927, allocations: 11.95 kB / 475 MB, free: 15.64 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.4932, allocations: 153.1 kB / 475.1 MB, free: 15.49 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.495, allocations: 0.7845 MB / 475.9 MB, free: 14.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.4955, allocations: 190.9 kB / 476.1 MB, free: 14.46 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.4957, allocations: 84.84 kB / 476.2 MB, free: 14.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.4958, allocations: 4 kB / 476.2 MB, free: 14.37 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.4962, allocations: 209 kB / 476.4 MB, free: 14.16 MB / 410.8 MB Notification: Performance of pre-optimization done (n=31): time 4.072e-06/0.4963, allocations: 3.938 kB / 476.4 MB, free: 14.15 MB / 410.8 MB Notification: Performance of matching and sorting (n=31): time 0.0006938/0.497, allocations: 261.2 kB / 476.6 MB, free: 13.89 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.497, allocations: 55.41 kB / 476.7 MB, free: 13.82 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.4973, allocations: 201.1 kB / 476.9 MB, free: 13.62 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.4974, allocations: 41.7 kB / 476.9 MB, free: 13.57 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.4976, allocations: 172.6 kB / 477.1 MB, free: 13.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4977, allocations: 94.56 kB / 477.2 MB, free: 13.31 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.4978, allocations: 8 kB / 477.2 MB, free: 13.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.498, allocations: 342.8 kB / 477.5 MB, free: 12.96 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.4982, allocations: 76.73 kB / 477.6 MB, free: 12.88 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.4985, allocations: 210 kB / 477.8 MB, free: 12.61 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.4988, allocations: 107.8 kB / 477.9 MB, free: 12.51 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.177e-06/0.4988, allocations: 4 kB / 477.9 MB, free: 12.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007591/0.4996, allocations: 313.4 kB / 478.2 MB, free: 12.19 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4996, allocations: 12.08 kB / 478.3 MB, free: 12.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4997, allocations: 8 kB / 478.3 MB, free: 12.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.4997, allocations: 4 kB / 478.3 MB, free: 12.17 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.5001, allocations: 79.84 kB / 478.3 MB, free: 12.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.5002, allocations: 7.984 kB / 478.3 MB, free: 12.08 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.5005, allocations: 39.69 kB / 478.4 MB, free: 12.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.5005, allocations: 19.98 kB / 478.4 MB, free: 12.02 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.0001569/0.5007, allocations: 144.8 kB / 478.5 MB, free: 11.88 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.5008, allocations: 27.62 kB / 478.6 MB, free: 11.85 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.5015, allocations: 296.4 kB / 478.9 MB, free: 11.55 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.147e-06/0.5016, allocations: 7.938 kB / 478.9 MB, free: 11.55 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.5016, allocations: 7.984 kB / 478.9 MB, free: 11.54 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-06/0.5016, allocations: 7.938 kB / 478.9 MB, free: 11.53 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.5028, allocations: 0.6738 MB / 479.6 MB, free: 10.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.5028, allocations: 96 / 479.6 MB, free: 10.8 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.5032, allocations: 59.84 kB / 479.6 MB, free: 10.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.797e-06/0.5032, allocations: 3.984 kB / 479.6 MB, free: 10.74 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.5033, allocations: 8 kB / 479.6 MB, free: 10.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.508e-06/0.5033, allocations: 4 kB / 479.6 MB, free: 10.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-06/0.5033, allocations: 4 kB / 479.6 MB, free: 10.72 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.5043, allocations: 491.4 kB / 480.1 MB, free: 10.23 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.5044, allocations: 104.8 kB / 480.2 MB, free: 10.11 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.5045, allocations: 8.062 kB / 480.2 MB, free: 10.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.5048, allocations: 15.98 kB / 480.2 MB, free: 10.08 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.5049, allocations: 19.97 kB / 480.3 MB, free: 10.06 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.5049, allocations: 23.92 kB / 480.3 MB, free: 10.04 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002158/0.5052, allocations: 165.4 kB / 480.4 MB, free: 9.879 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.79e-07/0.5052, allocations: 0 / 480.4 MB, free: 9.879 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005506/0.5057, allocations: 71.84 kB / 480.5 MB, free: 9.809 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.0002006/0.506, allocations: 111.2 kB / 480.6 MB, free: 9.688 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005921/0.5066, allocations: 228.5 kB / 480.9 MB, free: 9.465 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.5066, allocations: 4.125 kB / 480.9 MB, free: 9.461 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.5069, allocations: 107.9 kB / 481 MB, free: 9.355 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.5072, allocations: 32.38 kB / 481 MB, free: 9.324 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.5083, allocations: 447.1 kB / 481.4 MB, free: 8.863 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.5089, allocations: 0.7918 MB / 482.2 MB, free: 8.039 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002104/0.5091, allocations: 42.31 kB / 482.3 MB, free: 8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5092, allocations: 31.42 kB / 482.3 MB, free: 7.969 MB / 410.8 MB Notification: Performance of SimCode: time 1.513e-06/0.5092, allocations: 0 / 482.3 MB, free: 7.969 MB / 410.8 MB Notification: Performance of Templates: time 0.008/0.5172, allocations: 2.209 MB / 484.5 MB, free: 5.77 MB / 410.8 MB