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 2.006/2.006, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.997e-05, allocations: 4 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3853, allocations: 48.69 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.1551/0.5405, allocations: 100.2 MB / 425 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06761/0.6082, allocations: 21.93 MB / 447 MB, free: 5.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0255/0.6337, allocations: 0.5923 MB / 447.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02237/0.6562, allocations: 5.486 MB / 453 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05457/0.7108, allocations: 13.76 MB / 466.8 MB, free: 1.176 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01296/0.7238, allocations: 1.927 MB / 468.7 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4489/1.173, allocations: 26.74 MB / 495.5 MB, free: 16.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04039/1.213, allocations: 20.52 MB / 0.5039 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005741/1.219, allocations: 2.158 MB / 0.506 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00787/1.227, allocations: 3.549 MB / 0.5095 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/1.233, allocations: 1.285 MB / 0.5107 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003425/1.236, allocations: 314.5 kB / 0.511 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007933/1.244, allocations: 4.954 MB / 0.5159 GB, free: 14.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005518/1.25, allocations: 0.8127 MB / 0.5167 GB, free: 14.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02671/1.276, allocations: 20.26 MB / 0.5365 GB, free: 12.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/1.276, allocations: 0 / 0.5365 GB, free: 12.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.867e-06/1.276, allocations: 0 / 0.5365 GB, free: 12.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008255/1.277, allocations: 0 / 0.5365 GB, free: 12.88 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.04652/1.324, allocations: 12.28 MB / 0.5484 GB, free: 1.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.324, allocations: 8.031 kB / 0.5485 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5338/1.858, allocations: 28.71 MB / 0.5765 GB, free: 5.871 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04942/1.907, allocations: 9.713 MB / 0.586 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001702/1.909, allocations: 0.8807 MB / 0.5868 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01193/1.921, allocations: 1.521 MB / 0.5883 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1115/2.032, allocations: 31.83 MB / 0.6194 GB, free: 5.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000739/2.033, allocations: 113.4 kB / 0.6195 GB, free: 5.527 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005939/2.039, allocations: 0.5292 MB / 0.62 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01184/2.051, allocations: 4.345 MB / 0.6243 GB, free: 1.879 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09355/2.145, allocations: 26.31 MB / 0.65 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.82/2.965, allocations: 110.6 MB / 0.758 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08503/3.05, allocations: 12.68 MB / 0.7703 GB, free: 128 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007315/3.057, allocations: 4.838 MB / 0.7751 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/3.057, allocations: 85.36 kB / 0.7751 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=435): time 9.858e-06/3.057, allocations: 0 / 0.7751 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=568): time 1.383/4.44, allocations: 134.5 MB / 0.9065 GB, free: 200.8 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05817/4.499, allocations: 25.91 MB / 0.9318 GB, free: 186.8 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02287/4.521, allocations: 9.201 MB / 0.9408 GB, free: 182.9 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.001743/4.523, allocations: 111.5 kB / 0.9409 GB, free: 182.8 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.007456/4.531, allocations: 8.833 MB / 0.9495 GB, free: 176.1 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004299/4.535, allocations: 2.181 MB / 0.9517 GB, free: 174.2 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003125/4.538, allocations: 328.1 kB / 0.952 GB, free: 174 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.001781/4.54, allocations: 0.9823 MB / 0.9529 GB, free: 173.2 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0238/4.564, allocations: 9.586 MB / 0.9623 GB, free: 168.3 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02858/4.593, allocations: 18.74 MB / 0.9806 GB, free: 147.8 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02894/4.622, allocations: 13 MB / 0.9933 GB, free: 134.9 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002962/4.622, allocations: 95.95 kB / 0.9934 GB, free: 134.8 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.1296/4.752, allocations: 37.37 MB / 1.03 GB, free: 97.28 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/4.752, allocations: 144 kB / 1.03 GB, free: 97.14 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09383/4.846, allocations: 24.18 MB / 1.054 GB, free: 72.79 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06906/4.915, allocations: 11.66 MB / 1.065 GB, free: 61.09 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02392/4.939, allocations: 3.856 MB / 1.069 GB, free: 57.22 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4638/5.403, allocations: 54.6 MB / 1.122 GB, free: 165.5 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02804/5.431, allocations: 1.789 MB / 1.124 GB, free: 165.2 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003959/5.435, allocations: 0.9665 MB / 1.125 GB, free: 165.1 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1467 * 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 (1918): * Single equations (assignments): 1889 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 8 * 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: 2 {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: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01673/5.452, allocations: 6.101 MB / 1.131 GB, free: 162.5 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003062/5.455, allocations: 0.884 MB / 1.132 GB, free: 162.5 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1357/5.59, allocations: 29.47 MB / 1.16 GB, free: 152.6 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.12/5.71, allocations: 27.69 MB / 1.187 GB, free: 125 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001134/5.711, allocations: 28.92 kB / 1.187 GB, free: 125 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001796/5.711, allocations: 31.78 kB / 1.187 GB, free: 125 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2031/5.914, allocations: 64.01 MB / 1.25 GB, free: 60.59 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001014/5.914, allocations: 4 kB / 1.25 GB, free: 60.59 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01007/5.924, allocations: 1.055 MB / 1.251 GB, free: 59.54 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.104/6.028, allocations: 15.92 MB / 1.267 GB, free: 43.6 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002376/6.03, allocations: 176.7 kB / 1.267 GB, free: 43.43 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5298/6.56, allocations: 68.56 MB / 1.334 GB, free: 150.8 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06238/6.623, allocations: 25.71 MB / 1.359 GB, free: 128.9 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1529/6.776, allocations: 41.65 MB / 1.399 GB, free: 87.58 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003295/6.779, allocations: 0.994 MB / 1.4 GB, free: 87 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004525/6.784, allocations: 131.9 kB / 1.401 GB, free: 86.88 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01569/6.799, allocations: 0.893 MB / 1.401 GB, free: 85.98 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003511/6.803, allocations: 446.7 kB / 1.402 GB, free: 85.55 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001423/6.804, allocations: 185.4 kB / 1.402 GB, free: 85.37 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.01554/6.82, allocations: 6.468 MB / 1.408 GB, free: 78.95 MB / 0.5107 GB Notification: Performance of sort global known variables: time 8.92e-07/6.82, allocations: 0 / 1.408 GB, free: 78.95 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.02438/6.844, allocations: 4.493 MB / 1.413 GB, free: 74.47 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (411): * Single equations (assignments): 396 * 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.002432/6.847, allocations: 296.8 kB / 1.413 GB, free: 74.19 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.05714/6.904, allocations: 24.27 MB / 1.437 GB, free: 49.88 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/6.904, allocations: 4 kB / 1.437 GB, free: 49.88 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.03429/6.938, allocations: 11.92 MB / 1.448 GB, free: 37.79 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01185/6.95, allocations: 1.35 MB / 1.45 GB, free: 36.46 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4368/7.387, allocations: 40.17 MB / 1.489 GB, free: 156.2 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02395/7.411, allocations: 9.422 MB / 1.498 GB, free: 155.1 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 0.02401/7.435, allocations: 5.078 MB / 1.503 GB, free: 154.8 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005734/7.441, allocations: 0.7098 MB / 1.504 GB, free: 154.8 MB / 0.5107 GB Notification: Performance of SimCode: time 1.152e-06/7.441, allocations: 0 / 1.504 GB, free: 154.8 MB / 0.5107 GB Notification: Performance of Templates: time 0.7866/8.228, allocations: 176.8 MB / 1.676 GB, free: 157.9 MB / 0.5107 GB