Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.391e-05, allocations: 4.938 kB / 304.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.4986, allocations: 110.9 MB / 470.7 MB, free: 1.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4989, allocations: 72.72 kB / 470.8 MB, free: 1.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.021/1.519, allocations: 229.8 MB / 0.6842 GB, free: 3.902 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.112e-06/1.519, allocations: 0 / 0.6842 GB, free: 3.902 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000673/1.52, allocations: 280 kB / 0.6844 GB, free: 3.629 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: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.06232/1.583, allocations: 13.78 MB / 0.6979 GB, free: 5.742 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.583, allocations: 11.97 kB / 0.6979 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6593/2.242, allocations: 10.93 MB / 0.7086 GB, free: 41.24 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04658/2.289, allocations: 15.51 MB / 0.7237 GB, free: 40.71 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001432/2.29, allocations: 1.09 MB / 0.7248 GB, free: 40.68 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005854/2.296, allocations: 1.442 MB / 0.7262 GB, free: 40.67 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08416/2.38, allocations: 31.81 MB / 0.7572 GB, free: 34.25 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008413/2.381, allocations: 155.4 kB / 0.7574 GB, free: 34.23 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005561/2.387, allocations: 0.6595 MB / 0.758 GB, free: 34.23 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004266/2.391, allocations: 2.326 MB / 0.7603 GB, free: 34.21 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08506/2.476, allocations: 25.08 MB / 0.7848 GB, free: 29.59 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.068/3.544, allocations: 130.6 MB / 0.9123 GB, free: 29.61 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0466/3.591, allocations: 12.34 MB / 0.9244 GB, free: 28.94 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00968/3.6, allocations: 5.749 MB / 0.93 GB, free: 28.89 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005053/3.606, allocations: 4.842 MB / 0.9347 GB, free: 24.9 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/3.606, allocations: 88.86 kB / 0.9348 GB, free: 24.86 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=435): time 1.088e-05/3.606, allocations: 0 / 0.9348 GB, free: 24.86 MB / 0.5263 GB Notification: Performance of matching and sorting (n=569): time 0.4757/4.081, allocations: 110.7 MB / 1.043 GB, free: 15.86 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04827/4.13, allocations: 24.76 MB / 1.067 GB, free: 6.895 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02168/4.152, allocations: 8.323 MB / 1.075 GB, free: 14.76 MB / 0.5731 GB Notification: Performance of collectPreVariables (initialization): time 0.001446/4.153, allocations: 112.3 kB / 1.075 GB, free: 14.64 MB / 0.5731 GB Notification: Performance of collectInitialEqns (initialization): time 0.01007/4.163, allocations: 8.853 MB / 1.084 GB, free: 5.793 MB / 0.5731 GB Notification: Performance of collectInitialBindings (initialization): time 0.004303/4.167, allocations: 2.188 MB / 1.086 GB, free: 3.621 MB / 0.5731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/4.17, allocations: 319.4 kB / 1.086 GB, free: 3.312 MB / 0.5731 GB Notification: Performance of setup shared object (initialization): time 0.001567/4.172, allocations: 0.9997 MB / 1.087 GB, free: 2.305 MB / 0.5731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02048/4.192, allocations: 9.216 MB / 1.096 GB, free: 9.082 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03027/4.222, allocations: 18.32 MB / 1.114 GB, free: 2.363 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02697/4.249, allocations: 12.76 MB / 1.127 GB, free: 5.832 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000289/4.25, allocations: 92 kB / 1.127 GB, free: 5.742 MB / 0.62 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.4352/4.685, allocations: 35.44 MB / 1.161 GB, free: 167.9 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002442/4.685, allocations: 144.4 kB / 1.162 GB, free: 167.9 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06517/4.75, allocations: 23.29 MB / 1.184 GB, free: 167.4 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04782/4.798, allocations: 10.93 MB / 1.195 GB, free: 167.3 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/4.815, allocations: 3.854 MB / 1.199 GB, free: 167 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.112/4.927, allocations: 51.25 MB / 1.249 GB, free: 144 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02366/4.951, allocations: 1.805 MB / 1.251 GB, free: 143.7 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00388/4.955, allocations: 0.9759 MB / 1.252 GB, free: 143.6 MB / 0.62 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1475 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1925): * Single equations (assignments): 1896 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005736/4.961, allocations: 1.307 MB / 1.253 GB, free: 142.6 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002615/4.964, allocations: 0.8834 MB / 1.254 GB, free: 142.6 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08485/5.048, allocations: 28.87 MB / 1.282 GB, free: 129.3 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07596/5.124, allocations: 27.09 MB / 1.308 GB, free: 105.5 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-05/5.125, allocations: 31.44 kB / 1.308 GB, free: 105.5 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001179/5.125, allocations: 27.89 kB / 1.308 GB, free: 105.5 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5398/5.665, allocations: 63.15 MB / 1.37 GB, free: 156.9 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.377e-05/5.665, allocations: 5.344 kB / 1.37 GB, free: 156.9 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006832/5.671, allocations: 1.017 MB / 1.371 GB, free: 156.9 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06812/5.74, allocations: 15.67 MB / 1.386 GB, free: 156.8 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001655/5.741, allocations: 178 kB / 1.387 GB, free: 156.8 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1392/5.881, allocations: 64.64 MB / 1.45 GB, free: 144.2 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04027/5.921, allocations: 24.54 MB / 1.474 GB, free: 130.5 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1031/6.024, allocations: 41.06 MB / 1.514 GB, free: 116.7 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/6.027, allocations: 0.9492 MB / 1.515 GB, free: 116.5 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003461/6.031, allocations: 131.6 kB / 1.515 GB, free: 116.4 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01081/6.041, allocations: 0.8995 MB / 1.516 GB, free: 116.4 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00274/6.044, allocations: 456.6 kB / 1.516 GB, free: 116.3 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001389/6.046, allocations: 189.5 kB / 1.516 GB, free: 116.3 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.01375/6.059, allocations: 5.75 MB / 1.522 GB, free: 112.9 MB / 0.62 GB Notification: Performance of sort global known variables: time 9.98e-07/6.059, allocations: 0 / 1.522 GB, free: 112.9 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.02231/6.082, allocations: 4.431 MB / 1.526 GB, free: 108.5 MB / 0.62 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/6.084, allocations: 290.5 kB / 1.526 GB, free: 108.3 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.05404/6.138, allocations: 23.03 MB / 1.549 GB, free: 86.97 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/6.138, allocations: 2.312 kB / 1.549 GB, free: 86.97 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.03683/6.175, allocations: 11.48 MB / 1.56 GB, free: 75.54 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009194/6.184, allocations: 1.335 MB / 1.561 GB, free: 74.28 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5125/6.696, allocations: 31.78 MB / 1.593 GB, free: 162.3 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02538/6.722, allocations: 9.43 MB / 1.602 GB, free: 161.3 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.02086/6.743, allocations: 5.061 MB / 1.607 GB, free: 161.2 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004968/6.748, allocations: 0.6906 MB / 1.607 GB, free: 161.2 MB / 0.62 GB Notification: Performance of SimCode: time 1.835e-06/6.748, allocations: 0 / 1.607 GB, free: 161.2 MB / 0.62 GB Notification: Performance of Templates: time 0.379/7.127, allocations: 171.6 MB / 1.775 GB, free: 74.82 MB / 0.62 GB