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.394/2.394, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.385e-05/4.381e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4596, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Joints): time 0.6447/1.104, allocations: 146.5 MB / 0.4974 GB, free: 264 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.08218/1.187, allocations: 30.37 MB / 0.527 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04011/1.227, allocations: 0.7988 MB / 0.5278 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02873/1.256, allocations: 7.86 MB / 0.5355 GB, free: 11.79 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.08049/1.336, allocations: 20.87 MB / 0.5559 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0136/1.35, allocations: 2.249 MB / 0.5581 GB, free: 4.121 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.3077/1.658, allocations: 72.64 MB / 0.629 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0324/1.69, allocations: 14.92 MB / 0.6436 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008651/1.699, allocations: 3.131 MB / 0.6466 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/1.71, allocations: 4.837 MB / 0.6514 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007525/1.717, allocations: 1.773 MB / 0.6531 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.004037/1.722, allocations: 400 kB / 0.6535 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.009645/1.731, allocations: 5.443 MB / 0.6588 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00586/1.737, allocations: 0.9453 MB / 0.6597 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0318/1.769, allocations: 19.46 MB / 0.6787 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.769, allocations: 0 / 0.6787 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.098e-06/1.769, allocations: 0 / 0.6787 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0008096/1.77, allocations: 0 / 0.6787 GB, free: 14.95 MB / 0.5417 GB 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.05266/1.823, allocations: 13.34 MB / 0.6917 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.823, allocations: 11.97 kB / 0.6917 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304/4.127, allocations: 81.2 MB / 0.771 GB, free: 165.8 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05338/4.18, allocations: 15.85 MB / 0.7865 GB, free: 150.1 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009494/4.181, allocations: 0.7292 MB / 0.7872 GB, free: 149.4 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006352/4.188, allocations: 1.198 MB / 0.7884 GB, free: 148.3 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08126/4.269, allocations: 27.75 MB / 0.8155 GB, free: 119.1 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001023/4.27, allocations: 166.6 kB / 0.8157 GB, free: 119 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004514/4.275, allocations: 463.7 kB / 0.8161 GB, free: 118.6 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009143/4.284, allocations: 4.184 MB / 0.8202 GB, free: 114.4 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07439/4.358, allocations: 23.04 MB / 0.8427 GB, free: 91.38 MB / 0.5418 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.5968/4.955, allocations: 111.9 MB / 0.952 GB, free: 150 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06213/5.017, allocations: 13.64 MB / 0.9654 GB, free: 149.3 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/5.019, allocations: 407.3 kB / 0.9657 GB, free: 149 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.837e-05/5.019, allocations: 97.14 kB / 0.9658 GB, free: 149 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=552): time 9.838e-06/5.019, allocations: 0 / 0.9658 GB, free: 149 MB / 0.5418 GB Notification: Performance of matching and sorting (n=735): time 0.8084/5.827, allocations: 132.9 MB / 1.096 GB, free: 37.25 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002309/5.829, allocations: 2.391 MB / 1.098 GB, free: 34.58 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0267/5.856, allocations: 11.38 MB / 1.109 GB, free: 23.23 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002758/5.859, allocations: 145.7 kB / 1.109 GB, free: 23.08 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.007072/5.866, allocations: 7.54 MB / 1.117 GB, free: 15.54 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.005411/5.872, allocations: 2.672 MB / 1.119 GB, free: 12.89 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003636/5.875, allocations: 280 kB / 1.119 GB, free: 12.61 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001331/5.877, allocations: 0.9019 MB / 1.12 GB, free: 11.7 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02347/5.9, allocations: 9.538 MB / 1.13 GB, free: 2.156 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3903/6.291, allocations: 16.29 MB / 1.146 GB, free: 198.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03149/6.322, allocations: 12.29 MB / 1.158 GB, free: 196 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002626/6.322, allocations: 68.06 kB / 1.158 GB, free: 196 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1826) (initialization): time 0.2274/6.55, allocations: 46.25 MB / 1.203 GB, free: 182.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/6.55, allocations: 104 kB / 1.203 GB, free: 182.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1805/6.731, allocations: 34.86 MB / 1.237 GB, free: 147.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1636/6.894, allocations: 22.5 MB / 1.259 GB, free: 125 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02133/6.916, allocations: 3.17 MB / 1.262 GB, free: 121.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.202/7.118, allocations: 73.46 MB / 1.334 GB, free: 48.51 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0266/7.144, allocations: 1.352 MB / 1.335 GB, free: 47.19 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004212/7.149, allocations: 0.7668 MB / 1.336 GB, free: 46.42 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1041 * 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 (1554): * Single equations (assignments): 1542 * 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 {(20,57.8%) 194} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01757/7.166, allocations: 5.652 MB / 1.341 GB, free: 40.86 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00519/7.171, allocations: 1.09 MB / 1.342 GB, free: 40.35 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.598/7.77, allocations: 28.28 MB / 1.37 GB, free: 189.8 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1106/7.88, allocations: 25.52 MB / 1.395 GB, free: 181.5 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000148/7.88, allocations: 44.06 kB / 1.395 GB, free: 181.5 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002771/7.881, allocations: 35.33 kB / 1.395 GB, free: 181.5 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1854/8.066, allocations: 58.24 MB / 1.452 GB, free: 130.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001246/8.066, allocations: 0 / 1.452 GB, free: 130.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01211/8.078, allocations: 1.19 MB / 1.453 GB, free: 129.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06513/8.144, allocations: 12.07 MB / 1.465 GB, free: 117.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002962/8.147, allocations: 151.9 kB / 1.465 GB, free: 117.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1555/8.302, allocations: 59.67 MB / 1.523 GB, free: 57.79 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001973/8.304, allocations: 1.767 MB / 1.525 GB, free: 55.89 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5477/8.852, allocations: 40.52 MB / 1.564 GB, free: 177.2 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01141/8.863, allocations: 2.913 MB / 1.567 GB, free: 177.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006354/8.87, allocations: 128.8 kB / 1.567 GB, free: 177.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01705/8.887, allocations: 0.7708 MB / 1.568 GB, free: 177.1 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004141/8.891, allocations: 0.4987 MB / 1.569 GB, free: 177.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002629/8.894, allocations: 190.5 kB / 1.569 GB, free: 177.1 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02076/8.915, allocations: 8.392 MB / 1.577 GB, free: 174.5 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.024e-06/8.915, allocations: 0 / 1.577 GB, free: 174.5 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0232/8.938, allocations: 4.317 MB / 1.581 GB, free: 174.2 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (497): * Single equations (assignments): 488 * 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 {(18,71.3%) 193} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003651/8.942, allocations: 373.3 kB / 1.582 GB, free: 173.9 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.06955/9.011, allocations: 25.17 MB / 1.606 GB, free: 164.2 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/9.011, allocations: 6.031 kB / 1.606 GB, free: 164.2 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.03877/9.05, allocations: 12.56 MB / 1.619 GB, free: 157.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01573/9.066, allocations: 1.654 MB / 1.62 GB, free: 156.2 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1046/9.17, allocations: 43 MB / 1.662 GB, free: 118 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02296/9.193, allocations: 9.323 MB / 1.671 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007354/9.201, allocations: 0.8273 MB / 1.672 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of SimCode: time 1.322e-06/9.201, allocations: 0 / 1.672 GB, free: 108.8 MB / 0.5574 GB Notification: Performance of Templates: time 2.219/11.42, allocations: 0.5293 GB / 2.201 GB, free: 148 MB / 0.5574 GB