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.2_cpp_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.164/2.164, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.048e-05, allocations: 4 kB / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3243, allocations: 54.85 MB / 359.7 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.4765, allocations: 80.82 MB / 440.6 MB, free: 204 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.4769, allocations: 59.98 kB / 440.6 MB, free: 144 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009742/0.4866, allocations: 1.659 MB / 442.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.118e-06/0.4867, allocations: 0 / 442.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.4867, allocations: 4 kB / 442.3 MB, free: 14.5 MB / 378.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.0007307/0.4875, allocations: 374.2 kB / 442.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.4875, allocations: 15.95 kB / 442.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.4876, allocations: 11.91 kB / 442.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.4881, allocations: 202.8 kB / 442.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.4881, allocations: 4 kB / 442.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.4882, allocations: 8 kB / 442.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.4885, allocations: 89.66 kB / 443 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.4885, allocations: 4 kB / 443 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.4886, allocations: 3.953 kB / 443 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-06/0.4886, allocations: 0 / 443 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.4888, allocations: 39.98 kB / 443 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.4898, allocations: 368.6 kB / 443.4 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.49, allocations: 54.59 kB / 443.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.263e-05/0.4901, allocations: 20.86 kB / 443.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.4902, allocations: 7.984 kB / 443.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.4905, allocations: 96.25 kB / 443.6 MB, free: 13.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.45e-06/0.4905, allocations: 0 / 443.6 MB, free: 13.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004015/0.4909, allocations: 97.52 kB / 443.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.491, allocations: 51.41 kB / 443.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.4912, allocations: 128.1 kB / 443.8 MB, free: 12.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.4913, allocations: 28.98 kB / 443.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.4915, allocations: 174.7 kB / 444 MB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.4915, allocations: 27.8 kB / 444.1 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.4916, allocations: 8 kB / 444.1 MB, free: 12.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4918, allocations: 314.8 kB / 444.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.4919, allocations: 24 kB / 444.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.4921, allocations: 76.36 kB / 444.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.4922, allocations: 28 kB / 444.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/0.4923, allocations: 4.516 kB / 444.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004487/0.4927, allocations: 125.6 kB / 444.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.4928, allocations: 4 kB / 444.6 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.4928, allocations: 4.5 kB / 444.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.4928, allocations: 4 kB / 444.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.4931, allocations: 23.92 kB / 444.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.4931, allocations: 8.719 kB / 444.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.4933, allocations: 21.08 kB / 444.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.4933, allocations: 4 kB / 444.7 MB, free: 11.86 MB / 378.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 0.0001413/0.4935, allocations: 120.9 kB / 444.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.4935, allocations: 11.86 kB / 444.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.4936, allocations: 12.62 kB / 444.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.516e-06/0.4936, allocations: 0 / 444.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.643e-06/0.4937, allocations: 3.984 kB / 444.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.787e-06/0.4937, allocations: 0 / 444.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.494, allocations: 193.6 kB / 445 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-06/0.494, allocations: 0 / 445 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.4942, allocations: 23.06 kB / 445 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-06/0.4942, allocations: 0 / 445 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.4943, allocations: 8 kB / 445.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.4943, allocations: 3.984 kB / 445.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.249e-06/0.4943, allocations: 3.938 kB / 445.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.4949, allocations: 149.9 kB / 445.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.324e-05/0.495, allocations: 81.02 kB / 445.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.4951, allocations: 7.984 kB / 445.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.4952, allocations: 16.48 kB / 445.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.4953, allocations: 4.062 kB / 445.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.4953, allocations: 7.984 kB / 445.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001408/0.4955, allocations: 103.3 kB / 445.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.046e-06/0.4955, allocations: 0 / 445.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000479/0.496, allocations: 35.83 kB / 445.5 MB, free: 11 MB / 378.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.0001935/0.4962, allocations: 97.31 kB / 445.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.4965, allocations: 72.22 kB / 445.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.65e-06/0.4966, allocations: 8.062 kB / 445.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.4967, allocations: 24 kB / 445.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.497, allocations: 7.984 kB / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/0.4976, allocations: 188.9 kB / 445.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.4982, allocations: 0.7082 MB / 446.6 MB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.4983, allocations: 19.38 kB / 446.6 MB, free: 9.828 MB / 378.7 MB Notification: Performance of SimCode: time 1.86e-06/0.4983, allocations: 4 kB / 446.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of Templates: time 0.004545/0.5029, allocations: 1.291 MB / 447.9 MB, free: 8.539 MB / 378.7 MB