Running command: translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.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.|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universalSpherical.rRod_0.1.|universalSpherical.rRod_0.2.|universalSpherical.rRod_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 270 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.43e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4641/0.575, allocations: 122.9 MB / 0.5207 GB, free: 13.13 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5753, allocations: 79.95 kB / 0.5208 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074/1.649, allocations: 221.8 MB / 0.7374 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.965e-06/1.649, allocations: 0 / 0.7374 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006411/1.65, allocations: 272 kB / 0.7377 GB, free: 66.04 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: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.05614/1.706, allocations: 14.06 MB / 0.7514 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.706, allocations: 8.031 kB / 0.7514 GB, free: 51.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05354/1.76, allocations: 10.38 MB / 0.7615 GB, free: 41.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03726/1.797, allocations: 13.27 MB / 0.7745 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/1.798, allocations: 1.043 MB / 0.7755 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005378/1.803, allocations: 1.378 MB / 0.7769 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07956/1.883, allocations: 31.13 MB / 0.8073 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007899/1.884, allocations: 146.7 kB / 0.8074 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0051/1.889, allocations: 0.6287 MB / 0.808 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004695/1.894, allocations: 2.358 MB / 0.8103 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4115/2.305, allocations: 25.1 MB / 0.8348 GB, free: 79.29 MB / 0.5261 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.1752/2.48, allocations: 126.9 MB / 0.9587 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06107/2.542, allocations: 12.73 MB / 0.9712 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01132/2.553, allocations: 6.574 MB / 0.9776 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0679/2.621, allocations: 30.34 MB / 1.007 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.686e-05/2.621, allocations: 78.8 kB / 1.007 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 8.297e-06/2.621, allocations: 0 / 1.007 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of matching and sorting (n=508): time 0.8215/3.443, allocations: 102.8 MB / 1.108 GB, free: 125.7 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.053/3.496, allocations: 23.06 MB / 1.13 GB, free: 115 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01847/3.514, allocations: 7.951 MB / 1.138 GB, free: 112.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001272/3.515, allocations: 98.92 kB / 1.138 GB, free: 112.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.006287/3.522, allocations: 8.561 MB / 1.146 GB, free: 105.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003061/3.525, allocations: 1.98 MB / 1.148 GB, free: 104.1 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/3.527, allocations: 303 kB / 1.149 GB, free: 103.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001222/3.528, allocations: 0.9566 MB / 1.15 GB, free: 103.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0165/3.545, allocations: 8.93 MB / 1.158 GB, free: 95.97 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02127/3.566, allocations: 17.71 MB / 1.176 GB, free: 75.43 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02173/3.588, allocations: 12.35 MB / 1.188 GB, free: 65.12 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000249/3.588, allocations: 95.23 kB / 1.188 GB, free: 65.03 MB / 0.573 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.08455/3.673, allocations: 33.07 MB / 1.22 GB, free: 34.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002216/3.673, allocations: 143.3 kB / 1.22 GB, free: 34.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05577/3.729, allocations: 21.41 MB / 1.241 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4126/4.141, allocations: 9.286 MB / 1.25 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01683/4.158, allocations: 3.717 MB / 1.254 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06759/4.226, allocations: 47.05 MB / 1.3 GB, free: 96.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0207/4.247, allocations: 1.651 MB / 1.301 GB, free: 96.08 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00364/4.25, allocations: 0.9364 MB / 1.302 GB, free: 96.08 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1423 * Number of states: 0 () * Number of discrete variables: 82 (init2.arrow.arrow.arrowLine.twoHeadedArrow,init2.arrow.headAtOrigin,init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrow.arrow.arrowLine.twoHeadedArrow,init.arrow.headAtOrigin,init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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],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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (1850): * Single equations (assignments): 1823 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 5 {1,1,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005157/4.256, allocations: 1.259 MB / 1.303 GB, free: 95.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002167/4.258, allocations: 0.8286 MB / 1.304 GB, free: 95.84 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07876/4.337, allocations: 26.83 MB / 1.331 GB, free: 89.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08198/4.419, allocations: 25.13 MB / 1.355 GB, free: 82.43 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.849e-05/4.419, allocations: 21.22 kB / 1.355 GB, free: 82.43 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/4.419, allocations: 22.27 kB / 1.355 GB, free: 82.43 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.1874/4.606, allocations: 56.74 MB / 1.411 GB, free: 36.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-05/4.606, allocations: 6.094 kB / 1.411 GB, free: 36.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008978/4.615, allocations: 0.9859 MB / 1.411 GB, free: 35.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06412/4.68, allocations: 14 MB / 1.425 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001531/4.681, allocations: 151.8 kB / 1.425 GB, free: 21.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.614/5.295, allocations: 59.19 MB / 1.483 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04109/5.336, allocations: 22.84 MB / 1.505 GB, free: 108.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09468/5.431, allocations: 38.26 MB / 1.543 GB, free: 99.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002903/5.434, allocations: 0.8845 MB / 1.544 GB, free: 99.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003407/5.437, allocations: 115.2 kB / 1.544 GB, free: 98.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01018/5.448, allocations: 0.8325 MB / 1.545 GB, free: 98.91 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002616/5.45, allocations: 395.1 kB / 1.545 GB, free: 98.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0012/5.452, allocations: 165.8 kB / 1.545 GB, free: 98.83 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01322/5.465, allocations: 5.469 MB / 1.55 GB, free: 96.94 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.18e-06/5.465, allocations: 0 / 1.55 GB, free: 96.94 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02224/5.487, allocations: 4.144 MB / 1.554 GB, free: 96.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (384): * Single equations (assignments): 369 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/5.489, allocations: 274.7 kB / 1.555 GB, free: 96.47 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0415/5.53, allocations: 21.92 MB / 1.576 GB, free: 87.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/5.53, allocations: 5.406 kB / 1.576 GB, free: 87.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02097/5.551, allocations: 10.69 MB / 1.587 GB, free: 78.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008379/5.56, allocations: 1.296 MB / 1.588 GB, free: 77.09 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0691/5.629, allocations: 29.77 MB / 1.617 GB, free: 51.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02051/5.65, allocations: 9.075 MB / 1.626 GB, free: 44.56 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01848/5.668, allocations: 4.87 MB / 1.631 GB, free: 41.35 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004531/5.673, allocations: 0.6512 MB / 1.631 GB, free: 40.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.794e-06/5.673, allocations: 0 / 1.631 GB, free: 40.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.7885/6.461, allocations: 166.4 MB / 1.794 GB, free: 98.32 MB / 0.6042 GB