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_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.689e-05, allocations: 4 kB / 348.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3334, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.5282, allocations: 118.6 MB / 0.5165 GB, free: 3.906 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5285, allocations: 79.95 kB / 0.5166 GB, free: 3.828 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58/2.109, allocations: 221.4 MB / 0.7328 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.524e-06/2.109, allocations: 0 / 0.7328 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007387/2.11, allocations: 270.2 kB / 0.733 GB, free: 48.96 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.05796/2.168, allocations: 13.33 MB / 0.746 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/2.168, allocations: 7.312 kB / 0.746 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0566/2.224, allocations: 10.81 MB / 0.7566 GB, free: 43.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04188/2.266, allocations: 14.64 MB / 0.7709 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/2.267, allocations: 1.037 MB / 0.7719 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005336/2.273, allocations: 1.39 MB / 0.7733 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08815/2.361, allocations: 30.43 MB / 0.803 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008306/2.362, allocations: 147.8 kB / 0.8031 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005032/2.367, allocations: 0.639 MB / 0.8037 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003768/2.371, allocations: 2.145 MB / 0.8058 GB, free: 36.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06378/2.434, allocations: 23.74 MB / 0.829 GB, free: 33.13 MB / 0.5105 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.6452/3.08, allocations: 126.1 MB / 0.9522 GB, free: 35.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0487/3.128, allocations: 11.83 MB / 0.9637 GB, free: 34.82 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009125/3.138, allocations: 5.535 MB / 0.9691 GB, free: 34.77 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005043/3.143, allocations: 4.824 MB / 0.9739 GB, free: 30.77 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.318e-05/3.143, allocations: 82.06 kB / 0.9739 GB, free: 30.73 MB / 0.573 GB Notification: Performance of pre-optimization done (n=390): time 9.985e-06/3.143, allocations: 0 / 0.9739 GB, free: 30.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=522): time 0.397/3.54, allocations: 103.9 MB / 1.075 GB, free: 11.9 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04646/3.586, allocations: 24.74 MB / 1.1 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02023/3.607, allocations: 8.019 MB / 1.107 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/3.608, allocations: 101.1 kB / 1.107 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.009253/3.617, allocations: 8.481 MB / 1.116 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003949/3.621, allocations: 2.024 MB / 1.118 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/3.623, allocations: 303 kB / 1.118 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.001478/3.625, allocations: 0.9585 MB / 1.119 GB, free: 5.219 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02073/3.646, allocations: 8.901 MB / 1.128 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02886/3.674, allocations: 17.62 MB / 1.145 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02608/3.701, allocations: 12.29 MB / 1.157 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003085/3.701, allocations: 88 kB / 1.157 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1992) (initialization): time 0.5102/4.211, allocations: 34.43 MB / 1.191 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/4.211, allocations: 136.5 kB / 1.191 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06444/4.276, allocations: 22.78 MB / 1.213 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04926/4.325, allocations: 10.9 MB / 1.224 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01625/4.341, allocations: 3.642 MB / 1.227 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08358/4.425, allocations: 51.23 MB / 1.277 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02067/4.446, allocations: 1.76 MB / 1.279 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003455/4.449, allocations: 0.9295 MB / 1.28 GB, free: 138.2 MB / 0.6511 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.004741/4.454, allocations: 1.258 MB / 1.281 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002242/4.456, allocations: 0.8395 MB / 1.282 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/4.461, allocations: 1.535 MB / 1.283 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08226/4.543, allocations: 26.57 MB / 1.309 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.804e-05/4.543, allocations: 26.38 kB / 1.309 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/4.543, allocations: 24.28 kB / 1.309 GB, free: 129.4 MB / 0.6511 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.1452/4.689, allocations: 61.43 MB / 1.369 GB, free: 78.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.934e-05/4.689, allocations: 6.812 kB / 1.369 GB, free: 78.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00581/4.695, allocations: 0.9171 MB / 1.37 GB, free: 77.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06411/4.759, allocations: 15.68 MB / 1.386 GB, free: 61.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/4.76, allocations: 163.4 kB / 1.386 GB, free: 61.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5401/5.3, allocations: 64.65 MB / 1.449 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06423/5.365, allocations: 24.54 MB / 1.473 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1145/5.479, allocations: 40.02 MB / 1.512 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003016/5.482, allocations: 0.9119 MB / 1.513 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003332/5.486, allocations: 127.8 kB / 1.513 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/5.496, allocations: 0.8802 MB / 1.514 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002739/5.499, allocations: 422.9 kB / 1.514 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00145/5.5, allocations: 171.3 kB / 1.514 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.01394/5.514, allocations: 5.524 MB / 1.52 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.187e-06/5.514, allocations: 0 / 1.52 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02158/5.536, allocations: 4.284 MB / 1.524 GB, free: 123.5 MB / 0.6511 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.001803/5.538, allocations: 283.7 kB / 1.524 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.04192/5.58, allocations: 22.29 MB / 1.546 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/5.58, allocations: 0 / 1.546 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0221/5.602, allocations: 11.16 MB / 1.557 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008689/5.611, allocations: 1.358 MB / 1.558 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07138/5.682, allocations: 30.42 MB / 1.588 GB, free: 76.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02087/5.703, allocations: 9.033 MB / 1.597 GB, free: 69.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.01899/5.722, allocations: 4.825 MB / 1.601 GB, free: 66.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004188/5.726, allocations: 0.6452 MB / 1.602 GB, free: 66.33 MB / 0.6511 GB Notification: Performance of SimCode: time 1.798e-06/5.726, allocations: 0 / 1.602 GB, free: 66.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.7954/6.522, allocations: 172.9 MB / 1.771 GB, free: 110.4 MB / 0.6511 GB