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.912/1.912, allocations: 209.2 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.438e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3765, allocations: 48.7 MB / 324.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002129/0.3787, allocations: 1.308 MB / 326.2 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3798, allocations: 0.5011 MB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.3799, allocations: 3.844 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.612e-05/0.3799, allocations: 6.422 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.38, allocations: 13.91 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.3802, allocations: 39.31 kB / 326.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3804, allocations: 51.91 kB / 326.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3805, allocations: 20.91 kB / 326.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3806, allocations: 33.39 kB / 326.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3807, allocations: 31.12 kB / 326.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.312e-05/0.3808, allocations: 2.781 kB / 326.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.3808, allocations: 4.094 kB / 326.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.3809, allocations: 17.98 kB / 326.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3809, allocations: 6.594 kB / 326.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.381, allocations: 72.2 kB / 326.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3811, allocations: 0 / 326.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3811, allocations: 4 kB / 327 MB, free: 1.969 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3811, allocations: 1.125 kB / 327 MB, free: 1.969 MB / 266.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.0006391/0.3817, allocations: 384 kB / 327.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3818, allocations: 8.625 kB / 327.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.3818, allocations: 11 kB / 327.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3821, allocations: 207 kB / 327.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3821, allocations: 6.969 kB / 327.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.3822, allocations: 10.66 kB / 327.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.3824, allocations: 85.14 kB / 327.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3825, allocations: 0 / 327.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.3825, allocations: 6.406 kB / 327.7 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3825, allocations: 3 kB / 327.7 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.3827, allocations: 55.47 kB / 327.7 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.3834, allocations: 370.1 kB / 328.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3836, allocations: 62.34 kB / 328.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3836, allocations: 5.125 kB / 328.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.3839, allocations: 109.8 kB / 328.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.823e-06/0.3839, allocations: 0 / 328.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004756/0.3844, allocations: 132.5 kB / 328.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3845, allocations: 57.52 kB / 328.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3846, allocations: 126.2 kB / 328.6 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3846, allocations: 35.84 kB / 328.6 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3847, allocations: 170.5 kB / 328.8 MB, free: 440 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.3847, allocations: 25.19 kB / 328.8 MB, free: 424 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.3848, allocations: 4 kB / 328.8 MB, free: 420 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.3848, allocations: 314.5 kB / 329.1 MB, free: 100 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.385, allocations: 30.86 kB / 329.1 MB, free: 88 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3851, allocations: 86.64 kB / 329.2 MB, free: 0 / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.3853, allocations: 46 kB / 329.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3853, allocations: 1.062 kB / 329.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003893/0.3857, allocations: 139.3 kB / 329.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3858, allocations: 9.109 kB / 329.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.3858, allocations: 7.312 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3858, allocations: 4.5 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.386, allocations: 22.3 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.3861, allocations: 3.094 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3862, allocations: 6.469 kB / 329.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3862, allocations: 14.61 kB / 329.5 MB, free: 15.89 MB / 282.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.0001295/0.3864, allocations: 122.3 kB / 329.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3864, allocations: 12.3 kB / 329.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.3865, allocations: 20.88 kB / 329.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3865, allocations: 1.312 kB / 329.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3865, allocations: 2.312 kB / 329.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3865, allocations: 1.656 kB / 329.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.3867, allocations: 201.1 kB / 329.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3868, allocations: 1.531 kB / 329.8 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3869, allocations: 16.44 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3869, allocations: 1.188 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.387, allocations: 6.469 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.387, allocations: 5.141 kB / 329.8 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.387, allocations: 8.594 kB / 329.8 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.3875, allocations: 169.4 kB / 330 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.3876, allocations: 93.2 kB / 330.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.3877, allocations: 5.641 kB / 330.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3878, allocations: 8.734 kB / 330.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3879, allocations: 10.52 kB / 330.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3879, allocations: 4.453 kB / 330.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.861e-05/0.388, allocations: 104.7 kB / 330.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.388, allocations: 0 / 330.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.3883, allocations: 22.91 kB / 330.3 MB, free: 15.23 MB / 282.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.0001308/0.3884, allocations: 102.1 kB / 330.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.3888, allocations: 84.64 kB / 330.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3888, allocations: 1.094 kB / 330.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.389, allocations: 40.14 kB / 330.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.3892, allocations: 10.86 kB / 330.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.3899, allocations: 310.3 kB / 330.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3902, allocations: 0.7038 MB / 331.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.3903, allocations: 18.97 kB / 331.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3903, allocations: 0 / 331.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of Templates: time 0.004039/0.3944, allocations: 1.309 MB / 332.8 MB, free: 14.04 MB / 282.7 MB