Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.464e-05/4.478e-05, allocations: 0 / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4222, allocations: 54.85 MB / 359.8 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.6203, allocations: 107.1 MB / 467 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.6206, allocations: 76.92 kB / 467 MB, free: 5.738 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.047/2.667, allocations: 258.9 MB / 0.7089 GB, free: 33.78 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.255e-06/2.667, allocations: 0 / 0.7089 GB, free: 33.78 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001699/2.669, allocations: 264.6 kB / 0.7092 GB, free: 33.78 MB / 474.8 MB 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.07159/2.741, allocations: 13.56 MB / 0.7224 GB, free: 30.6 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/2.741, allocations: 9.344 kB / 0.7224 GB, free: 30.6 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01059/2.751, allocations: 1.995 MB / 0.7244 GB, free: 30.46 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1909/2.942, allocations: 26.83 MB / 0.7506 GB, free: 29.57 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09681/3.039, allocations: 27.12 MB / 0.7771 GB, free: 27.69 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/3.04, allocations: 0.8896 MB / 0.7779 GB, free: 27.66 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006746/3.047, allocations: 1.238 MB / 0.7791 GB, free: 27.63 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08891/3.136, allocations: 27 MB / 0.8055 GB, free: 22.22 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001385/3.138, allocations: 177.9 kB / 0.8057 GB, free: 22.2 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005884/3.144, allocations: 0.5468 MB / 0.8062 GB, free: 22.2 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005657/3.149, allocations: 2.418 MB / 0.8086 GB, free: 22.17 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07338/3.223, allocations: 21.69 MB / 0.8298 GB, free: 8.109 MB / 474.8 MB 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.6697/3.892, allocations: 120.5 MB / 0.9474 GB, free: 27.47 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06189/3.954, allocations: 13.2 MB / 0.9603 GB, free: 26.78 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01575/3.97, allocations: 8.58 MB / 0.9687 GB, free: 26.73 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/3.971, allocations: 416.6 kB / 0.9691 GB, free: 26.44 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.267e-05/3.971, allocations: 96.31 kB / 0.9692 GB, free: 26.4 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=550): time 1.019e-05/3.971, allocations: 0 / 0.9692 GB, free: 26.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=734): time 0.6436/4.615, allocations: 112.8 MB / 1.079 GB, free: 10.36 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002947/4.618, allocations: 2.349 MB / 1.082 GB, free: 7.828 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02962/4.648, allocations: 9.592 MB / 1.091 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.003058/4.651, allocations: 143.2 kB / 1.091 GB, free: 15.34 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.01062/4.661, allocations: 7.646 MB / 1.099 GB, free: 8.77 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.006298/4.668, allocations: 2.67 MB / 1.101 GB, free: 6.391 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003758/4.672, allocations: 294.6 kB / 1.102 GB, free: 6.105 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001677/4.673, allocations: 0.9034 MB / 1.102 GB, free: 5.359 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04459/4.718, allocations: 10.23 MB / 1.112 GB, free: 0 / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.433/5.151, allocations: 15.89 MB / 1.128 GB, free: 110 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03219/5.183, allocations: 11.94 MB / 1.14 GB, free: 109.9 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005122/5.184, allocations: 66.66 kB / 1.14 GB, free: 109.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2195/5.403, allocations: 44.23 MB / 1.183 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002492/5.404, allocations: 103.5 kB / 1.183 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1674/5.571, allocations: 33.45 MB / 1.216 GB, free: 105.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.179/5.75, allocations: 21.67 MB / 1.237 GB, free: 99.65 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02191/5.772, allocations: 3.167 MB / 1.24 GB, free: 97.01 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1715/5.944, allocations: 66.01 MB / 1.304 GB, free: 35.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02577/5.97, allocations: 1.312 MB / 1.306 GB, free: 34.24 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004504/5.974, allocations: 0.7772 MB / 1.306 GB, free: 33.46 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1061 * 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 (1573): * Single equations (assignments): 1561 * 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,54.2%) 193} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.4362/6.41, allocations: 1.141 MB / 1.307 GB, free: 102.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006229/6.417, allocations: 1.098 MB / 1.309 GB, free: 102.7 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1107/6.527, allocations: 27.07 MB / 1.335 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08803/6.615, allocations: 24.37 MB / 1.359 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001255/6.616, allocations: 42.12 kB / 1.359 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002026/6.616, allocations: 36.48 kB / 1.359 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1706/6.786, allocations: 56.01 MB / 1.414 GB, free: 88.79 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001058/6.787, allocations: 1.969 kB / 1.414 GB, free: 88.79 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01158/6.798, allocations: 1.157 MB / 1.415 GB, free: 88.75 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05956/6.858, allocations: 11.48 MB / 1.426 GB, free: 86.55 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002502/6.86, allocations: 159.8 kB / 1.426 GB, free: 86.45 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1412/7.002, allocations: 54.53 MB / 1.479 GB, free: 44.32 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001957/7.004, allocations: 1.721 MB / 1.481 GB, free: 42.58 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5582/7.562, allocations: 38.78 MB / 1.519 GB, free: 91.28 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01228/7.574, allocations: 2.737 MB / 1.522 GB, free: 91.19 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005836/7.58, allocations: 140.5 kB / 1.522 GB, free: 91.19 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01743/7.598, allocations: 0.746 MB / 1.522 GB, free: 91.19 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004291/7.602, allocations: 0.5037 MB / 1.523 GB, free: 91.18 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002477/7.604, allocations: 194 kB / 1.523 GB, free: 91.18 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02026/7.625, allocations: 6.949 MB / 1.53 GB, free: 90.8 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.102e-06/7.625, allocations: 0 / 1.53 GB, free: 90.8 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02638/7.651, allocations: 4.169 MB / 1.534 GB, free: 90.8 MB / 0.5574 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 (496): * Single equations (assignments): 487 * 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 {(19,68.7%) 192} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1269/7.778, allocations: 39.69 MB / 1.573 GB, free: 89.09 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.06684/7.845, allocations: 23.96 MB / 1.596 GB, free: 84.73 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/7.845, allocations: 3.062 kB / 1.596 GB, free: 84.73 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0375/7.883, allocations: 12.12 MB / 1.608 GB, free: 79.84 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01646/7.899, allocations: 1.639 MB / 1.61 GB, free: 79.21 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/8.025, allocations: 37.47 MB / 1.646 GB, free: 60.02 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02428/8.049, allocations: 9.323 MB / 1.655 GB, free: 53.36 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01878/8.068, allocations: 6.902 MB / 1.662 GB, free: 46.97 MB / 0.5574 GB Notification: Performance of SimCode: time 1.804e-06/8.068, allocations: 0 / 1.662 GB, free: 46.97 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.15/18.22, allocations: 0.6016 GB / 2.264 GB, free: 67.34 MB / 0.5887 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat