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_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.319e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Joints): time 0.5854/0.7263, allocations: 152.6 MB / 0.5503 GB, free: 14.69 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.09939/0.8257, allocations: 31.52 MB / 0.5811 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0405/0.8663, allocations: 0.8376 MB / 0.5819 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.02973/0.8961, allocations: 8.033 MB / 0.5898 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.08704/0.9832, allocations: 21.72 MB / 0.611 GB, free: 392 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.5182/1.501, allocations: 2.221 MB / 0.6131 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.5102/2.012, allocations: 209.5 MB / 0.8177 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0319/2.044, allocations: 14.85 MB / 0.8322 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008423/2.052, allocations: 3.068 MB / 0.8352 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0109/2.063, allocations: 4.761 MB / 0.8398 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007149/2.07, allocations: 1.694 MB / 0.8415 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.003931/2.074, allocations: 384 kB / 0.8419 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.009938/2.084, allocations: 5.366 MB / 0.8471 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.005811/2.09, allocations: 0.9258 MB / 0.848 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.9646/3.055, allocations: 19.13 MB / 0.8667 GB, free: 129.7 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/3.055, allocations: 4 kB / 0.8667 GB, free: 129.7 MB / 0.6512 GB Notification: Performance of FrontEnd: time 3.046e-06/3.055, allocations: 1.688 kB / 0.8667 GB, free: 129.7 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.001022/3.056, allocations: 0 / 0.8667 GB, free: 129.7 MB / 0.6512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.05516/3.111, allocations: 12.93 MB / 0.8793 GB, free: 125 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/3.111, allocations: 11.5 kB / 0.8793 GB, free: 125 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.536/4.647, allocations: 81.18 MB / 0.9586 GB, free: 81.52 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05263/4.7, allocations: 14.32 MB / 0.9726 GB, free: 71.27 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009597/4.701, allocations: 0.7174 MB / 0.9733 GB, free: 70.87 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007446/4.709, allocations: 1.184 MB / 0.9745 GB, free: 70.07 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08659/4.795, allocations: 27.3 MB / 1.001 GB, free: 49.02 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001127/4.796, allocations: 163.9 kB / 1.001 GB, free: 48.91 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005782/4.802, allocations: 453.3 kB / 1.002 GB, free: 48.79 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01286/4.815, allocations: 4.456 MB / 1.006 GB, free: 45.15 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07569/4.891, allocations: 22.78 MB / 1.028 GB, free: 29.24 MB / 0.6512 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.6289/5.52, allocations: 111 MB / 1.137 GB, free: 254.7 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06269/5.583, allocations: 13.48 MB / 1.15 GB, free: 254 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/5.584, allocations: 406 kB / 1.15 GB, free: 253.7 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.97e-05/5.584, allocations: 92.95 kB / 1.15 GB, free: 253.7 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=540): time 9.739e-06/5.584, allocations: 0 / 1.15 GB, free: 253.7 MB / 0.6824 GB Notification: Performance of matching and sorting (n=727): time 0.7535/6.338, allocations: 135 MB / 1.282 GB, free: 149.9 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002374/6.34, allocations: 2.386 MB / 1.284 GB, free: 147.3 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02833/6.368, allocations: 11.21 MB / 1.295 GB, free: 136.1 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.002991/6.371, allocations: 145.8 kB / 1.296 GB, free: 136 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.007253/6.379, allocations: 7.471 MB / 1.303 GB, free: 128.5 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.005612/6.384, allocations: 2.645 MB / 1.305 GB, free: 125.9 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003968/6.388, allocations: 276.6 kB / 1.306 GB, free: 125.6 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.001336/6.39, allocations: 0.9016 MB / 1.307 GB, free: 124.7 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02401/6.414, allocations: 9.483 MB / 1.316 GB, free: 115.2 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0286/6.442, allocations: 16.19 MB / 1.332 GB, free: 95.88 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02985/6.472, allocations: 12.2 MB / 1.344 GB, free: 83.84 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/6.473, allocations: 71.98 kB / 1.344 GB, free: 83.77 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1808) (initialization): time 0.2495/6.722, allocations: 46.09 MB / 1.389 GB, free: 37.92 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/6.722, allocations: 100.2 kB / 1.389 GB, free: 37.82 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2154/6.938, allocations: 34.79 MB / 1.423 GB, free: 2.918 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5543/7.492, allocations: 22.59 MB / 1.445 GB, free: 280.7 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02165/7.514, allocations: 3.135 MB / 1.448 GB, free: 280.7 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2069/7.721, allocations: 73.42 MB / 1.52 GB, free: 243 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02617/7.747, allocations: 1.336 MB / 1.521 GB, free: 242.1 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004577/7.752, allocations: 0.7645 MB / 1.522 GB, free: 241.4 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1031 * Number of states: 0 () * Number of discrete variables: 113 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1536): * Single equations (assignments): 1524 * 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,55.1%) 193} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01891/7.771, allocations: 5.593 MB / 1.527 GB, free: 236.6 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00556/7.776, allocations: 1.086 MB / 1.528 GB, free: 236.1 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1068/7.883, allocations: 28.14 MB / 1.556 GB, free: 209.2 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09628/7.979, allocations: 25.43 MB / 1.58 GB, free: 183.8 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001377/7.98, allocations: 40 kB / 1.58 GB, free: 183.7 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002322/7.98, allocations: 39.28 kB / 1.581 GB, free: 183.7 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1864/8.166, allocations: 57.93 MB / 1.637 GB, free: 125.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001096/8.166, allocations: 7.359 kB / 1.637 GB, free: 125.8 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01174/8.178, allocations: 1.173 MB / 1.638 GB, free: 124.6 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07076/8.249, allocations: 12.14 MB / 1.65 GB, free: 112.6 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003426/8.253, allocations: 147.9 kB / 1.65 GB, free: 112.4 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1772/8.43, allocations: 59.52 MB / 1.708 GB, free: 53.12 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001963/8.432, allocations: 1.769 MB / 1.71 GB, free: 51.22 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6576/9.089, allocations: 40.37 MB / 1.75 GB, free: 272.6 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004709/9.094, allocations: 1.185 MB / 1.751 GB, free: 272.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006646/9.101, allocations: 128.1 kB / 1.751 GB, free: 272.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01665/9.118, allocations: 0.7634 MB / 1.752 GB, free: 272.5 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004032/9.122, allocations: 0.4951 MB / 1.752 GB, free: 272.5 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002387/9.124, allocations: 190.4 kB / 1.752 GB, free: 272.5 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.02067/9.145, allocations: 8.26 MB / 1.76 GB, free: 270.9 MB / 0.6824 GB Notification: Performance of sort global known variables: time 1.072e-06/9.145, allocations: 3.031 kB / 1.76 GB, free: 270.9 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.02456/9.169, allocations: 4.282 MB / 1.764 GB, free: 270.6 MB / 0.6824 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 (488): * Single equations (assignments): 479 * 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 {(20,66.0%) 191} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004462/9.174, allocations: 383.3 kB / 1.765 GB, free: 270.3 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.07041/9.244, allocations: 25.06 MB / 1.789 GB, free: 260.7 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/9.244, allocations: 0 / 1.789 GB, free: 260.7 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0387/9.283, allocations: 12.59 MB / 1.802 GB, free: 255.2 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01623/9.299, allocations: 1.641 MB / 1.803 GB, free: 253.9 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1036/9.403, allocations: 42.6 MB / 1.845 GB, free: 216.3 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02259/9.426, allocations: 9.211 MB / 1.854 GB, free: 209.6 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007406/9.433, allocations: 0.8281 MB / 1.855 GB, free: 208.9 MB / 0.6824 GB Notification: Performance of SimCode: time 1.453e-06/9.433, allocations: 0 / 1.855 GB, free: 208.9 MB / 0.6824 GB Notification: Performance of Templates: time 1.804/11.24, allocations: 0.5238 GB / 2.378 GB, free: 228.3 MB / 0.6824 GB