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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.567e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08618/0.08624, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3715/0.4577, allocations: 104.2 MB / 425.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.458, allocations: 77.02 kB / 426 MB, free: 7.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004/1.462, allocations: 229.6 MB / 0.6402 GB, free: 41.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.462, allocations: 4 kB / 0.6402 GB, free: 41.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006359/1.463, allocations: 272 kB / 0.6405 GB, free: 41.18 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.05634/1.519, allocations: 13.78 MB / 0.654 GB, free: 27.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.519, allocations: 8.031 kB / 0.654 GB, free: 27.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05521/1.574, allocations: 10.88 MB / 0.6646 GB, free: 16.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04097/1.615, allocations: 15.48 MB / 0.6797 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001238/1.616, allocations: 1.087 MB / 0.6808 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006079/1.623, allocations: 1.445 MB / 0.6822 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3739/1.996, allocations: 31.81 MB / 0.7132 GB, free: 51.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001046/1.998, allocations: 152 kB / 0.7134 GB, free: 51.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005687/2.003, allocations: 0.6613 MB / 0.714 GB, free: 51.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004495/2.008, allocations: 2.327 MB / 0.7163 GB, free: 51.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.068/2.076, allocations: 25.07 MB / 0.7408 GB, free: 51.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1827/2.259, allocations: 130.5 MB / 0.8683 GB, free: 8.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3364/2.595, allocations: 12.38 MB / 0.8804 GB, free: 106.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/2.606, allocations: 5.754 MB / 0.886 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005038/2.611, allocations: 4.843 MB / 0.8907 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.964e-05/2.611, allocations: 80.38 kB / 0.8908 GB, free: 102.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=435): time 1.127e-05/2.611, allocations: 3.281 kB / 0.8908 GB, free: 102.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=569): time 0.4068/3.018, allocations: 110.7 MB / 0.9989 GB, free: 73.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03772/3.055, allocations: 24.77 MB / 1.023 GB, free: 47.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01942/3.075, allocations: 8.331 MB / 1.031 GB, free: 39.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001405/3.076, allocations: 103.7 kB / 1.031 GB, free: 39.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006305/3.083, allocations: 8.566 MB / 1.04 GB, free: 30.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003493/3.086, allocations: 2.192 MB / 1.042 GB, free: 28.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002577/3.089, allocations: 319.9 kB / 1.042 GB, free: 28.36 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001842/3.091, allocations: 0.9967 MB / 1.043 GB, free: 27.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3228/3.414, allocations: 9.192 MB / 1.052 GB, free: 92.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02538/3.439, allocations: 18.32 MB / 1.07 GB, free: 80.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02498/3.464, allocations: 12.73 MB / 1.082 GB, free: 80.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005389/3.465, allocations: 93.06 kB / 1.082 GB, free: 80.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.09564/3.56, allocations: 34.74 MB / 1.116 GB, free: 77.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003523/3.561, allocations: 146.2 kB / 1.117 GB, free: 77.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06515/3.626, allocations: 22.96 MB / 1.139 GB, free: 70.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04481/3.671, allocations: 10.6 MB / 1.149 GB, free: 68.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01772/3.688, allocations: 3.918 MB / 1.153 GB, free: 68.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07165/3.76, allocations: 49.56 MB / 1.202 GB, free: 26.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02169/3.782, allocations: 1.798 MB / 1.203 GB, free: 25.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004209/3.786, allocations: 0.9749 MB / 1.204 GB, free: 24.85 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.006106/3.792, allocations: 1.308 MB / 1.206 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00253/3.795, allocations: 0.8821 MB / 1.206 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4014/4.196, allocations: 28.86 MB / 1.235 GB, free: 75.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08308/4.279, allocations: 27.1 MB / 1.261 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.989e-05/4.28, allocations: 26.12 kB / 1.261 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/4.28, allocations: 29.97 kB / 1.261 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1584/4.438, allocations: 63.16 MB / 1.323 GB, free: 60.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.309e-05/4.438, allocations: 2.562 kB / 1.323 GB, free: 60.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006367/4.445, allocations: 1.016 MB / 1.324 GB, free: 60.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1023/4.547, allocations: 15.68 MB / 1.339 GB, free: 54.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002826/4.55, allocations: 179.5 kB / 1.339 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1052/4.655, allocations: 64.65 MB / 1.402 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3605/5.016, allocations: 24.54 MB / 1.426 GB, free: 80.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1107/5.126, allocations: 41.05 MB / 1.466 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/5.129, allocations: 0.9457 MB / 1.467 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003362/5.133, allocations: 132.8 kB / 1.467 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01021/5.143, allocations: 0.9058 MB / 1.468 GB, free: 78.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002685/5.146, allocations: 453.6 kB / 1.469 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001268/5.147, allocations: 181.7 kB / 1.469 GB, free: 78.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01326/5.16, allocations: 5.752 MB / 1.475 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.7e-07/5.16, allocations: 2.031 kB / 1.475 GB, free: 77.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.03937/5.2, allocations: 4.414 MB / 1.479 GB, free: 77.89 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.002939/5.203, allocations: 283.4 kB / 1.479 GB, free: 77.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.06782/5.271, allocations: 22.59 MB / 1.501 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/5.271, allocations: 2.531 kB / 1.501 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02443/5.295, allocations: 11.47 MB / 1.512 GB, free: 64.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008721/5.304, allocations: 1.33 MB / 1.514 GB, free: 64.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08347/5.387, allocations: 33.37 MB / 1.546 GB, free: 36.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02347/5.411, allocations: 9.417 MB / 1.556 GB, free: 29.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005522/5.416, allocations: 0.8006 MB / 1.556 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of SimCode: time 2.107e-06/5.416, allocations: 4 kB / 1.556 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of Templates: time 2.713/8.13, allocations: 0.8523 GB / 2.409 GB, free: 102.8 MB / 0.5261 GB