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.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 2.272/2.272, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.221e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3735, allocations: 54.87 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.06061/0.4342, allocations: 39.59 MB / 402.4 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02537/0.4596, allocations: 9.097 MB / 411.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008803/0.4685, allocations: 211.5 kB / 411.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007153/0.4757, allocations: 2.053 MB / 413.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02104/0.4968, allocations: 5.637 MB / 419.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.5004, allocations: 0.546 MB / 420 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004638/0.5051, allocations: 1.556 MB / 421.5 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008696/0.5139, allocations: 4.152 MB / 425.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.5156, allocations: 0.7909 MB / 426.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.5179, allocations: 1.192 MB / 427.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.5205, allocations: 0.8582 MB / 428.5 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008379/0.5213, allocations: 112 kB / 428.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002077/0.5234, allocations: 1.5 MB / 430.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.5245, allocations: 264 kB / 430.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008696/0.5332, allocations: 5.592 MB / 436 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5333, allocations: 0 / 436 MB, free: 4.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5333, allocations: 3.938 kB / 436 MB, free: 4.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002295/0.5336, allocations: 0 / 436 MB, free: 4.457 MB / 362.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.0122/0.5458, allocations: 3.846 MB / 439.8 MB, free: 0.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5458, allocations: 8.031 kB / 439.9 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/0.5666, allocations: 2.283 MB / 442.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009955/0.5766, allocations: 2.427 MB / 444.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005059/0.5772, allocations: 242.3 kB / 444.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.5803, allocations: 415.7 kB / 445.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0406/0.6209, allocations: 10.24 MB / 455.4 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/0.6212, allocations: 43.62 kB / 455.5 MB, free: 124 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.6225, allocations: 152 kB / 455.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007077/0.6296, allocations: 1.904 MB / 457.5 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03831/0.668, allocations: 8.531 MB / 466.1 MB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4134/1.081, allocations: 39.81 MB / 0.494 GB, free: 95.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/1.097, allocations: 3.556 MB / 0.4975 GB, free: 95.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01751/1.114, allocations: 7.535 MB / 0.5049 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/1.114, allocations: 50.41 kB / 0.5049 GB, free: 92.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.941e-06/1.114, allocations: 3.469 kB / 0.5049 GB, free: 92.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.04848/1.163, allocations: 12.96 MB / 0.5176 GB, free: 86.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001436/1.164, allocations: 1.634 MB / 0.5192 GB, free: 84.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007566/1.172, allocations: 3.643 MB / 0.5227 GB, free: 81.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004813/1.173, allocations: 43.27 kB / 0.5228 GB, free: 81.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002397/1.175, allocations: 3.104 MB / 0.5258 GB, free: 78.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009708/1.176, allocations: 0.6068 MB / 0.5264 GB, free: 77.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006172/1.177, allocations: 117.2 kB / 0.5265 GB, free: 77.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003372/1.177, allocations: 0.5587 MB / 0.527 GB, free: 76.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005261/1.182, allocations: 2.182 MB / 0.5292 GB, free: 74.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007567/1.19, allocations: 5.873 MB / 0.5349 GB, free: 67.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007808/1.198, allocations: 3.489 MB / 0.5383 GB, free: 63.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/1.198, allocations: 40 kB / 0.5384 GB, free: 63.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03405/1.232, allocations: 9.411 MB / 0.5475 GB, free: 54.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.516e-05/1.232, allocations: 63.98 kB / 0.5476 GB, free: 54.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01957/1.252, allocations: 3.853 MB / 0.5514 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01896/1.271, allocations: 2.243 MB / 0.5536 GB, free: 48.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008157/1.279, allocations: 1.368 MB / 0.5549 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.295, allocations: 7.27 MB / 0.562 GB, free: 39.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007102/1.302, allocations: 424.2 kB / 0.5624 GB, free: 38.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.303, allocations: 376 kB / 0.5628 GB, free: 38.46 MB / 426.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): 3 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.005664/1.309, allocations: 2.053 MB / 0.5648 GB, free: 36.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009212/1.31, allocations: 327.7 kB / 0.5651 GB, free: 36.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.32, allocations: 3.109 MB / 0.5681 GB, free: 32.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008333/1.329, allocations: 2.638 MB / 0.5707 GB, free: 30.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/1.329, allocations: 4 kB / 0.5707 GB, free: 30.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/1.329, allocations: 7.969 kB / 0.5707 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/1.338, allocations: 3.858 MB / 0.5745 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/1.338, allocations: 0 / 0.5745 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002526/1.34, allocations: 251.6 kB / 0.5747 GB, free: 26.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005295/1.346, allocations: 1.038 MB / 0.5757 GB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003945/1.346, allocations: 39.97 kB / 0.5758 GB, free: 25.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008414/1.355, allocations: 5.103 MB / 0.5807 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001111/1.356, allocations: 1.49 MB / 0.5822 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.369, allocations: 5.525 MB / 0.5876 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.37, allocations: 420.5 kB / 0.588 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008385/1.371, allocations: 24 kB / 0.588 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.374, allocations: 147.8 kB / 0.5882 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/1.374, allocations: 84.86 kB / 0.5882 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.374, allocations: 42.09 kB / 0.5883 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005183/1.38, allocations: 2.539 MB / 0.5908 GB, free: 9.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.38, allocations: 3.938 kB / 0.5908 GB, free: 9.246 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00641/1.386, allocations: 1.093 MB / 0.5918 GB, free: 8.156 MB / 426.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.0007266/1.387, allocations: 175.5 kB / 0.592 GB, free: 7.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01517/1.402, allocations: 5.767 MB / 0.5976 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.402, allocations: 0 / 0.5976 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006687/1.409, allocations: 2.216 MB / 0.5998 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/1.412, allocations: 410.8 kB / 0.6002 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02804/1.44, allocations: 11.69 MB / 0.6116 GB, free: 3.746 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00651/1.447, allocations: 3.34 MB / 0.6149 GB, free: 388 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.449, allocations: 283.4 kB / 0.6151 GB, free: 104 kB / 442.7 MB Notification: Performance of SimCode: time 1.412e-06/1.449, allocations: 0 / 0.6151 GB, free: 104 kB / 442.7 MB Notification: Performance of Templates: time 0.5509/2, allocations: 126.7 MB / 0.7389 GB, free: 136.6 MB / 0.4948 GB