Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 270 MB / 282.7 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.022e-05, allocations: 4 kB / 347 MB, free: 3.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3192, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.4913, allocations: 114.7 MB / 0.5113 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4915, allocations: 67.97 kB / 0.5113 GB, free: 7.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534/2.026, allocations: 261.1 MB / 0.7663 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.051e-06/2.026, allocations: 0 / 0.7663 GB, free: 51.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0009981/2.027, allocations: 261.9 kB / 0.7666 GB, free: 51.46 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: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04545/2.073, allocations: 13.42 MB / 0.7797 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/2.073, allocations: 12.75 kB / 0.7797 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1383/2.211, allocations: 26.79 MB / 0.8059 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07443/2.285, allocations: 25.77 MB / 0.831 GB, free: 44.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008445/2.286, allocations: 0.8883 MB / 0.8319 GB, free: 43.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004392/2.291, allocations: 1.225 MB / 0.8331 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05965/2.35, allocations: 26.74 MB / 0.8592 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006834/2.351, allocations: 175.1 kB / 0.8594 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002305/2.353, allocations: 0.5428 MB / 0.8599 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/2.357, allocations: 2.385 MB / 0.8622 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05246/2.409, allocations: 21.43 MB / 0.8832 GB, free: 2.527 MB / 0.5105 GB 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.5817/2.991, allocations: 118.7 MB / 0.9991 GB, free: 48.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.049/3.04, allocations: 13.05 MB / 1.012 GB, free: 47.42 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01319/3.053, allocations: 8.505 MB / 1.02 GB, free: 47.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/3.054, allocations: 402.2 kB / 1.021 GB, free: 47.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.009e-05/3.054, allocations: 95.25 kB / 1.021 GB, free: 47.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=538): time 1.21e-05/3.054, allocations: 0 / 1.021 GB, free: 47.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=737): time 0.4687/3.523, allocations: 117.1 MB / 1.135 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001994/3.525, allocations: 2.348 MB / 1.137 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02201/3.547, allocations: 9.434 MB / 1.146 GB, free: 3.117 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001925/3.549, allocations: 137.7 kB / 1.147 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.3602/3.909, allocations: 7.572 MB / 1.154 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.004201/3.913, allocations: 2.684 MB / 1.157 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/3.915, allocations: 282.1 kB / 1.157 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000952/3.916, allocations: 0.9082 MB / 1.158 GB, free: 114 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01861/3.935, allocations: 9.337 MB / 1.167 GB, free: 114 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02335/3.958, allocations: 16.08 MB / 1.183 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02379/3.982, allocations: 12.19 MB / 1.195 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/3.983, allocations: 65.97 kB / 1.195 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1838) (initialization): time 0.1525/4.135, allocations: 44.68 MB / 1.238 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001902/4.135, allocations: 110.6 kB / 1.238 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1171/4.252, allocations: 33.98 MB / 1.271 GB, free: 93.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09559/4.348, allocations: 21.81 MB / 1.293 GB, free: 80.17 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01464/4.363, allocations: 3.144 MB / 1.296 GB, free: 77.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1235/4.486, allocations: 65.91 MB / 1.36 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01807/4.504, allocations: 1.311 MB / 1.362 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3693/4.874, allocations: 0.7705 MB / 1.362 GB, free: 101.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1051 * 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 (1566): * Single equations (assignments): 1554 * 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 {(23,50.9%) 191} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005261/4.879, allocations: 1.138 MB / 1.363 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003071/4.882, allocations: 1.08 MB / 1.364 GB, free: 100.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07523/4.957, allocations: 27.63 MB / 1.391 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06721/5.025, allocations: 24.89 MB / 1.416 GB, free: 100 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.816e-05/5.025, allocations: 46.23 kB / 1.416 GB, free: 100 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001473/5.025, allocations: 36.34 kB / 1.416 GB, free: 100 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1373/5.162, allocations: 56.91 MB / 1.471 GB, free: 83.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.478e-05/5.162, allocations: 3.812 kB / 1.471 GB, free: 83.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008592/5.171, allocations: 1.148 MB / 1.472 GB, free: 83.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04739/5.218, allocations: 11.51 MB / 1.484 GB, free: 81.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001987/5.22, allocations: 157.7 kB / 1.484 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09798/5.318, allocations: 54.4 MB / 1.537 GB, free: 36.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001505/5.32, allocations: 1.739 MB / 1.539 GB, free: 34.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08572/5.406, allocations: 39.78 MB / 1.578 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3792/5.785, allocations: 1.088 MB / 1.579 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004374/5.789, allocations: 136 kB / 1.579 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/5.8, allocations: 0.7421 MB / 1.579 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00261/5.802, allocations: 0.5053 MB / 1.58 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001156/5.804, allocations: 192.5 kB / 1.58 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01398/5.818, allocations: 6.816 MB / 1.587 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.095e-06/5.818, allocations: 0 / 1.587 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01905/5.837, allocations: 4.174 MB / 1.591 GB, free: 112.2 MB / 0.6042 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 (498): * Single equations (assignments): 489 * 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,67.5%) 191} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002101/5.839, allocations: 322.7 kB / 1.591 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.05276/5.892, allocations: 24.56 MB / 1.615 GB, free: 111 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.846e-06/5.892, allocations: 1.562 kB / 1.615 GB, free: 111 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02878/5.92, allocations: 12.46 MB / 1.627 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/5.931, allocations: 1.638 MB / 1.629 GB, free: 110 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07827/6.01, allocations: 33.35 MB / 1.662 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02048/6.03, allocations: 9.25 MB / 1.671 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005292/6.036, allocations: 0.8018 MB / 1.671 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.76e-06/6.036, allocations: 0 / 1.671 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of Templates: time 1.441/7.476, allocations: 0.5201 GB / 2.191 GB, free: 80.57 MB / 0.6511 GB