Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actuatedPrismatic.s|actuatedPrismatic.v|actuatedRevolute.phi|actuatedRevolute.w|bodyBox8.body.Q.1.|bodyBox8.body.Q.2.|bodyBox8.body.Q.3.|bodyBox8.body.Q.4.|bodyBox8.body.frame_a.r_0.1.|bodyBox8.body.frame_a.r_0.2.|bodyBox8.body.frame_a.r_0.3.|bodyBox8.body.w_a.1.|bodyBox8.body.w_a.2.|bodyBox8.body.w_a.3.|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w|prismatic.s|prismatic.v|revolute.phi|revolute.w|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadModel(ModelicaTest): time 1.857/1.857, allocations: 209.3 MB / 221.9 MB, free: 1.859 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.273e-05, allocations: 4 kB / 273.1 MB, free: 0.7305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08891/0.08897, allocations: 48.7 MB / 321.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4563, allocations: 100.3 MB / 422 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4565, allocations: 75.95 kB / 422.1 MB, free: 5.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743/2.2, allocations: 258.4 MB / 0.6645 GB, free: 25.59 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.312e-06/2.2, allocations: 0 / 0.6645 GB, free: 25.59 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001136/2.201, allocations: 268.6 kB / 0.6648 GB, free: 25.58 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3966 * Number of variables: 3966 Notification: Performance of Generate backend data structure: time 0.05306/2.254, allocations: 13.55 MB / 0.678 GB, free: 21 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/2.254, allocations: 9.25 kB / 0.678 GB, free: 21 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1356/2.39, allocations: 26.81 MB / 0.7042 GB, free: 20.11 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1142/2.504, allocations: 27.11 MB / 0.7307 GB, free: 18.24 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/2.505, allocations: 0.8843 MB / 0.7315 GB, free: 18.21 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00542/2.511, allocations: 1.234 MB / 0.7327 GB, free: 18.18 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07467/2.586, allocations: 26.98 MB / 0.7591 GB, free: 12.61 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001166/2.587, allocations: 178.6 kB / 0.7593 GB, free: 12.59 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004901/2.592, allocations: 0.5428 MB / 0.7598 GB, free: 12.59 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004589/2.596, allocations: 2.421 MB / 0.7622 GB, free: 11.97 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07795/2.674, allocations: 22.74 MB / 0.7844 GB, free: 13.05 MB / 442.8 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 preOpt removeSimpleEquations (simulation): time 0.5054/3.18, allocations: 119.7 MB / 0.9012 GB, free: 26.66 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04896/3.229, allocations: 13.2 MB / 0.9141 GB, free: 25.98 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0199/3.249, allocations: 8.589 MB / 0.9225 GB, free: 25.93 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/3.25, allocations: 403.6 kB / 0.9229 GB, free: 25.64 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/3.25, allocations: 96.84 kB / 0.923 GB, free: 25.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=550): time 2.169e-05/3.25, allocations: 0 / 0.923 GB, free: 25.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=734): time 0.8343/4.085, allocations: 113.3 MB / 1.034 GB, free: 92.23 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001927/4.086, allocations: 2.357 MB / 1.036 GB, free: 90.14 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02402/4.111, allocations: 9.591 MB / 1.045 GB, free: 89.56 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001907/4.112, allocations: 141.6 kB / 1.045 GB, free: 89.53 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006074/4.119, allocations: 7.633 MB / 1.053 GB, free: 87.38 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004049/4.123, allocations: 2.672 MB / 1.056 GB, free: 85.76 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002427/4.125, allocations: 283.7 kB / 1.056 GB, free: 85.76 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009772/4.126, allocations: 0.9085 MB / 1.057 GB, free: 85.42 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01812/4.144, allocations: 9.076 MB / 1.066 GB, free: 85.39 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02224/4.167, allocations: 15.87 MB / 1.081 GB, free: 76.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02309/4.19, allocations: 11.92 MB / 1.093 GB, free: 76.68 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002286/4.19, allocations: 68.81 kB / 1.093 GB, free: 76.68 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1489/4.339, allocations: 43.55 MB / 1.135 GB, free: 67.53 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/4.339, allocations: 103.2 kB / 1.135 GB, free: 67.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1096/4.449, allocations: 32.77 MB / 1.167 GB, free: 49.99 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09649/4.545, allocations: 20.86 MB / 1.188 GB, free: 34.64 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01541/4.561, allocations: 3.166 MB / 1.191 GB, free: 31.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.495/5.056, allocations: 65.18 MB / 1.254 GB, free: 78.36 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0189/5.075, allocations: 1.309 MB / 1.256 GB, free: 78.14 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00354/5.078, allocations: 0.7804 MB / 1.257 GB, free: 78.02 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1573): * Single equations (assignments): 1561 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,54.2%) 193} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005908/5.084, allocations: 1.139 MB / 1.258 GB, free: 77.52 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003207/5.087, allocations: 1.097 MB / 1.259 GB, free: 77.52 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07611/5.164, allocations: 27.07 MB / 1.285 GB, free: 68.65 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06643/5.23, allocations: 24.38 MB / 1.309 GB, free: 61.11 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001133/5.23, allocations: 49.45 kB / 1.309 GB, free: 61.11 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001581/5.23, allocations: 31.88 kB / 1.309 GB, free: 61.11 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1334/5.364, allocations: 55.98 MB / 1.364 GB, free: 19.54 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-05/5.364, allocations: 0 / 1.364 GB, free: 19.54 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007866/5.372, allocations: 1.159 MB / 1.365 GB, free: 18.71 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04543/5.417, allocations: 11.47 MB / 1.376 GB, free: 10.33 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002062/5.419, allocations: 159 kB / 1.376 GB, free: 10.18 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4753/5.895, allocations: 54.52 MB / 1.429 GB, free: 79.42 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001629/5.896, allocations: 1.739 MB / 1.431 GB, free: 78.05 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09425/5.991, allocations: 38.78 MB / 1.469 GB, free: 65.69 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009407/6, allocations: 2.74 MB / 1.472 GB, free: 64.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004836/6.005, allocations: 136.1 kB / 1.472 GB, free: 64.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0116/6.017, allocations: 0.7466 MB / 1.473 GB, free: 64.54 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003324/6.02, allocations: 0.5002 MB / 1.473 GB, free: 64.47 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001909/6.022, allocations: 193.8 kB / 1.473 GB, free: 64.43 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0172/6.039, allocations: 6.944 MB / 1.48 GB, free: 62.09 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.116e-06/6.039, allocations: 0 / 1.48 GB, free: 62.09 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02173/6.061, allocations: 4.159 MB / 1.484 GB, free: 61.73 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (496): * Single equations (assignments): 487 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,68.7%) 192} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002395/6.063, allocations: 316.2 kB / 1.484 GB, free: 61.54 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.05018/6.114, allocations: 23.93 MB / 1.508 GB, free: 43.72 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.989e-06/6.114, allocations: 0 / 1.508 GB, free: 43.72 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02723/6.141, allocations: 12.11 MB / 1.52 GB, free: 33.09 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0114/6.152, allocations: 1.642 MB / 1.521 GB, free: 31.75 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07773/6.23, allocations: 33.04 MB / 1.553 GB, free: 3.281 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3354/6.565, allocations: 9.53 MB / 1.563 GB, free: 87.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005759/6.571, allocations: 0.8048 MB / 1.564 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of SimCode: time 1.882e-06/6.571, allocations: 0 / 1.564 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of Templates: time 1.357/7.929, allocations: 0.5211 GB / 2.085 GB, free: 34.18 MB / 0.5262 GB