Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 270 MB / 282.7 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.383e-05, allocations: 4 kB / 347 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.4562, allocations: 86.77 MB / 495.6 MB, free: 3.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.4564, allocations: 63.97 kB / 495.7 MB, free: 3.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00724/0.4636, allocations: 1.759 MB / 497.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.927e-06/0.4637, allocations: 0 / 497.4 MB, free: 2.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.4637, allocations: 7.938 kB / 497.4 MB, free: 2.074 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005766/0.4643, allocations: 378.1 kB / 497.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4644, allocations: 8.031 kB / 497.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.4644, allocations: 15.91 kB / 497.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.4647, allocations: 206.8 kB / 498 MB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4648, allocations: 7.984 kB / 498 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.4648, allocations: 11.95 kB / 498.1 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.4651, allocations: 81.67 kB / 498.1 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4651, allocations: 3.938 kB / 498.1 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.4651, allocations: 11.98 kB / 498.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-06/0.4651, allocations: 0 / 498.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.4653, allocations: 36 kB / 498.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.466, allocations: 388.4 kB / 498.6 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.4662, allocations: 54.5 kB / 498.6 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.4663, allocations: 24.95 kB / 498.6 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.4663, allocations: 4 kB / 498.6 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.4665, allocations: 87.41 kB / 498.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.179e-06/0.4665, allocations: 0 / 498.7 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002889/0.4668, allocations: 93.52 kB / 498.8 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4669, allocations: 59.41 kB / 498.9 MB, free: 460 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.4671, allocations: 129.5 kB / 499 MB, free: 324 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.4671, allocations: 33.69 kB / 499 MB, free: 284 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4672, allocations: 174.4 kB / 499.2 MB, free: 108 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.4673, allocations: 27.61 kB / 499.2 MB, free: 80 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-06/0.4673, allocations: 0 / 499.2 MB, free: 80 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4675, allocations: 318.8 kB / 499.6 MB, free: 15.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.4676, allocations: 20 kB / 499.6 MB, free: 15.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4677, allocations: 82.75 kB / 499.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.4678, allocations: 35.97 kB / 499.7 MB, free: 15.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.288e-06/0.4679, allocations: 7.938 kB / 499.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002882/0.4682, allocations: 109.5 kB / 499.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4682, allocations: 11.98 kB / 499.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6e-06/0.4682, allocations: 0 / 499.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4682, allocations: 4 kB / 499.8 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.4684, allocations: 27.98 kB / 499.8 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.4685, allocations: 16.16 kB / 499.9 MB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4686, allocations: 11.84 kB / 499.9 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.887e-05/0.4686, allocations: 7.953 kB / 499.9 MB, free: 15.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001036/0.4687, allocations: 109 kB / 500 MB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.4688, allocations: 12 kB / 500 MB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.4688, allocations: 20.55 kB / 0.4883 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.4688, allocations: 0 / 0.4883 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-06/0.4688, allocations: 0 / 0.4883 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-06/0.4689, allocations: 8 kB / 0.4883 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.4691, allocations: 209.6 kB / 0.4885 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-06/0.4691, allocations: 0 / 0.4885 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.4693, allocations: 15.92 kB / 0.4885 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-06/0.4693, allocations: 4 kB / 0.4885 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.4693, allocations: 0 / 0.4885 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.413e-06/0.4693, allocations: 0 / 0.4885 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-06/0.4693, allocations: 0 / 0.4885 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.4697, allocations: 160.8 kB / 0.4887 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.4698, allocations: 89.03 kB / 0.4888 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.4699, allocations: 4 kB / 0.4888 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.47, allocations: 0 / 0.4888 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.47, allocations: 11.98 kB / 0.4888 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.47, allocations: 4 kB / 0.4888 GB, free: 14.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001034/0.4702, allocations: 103.3 kB / 0.4889 GB, free: 14.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4702, allocations: 0 / 0.4889 GB, free: 14.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.4705, allocations: 24 kB / 0.4889 GB, free: 14.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000167/0.4707, allocations: 109.4 kB / 0.489 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4709, allocations: 63.88 kB / 0.4891 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.978e-06/0.4709, allocations: 0 / 0.4891 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.113e-05/0.471, allocations: 31.92 kB / 0.4891 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.4712, allocations: 12.23 kB / 0.4891 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.4717, allocations: 199.2 kB / 0.4893 GB, free: 14.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.4721, allocations: 0.7087 MB / 0.49 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.4722, allocations: 19.42 kB / 0.49 GB, free: 13.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.522e-06/0.4722, allocations: 0 / 0.49 GB, free: 13.35 MB / 426.7 MB Notification: Performance of Templates: time 0.00352/0.4758, allocations: 1.318 MB / 0.4913 GB, free: 12.04 MB / 426.7 MB