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.1_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.266e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08608, allocations: 48.69 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/0.4711, allocations: 108.3 MB / 430 MB, free: 3.641 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4714, allocations: 82.19 kB / 430.1 MB, free: 3.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073/1.545, allocations: 229.8 MB / 0.6444 GB, free: 37.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.065e-06/1.545, allocations: 0 / 0.6444 GB, free: 37.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006508/1.546, allocations: 287.9 kB / 0.6447 GB, free: 37.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.06066/1.606, allocations: 14.49 MB / 0.6588 GB, free: 22.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.606, allocations: 8.031 kB / 0.6588 GB, free: 22.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05668/1.663, allocations: 10.46 MB / 0.6691 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04057/1.704, allocations: 13.97 MB / 0.6827 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001608/1.705, allocations: 1.083 MB / 0.6838 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006686/1.712, allocations: 1.438 MB / 0.6852 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6655/2.378, allocations: 32.5 MB / 0.7169 GB, free: 46.36 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008354/2.378, allocations: 143.2 kB / 0.717 GB, free: 46.36 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005459/2.384, allocations: 0.6579 MB / 0.7177 GB, free: 46.36 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004713/2.389, allocations: 2.54 MB / 0.7202 GB, free: 46.34 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07403/2.463, allocations: 26.44 MB / 0.746 GB, free: 46.29 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1992/2.662, allocations: 131.3 MB / 0.8742 GB, free: 360 kB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7418/3.404, allocations: 12.89 MB / 0.8868 GB, free: 98.58 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01131/3.415, allocations: 6.786 MB / 0.8934 GB, free: 98.52 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05725/3.472, allocations: 31.02 MB / 0.9237 GB, free: 91.29 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.264e-05/3.473, allocations: 82.88 kB / 0.9238 GB, free: 91.25 MB / 490.9 MB Notification: Performance of pre-optimization done (n=424): time 8.997e-06/3.473, allocations: 0 / 0.9238 GB, free: 91.25 MB / 490.9 MB Notification: Performance of matching and sorting (n=554): time 0.4293/3.902, allocations: 106.4 MB / 1.028 GB, free: 35.29 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3362/4.238, allocations: 23.07 MB / 1.05 GB, free: 87.91 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02003/4.258, allocations: 8.255 MB / 1.058 GB, free: 87.46 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001366/4.26, allocations: 109.5 kB / 1.058 GB, free: 87.43 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.006863/4.267, allocations: 8.656 MB / 1.067 GB, free: 83.68 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.003405/4.27, allocations: 2.146 MB / 1.069 GB, free: 82.45 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002378/4.272, allocations: 320.5 kB / 1.069 GB, free: 82.45 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 0.001469/4.274, allocations: 0.9891 MB / 1.07 GB, free: 82.11 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01822/4.292, allocations: 9.219 MB / 1.079 GB, free: 82.07 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02284/4.315, allocations: 18.39 MB / 1.097 GB, free: 70.23 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02379/4.339, allocations: 12.8 MB / 1.11 GB, free: 69.52 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003679/4.339, allocations: 94.12 kB / 1.11 GB, free: 69.52 MB / 490.9 MB Notification: Performance of matching and sorting (n=2093) (initialization): time 0.08942/4.429, allocations: 33.46 MB / 1.142 GB, free: 59.05 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/4.429, allocations: 145 kB / 1.143 GB, free: 59.05 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05998/4.489, allocations: 21.66 MB / 1.164 GB, free: 52.14 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.039/4.528, allocations: 9.053 MB / 1.173 GB, free: 47.86 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01944/4.548, allocations: 3.988 MB / 1.176 GB, free: 44.52 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05969/4.607, allocations: 45.75 MB / 1.221 GB, free: 2.68 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02241/4.63, allocations: 1.702 MB / 1.223 GB, free: 1.5 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004488/4.634, allocations: 1.105 MB / 1.224 GB, free: 0.8438 MB / 490.9 MB 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 (1967): * Single equations (assignments): 1940 * 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,1,1,1} * 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.3258/4.96, allocations: 1.292 MB / 1.225 GB, free: 71.2 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002948/4.963, allocations: 0.8683 MB / 1.226 GB, free: 71.2 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0864/5.049, allocations: 27.45 MB / 1.253 GB, free: 70.85 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07586/5.125, allocations: 25.63 MB / 1.278 GB, free: 70.52 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.201e-05/5.126, allocations: 20 kB / 1.278 GB, free: 70.52 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/5.126, allocations: 24 kB / 1.278 GB, free: 70.52 MB / 490.9 MB 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.1504/5.276, allocations: 58.41 MB / 1.335 GB, free: 51.29 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.566e-05/5.276, allocations: 3.531 kB / 1.335 GB, free: 51.29 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007718/5.284, allocations: 1.079 MB / 1.336 GB, free: 51.27 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06049/5.344, allocations: 14 MB / 1.35 GB, free: 41.37 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001521/5.346, allocations: 166.5 kB / 1.35 GB, free: 41.21 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4223/5.768, allocations: 59.14 MB / 1.408 GB, free: 96.14 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04214/5.81, allocations: 22.82 MB / 1.43 GB, free: 89.37 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09813/5.909, allocations: 39.2 MB / 1.468 GB, free: 87.93 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007683/5.916, allocations: 2.478 MB / 1.471 GB, free: 87.83 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00339/5.92, allocations: 125.9 kB / 1.471 GB, free: 87.83 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01101/5.931, allocations: 0.8567 MB / 1.471 GB, free: 87.83 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002636/5.934, allocations: 416.6 kB / 1.472 GB, free: 87.83 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001339/5.935, allocations: 180.8 kB / 1.472 GB, free: 87.82 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.01391/5.949, allocations: 5.69 MB / 1.478 GB, free: 86.45 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.327e-06/5.949, allocations: 0 / 1.478 GB, free: 86.45 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.02678/5.976, allocations: 4.271 MB / 1.482 GB, free: 86.11 MB / 0.5107 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.002764/5.979, allocations: 278.4 kB / 1.482 GB, free: 85.96 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.06972/6.048, allocations: 22.31 MB / 1.504 GB, free: 77.7 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/6.048, allocations: 0 / 1.504 GB, free: 77.7 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0326/6.081, allocations: 10.97 MB / 1.515 GB, free: 72.83 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/6.094, allocations: 1.274 MB / 1.516 GB, free: 72.36 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.101/6.195, allocations: 32.73 MB / 1.548 GB, free: 46.33 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02275/6.218, allocations: 9.46 MB / 1.557 GB, free: 39.48 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005928/6.224, allocations: 0.8108 MB / 1.558 GB, free: 38.78 MB / 0.5107 GB Notification: Performance of SimCode: time 3.105e-06/6.224, allocations: 0 / 1.558 GB, free: 38.78 MB / 0.5107 GB Notification: Performance of Templates: time 2.772/8.996, allocations: 0.8626 GB / 2.42 GB, free: 97.08 MB / 0.5263 GB