Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r.3.|freeMotion.r.2.|freeMotion.r.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.669e-05, allocations: 11.92 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3673, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2): time 0.03386/0.4012, allocations: 20.83 MB / 345.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01761/0.4189, allocations: 5.524 MB / 351.2 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005956/0.4249, allocations: 126.3 kB / 351.3 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004939/0.4299, allocations: 1.145 MB / 352.5 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.4428, allocations: 2.897 MB / 355.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.4463, allocations: 0.5396 MB / 355.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005379/0.4517, allocations: 1.441 MB / 357.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005546/0.4573, allocations: 2.431 MB / 359.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.4592, allocations: 0.6556 MB / 360.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.4621, allocations: 1.048 MB / 361.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.4642, allocations: 0.5111 MB / 362 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008619/0.4651, allocations: 95.94 kB / 362.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.4674, allocations: 1.313 MB / 363.4 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.4687, allocations: 212 kB / 363.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008539/0.4772, allocations: 4.991 MB / 368.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4773, allocations: 0 / 368.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.4773, allocations: 0 / 368.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002324/0.4775, allocations: 0 / 368.6 MB, free: 3.715 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01061/0.4882, allocations: 3.526 MB / 372.1 MB, free: 124 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.4882, allocations: 8.031 kB / 372.1 MB, free: 116 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02235/0.5106, allocations: 3.66 MB / 375.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00604/0.5167, allocations: 1.822 MB / 377.6 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.5172, allocations: 201 kB / 377.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.5189, allocations: 255.8 kB / 378.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03552/0.5544, allocations: 10.51 MB / 388.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.5547, allocations: 39.64 kB / 388.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001578/0.5563, allocations: 127.8 kB / 388.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01127/0.5676, allocations: 2.439 MB / 391.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04322/0.6109, allocations: 9.36 MB / 400.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08482/0.6958, allocations: 38.85 MB / 439.4 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.7062, allocations: 3.509 MB / 442.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01637/0.7227, allocations: 5.472 MB / 448.4 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.7228, allocations: 51.12 kB / 448.4 MB, free: 1.469 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 5.881e-06/0.7228, allocations: 0 / 448.4 MB, free: 1.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.01333/0.7361, allocations: 3.871 MB / 452.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.7363, allocations: 166.7 kB / 452.5 MB, free: 13.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00916/0.7455, allocations: 3.503 MB / 456 MB, free: 9.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002899/0.7458, allocations: 45.64 kB / 456 MB, free: 9.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003845/0.7497, allocations: 3.295 MB / 459.3 MB, free: 6.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.751, allocations: 0.6213 MB / 459.9 MB, free: 5.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007132/0.7517, allocations: 132 kB / 460 MB, free: 5.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006798/0.7524, allocations: 0.5997 MB / 460.6 MB, free: 5.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005726/0.7581, allocations: 1.969 MB / 462.6 MB, free: 3.055 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/0.7685, allocations: 6.234 MB / 468.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009039/0.7776, allocations: 3.517 MB / 472.4 MB, free: 7.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/0.7778, allocations: 40 kB / 472.4 MB, free: 7.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.3028/1.081, allocations: 7.783 MB / 480.2 MB, free: 115.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/1.081, allocations: 71.28 kB / 480.3 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003352/1.081, allocations: 155.5 kB / 480.4 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/1.082, allocations: 222 kB / 480.6 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009446/1.091, allocations: 1.508 MB / 482.1 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000427/1.091, allocations: 299.8 kB / 482.4 MB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007311/1.099, allocations: 0.942 MB / 483.4 MB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/1.1, allocations: 411.5 kB / 483.8 MB, free: 115.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 808 * Array equations: 8 * 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.00623/1.107, allocations: 2.228 MB / 486 MB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009237/1.108, allocations: 322.3 kB / 486.3 MB, free: 115 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/1.109, allocations: 415.3 kB / 486.7 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001197/1.11, allocations: 39.78 kB / 486.8 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.11, allocations: 1.438 kB / 486.8 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/1.11, allocations: 11.31 kB / 486.8 MB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.127, allocations: 5.68 MB / 492.5 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/1.127, allocations: 6.344 kB / 492.5 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.129, allocations: 214.8 kB / 492.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-05/1.129, allocations: 12.38 kB / 492.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/1.129, allocations: 29.45 kB / 492.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-05/1.129, allocations: 16.8 kB / 492.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.129, allocations: 6.875 kB / 492.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005658/1.135, allocations: 3.238 MB / 496 MB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.136, allocations: 397.9 kB / 496.4 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009693/1.137, allocations: 25.78 kB / 496.4 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.139, allocations: 67.98 kB / 496.5 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/1.14, allocations: 83.22 kB / 496.5 MB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.14, allocations: 45.64 kB / 496.6 MB, free: 110.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006469/1.146, allocations: 2.375 MB / 499 MB, free: 109.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.146, allocations: 0 / 499 MB, free: 109.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00732/1.154, allocations: 1.126 MB / 0.4884 GB, free: 109.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0006568/1.154, allocations: 161 kB / 0.4885 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009741/1.164, allocations: 4.482 MB / 0.4929 GB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/1.164, allocations: 3.281 kB / 0.4929 GB, free: 108 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002072/1.166, allocations: 0.9635 MB / 0.4938 GB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.169, allocations: 326.9 kB / 0.4941 GB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.191, allocations: 10.73 MB / 0.5046 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006559/1.198, allocations: 3.36 MB / 0.5079 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.2, allocations: 283.1 kB / 0.5082 GB, free: 99.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.854e-06/1.2, allocations: 4 kB / 0.5082 GB, free: 99.79 MB / 410.7 MB Notification: Performance of Templates: time 0.09936/1.299, allocations: 52.63 MB / 0.5596 GB, free: 48.54 MB / 410.7 MB