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.399/2.399, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.704e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3738, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.1674/0.5412, allocations: 100.2 MB / 463 MB, free: 9.422 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07312/0.6144, allocations: 21.95 MB / 485 MB, free: 3.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02491/0.6394, allocations: 0.5963 MB / 485.6 MB, free: 2.809 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01914/0.6586, allocations: 5.486 MB / 491.1 MB, free: 13.3 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4602/1.119, allocations: 13.75 MB / 0.493 GB, free: 3.852 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01286/1.132, allocations: 1.919 MB / 0.4949 GB, free: 3.824 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07565/1.207, allocations: 26.74 MB / 0.521 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0404/1.248, allocations: 20.52 MB / 0.541 GB, free: 12.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006161/1.254, allocations: 2.153 MB / 0.5431 GB, free: 10.72 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008463/1.263, allocations: 3.552 MB / 0.5466 GB, free: 8.082 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005857/1.269, allocations: 1.308 MB / 0.5479 GB, free: 6.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003378/1.272, allocations: 312 kB / 0.5482 GB, free: 6.688 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008947/1.281, allocations: 4.952 MB / 0.553 GB, free: 3 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004841/1.286, allocations: 0.8125 MB / 0.5538 GB, free: 2.188 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03105/1.317, allocations: 20.27 MB / 0.5736 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.317, allocations: 0 / 0.5736 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.045e-06/1.317, allocations: 4 kB / 0.5736 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008628/1.318, allocations: 0 / 0.5736 GB, free: 0.5977 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.04594/1.364, allocations: 12.27 MB / 0.5856 GB, free: 5.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/1.364, allocations: 8.031 kB / 0.5856 GB, free: 5.289 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5262/1.89, allocations: 28.81 MB / 0.6137 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03247/1.923, allocations: 9.738 MB / 0.6232 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001219/1.924, allocations: 0.8852 MB / 0.6241 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00818/1.932, allocations: 1.522 MB / 0.6256 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1074/2.04, allocations: 31.84 MB / 0.6567 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007938/2.041, allocations: 113.8 kB / 0.6568 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00517/2.046, allocations: 0.5246 MB / 0.6573 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01129/2.057, allocations: 4.348 MB / 0.6615 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09301/2.15, allocations: 26.32 MB / 0.6872 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.866/3.016, allocations: 110.7 MB / 0.7953 GB, free: 128.4 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0636/3.08, allocations: 12.69 MB / 0.8077 GB, free: 115.6 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005908/3.086, allocations: 4.836 MB / 0.8124 GB, free: 110 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/3.086, allocations: 81.52 kB / 0.8125 GB, free: 109.9 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=435): time 9.848e-06/3.086, allocations: 3.984 kB / 0.8125 GB, free: 109.9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=568): time 1.576/4.662, allocations: 134.5 MB / 0.9439 GB, free: 201.5 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05689/4.719, allocations: 25.9 MB / 0.9692 GB, free: 184.3 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02332/4.742, allocations: 9.202 MB / 0.9781 GB, free: 177.8 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.002291/4.744, allocations: 111.3 kB / 0.9782 GB, free: 177.7 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.009851/4.754, allocations: 8.536 MB / 0.9866 GB, free: 169.2 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.005359/4.76, allocations: 2.186 MB / 0.9887 GB, free: 167 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003579/4.763, allocations: 324.4 kB / 0.989 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.001757/4.765, allocations: 1 MB / 0.99 GB, free: 165.7 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03095/4.796, allocations: 9.694 MB / 0.9995 GB, free: 156 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03507/4.831, allocations: 18.86 MB / 1.018 GB, free: 132.9 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02926/4.861, allocations: 13.13 MB / 1.031 GB, free: 119.8 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003499/4.861, allocations: 92 kB / 1.031 GB, free: 119.7 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.1816/5.043, allocations: 40.74 MB / 1.071 GB, free: 78.86 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003396/5.043, allocations: 144 kB / 1.071 GB, free: 78.72 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.143/5.186, allocations: 27.89 MB / 1.098 GB, free: 50.65 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4901/5.676, allocations: 15.58 MB / 1.113 GB, free: 175.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02499/5.701, allocations: 3.862 MB / 1.117 GB, free: 175.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1399/5.841, allocations: 62.83 MB / 1.178 GB, free: 147.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02859/5.87, allocations: 1.8 MB / 1.18 GB, free: 146.1 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004143/5.874, allocations: 0.9698 MB / 1.181 GB, free: 145.2 MB / 0.5419 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): 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.01736/5.892, allocations: 6.104 MB / 1.187 GB, free: 139.9 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003741/5.895, allocations: 0.88 MB / 1.188 GB, free: 139.4 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1269/6.022, allocations: 29.46 MB / 1.217 GB, free: 111.8 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1185/6.141, allocations: 27.69 MB / 1.244 GB, free: 84.04 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/6.141, allocations: 27.95 kB / 1.244 GB, free: 84.01 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001613/6.141, allocations: 35.77 kB / 1.244 GB, free: 83.98 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6143/6.755, allocations: 64.02 MB / 1.306 GB, free: 165.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.274e-05/6.756, allocations: 4.156 kB / 1.306 GB, free: 165.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01039/6.766, allocations: 1.051 MB / 1.307 GB, free: 165.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09852/6.865, allocations: 15.9 MB / 1.323 GB, free: 165.7 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001908/6.867, allocations: 172.6 kB / 1.323 GB, free: 165.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1475/7.014, allocations: 68.56 MB / 1.39 GB, free: 129.2 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05417/7.068, allocations: 25.7 MB / 1.415 GB, free: 102.9 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1429/7.211, allocations: 41.66 MB / 1.456 GB, free: 61.49 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003737/7.215, allocations: 0.9895 MB / 1.457 GB, free: 60.96 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005231/7.22, allocations: 128 kB / 1.457 GB, free: 60.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01613/7.237, allocations: 0.9008 MB / 1.458 GB, free: 59.94 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003526/7.24, allocations: 448.8 kB / 1.458 GB, free: 59.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001931/7.242, allocations: 181 kB / 1.458 GB, free: 59.32 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01627/7.258, allocations: 6.469 MB / 1.465 GB, free: 52.91 MB / 0.5419 GB Notification: Performance of sort global known variables: time 8.02e-07/7.258, allocations: 0 / 1.465 GB, free: 52.91 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0249/7.283, allocations: 4.567 MB / 1.469 GB, free: 48.35 MB / 0.5419 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.002526/7.286, allocations: 291.9 kB / 1.469 GB, free: 48.06 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.05947/7.345, allocations: 24.54 MB / 1.493 GB, free: 23.41 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/7.345, allocations: 3.938 kB / 1.493 GB, free: 23.4 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.3972/7.743, allocations: 11.93 MB / 1.505 GB, free: 174.3 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01433/7.757, allocations: 1.367 MB / 1.506 GB, free: 174.3 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1174/7.875, allocations: 41.78 MB / 1.547 GB, free: 159.6 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02411/7.899, allocations: 9.429 MB / 1.556 GB, free: 156.6 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006879/7.906, allocations: 0.8123 MB / 1.557 GB, free: 156.6 MB / 0.5419 GB Notification: Performance of SimCode: time 2.314e-06/7.906, allocations: 0 / 1.557 GB, free: 156.6 MB / 0.5419 GB Notification: Performance of Templates: time 3.075/10.98, allocations: 0.8602 GB / 2.417 GB, free: 140.5 MB / 0.5888 GB