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.3_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.565e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3233, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.5057, allocations: 117.3 MB / 499.6 MB, free: 7.113 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.506, allocations: 79.97 kB / 499.6 MB, free: 7.035 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.05/1.556, allocations: 230.5 MB / 0.713 GB, free: 8.285 MB / 0.4949 GB Notification: Performance of FrontEnd: time 8.525e-06/1.556, allocations: 0 / 0.713 GB, free: 8.285 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0007415/1.557, allocations: 283.9 kB / 0.7133 GB, free: 8.008 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4612 * Number of variables: 4612 Notification: Performance of Generate backend data structure: time 0.6973/2.255, allocations: 13.77 MB / 0.7267 GB, free: 48.27 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/2.255, allocations: 12.7 kB / 0.7267 GB, free: 48.27 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05873/2.313, allocations: 10.93 MB / 0.7374 GB, free: 47.41 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04445/2.358, allocations: 15.53 MB / 0.7526 GB, free: 46.75 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001196/2.359, allocations: 1.093 MB / 0.7536 GB, free: 46.71 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005572/2.365, allocations: 1.446 MB / 0.755 GB, free: 46.7 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08387/2.449, allocations: 31.83 MB / 0.7861 GB, free: 40.27 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007388/2.449, allocations: 153.4 kB / 0.7863 GB, free: 40.26 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004841/2.454, allocations: 0.6701 MB / 0.7869 GB, free: 40.26 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004163/2.458, allocations: 2.335 MB / 0.7892 GB, free: 40.23 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06752/2.526, allocations: 25.08 MB / 0.8137 GB, free: 36.39 MB / 0.4949 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.5947/3.121, allocations: 130.7 MB / 0.9413 GB, free: 38.05 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04683/3.168, allocations: 12.32 MB / 0.9533 GB, free: 37.39 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0096/3.177, allocations: 5.749 MB / 0.9589 GB, free: 37.34 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005038/3.182, allocations: 4.839 MB / 0.9637 GB, free: 33.35 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.974e-05/3.182, allocations: 80.42 kB / 0.9637 GB, free: 33.31 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=435): time 1.036e-05/3.182, allocations: 0 / 0.9637 GB, free: 33.31 MB / 0.5574 GB Notification: Performance of matching and sorting (n=569): time 0.469/3.651, allocations: 110.7 MB / 1.072 GB, free: 11.49 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04232/3.694, allocations: 24.76 MB / 1.096 GB, free: 5.699 MB / 0.5731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02046/3.714, allocations: 8.353 MB / 1.104 GB, free: 13.42 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.00138/3.716, allocations: 116.7 kB / 1.104 GB, free: 13.3 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00996/3.726, allocations: 8.861 MB / 1.113 GB, free: 4.457 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004139/3.73, allocations: 2.193 MB / 1.115 GB, free: 2.281 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002099/3.732, allocations: 323.8 kB / 1.115 GB, free: 1.969 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001509/3.734, allocations: 0.9881 MB / 1.116 GB, free: 0.9727 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02043/3.754, allocations: 9.223 MB / 1.125 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02993/3.784, allocations: 18.34 MB / 1.143 GB, free: 0.9961 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02692/3.811, allocations: 12.77 MB / 1.156 GB, free: 4.453 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002957/3.811, allocations: 92 kB / 1.156 GB, free: 4.363 MB / 0.6356 GB Notification: Performance of matching and sorting (n=2104) (initialization): time 0.4576/4.269, allocations: 35.45 MB / 1.19 GB, free: 169.9 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000238/4.269, allocations: 145 kB / 1.191 GB, free: 169.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06555/4.335, allocations: 23.29 MB / 1.213 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05045/4.385, allocations: 10.93 MB / 1.224 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01766/4.403, allocations: 3.861 MB / 1.228 GB, free: 169.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07929/4.482, allocations: 51.24 MB / 1.278 GB, free: 153.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02246/4.505, allocations: 1.809 MB / 1.28 GB, free: 153.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003641/4.509, allocations: 0.9783 MB / 1.281 GB, free: 153.5 MB / 0.6512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1478 * Number of states: 0 () * Number of discrete variables: 78 (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 (1928): * Single equations (assignments): 1899 * 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.005158/4.514, allocations: 1.305 MB / 1.282 GB, free: 152.8 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002466/4.516, allocations: 0.8799 MB / 1.283 GB, free: 152.8 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.133/4.649, allocations: 28.87 MB / 1.311 GB, free: 144.8 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08062/4.73, allocations: 27.09 MB / 1.337 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.609e-05/4.73, allocations: 24 kB / 1.337 GB, free: 133.7 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/4.73, allocations: 31.89 kB / 1.337 GB, free: 133.7 MB / 0.6512 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.1471/4.877, allocations: 63.17 MB / 1.399 GB, free: 70.18 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.591e-05/4.877, allocations: 4 kB / 1.399 GB, free: 70.17 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006674/4.884, allocations: 1.014 MB / 1.4 GB, free: 69.16 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4201/5.304, allocations: 15.67 MB / 1.415 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001698/5.306, allocations: 181.5 kB / 1.416 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1082/5.414, allocations: 64.64 MB / 1.479 GB, free: 158.9 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04106/5.455, allocations: 24.55 MB / 1.503 GB, free: 148.5 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1559/5.611, allocations: 41.05 MB / 1.543 GB, free: 134.7 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/5.614, allocations: 0.9521 MB / 1.544 GB, free: 134.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003263/5.618, allocations: 126.1 kB / 1.544 GB, free: 134.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01048/5.628, allocations: 0.9096 MB / 1.545 GB, free: 134.4 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002672/5.631, allocations: 451.8 kB / 1.545 GB, free: 134.3 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001231/5.632, allocations: 187.5 kB / 1.545 GB, free: 134.3 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.0133/5.645, allocations: 5.77 MB / 1.551 GB, free: 132.3 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.25e-06/5.645, allocations: 0 / 1.551 GB, free: 132.3 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.02199/5.667, allocations: 4.432 MB / 1.555 GB, free: 131.9 MB / 0.6512 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 (412): * Single equations (assignments): 397 * 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.001759/5.669, allocations: 299.6 kB / 1.556 GB, free: 131.8 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.04302/5.712, allocations: 23.04 MB / 1.578 GB, free: 118.3 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 8.68e-06/5.712, allocations: 1.594 kB / 1.578 GB, free: 118.3 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.0228/5.735, allocations: 11.47 MB / 1.589 GB, free: 108.3 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008569/5.744, allocations: 1.347 MB / 1.591 GB, free: 107.2 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07408/5.818, allocations: 31.8 MB / 1.622 GB, free: 79.57 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0211/5.839, allocations: 9.441 MB / 1.631 GB, free: 72.77 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.01942/5.858, allocations: 5.066 MB / 1.636 GB, free: 69.73 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004396/5.863, allocations: 0.689 MB / 1.636 GB, free: 69.15 MB / 0.6512 GB Notification: Performance of SimCode: time 1.853e-06/5.863, allocations: 2 kB / 1.636 GB, free: 69.15 MB / 0.6512 GB Notification: Performance of Templates: time 0.7992/6.662, allocations: 171.7 MB / 1.804 GB, free: 128.9 MB / 0.6512 GB