Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.549e-05/4.571e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4483/0.4484, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.6533, allocations: 114.7 MB / 0.5114 GB, free: 7.781 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.6536, allocations: 75.95 kB / 0.5114 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.719/2.373, allocations: 261.2 MB / 0.7665 GB, free: 51.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.344e-06/2.373, allocations: 0 / 0.7665 GB, free: 51.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001201/2.374, allocations: 264.2 kB / 0.7668 GB, free: 51.26 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.06305/2.437, allocations: 13.42 MB / 0.7799 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/2.437, allocations: 10.38 kB / 0.7799 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009447/2.446, allocations: 1.969 MB / 0.7818 GB, free: 46.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1902/2.637, allocations: 26.79 MB / 0.808 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.091/2.728, allocations: 25.77 MB / 0.8331 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001142/2.729, allocations: 0.8832 MB / 0.834 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006292/2.735, allocations: 1.228 MB / 0.8352 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08344/2.819, allocations: 26.73 MB / 0.8613 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0013/2.82, allocations: 182.9 kB / 0.8615 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005341/2.825, allocations: 0.5465 MB / 0.862 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005165/2.831, allocations: 2.383 MB / 0.8643 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06907/2.9, allocations: 21.43 MB / 0.8853 GB, free: 0.6172 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.6447/3.545, allocations: 118.7 MB / 1.001 GB, free: 46.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06137/3.606, allocations: 13.06 MB / 1.014 GB, free: 45.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01524/3.621, allocations: 8.505 MB / 1.022 GB, free: 45.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009681/3.622, allocations: 397.2 kB / 1.023 GB, free: 44.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.798e-05/3.622, allocations: 96.17 kB / 1.023 GB, free: 44.94 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=538): time 1.047e-05/3.622, allocations: 0 / 1.023 GB, free: 44.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=737): time 0.6384/4.261, allocations: 117.1 MB / 1.137 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002249/4.263, allocations: 2.355 MB / 1.139 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02619/4.289, allocations: 9.423 MB / 1.149 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002462/4.292, allocations: 145.5 kB / 1.149 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.4324/4.724, allocations: 7.923 MB / 1.156 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.005382/4.73, allocations: 2.683 MB / 1.159 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002773/4.733, allocations: 281.8 kB / 1.159 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001085/4.734, allocations: 0.9134 MB / 1.16 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02242/4.756, allocations: 9.336 MB / 1.169 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0277/4.784, allocations: 16.08 MB / 1.185 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02737/4.811, allocations: 12.18 MB / 1.197 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002853/4.812, allocations: 71.27 kB / 1.197 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1838) (initialization): time 0.2163/5.028, allocations: 44.68 MB / 1.241 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/5.028, allocations: 102.6 kB / 1.241 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1652/5.193, allocations: 33.98 MB / 1.274 GB, free: 92.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1564/5.35, allocations: 21.81 MB / 1.295 GB, free: 78.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02149/5.371, allocations: 3.153 MB / 1.298 GB, free: 76.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5635/5.935, allocations: 65.89 MB / 1.363 GB, free: 99.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02443/5.959, allocations: 1.307 MB / 1.364 GB, free: 99.54 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004224/5.964, allocations: 0.7741 MB / 1.365 GB, free: 99.54 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.005113/5.969, allocations: 1.129 MB / 1.366 GB, free: 99.42 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003272/5.972, allocations: 1.082 MB / 1.367 GB, free: 99.42 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0948/6.067, allocations: 27.63 MB / 1.394 GB, free: 98.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08381/6.151, allocations: 24.9 MB / 1.418 GB, free: 98.48 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-05/6.151, allocations: 42.66 kB / 1.418 GB, free: 98.48 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001537/6.151, allocations: 37.91 kB / 1.418 GB, free: 98.48 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1572/6.308, allocations: 56.92 MB / 1.474 GB, free: 82.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.371e-05/6.308, allocations: 0 / 1.474 GB, free: 82.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01143/6.32, allocations: 1.151 MB / 1.475 GB, free: 82.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05691/6.377, allocations: 11.51 MB / 1.486 GB, free: 79.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002131/6.379, allocations: 162.7 kB / 1.486 GB, free: 79.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1179/6.497, allocations: 54.39 MB / 1.539 GB, free: 35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001711/6.499, allocations: 1.733 MB / 1.541 GB, free: 33.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5066/7.005, allocations: 39.78 MB / 1.58 GB, free: 106.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004126/7.009, allocations: 1.086 MB / 1.581 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005038/7.015, allocations: 141.4 kB / 1.581 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01574/7.03, allocations: 0.7375 MB / 1.582 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003473/7.034, allocations: 0.506 MB / 1.582 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001288/7.035, allocations: 192 kB / 1.583 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01689/7.052, allocations: 6.814 MB / 1.589 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.092e-06/7.052, allocations: 3.031 kB / 1.589 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02109/7.073, allocations: 4.175 MB / 1.593 GB, free: 105.7 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.1113/7.184, allocations: 40.7 MB / 1.633 GB, free: 104 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.06471/7.249, allocations: 24.56 MB / 1.657 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/7.249, allocations: 3.562 kB / 1.657 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.04026/7.29, allocations: 12.47 MB / 1.669 GB, free: 97.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02108/7.311, allocations: 1.637 MB / 1.671 GB, free: 97.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1538/7.465, allocations: 37.73 MB / 1.708 GB, free: 82.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02248/7.487, allocations: 9.245 MB / 1.717 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0178/7.505, allocations: 6.854 MB / 1.723 GB, free: 69.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.603e-06/7.505, allocations: 3.469 kB / 1.723 GB, free: 69.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.29/18.8, allocations: 0.5989 GB / 2.322 GB, free: 134.7 MB / 0.6511 GB