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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.908e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.5355/0.6657, allocations: 102.9 MB / 0.5018 GB, free: 404 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.07041/0.7362, allocations: 22.45 MB / 0.5237 GB, free: 9.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.027/0.7632, allocations: 0.6157 MB / 0.5243 GB, free: 9.258 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02119/0.7845, allocations: 5.564 MB / 0.5298 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05727/0.8418, allocations: 14.15 MB / 0.5436 GB, free: 5.477 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.8534, allocations: 1.911 MB / 0.5454 GB, free: 3.562 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.6074/1.461, allocations: 72.16 MB / 0.6159 GB, free: 68.73 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0459/1.507, allocations: 20.37 MB / 0.6358 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00549/1.512, allocations: 2.037 MB / 0.6378 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007556/1.52, allocations: 3.268 MB / 0.641 GB, free: 67.12 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005207/1.525, allocations: 1.29 MB / 0.6422 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003203/1.528, allocations: 285.7 kB / 0.6425 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.007652/1.536, allocations: 4.725 MB / 0.6471 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004661/1.541, allocations: 0.778 MB / 0.6479 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02455/1.565, allocations: 19.29 MB / 0.6667 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/1.565, allocations: 0 / 0.6667 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.495e-06/1.566, allocations: 0 / 0.6667 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0009695/1.566, allocations: 0 / 0.6667 GB, free: 54.34 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.04092/1.607, allocations: 11.82 MB / 0.6783 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.607, allocations: 8.031 kB / 0.6783 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5338/2.141, allocations: 28.71 MB / 0.7063 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02821/2.17, allocations: 8.915 MB / 0.715 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008835/2.17, allocations: 0.8533 MB / 0.7159 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007302/2.178, allocations: 1.479 MB / 0.7173 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09448/2.272, allocations: 30.31 MB / 0.7469 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000729/2.273, allocations: 117.2 kB / 0.747 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004791/2.278, allocations: 0.5048 MB / 0.7475 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0103/2.288, allocations: 4.034 MB / 0.7514 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08843/2.377, allocations: 24.84 MB / 0.7757 GB, free: 12.34 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.9468/3.324, allocations: 106.2 MB / 0.8794 GB, free: 172 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06443/3.388, allocations: 12.09 MB / 0.8912 GB, free: 171.3 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005925/3.394, allocations: 4.822 MB / 0.8959 GB, free: 167.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/3.394, allocations: 83.3 kB / 0.896 GB, free: 167.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=390): time 8.336e-06/3.394, allocations: 0 / 0.896 GB, free: 167.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=522): time 0.7003/4.095, allocations: 125 MB / 1.018 GB, free: 69.71 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05537/4.15, allocations: 25.89 MB / 1.043 GB, free: 42.95 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02035/4.17, allocations: 8.881 MB / 1.052 GB, free: 34.12 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001707/4.172, allocations: 105.7 kB / 1.052 GB, free: 34.01 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.006756/4.179, allocations: 8.174 MB / 1.06 GB, free: 25.84 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003979/4.183, allocations: 2.023 MB / 1.062 GB, free: 23.83 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002784/4.186, allocations: 303 kB / 1.062 GB, free: 23.54 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.001246/4.187, allocations: 0.9556 MB / 1.063 GB, free: 22.57 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02156/4.209, allocations: 9.345 MB / 1.072 GB, free: 13.22 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4125/4.621, allocations: 18.1 MB / 1.09 GB, free: 204.3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03342/4.655, allocations: 12.61 MB / 1.102 GB, free: 202.2 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006406/4.655, allocations: 88.34 kB / 1.102 GB, free: 202.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1986) (initialization): time 0.1793/4.835, allocations: 39.64 MB / 1.141 GB, free: 190.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003256/4.835, allocations: 136.2 kB / 1.141 GB, free: 190.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1324/4.968, allocations: 27.3 MB / 1.168 GB, free: 174.4 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.121/5.089, allocations: 15.58 MB / 1.183 GB, free: 158.8 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02303/5.112, allocations: 3.649 MB / 1.187 GB, free: 155.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1343/5.246, allocations: 62.78 MB / 1.248 GB, free: 91.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02719/5.273, allocations: 1.764 MB / 1.25 GB, free: 89.58 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00401/5.277, allocations: 0.9272 MB / 1.251 GB, free: 88.65 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1405 * Number of states: 0 () * Number of discrete variables: 88 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,rs3.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,rs1.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,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.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 (1810): * Single equations (assignments): 1781 * 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.01607/5.294, allocations: 5.837 MB / 1.256 GB, free: 82.89 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002655/5.296, allocations: 0.8394 MB / 1.257 GB, free: 82.5 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/5.302, allocations: 1.541 MB / 1.259 GB, free: 80.95 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.114/5.416, allocations: 27.1 MB / 1.285 GB, free: 53.79 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/5.416, allocations: 28 kB / 1.285 GB, free: 53.76 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001372/5.416, allocations: 23.91 kB / 1.285 GB, free: 53.74 MB / 0.6043 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.5938/6.01, allocations: 62.2 MB / 1.346 GB, free: 183.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.068e-05/6.01, allocations: 3.938 kB / 1.346 GB, free: 183.5 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009239/6.019, allocations: 0.9597 MB / 1.347 GB, free: 183.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09942/6.119, allocations: 15.9 MB / 1.362 GB, free: 180.9 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001801/6.12, allocations: 159.2 kB / 1.363 GB, free: 180.8 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.143/6.264, allocations: 68.6 MB / 1.43 GB, free: 120.1 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05441/6.318, allocations: 25.67 MB / 1.455 GB, free: 93.83 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1395/6.458, allocations: 40.53 MB / 1.494 GB, free: 53.61 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00355/6.461, allocations: 0.9436 MB / 1.495 GB, free: 53.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004449/6.466, allocations: 128 kB / 1.495 GB, free: 52.98 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02054/6.486, allocations: 0.8818 MB / 1.496 GB, free: 52.1 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003964/6.49, allocations: 417.5 kB / 1.497 GB, free: 51.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001828/6.492, allocations: 166.8 kB / 1.497 GB, free: 51.54 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.02089/6.513, allocations: 6.243 MB / 1.503 GB, free: 45.34 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.031e-06/6.513, allocations: 0 / 1.503 GB, free: 45.34 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.03375/6.547, allocations: 4.417 MB / 1.507 GB, free: 40.93 MB / 0.6043 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 (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.00241/6.549, allocations: 295 kB / 1.507 GB, free: 40.65 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.4458/6.995, allocations: 23.68 MB / 1.531 GB, free: 195.4 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/6.995, allocations: 0 / 1.531 GB, free: 195.4 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.03728/7.032, allocations: 11.6 MB / 1.542 GB, free: 193.9 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/7.049, allocations: 1.357 MB / 1.543 GB, free: 193.5 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1087/7.158, allocations: 40.04 MB / 1.582 GB, free: 173.6 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02289/7.181, allocations: 9.029 MB / 1.591 GB, free: 170.8 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006642/7.188, allocations: 0.7534 MB / 1.592 GB, free: 170.8 MB / 0.6043 GB Notification: Performance of SimCode: time 1.523e-06/7.188, allocations: 7.938 kB / 1.592 GB, free: 170.8 MB / 0.6043 GB Notification: Performance of Templates: time 3.184/10.37, allocations: 0.8198 GB / 2.412 GB, free: 178.9 MB / 0.6043 GB