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_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 270.1 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.699e-05/4.724e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.563/0.6766, allocations: 118.6 MB / 0.5165 GB, free: 1.453 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.6769, allocations: 75.95 kB / 0.5166 GB, free: 1.379 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136/1.813, allocations: 221.4 MB / 0.7328 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/1.813, allocations: 0 / 0.7328 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006368/1.814, allocations: 271.9 kB / 0.733 GB, free: 70.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4369 * Number of variables: 4369 Notification: Performance of Generate backend data structure: time 0.05573/1.869, allocations: 13.33 MB / 0.7461 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.869, allocations: 12.03 kB / 0.7461 GB, free: 57.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06236/1.932, allocations: 10.82 MB / 0.7566 GB, free: 46.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0394/1.971, allocations: 14.63 MB / 0.7709 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/1.972, allocations: 1.039 MB / 0.7719 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004992/1.977, allocations: 1.394 MB / 0.7733 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0773/2.055, allocations: 30.43 MB / 0.803 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007803/2.055, allocations: 150.6 kB / 0.8032 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004708/2.06, allocations: 0.6326 MB / 0.8038 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004162/2.064, allocations: 2.15 MB / 0.8059 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8501/2.914, allocations: 23.74 MB / 0.8291 GB, free: 78.02 MB / 0.5262 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1603/3.075, allocations: 126.1 MB / 0.9522 GB, free: 15.41 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04438/3.119, allocations: 11.83 MB / 0.9638 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009567/3.129, allocations: 5.527 MB / 0.9692 GB, free: 10.08 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006215/3.135, allocations: 4.827 MB / 0.9739 GB, free: 5.914 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/3.135, allocations: 85.2 kB / 0.974 GB, free: 5.84 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=390): time 9.406e-06/3.135, allocations: 3.875 kB / 0.974 GB, free: 5.84 MB / 0.5418 GB Notification: Performance of matching and sorting (n=522): time 0.7953/3.931, allocations: 104.5 MB / 1.076 GB, free: 124.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05235/3.983, allocations: 24.74 MB / 1.1 GB, free: 115.6 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01948/4.003, allocations: 8.009 MB / 1.108 GB, free: 113.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001338/4.004, allocations: 102.3 kB / 1.108 GB, free: 113.2 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006486/4.011, allocations: 8.475 MB / 1.116 GB, free: 106.7 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003293/4.014, allocations: 2.025 MB / 1.118 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/4.016, allocations: 302.8 kB / 1.119 GB, free: 105 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001254/4.018, allocations: 0.9594 MB / 1.12 GB, free: 104.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01651/4.034, allocations: 8.902 MB / 1.128 GB, free: 101.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02183/4.056, allocations: 17.63 MB / 1.145 GB, free: 86.05 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02239/4.079, allocations: 12.29 MB / 1.157 GB, free: 81.92 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002586/4.079, allocations: 90.41 kB / 1.158 GB, free: 81.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=1992) (initialization): time 0.09168/4.171, allocations: 34.44 MB / 1.191 GB, free: 54.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002209/4.171, allocations: 136 kB / 1.191 GB, free: 54.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06294/4.234, allocations: 22.77 MB / 1.214 GB, free: 34.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04605/4.28, allocations: 10.91 MB / 1.224 GB, free: 23.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01603/4.296, allocations: 3.644 MB / 1.228 GB, free: 19.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4992/4.795, allocations: 51.21 MB / 1.278 GB, free: 99.15 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02084/4.816, allocations: 1.761 MB / 1.28 GB, free: 99.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003731/4.82, allocations: 0.9309 MB / 1.28 GB, free: 99.15 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1413 * Number of states: 0 () * Number of discrete variables: 88 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1816): * Single equations (assignments): 1787 * 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.005113/4.825, allocations: 1.242 MB / 1.282 GB, free: 98.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00225/4.827, allocations: 0.839 MB / 1.282 GB, free: 98.91 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/4.832, allocations: 1.541 MB / 1.284 GB, free: 98.81 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08137/4.913, allocations: 26.57 MB / 1.31 GB, free: 93.67 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.688e-05/4.913, allocations: 28.75 kB / 1.31 GB, free: 93.67 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/4.914, allocations: 24.33 kB / 1.31 GB, free: 93.67 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1592/5.073, allocations: 61.43 MB / 1.37 GB, free: 69.07 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.467e-05/5.073, allocations: 4 kB / 1.37 GB, free: 69.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005952/5.079, allocations: 0.9127 MB / 1.371 GB, free: 68.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0668/5.146, allocations: 15.67 MB / 1.386 GB, free: 53.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001463/5.147, allocations: 174.7 kB / 1.386 GB, free: 53.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.149/5.296, allocations: 64.65 MB / 1.449 GB, free: 4.211 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4439/5.74, allocations: 24.54 MB / 1.473 GB, free: 127 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1057/5.846, allocations: 40.02 MB / 1.513 GB, free: 125 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003107/5.849, allocations: 0.9066 MB / 1.513 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003504/5.853, allocations: 119 kB / 1.514 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/5.863, allocations: 0.878 MB / 1.514 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002668/5.866, allocations: 429.9 kB / 1.515 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001372/5.868, allocations: 166.2 kB / 1.515 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01365/5.881, allocations: 5.524 MB / 1.52 GB, free: 124.6 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2.13e-06/5.881, allocations: 0 / 1.52 GB, free: 124.6 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.02214/5.903, allocations: 4.289 MB / 1.525 GB, free: 124.4 MB / 0.6043 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 (360): * Single equations (assignments): 345 * 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.001799/5.905, allocations: 279.1 kB / 1.525 GB, free: 124.3 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.05161/5.957, allocations: 22.29 MB / 1.547 GB, free: 115.9 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/5.957, allocations: 0 / 1.547 GB, free: 115.9 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.03338/5.99, allocations: 11.15 MB / 1.557 GB, free: 111.1 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009779/6, allocations: 1.359 MB / 1.559 GB, free: 110.6 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07423/6.074, allocations: 30.43 MB / 1.588 GB, free: 88.02 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0207/6.095, allocations: 9.023 MB / 1.597 GB, free: 81.51 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.01919/6.114, allocations: 4.831 MB / 1.602 GB, free: 78.46 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004289/6.119, allocations: 0.6385 MB / 1.603 GB, free: 77.91 MB / 0.6043 GB Notification: Performance of SimCode: time 2.325e-06/6.119, allocations: 0 / 1.603 GB, free: 77.91 MB / 0.6043 GB Notification: Performance of Templates: time 0.8498/6.969, allocations: 172.9 MB / 1.771 GB, free: 112.4 MB / 0.6043 GB