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.923/1.923, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.006e-05, allocations: 0 / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3529, allocations: 48.71 MB / 324.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Joints): time 0.2625/0.6155, allocations: 146.4 MB / 471.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4973/1.113, allocations: 30.33 MB / 0.4898 GB, free: 36 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03925/1.152, allocations: 0.8006 MB / 0.4906 GB, free: 32 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.04054/1.193, allocations: 8.611 MB / 0.499 GB, free: 0 / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07944/1.272, allocations: 20.88 MB / 0.5194 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01418/1.287, allocations: 2.254 MB / 0.5216 GB, free: 9.562 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.3049/1.592, allocations: 72.63 MB / 0.5925 GB, free: 5.02 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03321/1.625, allocations: 14.91 MB / 0.6071 GB, free: 10.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009056/1.634, allocations: 3.123 MB / 0.6102 GB, free: 8.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/1.646, allocations: 4.829 MB / 0.6149 GB, free: 4.73 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008189/1.654, allocations: 1.753 MB / 0.6166 GB, free: 3.258 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00424/1.658, allocations: 404 kB / 0.617 GB, free: 2.863 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01061/1.669, allocations: 5.446 MB / 0.6223 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.006488/1.676, allocations: 0.9336 MB / 0.6232 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03251/1.708, allocations: 19.43 MB / 0.6422 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.708, allocations: 0 / 0.6422 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.377e-06/1.708, allocations: 0 / 0.6422 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008858/1.709, allocations: 0 / 0.6422 GB, free: 12.93 MB / 0.5105 GB 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.06073/1.77, allocations: 13.33 MB / 0.6552 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/1.77, allocations: 12.03 kB / 0.6552 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31/4.08, allocations: 81.18 MB / 0.7345 GB, free: 196.4 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0672/4.147, allocations: 15.83 MB / 0.7499 GB, free: 180.7 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005305/4.152, allocations: 0.7263 MB / 0.7506 GB, free: 180 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01185/4.164, allocations: 1.188 MB / 0.7518 GB, free: 178.9 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1008/4.265, allocations: 27.75 MB / 0.7789 GB, free: 149.7 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009216/4.266, allocations: 162.5 kB / 0.7791 GB, free: 149.6 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00488/4.271, allocations: 458.1 kB / 0.7795 GB, free: 149.2 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009265/4.28, allocations: 4.179 MB / 0.7836 GB, free: 145.1 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07502/4.355, allocations: 23.04 MB / 0.8061 GB, free: 122 MB / 0.5262 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.2051/4.561, allocations: 111.9 MB / 0.9153 GB, free: 7.547 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4205/4.981, allocations: 13.65 MB / 0.9287 GB, free: 215 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/4.983, allocations: 410.5 kB / 0.929 GB, free: 214.7 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.203e-05/4.983, allocations: 95.2 kB / 0.9291 GB, free: 214.6 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=552): time 9.819e-06/4.983, allocations: 0 / 0.9291 GB, free: 214.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=735): time 0.7624/5.745, allocations: 132.8 MB / 1.059 GB, free: 118.2 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002329/5.747, allocations: 2.381 MB / 1.061 GB, free: 115.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0276/5.775, allocations: 11.38 MB / 1.072 GB, free: 104.1 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.002888/5.778, allocations: 148 kB / 1.072 GB, free: 104 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.007204/5.785, allocations: 7.532 MB / 1.08 GB, free: 96.46 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.005468/5.791, allocations: 2.665 MB / 1.082 GB, free: 93.82 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003806/5.795, allocations: 280 kB / 1.083 GB, free: 93.54 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001371/5.796, allocations: 0.9058 MB / 1.084 GB, free: 92.63 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02361/5.82, allocations: 9.511 MB / 1.093 GB, free: 83.11 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02863/5.848, allocations: 16.27 MB / 1.109 GB, free: 63.59 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02968/5.878, allocations: 12.26 MB / 1.121 GB, free: 51.3 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/5.878, allocations: 64 kB / 1.121 GB, free: 51.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1826) (initialization): time 0.5502/6.429, allocations: 45.35 MB / 1.165 GB, free: 182.9 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/6.429, allocations: 105.3 kB / 1.165 GB, free: 182.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1687/6.598, allocations: 33.96 MB / 1.198 GB, free: 169.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1502/6.748, allocations: 21.51 MB / 1.219 GB, free: 152.3 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02194/6.77, allocations: 3.178 MB / 1.222 GB, free: 149.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1904/6.96, allocations: 71.71 MB / 1.292 GB, free: 77.56 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02466/6.985, allocations: 1.338 MB / 1.294 GB, free: 76.25 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004206/6.989, allocations: 0.7662 MB / 1.295 GB, free: 75.48 MB / 0.5262 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): 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 {(20,57.8%) 194} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01715/7.006, allocations: 5.652 MB / 1.3 GB, free: 69.89 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005101/7.012, allocations: 1.103 MB / 1.301 GB, free: 69.38 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1068/7.119, allocations: 28.27 MB / 1.329 GB, free: 41.11 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4307/7.549, allocations: 25.53 MB / 1.354 GB, free: 177.5 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001681/7.549, allocations: 40.44 kB / 1.354 GB, free: 177.5 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002028/7.55, allocations: 37.7 kB / 1.354 GB, free: 177.5 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1863/7.736, allocations: 58.22 MB / 1.411 GB, free: 155.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001116/7.736, allocations: 0.875 kB / 1.411 GB, free: 155.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01186/7.748, allocations: 1.187 MB / 1.412 GB, free: 155.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06425/7.812, allocations: 12.06 MB / 1.424 GB, free: 145.4 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002603/7.815, allocations: 155.9 kB / 1.424 GB, free: 145.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.189/8.004, allocations: 59.67 MB / 1.482 GB, free: 85.78 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001981/8.006, allocations: 1.768 MB / 1.484 GB, free: 83.89 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1291/8.135, allocations: 40.53 MB / 1.523 GB, free: 43.89 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01121/8.146, allocations: 2.906 MB / 1.526 GB, free: 41.56 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006162/8.153, allocations: 137 kB / 1.526 GB, free: 41.43 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01657/8.169, allocations: 0.7715 MB / 1.527 GB, free: 40.66 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003875/8.173, allocations: 0.4986 MB / 1.527 GB, free: 40.15 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002499/8.176, allocations: 190.5 kB / 1.528 GB, free: 39.97 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.3728/8.549, allocations: 8.394 MB / 1.536 GB, free: 174.9 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.41e-07/8.549, allocations: 0 / 1.536 GB, free: 174.9 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.02513/8.574, allocations: 4.292 MB / 1.54 GB, free: 174.9 MB / 0.5262 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.003616/8.577, allocations: 372.4 kB / 1.54 GB, free: 174.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.07052/8.648, allocations: 25.1 MB / 1.565 GB, free: 170.4 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/8.648, allocations: 7.781 kB / 1.565 GB, free: 170.4 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.03818/8.686, allocations: 12.57 MB / 1.577 GB, free: 165.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/8.702, allocations: 1.652 MB / 1.579 GB, free: 164.6 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/8.808, allocations: 42.96 MB / 1.621 GB, free: 138.6 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02199/8.83, allocations: 9.312 MB / 1.63 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007667/8.838, allocations: 0.8273 MB / 1.631 GB, free: 131.2 MB / 0.5262 GB Notification: Performance of SimCode: time 2.164e-06/8.838, allocations: 7 kB / 1.631 GB, free: 131.2 MB / 0.5262 GB Notification: Performance of Templates: time 2.312/11.15, allocations: 0.5281 GB / 2.159 GB, free: 147.9 MB / 0.5262 GB