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_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 234.9 MB / 249.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.044e-05, allocations: 3.984 kB / 308 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3985, allocations: 54.86 MB / 362.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002949/0.4016, allocations: 1.32 MB / 364.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.403, allocations: 0.5094 MB / 364.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4032, allocations: 7.938 kB / 364.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.701e-05/0.4033, allocations: 3.938 kB / 364.7 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.495e-05/0.4034, allocations: 19.95 kB / 364.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.4037, allocations: 35.89 kB / 364.8 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.4038, allocations: 47.89 kB / 364.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.404, allocations: 27.91 kB / 364.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.4042, allocations: 23.92 kB / 364.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.4043, allocations: 35.84 kB / 364.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.4044, allocations: 4 kB / 364.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.4044, allocations: 8 kB / 364.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.4045, allocations: 15.92 kB / 364.9 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.4045, allocations: 4 kB / 364.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.4047, allocations: 74.25 kB / 365 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4048, allocations: 0 / 365 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4048, allocations: 3.938 kB / 365 MB, free: 9.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4048, allocations: 0 / 365 MB, free: 9.691 MB / 298.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.0009668/0.4058, allocations: 387.1 kB / 365.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4058, allocations: 11.97 kB / 365.4 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.4059, allocations: 11.91 kB / 365.4 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.4063, allocations: 202.9 kB / 365.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.4064, allocations: 8 kB / 365.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.4064, allocations: 8 kB / 365.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.4068, allocations: 93.58 kB / 365.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.4069, allocations: 0 / 365.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.4069, allocations: 11.95 kB / 365.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4069, allocations: 0 / 365.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.4073, allocations: 51.97 kB / 365.8 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.4083, allocations: 368.5 kB / 366.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4086, allocations: 70.55 kB / 366.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.4087, allocations: 0 / 366.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.4091, allocations: 111.6 kB / 366.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.514e-06/0.4091, allocations: 0 / 366.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006871/0.4098, allocations: 125.5 kB / 366.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.4099, allocations: 51.41 kB / 366.5 MB, free: 8.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.4101, allocations: 134 kB / 366.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4101, allocations: 25.7 kB / 366.6 MB, free: 7.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.4103, allocations: 112.2 kB / 366.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.4103, allocations: 23.7 kB / 366.8 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.4104, allocations: 0 / 366.8 MB, free: 7.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4106, allocations: 318.8 kB / 367.1 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.4107, allocations: 27.98 kB / 367.1 MB, free: 7.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.411, allocations: 88.08 kB / 367.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.4112, allocations: 35.92 kB / 367.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4112, allocations: 4 kB / 367.2 MB, free: 7.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005715/0.4118, allocations: 149.3 kB / 367.4 MB, free: 7.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.4119, allocations: 7.938 kB / 367.4 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.4119, allocations: 4 kB / 367.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.4119, allocations: 4 kB / 367.4 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.4122, allocations: 28.14 kB / 367.4 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.4122, allocations: 7.938 kB / 367.4 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.4124, allocations: 19.83 kB / 367.5 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.4125, allocations: 8 kB / 367.5 MB, free: 6.992 MB / 298.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.0001694/0.4127, allocations: 121.8 kB / 367.6 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.4127, allocations: 15.86 kB / 367.6 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.61e-05/0.4128, allocations: 12.7 kB / 367.6 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4128, allocations: 0 / 367.6 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4128, allocations: 8 kB / 367.6 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4129, allocations: 0 / 367.6 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.4132, allocations: 201.5 kB / 367.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4132, allocations: 0 / 367.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.4134, allocations: 8 kB / 367.8 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/0.4135, allocations: 3.953 kB / 367.8 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.4135, allocations: 11.98 kB / 367.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4135, allocations: 0 / 367.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4135, allocations: 0 / 367.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.4142, allocations: 172.8 kB / 368 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.4143, allocations: 89.05 kB / 368.1 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/0.4144, allocations: 3.953 kB / 368.1 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.4145, allocations: 4 kB / 368.1 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.4146, allocations: 7.984 kB / 368.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.4147, allocations: 12.06 kB / 368.1 MB, free: 6.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.4148, allocations: 104.3 kB / 368.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.4148, allocations: 0 / 368.2 MB, free: 6.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000521/0.4154, allocations: 16 kB / 368.2 MB, free: 6.113 MB / 298.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.0001744/0.4155, allocations: 103.2 kB / 368.3 MB, free: 6.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004221/0.416, allocations: 88.23 kB / 368.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.416, allocations: 3.938 kB / 368.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4162, allocations: 35.97 kB / 368.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.4165, allocations: 12.86 kB / 368.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.4174, allocations: 283.4 kB / 368.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.4178, allocations: 0.7043 MB / 369.5 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.4179, allocations: 8.562 kB / 369.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.418, allocations: 19.42 kB / 369.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.418, allocations: 0 / 369.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of Templates: time 0.005516/0.4235, allocations: 0.8108 MB / 370.3 MB, free: 4.008 MB / 298.7 MB