Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.258e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.5516, allocations: 100.3 MB / 422.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5519, allocations: 75.95 kB / 422.2 MB, free: 5.562 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.916/2.468, allocations: 258.4 MB / 0.6646 GB, free: 25.5 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.014e-06/2.468, allocations: 6.031 kB / 0.6646 GB, free: 25.5 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001434/2.47, allocations: 267.8 kB / 0.6648 GB, free: 25.5 MB / 426.8 MB 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.07488/2.545, allocations: 13.55 MB / 0.6781 GB, free: 20.91 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/2.545, allocations: 9.594 kB / 0.6781 GB, free: 20.91 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01143/2.556, allocations: 1.991 MB / 0.68 GB, free: 20.77 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2806/2.837, allocations: 26.8 MB / 0.7062 GB, free: 19.89 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09677/2.934, allocations: 27.11 MB / 0.7327 GB, free: 18.01 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/2.935, allocations: 0.8868 MB / 0.7335 GB, free: 17.98 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007187/2.942, allocations: 1.229 MB / 0.7347 GB, free: 17.96 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09052/3.033, allocations: 27.12 MB / 0.7612 GB, free: 12.33 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001435/3.034, allocations: 179.4 kB / 0.7614 GB, free: 12.3 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006139/3.04, allocations: 0.5412 MB / 0.7619 GB, free: 12.3 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005614/3.046, allocations: 2.421 MB / 0.7643 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07658/3.123, allocations: 22.1 MB / 0.7859 GB, free: 8.633 MB / 442.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.6949/3.818, allocations: 120.3 MB / 0.9034 GB, free: 23.72 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07732/3.895, allocations: 13.25 MB / 0.9163 GB, free: 23.01 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01581/3.911, allocations: 8.586 MB / 0.9247 GB, free: 22.96 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009835/3.912, allocations: 405.6 kB / 0.9251 GB, free: 22.68 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.678e-05/3.912, allocations: 99.67 kB / 0.9252 GB, free: 22.63 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=550): time 1.093e-05/3.912, allocations: 3.609 kB / 0.9252 GB, free: 22.63 MB / 0.4949 GB Notification: Performance of matching and sorting (n=734): time 1.078/4.99, allocations: 114.2 MB / 1.037 GB, free: 93.57 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00248/4.993, allocations: 2.354 MB / 1.039 GB, free: 91.48 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02955/5.022, allocations: 9.594 MB / 1.048 GB, free: 90.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002775/5.025, allocations: 140.8 kB / 1.049 GB, free: 90.87 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.00796/5.033, allocations: 7.633 MB / 1.056 GB, free: 88.69 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005448/5.038, allocations: 2.67 MB / 1.059 GB, free: 87.07 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003641/5.042, allocations: 284.7 kB / 1.059 GB, free: 87.07 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001349/5.044, allocations: 0.9179 MB / 1.06 GB, free: 86.73 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02249/5.066, allocations: 9.073 MB / 1.069 GB, free: 86.7 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02821/5.094, allocations: 15.95 MB / 1.084 GB, free: 78.07 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02834/5.123, allocations: 11.93 MB / 1.096 GB, free: 77.95 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002706/5.123, allocations: 66.12 kB / 1.096 GB, free: 77.95 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2099/5.333, allocations: 44.2 MB / 1.139 GB, free: 68.38 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/5.333, allocations: 107.3 kB / 1.139 GB, free: 68.38 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.185/5.518, allocations: 32.77 MB / 1.171 GB, free: 49.68 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1463/5.665, allocations: 20.86 MB / 1.192 GB, free: 33.91 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02207/5.687, allocations: 3.174 MB / 1.195 GB, free: 30.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5955/6.282, allocations: 65.15 MB / 1.258 GB, free: 78.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02485/6.307, allocations: 1.31 MB / 1.26 GB, free: 78.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004237/6.312, allocations: 0.7769 MB / 1.26 GB, free: 78.41 MB / 0.4949 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): 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 {(21,54.2%) 193} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.007397/6.319, allocations: 1.137 MB / 1.261 GB, free: 77.91 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004602/6.324, allocations: 1.095 MB / 1.262 GB, free: 77.91 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1463/6.47, allocations: 27.08 MB / 1.289 GB, free: 69.04 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1348/6.605, allocations: 24.37 MB / 1.313 GB, free: 61.48 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/6.605, allocations: 42 kB / 1.313 GB, free: 61.48 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001877/6.605, allocations: 34.83 kB / 1.313 GB, free: 61.48 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1919/6.797, allocations: 55.99 MB / 1.367 GB, free: 19.23 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.504e-05/6.797, allocations: 3.938 kB / 1.367 GB, free: 19.23 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01163/6.809, allocations: 1.155 MB / 1.369 GB, free: 18.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06046/6.869, allocations: 11.48 MB / 1.38 GB, free: 9.637 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002495/6.872, allocations: 155.9 kB / 1.38 GB, free: 9.484 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5609/7.433, allocations: 54.5 MB / 1.433 GB, free: 80.01 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001928/7.435, allocations: 1.739 MB / 1.435 GB, free: 78.63 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1243/7.559, allocations: 38.79 MB / 1.473 GB, free: 66.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0118/7.571, allocations: 2.735 MB / 1.475 GB, free: 65.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005757/7.577, allocations: 137.9 kB / 1.476 GB, free: 65.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01678/7.594, allocations: 0.7463 MB / 1.476 GB, free: 65 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004169/7.598, allocations: 0.5049 MB / 1.477 GB, free: 64.93 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002138/7.6, allocations: 191.8 kB / 1.477 GB, free: 64.89 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0194/7.619, allocations: 6.949 MB / 1.484 GB, free: 62.55 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.11e-07/7.62, allocations: 0 / 1.484 GB, free: 62.55 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02487/7.644, allocations: 4.157 MB / 1.488 GB, free: 62.18 MB / 0.4949 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.1249/7.769, allocations: 39.69 MB / 1.527 GB, free: 31.56 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.06493/7.834, allocations: 24.38 MB / 1.55 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/7.834, allocations: 0 / 1.55 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0402/7.875, allocations: 12.41 MB / 1.563 GB, free: 0 / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01694/7.892, allocations: 1.667 MB / 1.564 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5135/8.405, allocations: 38.57 MB / 1.602 GB, free: 93.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02556/8.431, allocations: 9.32 MB / 1.611 GB, free: 92.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.019/8.45, allocations: 6.898 MB / 1.618 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.734e-06/8.45, allocations: 0 / 1.618 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.64/19.09, allocations: 0.6029 GB / 2.221 GB, free: 117.9 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat