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_3.2.2_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 235 MB / 247.6 MB, free: 14.61 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.511e-05/4.559e-05, allocations: 4.938 kB / 304.9 MB, free: 5.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3541, allocations: 54.85 MB / 359.8 MB, free: 2.586 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.5257, allocations: 115.1 MB / 474.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.526, allocations: 72.53 kB / 475 MB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9974/1.523, allocations: 230.1 MB / 0.6885 GB, free: 15.26 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.066e-06/1.523, allocations: 0 / 0.6885 GB, free: 15.26 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000783/1.524, allocations: 287.9 kB / 0.6888 GB, free: 14.98 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.06304/1.587, allocations: 14.49 MB / 0.7029 GB, free: 396 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.587, allocations: 12.03 kB / 0.7029 GB, free: 384 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6518/2.239, allocations: 10.5 MB / 0.7132 GB, free: 38.92 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04247/2.282, allocations: 14 MB / 0.7269 GB, free: 38.4 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001142/2.283, allocations: 1.084 MB / 0.7279 GB, free: 38.37 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005803/2.289, allocations: 1.441 MB / 0.7293 GB, free: 38.36 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08878/2.378, allocations: 32.51 MB / 0.7611 GB, free: 32.36 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008673/2.378, allocations: 137.7 kB / 0.7612 GB, free: 32.35 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005443/2.384, allocations: 0.6628 MB / 0.7619 GB, free: 32.35 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004607/2.389, allocations: 2.541 MB / 0.7644 GB, free: 32.32 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07065/2.459, allocations: 26.44 MB / 0.7902 GB, free: 27.55 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9467/3.406, allocations: 131.3 MB / 0.9184 GB, free: 29.02 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04961/3.456, allocations: 12.85 MB / 0.931 GB, free: 28.35 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01121/3.467, allocations: 6.789 MB / 0.9376 GB, free: 28.29 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0586/3.525, allocations: 31.02 MB / 0.9679 GB, free: 21.06 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.657e-05/3.526, allocations: 85.42 kB / 0.968 GB, free: 21.02 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=424): time 1.058e-05/3.526, allocations: 0 / 0.968 GB, free: 21.02 MB / 0.5263 GB Notification: Performance of matching and sorting (n=554): time 0.4113/3.937, allocations: 106.4 MB / 1.072 GB, free: 11.09 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04558/3.983, allocations: 23.08 MB / 1.094 GB, free: 3.289 MB / 0.5731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01926/4.002, allocations: 8.261 MB / 1.103 GB, free: 11.09 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 0.001296/4.003, allocations: 104.3 kB / 1.103 GB, free: 10.98 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.009361/4.013, allocations: 8.655 MB / 1.111 GB, free: 2.324 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.003863/4.016, allocations: 2.138 MB / 1.113 GB, free: 208 kB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001973/4.018, allocations: 320.8 kB / 1.113 GB, free: 15.89 MB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.001393/4.02, allocations: 0.9926 MB / 1.114 GB, free: 14.89 MB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02024/4.04, allocations: 9.231 MB / 1.123 GB, free: 5.652 MB / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3858/4.426, allocations: 18.39 MB / 1.141 GB, free: 150.4 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02613/4.452, allocations: 12.81 MB / 1.154 GB, free: 150.2 MB / 0.6044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005375/4.453, allocations: 92.53 kB / 1.154 GB, free: 150.2 MB / 0.6044 GB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.09121/4.544, allocations: 33.77 MB / 1.187 GB, free: 149.2 MB / 0.6044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002926/4.544, allocations: 146.2 kB / 1.187 GB, free: 149.2 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06028/4.605, allocations: 21.9 MB / 1.209 GB, free: 147.3 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04161/4.646, allocations: 9.318 MB / 1.218 GB, free: 145.6 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01896/4.665, allocations: 3.943 MB / 1.221 GB, free: 145.1 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06626/4.732, allocations: 47.04 MB / 1.267 GB, free: 118.2 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02064/4.752, allocations: 1.703 MB / 1.269 GB, free: 118 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00371/4.756, allocations: 0.9811 MB / 1.27 GB, free: 117.8 MB / 0.6044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1485 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],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.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],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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1958): * Single equations (assignments): 1931 * 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.004629/4.761, allocations: 1.301 MB / 1.271 GB, free: 117 MB / 0.6044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002158/4.763, allocations: 0.8667 MB / 1.272 GB, free: 117 MB / 0.6044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07485/4.838, allocations: 27.46 MB / 1.299 GB, free: 98.52 MB / 0.6044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07173/4.909, allocations: 25.62 MB / 1.324 GB, free: 78.12 MB / 0.6044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.449e-05/4.91, allocations: 20 kB / 1.324 GB, free: 78.1 MB / 0.6044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/4.91, allocations: 31.86 kB / 1.324 GB, free: 78.07 MB / 0.6044 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.4849/5.395, allocations: 58.4 MB / 1.381 GB, free: 142.6 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.162e-05/5.395, allocations: 3.625 kB / 1.381 GB, free: 142.6 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007592/5.402, allocations: 1.082 MB / 1.382 GB, free: 142.6 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06167/5.464, allocations: 14.01 MB / 1.396 GB, free: 142.5 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001587/5.466, allocations: 165 kB / 1.396 GB, free: 142.5 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0959/5.562, allocations: 59.13 MB / 1.454 GB, free: 125.8 MB / 0.6044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03872/5.6, allocations: 22.83 MB / 1.476 GB, free: 113.6 MB / 0.6044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0975/5.698, allocations: 39.2 MB / 1.514 GB, free: 95.66 MB / 0.6044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007595/5.706, allocations: 2.48 MB / 1.517 GB, free: 93.88 MB / 0.6044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003128/5.709, allocations: 119.8 kB / 1.517 GB, free: 93.77 MB / 0.6044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01001/5.719, allocations: 0.8574 MB / 1.518 GB, free: 93.29 MB / 0.6044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002496/5.721, allocations: 417.3 kB / 1.518 GB, free: 93.07 MB / 0.6044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000937/5.722, allocations: 181.1 kB / 1.518 GB, free: 92.94 MB / 0.6044 GB Notification: Performance of sorting global known variables: time 0.0133/5.736, allocations: 5.687 MB / 1.524 GB, free: 87.96 MB / 0.6044 GB Notification: Performance of sort global known variables: time 1.061e-06/5.736, allocations: 0 / 1.524 GB, free: 87.96 MB / 0.6044 GB Notification: Performance of remove unused functions: time 0.0229/5.758, allocations: 4.296 MB / 1.528 GB, free: 83.68 MB / 0.6044 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 (435): * Single equations (assignments): 420 * 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.001731/5.76, allocations: 281.3 kB / 1.528 GB, free: 83.46 MB / 0.6044 GB Notification: Performance of simCode: created initialization part: time 0.04083/5.801, allocations: 22.66 MB / 1.55 GB, free: 62.07 MB / 0.6044 GB Notification: Performance of simCode: created event and clocks part: time 8.341e-06/5.801, allocations: 0 / 1.55 GB, free: 62.07 MB / 0.6044 GB Notification: Performance of simCode: created simulation system equations: time 0.02112/5.822, allocations: 10.97 MB / 1.561 GB, free: 51.12 MB / 0.6044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00827/5.831, allocations: 1.274 MB / 1.562 GB, free: 49.92 MB / 0.6044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.414/6.245, allocations: 32.74 MB / 1.594 GB, free: 152.6 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02327/6.268, allocations: 9.464 MB / 1.604 GB, free: 151.5 MB / 0.6044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005538/6.274, allocations: 0.8136 MB / 1.604 GB, free: 151.5 MB / 0.6044 GB Notification: Performance of SimCode: time 1.84e-06/6.274, allocations: 0 / 1.604 GB, free: 151.5 MB / 0.6044 GB Notification: Performance of Templates: time 2.482/8.755, allocations: 0.8636 GB / 2.468 GB, free: 165.5 MB / 0.62 GB