Running command: translateModel(ModelicaTest.Blocks.Mean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.Mean") Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.151e-05, allocations: 4 kB / 347 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3288, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.5089, allocations: 88.2 MB / 497 MB, free: 2.484 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.5091, allocations: 59.97 kB / 497.1 MB, free: 2.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01895/0.5281, allocations: 4.428 MB / 0.4898 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.518e-06/0.5282, allocations: 0 / 0.4898 GB, free: 13.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.5282, allocations: 8 kB / 0.4898 GB, free: 13.97 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.001069/0.5293, allocations: 0.5445 MB / 0.4903 GB, free: 13.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5293, allocations: 8.031 kB / 0.4903 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5294, allocations: 43.56 kB / 0.4904 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/0.5301, allocations: 318 kB / 0.4907 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.5301, allocations: 32.5 kB / 0.4907 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.5302, allocations: 28 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.5308, allocations: 251.7 kB / 0.491 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.5309, allocations: 0 / 0.491 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.5309, allocations: 15.98 kB / 0.491 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.614e-06/0.531, allocations: 4 kB / 0.491 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.5314, allocations: 161.1 kB / 0.4911 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.5333, allocations: 0.8227 MB / 0.4919 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.5338, allocations: 182.9 kB / 0.4921 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.534, allocations: 84.8 kB / 0.4922 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.5341, allocations: 15.97 kB / 0.4922 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/0.5345, allocations: 207.2 kB / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.409e-06/0.5346, allocations: 0 / 0.4924 GB, free: 11.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.00066/0.5352, allocations: 253.2 kB / 0.4926 GB, free: 10.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.5353, allocations: 59.41 kB / 0.4927 GB, free: 10.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.5356, allocations: 209 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.5357, allocations: 41.69 kB / 0.4929 GB, free: 10.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.5359, allocations: 223 kB / 0.4931 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.536, allocations: 98.62 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.536, allocations: 12 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5362, allocations: 322.8 kB / 0.4936 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5364, allocations: 72.75 kB / 0.4936 GB, free: 9.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.5368, allocations: 206.2 kB / 0.4938 GB, free: 9.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.5371, allocations: 107.9 kB / 0.4939 GB, free: 9.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.356e-06/0.5371, allocations: 4 kB / 0.4939 GB, free: 9.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007532/0.5378, allocations: 317.4 kB / 0.4942 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5379, allocations: 8.031 kB / 0.4942 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.5379, allocations: 8 kB / 0.4943 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.5379, allocations: 4 kB / 0.4943 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.5384, allocations: 79.83 kB / 0.4943 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.5384, allocations: 7.938 kB / 0.4943 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.5387, allocations: 39.73 kB / 0.4944 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.5387, allocations: 20 kB / 0.4944 GB, free: 8.945 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.0001511/0.5389, allocations: 136 kB / 0.4945 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.328e-05/0.539, allocations: 31.66 kB / 0.4946 GB, free: 8.777 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.5397, allocations: 296.3 kB / 0.4948 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.348e-06/0.5397, allocations: 4 kB / 0.4948 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5398, allocations: 0 / 0.4948 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5398, allocations: 4 kB / 0.4948 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.541, allocations: 0.6816 MB / 0.4955 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.349e-06/0.541, allocations: 3.953 kB / 0.4955 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.5414, allocations: 55.91 kB / 0.4956 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.953e-06/0.5414, allocations: 0 / 0.4956 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.5414, allocations: 15.98 kB / 0.4956 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.921e-06/0.5414, allocations: 0 / 0.4956 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.503e-06/0.5415, allocations: 8 kB / 0.4956 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.5425, allocations: 483.5 kB / 0.4961 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.5426, allocations: 112.7 kB / 0.4962 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.5427, allocations: 12.05 kB / 0.4962 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5429, allocations: 15.98 kB / 0.4962 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.543, allocations: 23.95 kB / 0.4962 GB, free: 6.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.5431, allocations: 15.98 kB / 0.4962 GB, free: 6.973 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.5433, allocations: 165.4 kB / 0.4964 GB, free: 6.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.5433, allocations: 4 kB / 0.4964 GB, free: 6.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000519/0.5438, allocations: 67.78 kB / 0.4965 GB, free: 6.742 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.0001984/0.5441, allocations: 124.1 kB / 0.4966 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.5446, allocations: 224.4 kB / 0.4968 GB, free: 6.395 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.421e-06/0.5447, allocations: 8.188 kB / 0.4968 GB, free: 6.387 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.545, allocations: 111.9 kB / 0.4969 GB, free: 6.277 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.5453, allocations: 32.62 kB / 0.4969 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.5464, allocations: 489.1 kB / 0.4974 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.547, allocations: 0.7919 MB / 0.4982 GB, free: 4.922 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.5471, allocations: 35.42 kB / 0.4982 GB, free: 4.887 MB / 426.7 MB Notification: Performance of SimCode: time 1.88e-06/0.5471, allocations: 0 / 0.4982 GB, free: 4.887 MB / 426.7 MB Notification: Performance of Templates: time 0.007398/0.5545, allocations: 3.484 MB / 0.5016 GB, free: 1.41 MB / 426.7 MB