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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.2e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3235, allocations: 54.85 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.4917, allocations: 110.9 MB / 470.7 MB, free: 2.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.492, allocations: 81.14 kB / 470.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.981/1.473, allocations: 229.8 MB / 0.6841 GB, free: 4.016 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.804e-06/1.473, allocations: 0 / 0.6841 GB, free: 4.016 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000641/1.474, allocations: 279.9 kB / 0.6844 GB, free: 3.742 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.0592/1.533, allocations: 13.78 MB / 0.6979 GB, free: 5.855 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.533, allocations: 8.031 kB / 0.6979 GB, free: 5.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.361/1.894, allocations: 10.92 MB / 0.7085 GB, free: 43.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04607/1.94, allocations: 15.51 MB / 0.7237 GB, free: 43.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00138/1.942, allocations: 1.083 MB / 0.7247 GB, free: 43.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005726/1.947, allocations: 1.446 MB / 0.7262 GB, free: 43.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08043/2.028, allocations: 31.81 MB / 0.7572 GB, free: 36.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007947/2.029, allocations: 154.7 kB / 0.7574 GB, free: 36.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004981/2.034, allocations: 0.6603 MB / 0.758 GB, free: 36.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003901/2.038, allocations: 2.332 MB / 0.7603 GB, free: 36.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06367/2.101, allocations: 25.08 MB / 0.7848 GB, free: 32.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5833/2.685, allocations: 130.6 MB / 0.9123 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04909/2.734, allocations: 12.33 MB / 0.9243 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009055/2.743, allocations: 5.753 MB / 0.9299 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004617/2.747, allocations: 4.84 MB / 0.9347 GB, free: 27.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/2.748, allocations: 88 kB / 0.9347 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=435): time 1.07e-05/2.748, allocations: 1.938 kB / 0.9347 GB, free: 27.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=569): time 0.3894/3.137, allocations: 110.7 MB / 1.043 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04773/3.185, allocations: 24.82 MB / 1.067 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02173/3.207, allocations: 8.326 MB / 1.075 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001389/3.208, allocations: 113 kB / 1.075 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009469/3.217, allocations: 8.564 MB / 1.084 GB, free: 9.613 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004186/3.222, allocations: 2.193 MB / 1.086 GB, free: 7.438 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/3.224, allocations: 318.7 kB / 1.086 GB, free: 7.129 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00159/3.226, allocations: 0.9967 MB / 1.087 GB, free: 6.121 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02089/3.247, allocations: 9.212 MB / 1.096 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03084/3.277, allocations: 18.33 MB / 1.114 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02786/3.305, allocations: 12.75 MB / 1.126 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003091/3.306, allocations: 96 kB / 1.127 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.4432/3.749, allocations: 35.14 MB / 1.161 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/3.749, allocations: 147.2 kB / 1.161 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06069/3.81, allocations: 23.28 MB / 1.184 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04426/3.854, allocations: 10.94 MB / 1.194 GB, free: 167.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01665/3.871, allocations: 3.852 MB / 1.198 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07389/3.945, allocations: 51.24 MB / 1.248 GB, free: 146.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02078/3.966, allocations: 1.804 MB / 1.25 GB, free: 145.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003298/3.969, allocations: 0.9762 MB / 1.251 GB, free: 145.8 MB / 0.6198 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.003417/3.972, allocations: 1.304 MB / 1.252 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002242/3.975, allocations: 0.8817 MB / 1.253 GB, free: 144.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07973/4.054, allocations: 28.87 MB / 1.281 GB, free: 135.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.074/4.128, allocations: 27.1 MB / 1.308 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.849e-05/4.129, allocations: 30.06 kB / 1.308 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/4.129, allocations: 23.91 kB / 1.308 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5572/4.686, allocations: 63.16 MB / 1.369 GB, free: 157 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-05/4.686, allocations: 4.188 kB / 1.369 GB, free: 157 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007576/4.694, allocations: 1.019 MB / 1.37 GB, free: 157 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06737/4.761, allocations: 15.66 MB / 1.386 GB, free: 156.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001513/4.763, allocations: 180.2 kB / 1.386 GB, free: 156.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09935/4.862, allocations: 64.64 MB / 1.449 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0376/4.9, allocations: 24.54 MB / 1.473 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09536/4.995, allocations: 41.06 MB / 1.513 GB, free: 117.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002901/4.998, allocations: 0.958 MB / 1.514 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003005/5.001, allocations: 134.5 kB / 1.514 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/5.011, allocations: 0.8966 MB / 1.515 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002633/5.014, allocations: 453.4 kB / 1.515 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009896/5.015, allocations: 183.2 kB / 1.516 GB, free: 117.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.01221/5.027, allocations: 5.757 MB / 1.521 GB, free: 115.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.101e-06/5.027, allocations: 0 / 1.521 GB, free: 115.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02131/5.049, allocations: 4.426 MB / 1.526 GB, free: 114.1 MB / 0.6198 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.001771/5.05, allocations: 289.5 kB / 1.526 GB, free: 113.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.04172/5.092, allocations: 23.07 MB / 1.548 GB, free: 93.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.631e-06/5.092, allocations: 0 / 1.548 GB, free: 93.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.02293/5.115, allocations: 11.48 MB / 1.56 GB, free: 83.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008669/5.124, allocations: 1.34 MB / 1.561 GB, free: 82.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07947/5.203, allocations: 33.39 MB / 1.594 GB, free: 50.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3569/5.56, allocations: 9.422 MB / 1.603 GB, free: 164 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005405/5.566, allocations: 0.8 MB / 1.604 GB, free: 164 MB / 0.6198 GB Notification: Performance of SimCode: time 2.163e-06/5.566, allocations: 1 kB / 1.604 GB, free: 164 MB / 0.6198 GB Notification: Performance of Templates: time 2.471/8.037, allocations: 0.8531 GB / 2.457 GB, free: 160.8 MB / 0.6198 GB