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.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.737e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3267, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.4918, allocations: 107.1 MB / 466.9 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4921, allocations: 79.94 kB / 467 MB, free: 5.754 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.785/2.277, allocations: 258.9 MB / 0.7088 GB, free: 33.7 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.353e-06/2.277, allocations: 1.375 kB / 0.7088 GB, free: 33.7 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001917/2.279, allocations: 267.7 kB / 0.7091 GB, free: 33.7 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3972 * Number of variables: 3972 Notification: Performance of Generate backend data structure: time 0.05366/2.333, allocations: 13.56 MB / 0.7223 GB, free: 30.52 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/2.333, allocations: 9.125 kB / 0.7223 GB, free: 30.52 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1393/2.472, allocations: 26.83 MB / 0.7485 GB, free: 29.63 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07966/2.552, allocations: 27.12 MB / 0.775 GB, free: 27.75 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/2.553, allocations: 0.8907 MB / 0.7759 GB, free: 27.73 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005091/2.558, allocations: 1.238 MB / 0.7771 GB, free: 27.7 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07073/2.629, allocations: 27 MB / 0.8035 GB, free: 22.29 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008019/2.63, allocations: 179.4 kB / 0.8036 GB, free: 22.26 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003471/2.633, allocations: 0.5473 MB / 0.8042 GB, free: 22.26 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003984/2.637, allocations: 2.412 MB / 0.8065 GB, free: 22.23 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05794/2.695, allocations: 21.69 MB / 0.8277 GB, free: 9.742 MB / 474.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.5528/3.248, allocations: 119.8 MB / 0.9447 GB, free: 26.78 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04943/3.298, allocations: 13.2 MB / 0.9576 GB, free: 26.08 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01321/3.311, allocations: 8.599 MB / 0.966 GB, free: 26.03 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008822/3.312, allocations: 407.7 kB / 0.9664 GB, free: 25.74 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.512e-05/3.312, allocations: 97.44 kB / 0.9664 GB, free: 25.7 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=550): time 1.216e-05/3.312, allocations: 0 / 0.9664 GB, free: 25.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=734): time 0.4744/3.786, allocations: 112.8 MB / 1.077 GB, free: 10.46 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002724/3.789, allocations: 2.361 MB / 1.079 GB, free: 7.926 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02555/3.815, allocations: 9.597 MB / 1.088 GB, free: 15.57 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.00203/3.817, allocations: 137.7 kB / 1.088 GB, free: 15.43 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.008913/3.826, allocations: 7.64 MB / 1.096 GB, free: 8.898 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.005102/3.831, allocations: 2.679 MB / 1.099 GB, free: 6.512 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002685/3.834, allocations: 283 kB / 1.099 GB, free: 6.238 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001333/3.835, allocations: 0.9118 MB / 1.1 GB, free: 5.488 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04009/3.875, allocations: 10.18 MB / 1.11 GB, free: 0 / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3575/4.233, allocations: 15.88 MB / 1.125 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02537/4.258, allocations: 11.95 MB / 1.137 GB, free: 109.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004116/4.258, allocations: 69 kB / 1.137 GB, free: 109.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.1508/4.409, allocations: 44.22 MB / 1.18 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/4.41, allocations: 104.4 kB / 1.18 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1163/4.526, allocations: 33.45 MB / 1.213 GB, free: 105 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1054/4.631, allocations: 21.67 MB / 1.234 GB, free: 99.65 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0153/4.647, allocations: 3.164 MB / 1.237 GB, free: 97.02 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1309/4.778, allocations: 66.01 MB / 1.302 GB, free: 35.53 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02011/4.798, allocations: 1.323 MB / 1.303 GB, free: 34.24 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00397/4.802, allocations: 0.7783 MB / 1.304 GB, free: 33.46 MB / 0.5574 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): 5 * Torn equation systems: 2 * 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: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,54.2%) 193} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.3712/5.173, allocations: 1.131 MB / 1.305 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006127/5.179, allocations: 1.097 MB / 1.306 GB, free: 102.4 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09792/5.277, allocations: 27.08 MB / 1.332 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06594/5.343, allocations: 24.38 MB / 1.356 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.792e-05/5.343, allocations: 41.81 kB / 1.356 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000162/5.344, allocations: 37.11 kB / 1.356 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1359/5.479, allocations: 56 MB / 1.411 GB, free: 88.61 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.213e-05/5.48, allocations: 3.844 kB / 1.411 GB, free: 88.61 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008717/5.488, allocations: 1.155 MB / 1.412 GB, free: 88.58 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04883/5.537, allocations: 11.47 MB / 1.423 GB, free: 86.37 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002048/5.539, allocations: 161.8 kB / 1.423 GB, free: 86.28 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1001/5.639, allocations: 54.54 MB / 1.477 GB, free: 44.69 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001518/5.641, allocations: 1.725 MB / 1.478 GB, free: 42.95 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.424/6.065, allocations: 38.78 MB / 1.516 GB, free: 90.09 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009574/6.075, allocations: 2.737 MB / 1.519 GB, free: 90 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004068/6.079, allocations: 137.3 kB / 1.519 GB, free: 90 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0112/6.09, allocations: 0.7438 MB / 1.52 GB, free: 90 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002968/6.093, allocations: 0.5091 MB / 1.52 GB, free: 89.99 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001374/6.094, allocations: 196.5 kB / 1.52 GB, free: 89.99 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0165/6.111, allocations: 6.941 MB / 1.527 GB, free: 89.62 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.132e-06/6.111, allocations: 0 / 1.527 GB, free: 89.62 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02061/6.131, allocations: 4.172 MB / 1.531 GB, free: 89.62 MB / 0.5574 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.002329/6.134, allocations: 328.7 kB / 1.531 GB, free: 89.53 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0517/6.186, allocations: 23.95 MB / 1.555 GB, free: 88.45 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.018e-06/6.186, allocations: 0 / 1.555 GB, free: 88.45 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02901/6.215, allocations: 12.11 MB / 1.567 GB, free: 87.58 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0121/6.227, allocations: 1.638 MB / 1.568 GB, free: 87.51 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08034/6.307, allocations: 33.06 MB / 1.601 GB, free: 80.29 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02148/6.329, allocations: 9.324 MB / 1.61 GB, free: 77.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005482/6.334, allocations: 0.8056 MB / 1.61 GB, free: 77.68 MB / 0.5574 GB Notification: Performance of SimCode: time 1.84e-06/6.334, allocations: 0 / 1.61 GB, free: 77.68 MB / 0.5574 GB Notification: Performance of Templates: time 1.783/8.117, allocations: 0.5221 GB / 2.133 GB, free: 141.8 MB / 0.6043 GB