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 1.845/1.845, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.511e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.08724, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/0.4477, allocations: 93.24 MB / 415 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.448, allocations: 76.73 kB / 415.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.311/0.759, allocations: 82.3 MB / 497.4 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.799e-06/0.7591, allocations: 0 / 497.4 MB, free: 7.188 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002153/0.7593, allocations: 88 kB / 497.4 MB, free: 7.102 MB / 394.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.01661/0.7759, allocations: 4.264 MB / 0.49 GB, free: 2.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.776, allocations: 12.03 kB / 0.49 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.7893, allocations: 2.26 MB / 0.4922 GB, free: 500 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01546/0.8048, allocations: 4.745 MB / 0.4968 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004645/0.8053, allocations: 336.8 kB / 0.4971 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.8072, allocations: 435.8 kB / 0.4975 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02592/0.8331, allocations: 10.49 MB / 0.5078 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000206/0.8334, allocations: 63.45 kB / 0.5078 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001141/0.8345, allocations: 215.9 kB / 0.5081 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/0.8365, allocations: 1.01 MB / 0.509 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02175/0.8583, allocations: 8.191 MB / 0.517 GB, free: 5.844 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3053/1.164, allocations: 49.28 MB / 0.5652 GB, free: 57.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.175, allocations: 3.497 MB / 0.5686 GB, free: 57.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/1.178, allocations: 1.677 MB / 0.5702 GB, free: 57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01433/1.192, allocations: 7.529 MB / 0.5776 GB, free: 54.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.192, allocations: 44.34 kB / 0.5776 GB, free: 54.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.372e-06/1.192, allocations: 0 / 0.5776 GB, free: 54.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.03187/1.224, allocations: 10.57 MB / 0.5879 GB, free: 51.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001171/1.225, allocations: 1.607 MB / 0.5895 GB, free: 50.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006694/1.232, allocations: 3.493 MB / 0.5929 GB, free: 50.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000348/1.232, allocations: 46.78 kB / 0.593 GB, free: 50.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.234, allocations: 3.106 MB / 0.596 GB, free: 47.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008079/1.235, allocations: 0.5985 MB / 0.5966 GB, free: 47.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000497/1.236, allocations: 118.4 kB / 0.5967 GB, free: 47.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003578/1.236, allocations: 0.5642 MB / 0.5972 GB, free: 46.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004159/1.24, allocations: 2.07 MB / 0.5993 GB, free: 46.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006141/1.246, allocations: 5.751 MB / 0.6049 GB, free: 40.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006489/1.253, allocations: 3.43 MB / 0.6082 GB, free: 39.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/1.253, allocations: 39.88 kB / 0.6083 GB, free: 39.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.01925/1.272, allocations: 7.931 MB / 0.616 GB, free: 37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.272, allocations: 62.44 kB / 0.6161 GB, free: 37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006891/1.279, allocations: 2.809 MB / 0.6188 GB, free: 36.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004294/1.284, allocations: 1.121 MB / 0.6199 GB, free: 35.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/1.289, allocations: 1.375 MB / 0.6213 GB, free: 35.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006298/1.296, allocations: 4.735 MB / 0.6259 GB, free: 32.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00671/1.302, allocations: 411.6 kB / 0.6263 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.304, allocations: 376.7 kB / 0.6266 GB, free: 32.34 MB / 426.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): 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.001309/1.305, allocations: 0.554 MB / 0.6272 GB, free: 31.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007829/1.306, allocations: 331.3 kB / 0.6275 GB, free: 31.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007769/1.314, allocations: 3.059 MB / 0.6305 GB, free: 30.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006488/1.32, allocations: 2.586 MB / 0.633 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.32, allocations: 3.594 kB / 0.633 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/1.32, allocations: 10.7 kB / 0.633 GB, free: 29.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008184/1.329, allocations: 3.855 MB / 0.6368 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-05/1.329, allocations: 0 / 0.6368 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.331, allocations: 253.2 kB / 0.637 GB, free: 27.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004284/1.335, allocations: 1.019 MB / 0.638 GB, free: 26.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003631/1.335, allocations: 41.78 kB / 0.6381 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006774/1.342, allocations: 5.004 MB / 0.6429 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009548/1.343, allocations: 1.464 MB / 0.6444 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009764/1.353, allocations: 5.455 MB / 0.6497 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.354, allocations: 398.5 kB / 0.6501 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008016/1.355, allocations: 43.69 kB / 0.6501 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.357, allocations: 138.7 kB / 0.6502 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/1.358, allocations: 84.12 kB / 0.6503 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.358, allocations: 47.72 kB / 0.6504 GB, free: 14.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004684/1.362, allocations: 2.41 MB / 0.6527 GB, free: 12.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.75e-07/1.362, allocations: 0 / 0.6527 GB, free: 12.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006422/1.369, allocations: 1.055 MB / 0.6538 GB, free: 11.69 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.0004846/1.369, allocations: 175.4 kB / 0.6539 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01109/1.381, allocations: 5.408 MB / 0.6592 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.153e-06/1.381, allocations: 0 / 0.6592 GB, free: 6.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00461/1.385, allocations: 2.181 MB / 0.6613 GB, free: 4.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/1.388, allocations: 394 kB / 0.6617 GB, free: 4.414 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/1.411, allocations: 8.684 MB / 0.6702 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006496/1.418, allocations: 3.34 MB / 0.6735 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.419, allocations: 276.3 kB / 0.6737 GB, free: 10.76 MB / 442.7 MB Notification: Performance of SimCode: time 4.743e-06/1.419, allocations: 0 / 0.6737 GB, free: 10.76 MB / 442.7 MB Notification: Performance of Templates: time 0.409/1.828, allocations: 124.3 MB / 0.7951 GB, free: 39.48 MB / 442.7 MB