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.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.152e-05, allocations: 8 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08743, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/0.481, allocations: 104.2 MB / 425.9 MB, free: 7.309 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.4815, allocations: 78.19 kB / 426 MB, free: 7.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082/1.564, allocations: 229.6 MB / 0.6403 GB, free: 41.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.091e-06/1.564, allocations: 4 kB / 0.6403 GB, free: 41.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00062/1.565, allocations: 283.9 kB / 0.6405 GB, free: 40.78 MB / 426.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.05687/1.621, allocations: 13.77 MB / 0.654 GB, free: 26.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.621, allocations: 12.03 kB / 0.654 GB, free: 26.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05696/1.678, allocations: 10.87 MB / 0.6646 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04127/1.72, allocations: 15.48 MB / 0.6797 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001404/1.721, allocations: 1.087 MB / 0.6808 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00638/1.728, allocations: 1.449 MB / 0.6822 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3925/2.12, allocations: 31.81 MB / 0.7133 GB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001076/2.121, allocations: 149.3 kB / 0.7134 GB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005663/2.127, allocations: 0.6628 MB / 0.7141 GB, free: 51.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004674/2.132, allocations: 2.328 MB / 0.7163 GB, free: 51.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06755/2.199, allocations: 25.07 MB / 0.7408 GB, free: 51.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2115/2.411, allocations: 130.6 MB / 0.8683 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.381/2.792, allocations: 12.5 MB / 0.8805 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01009/2.802, allocations: 5.758 MB / 0.8862 GB, free: 106 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005037/2.807, allocations: 4.842 MB / 0.8909 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.262e-05/2.807, allocations: 84.7 kB / 0.891 GB, free: 101.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=435): time 1.106e-05/2.807, allocations: 6.859 kB / 0.891 GB, free: 101.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=569): time 0.4546/3.262, allocations: 110.7 MB / 0.999 GB, free: 73.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03755/3.299, allocations: 24.77 MB / 1.023 GB, free: 47.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01733/3.317, allocations: 8.324 MB / 1.031 GB, free: 39.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001425/3.318, allocations: 107.2 kB / 1.031 GB, free: 39.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00653/3.325, allocations: 8.858 MB / 1.04 GB, free: 30.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003346/3.328, allocations: 2.185 MB / 1.042 GB, free: 28.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002139/3.33, allocations: 319.4 kB / 1.043 GB, free: 28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001185/3.332, allocations: 0.992 MB / 1.044 GB, free: 27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3192/3.651, allocations: 9.192 MB / 1.052 GB, free: 92.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.025/3.676, allocations: 18.31 MB / 1.07 GB, free: 80.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0251/3.701, allocations: 12.74 MB / 1.083 GB, free: 80.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005052/3.702, allocations: 95.47 kB / 1.083 GB, free: 80.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.123/3.825, allocations: 35.04 MB / 1.117 GB, free: 77.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005832/3.825, allocations: 142.3 kB / 1.117 GB, free: 77.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06649/3.892, allocations: 22.96 MB / 1.14 GB, free: 70.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0459/3.938, allocations: 10.59 MB / 1.15 GB, free: 68.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01818/3.956, allocations: 3.921 MB / 1.154 GB, free: 67.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07026/4.026, allocations: 49.56 MB / 1.202 GB, free: 26.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02148/4.048, allocations: 1.804 MB / 1.204 GB, free: 25.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003986/4.052, allocations: 0.9741 MB / 1.205 GB, free: 24.27 MB / 490.7 MB 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 (1937): * Single equations (assignments): 1908 * 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,1,1,1,1} * 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.006005/4.058, allocations: 1.302 MB / 1.206 GB, free: 23.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002499/4.06, allocations: 0.882 MB / 1.207 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3975/4.458, allocations: 28.86 MB / 1.235 GB, free: 75.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08376/4.542, allocations: 27.09 MB / 1.262 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.435e-05/4.542, allocations: 29.03 kB / 1.262 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000127/4.542, allocations: 25.97 kB / 1.262 GB, free: 74.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1596/4.702, allocations: 63.18 MB / 1.323 GB, free: 59.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-05/4.702, allocations: 3.688 kB / 1.323 GB, free: 59.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007478/4.709, allocations: 1.012 MB / 1.324 GB, free: 59.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06905/4.778, allocations: 15.67 MB / 1.34 GB, free: 54.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001669/4.78, allocations: 182.6 kB / 1.34 GB, free: 53.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1316/4.912, allocations: 64.65 MB / 1.403 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3794/5.291, allocations: 24.53 MB / 1.427 GB, free: 80.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1042/5.395, allocations: 41.05 MB / 1.467 GB, free: 78.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003186/5.399, allocations: 0.9463 MB / 1.468 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003591/5.402, allocations: 130.6 kB / 1.468 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01121/5.414, allocations: 0.9065 MB / 1.469 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002889/5.416, allocations: 453.9 kB / 1.47 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001602/5.418, allocations: 191.7 kB / 1.47 GB, free: 77.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01469/5.433, allocations: 5.748 MB / 1.475 GB, free: 77.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.455e-06/5.433, allocations: 0 / 1.475 GB, free: 77.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02294/5.456, allocations: 4.414 MB / 1.48 GB, free: 77.66 MB / 0.4948 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.001949/5.458, allocations: 282.8 kB / 1.48 GB, free: 77.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04426/5.502, allocations: 22.5 MB / 1.502 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.279e-06/5.502, allocations: 6.312 kB / 1.502 GB, free: 69.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02551/5.528, allocations: 11.47 MB / 1.513 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009423/5.537, allocations: 1.33 MB / 1.514 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08019/5.617, allocations: 31.78 MB / 1.545 GB, free: 37.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02241/5.64, allocations: 9.426 MB / 1.555 GB, free: 31.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01944/5.659, allocations: 5.074 MB / 1.56 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004618/5.664, allocations: 0.6953 MB / 1.56 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of SimCode: time 2.158e-06/5.664, allocations: 0 / 1.56 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.696/6.36, allocations: 168.9 MB / 1.725 GB, free: 31.54 MB / 0.4948 GB