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_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 1.872/1.872, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.049e-05, allocations: 4 kB / 273.1 MB, free: 3.184 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09066, allocations: 48.7 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4546, allocations: 74.43 MB / 396.2 MB, free: 7.426 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4549, allocations: 63.45 kB / 396.3 MB, free: 7.426 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.4654, allocations: 1.661 MB / 397.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.742e-06/0.4654, allocations: 0 / 397.9 MB, free: 7.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4655, allocations: 0 / 397.9 MB, free: 7.016 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.0006583/0.4661, allocations: 377.1 kB / 398.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4662, allocations: 11.34 kB / 398.3 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.4663, allocations: 15.44 kB / 398.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.4667, allocations: 210.6 kB / 398.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.4667, allocations: 3.719 kB / 398.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.4668, allocations: 8.312 kB / 398.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.4671, allocations: 88.45 kB / 398.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.4672, allocations: 0 / 398.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.4672, allocations: 3 kB / 398.6 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.78e-06/0.4672, allocations: 7.625 kB / 398.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.4675, allocations: 35.47 kB / 398.7 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.4684, allocations: 371.9 kB / 399 MB, free: 6.109 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.4686, allocations: 56.11 kB / 399.1 MB, free: 6.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.4687, allocations: 22.7 kB / 399.1 MB, free: 6.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.4688, allocations: 4 kB / 399.1 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.4691, allocations: 98.94 kB / 399.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 4.776e-06/0.4691, allocations: 0 / 399.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004285/0.4696, allocations: 98.69 kB / 399.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.4696, allocations: 55.22 kB / 399.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4698, allocations: 131.7 kB / 399.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4699, allocations: 25.7 kB / 399.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.47, allocations: 101.2 kB / 399.6 MB, free: 5.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.47, allocations: 29.69 kB / 399.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.4701, allocations: 7.312 kB / 399.7 MB, free: 5.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.4702, allocations: 320.8 kB / 400 MB, free: 5.359 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.4703, allocations: 18.44 kB / 400 MB, free: 5.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.4704, allocations: 79.08 kB / 400.1 MB, free: 5.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4706, allocations: 29.94 kB / 400.1 MB, free: 5.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.052e-06/0.4706, allocations: 7.844 kB / 400.1 MB, free: 5.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004548/0.4711, allocations: 117.4 kB / 400.2 MB, free: 5.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.4712, allocations: 11.64 kB / 400.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4712, allocations: 3.844 kB / 400.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4712, allocations: 0 / 400.2 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.4715, allocations: 28.44 kB / 400.3 MB, free: 5.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.4716, allocations: 10.77 kB / 400.3 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4718, allocations: 19.34 kB / 400.3 MB, free: 5.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.4718, allocations: 3.875 kB / 400.3 MB, free: 5.211 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 0.000101/0.472, allocations: 111.3 kB / 400.4 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.472, allocations: 9.875 kB / 400.4 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.4721, allocations: 15.8 kB / 400.4 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.833e-06/0.4721, allocations: 96 / 400.4 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.351e-06/0.4722, allocations: 6.797 kB / 400.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.994e-06/0.4722, allocations: 0 / 400.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.4724, allocations: 208.7 kB / 400.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.042e-06/0.4725, allocations: 0 / 400.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.4727, allocations: 12.45 kB / 400.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.313e-06/0.4727, allocations: 3.781 kB / 400.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.4728, allocations: 0 / 400.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.631e-06/0.4728, allocations: 3.953 kB / 400.7 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4728, allocations: 0 / 400.7 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.4733, allocations: 160.6 kB / 400.8 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.4735, allocations: 95.62 kB / 400.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.4735, allocations: 6.172 kB / 400.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.4737, allocations: 3.781 kB / 400.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.4738, allocations: 6.766 kB / 400.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.4738, allocations: 10.16 kB / 400.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.474, allocations: 108.6 kB / 401 MB, free: 4.637 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.409e-06/0.474, allocations: 0 / 401 MB, free: 4.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005802/0.4746, allocations: 22.62 kB / 401.1 MB, free: 4.633 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.0001716/0.4748, allocations: 104.1 kB / 401.2 MB, free: 4.539 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.4751, allocations: 66.8 kB / 401.2 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.612e-06/0.4751, allocations: 0 / 401.2 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.4753, allocations: 32.83 kB / 401.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4756, allocations: 8.109 kB / 401.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.4763, allocations: 161.4 kB / 401.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.4767, allocations: 0.713 MB / 402.1 MB, free: 19.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.4768, allocations: 11.19 kB / 402.1 MB, free: 19.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.4769, allocations: 14.97 kB / 402.2 MB, free: 19.72 MB / 330.7 MB Notification: Performance of SimCode: time 2.215e-06/0.4769, allocations: 0 / 402.2 MB, free: 19.72 MB / 330.7 MB Notification: Performance of Templates: time 0.004637/0.4816, allocations: 0.8114 MB / 403 MB, free: 19.52 MB / 330.7 MB