Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 1.792/1.792, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.894e-05, allocations: 0 / 273 MB, free: 3.676 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08462, allocations: 48.7 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.4689, allocations: 74.44 MB / 396.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.4692, allocations: 65.14 kB / 396.2 MB, free: 6.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006319/0.4755, allocations: 1.647 MB / 397.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.072e-06/0.4755, allocations: 0 / 397.9 MB, free: 6.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4756, allocations: 3.688 kB / 397.9 MB, free: 6.555 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004304/0.476, allocations: 380.6 kB / 398.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.476, allocations: 11.16 kB / 398.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.4761, allocations: 19.59 kB / 398.3 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.4763, allocations: 212.8 kB / 398.5 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4764, allocations: 3.438 kB / 398.5 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.4764, allocations: 8.672 kB / 398.5 MB, free: 5.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.4766, allocations: 80.41 kB / 398.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4766, allocations: 7.875 kB / 398.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4767, allocations: 3.062 kB / 398.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4767, allocations: 3.781 kB / 398.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4768, allocations: 33.5 kB / 398.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005318/0.4774, allocations: 371.1 kB / 399 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.4775, allocations: 57.59 kB / 399.1 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.4776, allocations: 23.33 kB / 399.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.4776, allocations: 7.938 kB / 399.1 MB, free: 5.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.4778, allocations: 94.55 kB / 399.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.679e-06/0.4778, allocations: 0 / 399.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002513/0.4781, allocations: 100.8 kB / 399.3 MB, free: 5.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.4781, allocations: 55.28 kB / 399.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4782, allocations: 128.7 kB / 399.5 MB, free: 5.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.4783, allocations: 29.08 kB / 399.5 MB, free: 5.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.4783, allocations: 168.1 kB / 399.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.4784, allocations: 26.16 kB / 399.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-06/0.4784, allocations: 0 / 399.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.068e-05/0.4785, allocations: 320.9 kB / 400 MB, free: 4.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.4785, allocations: 22.62 kB / 400 MB, free: 4.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-05/0.4786, allocations: 74.14 kB / 400.1 MB, free: 4.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.984e-05/0.4787, allocations: 31.03 kB / 400.1 MB, free: 4.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.101e-06/0.4787, allocations: 4 kB / 400.1 MB, free: 4.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002353/0.479, allocations: 119.9 kB / 400.2 MB, free: 4.699 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.479, allocations: 11.11 kB / 400.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.72e-06/0.479, allocations: 0 / 400.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.479, allocations: 3.844 kB / 400.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4792, allocations: 23.12 kB / 400.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4792, allocations: 7.844 kB / 400.3 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.4793, allocations: 18.25 kB / 400.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4794, allocations: 3.844 kB / 400.3 MB, free: 4.684 MB / 314.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,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * 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 6.718e-05/0.4795, allocations: 117 kB / 400.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.4795, allocations: 11.75 kB / 400.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.4795, allocations: 22.31 kB / 400.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.574e-06/0.4796, allocations: 0 / 400.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-06/0.4796, allocations: 0 / 400.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4796, allocations: 0 / 400.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.4798, allocations: 208.5 kB / 400.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4798, allocations: 0 / 400.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.4799, allocations: 14.53 kB / 400.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.634e-06/0.4799, allocations: 3.812 kB / 400.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.48, allocations: 6.75 kB / 400.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.443e-06/0.48, allocations: 3.953 kB / 400.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.368e-06/0.48, allocations: 0 / 400.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.4803, allocations: 152.5 kB / 400.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.4804, allocations: 95.53 kB / 400.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.4804, allocations: 3.75 kB / 400.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.4805, allocations: 10.91 kB / 400.9 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.4806, allocations: 10.55 kB / 401 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4806, allocations: 3.812 kB / 401 MB, free: 4.176 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.4807, allocations: 108.6 kB / 401.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.96e-07/0.4807, allocations: 0 / 401.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003064/0.481, allocations: 27.06 kB / 401.1 MB, free: 4.094 MB / 314.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,rootMeanSquare.mean.y) * 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.0001137/0.4812, allocations: 113.2 kB / 401.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.4813, allocations: 63.77 kB / 401.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4814, allocations: 0 / 401.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.4814, allocations: 33.83 kB / 401.3 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.4816, allocations: 4.062 kB / 401.3 MB, free: 3.984 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.4821, allocations: 193.3 kB / 401.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.4826, allocations: 0.7117 MB / 402.2 MB, free: 19.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.4826, allocations: 11.28 kB / 402.2 MB, free: 19.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.428e-06/0.4826, allocations: 3.844 kB / 402.2 MB, free: 19.15 MB / 330.7 MB Notification: Performance of Templates: time 0.002963/0.4856, allocations: 1.29 MB / 403.5 MB, free: 18.8 MB / 330.7 MB