Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 2.112/2.112, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.354e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3578, allocations: 48.71 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.06343/0.4213, allocations: 39.58 MB / 364.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0282/0.4495, allocations: 9.094 MB / 373.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01046/0.46, allocations: 207.5 kB / 373.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008299/0.4684, allocations: 2.065 MB / 375.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02241/0.4909, allocations: 5.633 MB / 381.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.4948, allocations: 0.5499 MB / 382 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005097/0.5, allocations: 1.564 MB / 383.5 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008485/0.5085, allocations: 4.147 MB / 387.7 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.5103, allocations: 0.7909 MB / 388.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.5126, allocations: 1.196 MB / 389.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.515, allocations: 0.8426 MB / 390.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007744/0.5158, allocations: 112 kB / 390.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002045/0.5179, allocations: 1.496 MB / 392.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009787/0.5189, allocations: 264 kB / 392.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008904/0.5278, allocations: 5.576 MB / 398 MB, free: 6.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5279, allocations: 3.938 kB / 398 MB, free: 6.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5279, allocations: 0 / 398 MB, free: 6.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002123/0.5281, allocations: 4 kB / 398 MB, free: 6.258 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01221/0.5403, allocations: 3.842 MB / 401.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5404, allocations: 12.03 kB / 401.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01944/0.5599, allocations: 2.252 MB / 404.1 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009487/0.5694, allocations: 2.419 MB / 406.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003956/0.5699, allocations: 250.3 kB / 406.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/0.5724, allocations: 415.6 kB / 407.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03744/0.6099, allocations: 10.23 MB / 417.4 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002076/0.6102, allocations: 39.69 kB / 417.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.6112, allocations: 163.8 kB / 417.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006834/0.6181, allocations: 1.904 MB / 419.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/0.6477, allocations: 8.525 MB / 428 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07505/0.7228, allocations: 39.78 MB / 467.8 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/0.7388, allocations: 3.562 MB / 471.3 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01897/0.7579, allocations: 7.498 MB / 478.8 MB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.7579, allocations: 47.5 kB / 478.9 MB, free: 2.801 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.13e-06/0.758, allocations: 0 / 478.9 MB, free: 2.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.3273/1.085, allocations: 12.96 MB / 491.8 MB, free: 124.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001603/1.087, allocations: 1.631 MB / 493.5 MB, free: 123.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/1.097, allocations: 3.651 MB / 497.1 MB, free: 121.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004967/1.098, allocations: 47.27 kB / 497.2 MB, free: 121.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003038/1.101, allocations: 3.107 MB / 0.4886 GB, free: 119.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.102, allocations: 0.601 MB / 0.4891 GB, free: 118.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007794/1.103, allocations: 115.8 kB / 0.4893 GB, free: 118.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004783/1.104, allocations: 0.5593 MB / 0.4898 GB, free: 118.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006163/1.11, allocations: 2.144 MB / 0.4919 GB, free: 117.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008886/1.119, allocations: 5.847 MB / 0.4976 GB, free: 111.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008376/1.127, allocations: 3.455 MB / 0.501 GB, free: 110.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002386/1.127, allocations: 40.56 kB / 0.501 GB, free: 110.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02579/1.153, allocations: 8.493 MB / 0.5093 GB, free: 107.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.153, allocations: 66.97 kB / 0.5094 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009198/1.163, allocations: 2.92 MB / 0.5122 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006245/1.169, allocations: 1.256 MB / 0.5135 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008258/1.177, allocations: 1.372 MB / 0.5148 GB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/1.186, allocations: 5.1 MB / 0.5198 GB, free: 96.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007693/1.194, allocations: 423.3 kB / 0.5202 GB, free: 96.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.195, allocations: 370.4 kB / 0.5205 GB, free: 95.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (733): * Single equations (assignments): 724 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005697/1.201, allocations: 2.062 MB / 0.5225 GB, free: 93.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.202, allocations: 331.7 kB / 0.5229 GB, free: 93.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009684/1.211, allocations: 3.113 MB / 0.5259 GB, free: 90.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008481/1.22, allocations: 2.633 MB / 0.5285 GB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/1.22, allocations: 9.75 kB / 0.5285 GB, free: 87.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-05/1.22, allocations: 3.984 kB / 0.5285 GB, free: 87.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009946/1.23, allocations: 3.867 MB / 0.5323 GB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/1.23, allocations: 0 / 0.5323 GB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.233, allocations: 248.4 kB / 0.5325 GB, free: 83.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005978/1.239, allocations: 1.041 MB / 0.5335 GB, free: 82.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004456/1.239, allocations: 35.98 kB / 0.5335 GB, free: 82.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0084/1.248, allocations: 5.11 MB / 0.5385 GB, free: 77.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001178/1.249, allocations: 1.482 MB / 0.54 GB, free: 75.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.263, allocations: 5.527 MB / 0.5454 GB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/1.265, allocations: 404.6 kB / 0.5458 GB, free: 69.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/1.266, allocations: 33.7 kB / 0.5458 GB, free: 69.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/1.27, allocations: 143.8 kB / 0.5459 GB, free: 69.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/1.27, allocations: 88.81 kB / 0.546 GB, free: 69.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.271, allocations: 39.98 kB / 0.5461 GB, free: 69.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006254/1.277, allocations: 2.545 MB / 0.5485 GB, free: 66.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.277, allocations: 0 / 0.5485 GB, free: 66.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00723/1.284, allocations: 1.074 MB / 0.5496 GB, free: 65.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009087/1.285, allocations: 178 kB / 0.5498 GB, free: 65.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01516/1.3, allocations: 5.699 MB / 0.5553 GB, free: 59.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.3, allocations: 8.75 kB / 0.5553 GB, free: 59.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007055/1.308, allocations: 2.21 MB / 0.5575 GB, free: 57.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/1.311, allocations: 405.7 kB / 0.5579 GB, free: 57.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/1.336, allocations: 11.68 MB / 0.5693 GB, free: 45.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006031/1.342, allocations: 3.328 MB / 0.5725 GB, free: 41.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/1.344, allocations: 283.4 kB / 0.5728 GB, free: 41.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.124e-06/1.344, allocations: 0 / 0.5728 GB, free: 41.71 MB / 410.7 MB Notification: Performance of Templates: time 0.5114/1.856, allocations: 125.8 MB / 0.6957 GB, free: 78.93 MB / 426.7 MB