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.231/2.231, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.265e-05, allocations: 4 kB / 304.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3616, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.5142, allocations: 99.96 MB / 459.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.5145, allocations: 72.75 kB / 459.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5707/1.085, allocations: 82.46 MB / 0.5295 GB, free: 101.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.326e-06/1.085, allocations: 0 / 0.5295 GB, free: 101.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002375/1.086, allocations: 85.09 kB / 0.5296 GB, free: 101.2 MB / 458.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.0172/1.103, allocations: 4.273 MB / 0.5338 GB, free: 99.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.103, allocations: 12.11 kB / 0.5338 GB, free: 99.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/1.116, allocations: 2.266 MB / 0.536 GB, free: 99.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/1.132, allocations: 4.775 MB / 0.5407 GB, free: 98.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005286/1.133, allocations: 334.1 kB / 0.541 GB, free: 98.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/1.135, allocations: 442.1 kB / 0.5414 GB, free: 98.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02569/1.16, allocations: 10.49 MB / 0.5517 GB, free: 95.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/1.161, allocations: 65.91 kB / 0.5517 GB, free: 95.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/1.162, allocations: 212.9 kB / 0.5519 GB, free: 95.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001692/1.163, allocations: 1.009 MB / 0.5529 GB, free: 95.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/1.184, allocations: 8.191 MB / 0.5609 GB, free: 95.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05571/1.239, allocations: 49.3 MB / 0.6091 GB, free: 58.34 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/1.25, allocations: 3.497 MB / 0.6125 GB, free: 56.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/1.253, allocations: 1.675 MB / 0.6141 GB, free: 56.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/1.267, allocations: 7.539 MB / 0.6215 GB, free: 51.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/1.267, allocations: 46.97 kB / 0.6215 GB, free: 51.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 5.839e-06/1.267, allocations: 4 kB / 0.6215 GB, free: 51.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.03145/1.298, allocations: 10.56 MB / 0.6318 GB, free: 44.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001115/1.3, allocations: 1.608 MB / 0.6334 GB, free: 43.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006506/1.306, allocations: 3.494 MB / 0.6368 GB, free: 40.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003425/1.307, allocations: 45.64 kB / 0.6369 GB, free: 39.97 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/1.309, allocations: 3.105 MB / 0.6399 GB, free: 37.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007775/1.309, allocations: 0.6096 MB / 0.6405 GB, free: 36.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005018/1.31, allocations: 116 kB / 0.6406 GB, free: 36.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004557/1.31, allocations: 0.5591 MB / 0.6411 GB, free: 36.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003969/1.314, allocations: 2.089 MB / 0.6432 GB, free: 34.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006131/1.321, allocations: 5.76 MB / 0.6488 GB, free: 26.81 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005924/1.327, allocations: 3.44 MB / 0.6522 GB, free: 23.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.789e-05/1.327, allocations: 40 kB / 0.6522 GB, free: 23.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02351/1.35, allocations: 8.625 MB / 0.6606 GB, free: 16.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/1.35, allocations: 64 kB / 0.6607 GB, free: 16.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01112/1.361, allocations: 3.502 MB / 0.6641 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/1.372, allocations: 1.935 MB / 0.666 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005666/1.377, allocations: 1.372 MB / 0.6673 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008538/1.386, allocations: 5.756 MB / 0.673 GB, free: 4.801 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006418/1.392, allocations: 407.3 kB / 0.6733 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.394, allocations: 372 kB / 0.6737 GB, free: 4.039 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * 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 (735): * Single equations (assignments): 726 * 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.0009872/1.395, allocations: 0.5632 MB / 0.6743 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007136/1.395, allocations: 327.7 kB / 0.6746 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006885/1.402, allocations: 3.06 MB / 0.6776 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006815/1.409, allocations: 2.588 MB / 0.6801 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/1.409, allocations: 7.891 kB / 0.6801 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/1.409, allocations: 3.984 kB / 0.6801 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009811/1.419, allocations: 3.854 MB / 0.6839 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.419, allocations: 0 / 0.6839 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.421, allocations: 255.6 kB / 0.6841 GB, free: 9.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004095/1.425, allocations: 1.029 MB / 0.6851 GB, free: 8.289 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003644/1.425, allocations: 43.84 kB / 0.6851 GB, free: 8.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008052/1.433, allocations: 4.988 MB / 0.69 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001525/1.435, allocations: 1.485 MB / 0.6915 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.447, allocations: 5.444 MB / 0.6968 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/1.449, allocations: 408.6 kB / 0.6972 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007385/1.449, allocations: 28 kB / 0.6972 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/1.452, allocations: 151.1 kB / 0.6973 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/1.453, allocations: 88.64 kB / 0.6974 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/1.453, allocations: 39.98 kB / 0.6975 GB, free: 11.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005802/1.459, allocations: 2.41 MB / 0.6998 GB, free: 8.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.047e-06/1.459, allocations: 0 / 0.6998 GB, free: 8.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007158/1.466, allocations: 1.062 MB / 0.7009 GB, free: 7.711 MB / 490.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.0006957/1.466, allocations: 172.2 kB / 0.701 GB, free: 7.535 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01299/1.479, allocations: 5.444 MB / 0.7063 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.369e-06/1.48, allocations: 0 / 0.7063 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2679/1.747, allocations: 2.17 MB / 0.7085 GB, free: 119.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.75, allocations: 393.8 kB / 0.7088 GB, free: 119.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.772, allocations: 8.423 MB / 0.7171 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007252/1.779, allocations: 3.337 MB / 0.7203 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/1.781, allocations: 280.8 kB / 0.7206 GB, free: 117.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.927e-06/1.781, allocations: 0 / 0.7206 GB, free: 117.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1631/1.944, allocations: 124.9 MB / 0.8426 GB, free: 40.88 MB / 490.7 MB