Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.x|mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Mean") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.92e-05, allocations: 8 kB / 348.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 61.89 MB / 410.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.514, allocations: 88.2 MB / 498.5 MB, free: 4 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.5143, allocations: 64.05 kB / 498.5 MB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.5335, allocations: 4.432 MB / 0.4912 GB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.438e-06/0.5335, allocations: 0 / 0.4912 GB, free: 11.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.5336, allocations: 8 kB / 0.4912 GB, free: 11.49 MB / 410.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.001111/0.5347, allocations: 0.5446 MB / 0.4917 GB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.5348, allocations: 8.031 kB / 0.4917 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.5349, allocations: 39.53 kB / 0.4917 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.5355, allocations: 318 kB / 0.4921 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/0.5355, allocations: 28.52 kB / 0.4921 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.5356, allocations: 31.91 kB / 0.4921 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.5363, allocations: 247.8 kB / 0.4923 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.5363, allocations: 4 kB / 0.4923 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.5363, allocations: 8 kB / 0.4924 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.5364, allocations: 8 kB / 0.4924 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.5368, allocations: 165.1 kB / 0.4925 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.5387, allocations: 0.8188 MB / 0.4933 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.5392, allocations: 182.9 kB / 0.4935 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.5394, allocations: 88.84 kB / 0.4936 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.5395, allocations: 3.984 kB / 0.4936 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.54, allocations: 215.1 kB / 0.4938 GB, free: 8.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.782e-06/0.54, allocations: 0 / 0.4938 GB, free: 8.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006678/0.5407, allocations: 253.3 kB / 0.494 GB, free: 8.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.5407, allocations: 55.41 kB / 0.4941 GB, free: 8.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.5411, allocations: 212.9 kB / 0.4943 GB, free: 8.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.5411, allocations: 41.64 kB / 0.4943 GB, free: 8.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.5413, allocations: 168.5 kB / 0.4945 GB, free: 7.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5414, allocations: 102.6 kB / 0.4946 GB, free: 7.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.5414, allocations: 8 kB / 0.4946 GB, free: 7.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.5417, allocations: 342.8 kB / 0.4949 GB, free: 7.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.5419, allocations: 68.75 kB / 0.495 GB, free: 7.363 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.5422, allocations: 210.2 kB / 0.4952 GB, free: 7.098 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.5425, allocations: 107.8 kB / 0.4953 GB, free: 6.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.466e-06/0.5425, allocations: 0 / 0.4953 GB, free: 6.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000762/0.5433, allocations: 333.2 kB / 0.4956 GB, free: 6.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5433, allocations: 12.09 kB / 0.4956 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5433, allocations: 4 kB / 0.4956 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.5434, allocations: 11.94 kB / 0.4956 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/0.5438, allocations: 75.89 kB / 0.4957 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.5438, allocations: 11.94 kB / 0.4957 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.5441, allocations: 31.73 kB / 0.4957 GB, free: 6.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.5442, allocations: 24 kB / 0.4958 GB, free: 6.492 MB / 410.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.0001538/0.5443, allocations: 132.9 kB / 0.4959 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.5444, allocations: 31.66 kB / 0.4959 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/0.5452, allocations: 292.3 kB / 0.4962 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5452, allocations: 4 kB / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.135e-06/0.5452, allocations: 0 / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.5452, allocations: 4 kB / 0.4962 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.5464, allocations: 0.6836 MB / 0.4969 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.08e-06/0.5464, allocations: 7.953 kB / 0.4969 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.5468, allocations: 47.91 kB / 0.4969 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-06/0.5468, allocations: 0 / 0.4969 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.5469, allocations: 11.98 kB / 0.4969 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.811e-06/0.5469, allocations: 4 kB / 0.497 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.156e-06/0.5469, allocations: 0 / 0.497 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009775/0.5479, allocations: 495.5 kB / 0.4974 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.548, allocations: 112.6 kB / 0.4975 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/0.5481, allocations: 12.05 kB / 0.4975 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.5483, allocations: 16 kB / 0.4976 GB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.5484, allocations: 23.95 kB / 0.4976 GB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.5485, allocations: 15.98 kB / 0.4976 GB, free: 4.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002072/0.5487, allocations: 161.4 kB / 0.4977 GB, free: 4.367 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.5487, allocations: 0 / 0.4977 GB, free: 4.367 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.5493, allocations: 75.77 kB / 0.4978 GB, free: 4.293 MB / 410.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.0001912/0.5495, allocations: 119.1 kB / 0.4979 GB, free: 4.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.55, allocations: 224.5 kB / 0.4981 GB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.2e-06/0.5501, allocations: 8.375 kB / 0.4982 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.5503, allocations: 107.9 kB / 0.4983 GB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5507, allocations: 32.5 kB / 0.4983 GB, free: 3.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.5518, allocations: 455.4 kB / 0.4987 GB, free: 3.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.5523, allocations: 0.7919 MB / 0.4995 GB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.5525, allocations: 34.06 kB / 0.4995 GB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.5527, allocations: 35.42 kB / 0.4996 GB, free: 2.449 MB / 410.7 MB Notification: Performance of SimCode: time 1.484e-06/0.5527, allocations: 0 / 0.4996 GB, free: 2.449 MB / 410.7 MB Notification: Performance of Templates: time 0.008006/0.5607, allocations: 2.235 MB / 0.5017 GB, free: 244 kB / 410.7 MB