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 2.316/2.316, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.571e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3854, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.1617/0.5471, allocations: 100.2 MB / 425 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07325/0.6204, allocations: 21.91 MB / 446.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02899/0.6495, allocations: 0.5962 MB / 447.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02171/0.6713, allocations: 5.486 MB / 453 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05718/0.7285, allocations: 13.76 MB / 466.8 MB, free: 1.281 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.7402, allocations: 1.935 MB / 468.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4324/1.173, allocations: 26.73 MB / 495.4 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04117/1.214, allocations: 20.53 MB / 0.5039 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006469/1.22, allocations: 2.15 MB / 0.506 GB, free: 14.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008871/1.229, allocations: 3.554 MB / 0.5095 GB, free: 14.44 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006356/1.236, allocations: 1.286 MB / 0.5107 GB, free: 14.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003906/1.24, allocations: 314.3 kB / 0.511 GB, free: 14.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008459/1.248, allocations: 4.957 MB / 0.5158 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005489/1.254, allocations: 0.8123 MB / 0.5166 GB, free: 14.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02805/1.282, allocations: 20.26 MB / 0.5364 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.282, allocations: 0 / 0.5364 GB, free: 12.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.327e-06/1.282, allocations: 0 / 0.5364 GB, free: 12.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009264/1.283, allocations: 0 / 0.5364 GB, free: 12.87 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.04866/1.332, allocations: 12.28 MB / 0.5484 GB, free: 1.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.109e-05/1.332, allocations: 12.03 kB / 0.5484 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5293/1.861, allocations: 28.7 MB / 0.5765 GB, free: 5.863 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03813/1.899, allocations: 9.71 MB / 0.5859 GB, free: 15.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001567/1.901, allocations: 0.8871 MB / 0.5868 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01064/1.912, allocations: 1.521 MB / 0.5883 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1398/2.051, allocations: 31.84 MB / 0.6194 GB, free: 5.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001127/2.053, allocations: 106.9 kB / 0.6195 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007197/2.06, allocations: 0.5284 MB / 0.62 GB, free: 5.371 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01668/2.077, allocations: 4.35 MB / 0.6243 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1016/2.178, allocations: 26.32 MB / 0.65 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8296/3.008, allocations: 110.6 MB / 0.7579 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06352/3.072, allocations: 12.68 MB / 0.7703 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005995/3.078, allocations: 4.828 MB / 0.775 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/3.078, allocations: 89.03 kB / 0.7751 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=435): time 8.847e-06/3.078, allocations: 0 / 0.7751 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=568): time 1.365/4.443, allocations: 134.5 MB / 0.9065 GB, free: 200.3 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05807/4.501, allocations: 25.92 MB / 0.9318 GB, free: 186.4 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02152/4.523, allocations: 9.201 MB / 0.9408 GB, free: 182.7 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.001778/4.525, allocations: 111.5 kB / 0.9409 GB, free: 182.6 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.007197/4.532, allocations: 8.541 MB / 0.9492 GB, free: 176.1 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 0.004247/4.536, allocations: 2.181 MB / 0.9513 GB, free: 174.3 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002688/4.539, allocations: 321 kB / 0.9516 GB, free: 174 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.001271/4.54, allocations: 0.9904 MB / 0.9526 GB, free: 173.2 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02274/4.563, allocations: 9.582 MB / 0.962 GB, free: 168.4 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02929/4.592, allocations: 18.74 MB / 0.9803 GB, free: 148.3 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02877/4.621, allocations: 13.01 MB / 0.993 GB, free: 135.4 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003113/4.621, allocations: 92 kB / 0.9931 GB, free: 135.3 MB / 0.5106 GB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.129/4.751, allocations: 37.06 MB / 1.029 GB, free: 98.12 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/4.751, allocations: 148 kB / 1.029 GB, free: 97.98 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09199/4.843, allocations: 24.18 MB / 1.053 GB, free: 73.63 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06763/4.91, allocations: 11.66 MB / 1.064 GB, free: 61.92 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02381/4.934, allocations: 3.856 MB / 1.068 GB, free: 58.05 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4533/5.388, allocations: 54.6 MB / 1.121 GB, free: 165.2 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02796/5.416, allocations: 1.781 MB / 1.123 GB, free: 165 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004216/5.42, allocations: 0.9723 MB / 1.124 GB, free: 164.9 MB / 0.5106 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.01734/5.437, allocations: 6.102 MB / 1.13 GB, free: 162.3 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003734/5.441, allocations: 0.884 MB / 1.131 GB, free: 162.3 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1267/5.568, allocations: 29.46 MB / 1.16 GB, free: 153.1 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1177/5.686, allocations: 27.69 MB / 1.187 GB, free: 126 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001052/5.686, allocations: 28 kB / 1.187 GB, free: 126 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001669/5.686, allocations: 30.02 kB / 1.187 GB, free: 126 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2006/5.887, allocations: 64.03 MB / 1.249 GB, free: 61.59 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.254e-05/5.887, allocations: 4 kB / 1.249 GB, free: 61.59 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00992/5.897, allocations: 1.045 MB / 1.25 GB, free: 60.54 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09705/5.994, allocations: 15.91 MB / 1.266 GB, free: 44.62 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/5.996, allocations: 179.8 kB / 1.266 GB, free: 44.45 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.481/6.477, allocations: 68.56 MB / 1.333 GB, free: 151 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05469/6.532, allocations: 25.7 MB / 1.358 GB, free: 130.2 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1446/6.676, allocations: 41.66 MB / 1.399 GB, free: 88.79 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003471/6.68, allocations: 0.9846 MB / 1.4 GB, free: 88.22 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004719/6.684, allocations: 124 kB / 1.4 GB, free: 88.1 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01575/6.7, allocations: 0.9007 MB / 1.401 GB, free: 87.2 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003845/6.704, allocations: 457.2 kB / 1.401 GB, free: 86.76 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001748/6.706, allocations: 183.8 kB / 1.401 GB, free: 86.58 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.01552/6.721, allocations: 6.463 MB / 1.408 GB, free: 80.17 MB / 0.5106 GB Notification: Performance of sort global known variables: time 1.142e-06/6.722, allocations: 4 kB / 1.408 GB, free: 80.17 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.0233/6.745, allocations: 4.486 MB / 1.412 GB, free: 75.7 MB / 0.5106 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.002416/6.747, allocations: 297.9 kB / 1.412 GB, free: 75.41 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.06153/6.809, allocations: 24.31 MB / 1.436 GB, free: 51.07 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/6.809, allocations: 4 kB / 1.436 GB, free: 51.07 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.03362/6.843, allocations: 11.92 MB / 1.448 GB, free: 39 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01239/6.855, allocations: 1.362 MB / 1.449 GB, free: 37.66 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4478/7.303, allocations: 41.75 MB / 1.49 GB, free: 155.8 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02343/7.326, allocations: 9.426 MB / 1.499 GB, free: 154.7 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006565/7.333, allocations: 0.8183 MB / 1.5 GB, free: 154.7 MB / 0.5106 GB Notification: Performance of SimCode: time 3.486e-06/7.333, allocations: 0 / 1.5 GB, free: 154.7 MB / 0.5106 GB Notification: Performance of Templates: time 2.954/10.29, allocations: 0.8568 GB / 2.357 GB, free: 29.68 MB / 0.5106 GB