Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Mean") Notification: Performance of loadModel(ModelicaTest): time 2.423/2.423, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.887e-05, allocations: 4 kB / 348.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3474, allocations: 61.87 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.5424, allocations: 88.21 MB / 498.5 MB, free: 2.398 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.5427, allocations: 63.97 kB / 498.5 MB, free: 2.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.5625, allocations: 4.422 MB / 0.4912 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5626, allocations: 0 / 0.4912 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.5626, allocations: 11.94 kB / 0.4912 GB, free: 13.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001141/0.5638, allocations: 0.5485 MB / 0.4917 GB, free: 13.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5638, allocations: 8.031 kB / 0.4917 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.564, allocations: 39.53 kB / 0.4918 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.5646, allocations: 318 kB / 0.4921 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.5647, allocations: 28.52 kB / 0.4921 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.959e-05/0.5648, allocations: 35.91 kB / 0.4921 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.5654, allocations: 247.8 kB / 0.4924 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5654, allocations: 0 / 0.4924 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.67e-05/0.5655, allocations: 12 kB / 0.4924 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.5655, allocations: 12 kB / 0.4924 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.566, allocations: 157.1 kB / 0.4925 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5679, allocations: 0.8265 MB / 0.4933 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.5684, allocations: 179 kB / 0.4935 GB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.5686, allocations: 84.84 kB / 0.4936 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.5687, allocations: 4 kB / 0.4936 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/0.5692, allocations: 219.1 kB / 0.4938 GB, free: 11.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 6.56e-06/0.5692, allocations: 0 / 0.4938 GB, free: 11.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007117/0.57, allocations: 257.2 kB / 0.4941 GB, free: 10.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.57, allocations: 55.41 kB / 0.4941 GB, free: 10.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.5704, allocations: 208.9 kB / 0.4943 GB, free: 10.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.5704, allocations: 37.7 kB / 0.4943 GB, free: 10.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.5706, allocations: 176.5 kB / 0.4945 GB, free: 10.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.5707, allocations: 94.64 kB / 0.4946 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.5708, allocations: 8 kB / 0.4946 GB, free: 10.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.571, allocations: 342.8 kB / 0.4949 GB, free: 9.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.5712, allocations: 68.75 kB / 0.495 GB, free: 9.746 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.5716, allocations: 206.2 kB / 0.4952 GB, free: 9.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.5719, allocations: 111.9 kB / 0.4953 GB, free: 9.375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-06/0.5719, allocations: 0 / 0.4953 GB, free: 9.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007901/0.5727, allocations: 336.7 kB / 0.4956 GB, free: 9.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5727, allocations: 8 kB / 0.4956 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.5728, allocations: 4.469 kB / 0.4956 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.5728, allocations: 12 kB / 0.4957 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.5733, allocations: 79.83 kB / 0.4957 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.5733, allocations: 8 kB / 0.4957 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.5736, allocations: 31.73 kB / 0.4958 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.5736, allocations: 20 kB / 0.4958 GB, free: 8.879 MB / 426.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_last,mean.y_last,$PRE.rectifiedMean.mean.y_last,rectifiedMean.mean.y_last,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last,$PRE.harmonic.mean1.y_last,harmonic.mean1.y_last,$PRE.harmonic.mean2.y_last,harmonic.mean2.y_last) * 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.0001656/0.5738, allocations: 136.8 kB / 0.4959 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.5739, allocations: 27.67 kB / 0.4959 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000755/0.5747, allocations: 296.3 kB / 0.4962 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.19e-06/0.5747, allocations: 4 kB / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.228e-06/0.5747, allocations: 0 / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.536e-06/0.5747, allocations: 0 / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5759, allocations: 0.6895 MB / 0.4969 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.455e-06/0.5759, allocations: 3.953 kB / 0.4969 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.5763, allocations: 47.97 kB / 0.497 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.962e-06/0.5763, allocations: 0 / 0.497 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.5764, allocations: 11.98 kB / 0.497 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.882e-06/0.5764, allocations: 7.938 kB / 0.497 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.907e-06/0.5764, allocations: 0 / 0.497 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009889/0.5774, allocations: 491.5 kB / 0.4974 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5776, allocations: 108.6 kB / 0.4975 GB, free: 6.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.5776, allocations: 12.06 kB / 0.4976 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.5779, allocations: 20.11 kB / 0.4976 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.578, allocations: 23.95 kB / 0.4976 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.578, allocations: 12 kB / 0.4976 GB, free: 6.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.5783, allocations: 161.4 kB / 0.4978 GB, free: 6.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5783, allocations: 4 kB / 0.4978 GB, free: 6.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005351/0.5788, allocations: 75.77 kB / 0.4978 GB, free: 6.676 MB / 426.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_last,rectifiedMean.mean.y_last,rootMeanSquare.mean.y_last,harmonic.mean1.y_last,harmonic.mean2.y_last) * 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.0002028/0.5791, allocations: 129.3 kB / 0.498 GB, free: 6.547 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.5796, allocations: 219.7 kB / 0.4982 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5796, allocations: 0.9375 kB / 0.4982 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.5799, allocations: 115.9 kB / 0.4983 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.5803, allocations: 36.58 kB / 0.4983 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.5814, allocations: 451.5 kB / 0.4987 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.582, allocations: 0.788 MB / 0.4995 GB, free: 4.906 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002178/0.5822, allocations: 38.05 kB / 0.4996 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5823, allocations: 35.42 kB / 0.4996 GB, free: 4.832 MB / 426.7 MB Notification: Performance of SimCode: time 2.021e-06/0.5823, allocations: 0 / 0.4996 GB, free: 4.832 MB / 426.7 MB Notification: Performance of Templates: time 0.00807/0.5904, allocations: 2.219 MB / 0.5018 GB, free: 2.625 MB / 426.7 MB