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 1.981/1.981, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.248e-05/5.257e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 48.7 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.6028, allocations: 100.3 MB / 422.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.6031, allocations: 71.95 kB / 422.2 MB, free: 5.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.982/2.586, allocations: 258.4 MB / 0.6646 GB, free: 25.27 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.206e-06/2.586, allocations: 1.25 kB / 0.6646 GB, free: 25.27 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001481/2.587, allocations: 265.1 kB / 0.6649 GB, free: 25.27 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.07186/2.659, allocations: 13.55 MB / 0.6781 GB, free: 20.68 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/2.659, allocations: 9.438 kB / 0.6781 GB, free: 20.68 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01118/2.67, allocations: 1.994 MB / 0.6801 GB, free: 20.54 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1907/2.861, allocations: 26.8 MB / 0.7062 GB, free: 19.65 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09706/2.958, allocations: 27.1 MB / 0.7327 GB, free: 17.78 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/2.96, allocations: 0.8882 MB / 0.7336 GB, free: 17.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007087/2.967, allocations: 1.232 MB / 0.7348 GB, free: 17.72 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08902/3.056, allocations: 26.98 MB / 0.7611 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001459/3.057, allocations: 178.2 kB / 0.7613 GB, free: 12.12 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006322/3.064, allocations: 0.5445 MB / 0.7618 GB, free: 12.12 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005455/3.069, allocations: 2.411 MB / 0.7642 GB, free: 10.88 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09234/3.161, allocations: 22.77 MB / 0.7864 GB, free: 11.23 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.6121/3.774, allocations: 119.8 MB / 0.9034 GB, free: 22.74 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06302/3.837, allocations: 13.19 MB / 0.9163 GB, free: 22.05 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01709/3.854, allocations: 8.593 MB / 0.9247 GB, free: 22 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/3.855, allocations: 405.8 kB / 0.925 GB, free: 21.72 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.381e-05/3.855, allocations: 97.17 kB / 0.9251 GB, free: 21.68 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=550): time 9.999e-06/3.855, allocations: 0 / 0.9251 GB, free: 21.68 MB / 0.4949 GB Notification: Performance of matching and sorting (n=734): time 1.035/4.89, allocations: 114.5 MB / 1.037 GB, free: 92.57 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003231/4.894, allocations: 2.352 MB / 1.039 GB, free: 90.48 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03772/4.932, allocations: 9.596 MB / 1.049 GB, free: 89.9 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003103/4.935, allocations: 142 kB / 1.049 GB, free: 89.87 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01027/4.945, allocations: 7.629 MB / 1.056 GB, free: 87.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006608/4.952, allocations: 2.675 MB / 1.059 GB, free: 86.08 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003958/4.956, allocations: 289.3 kB / 1.059 GB, free: 86.08 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001441/4.957, allocations: 0.9128 MB / 1.06 GB, free: 85.74 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02214/4.979, allocations: 9.071 MB / 1.069 GB, free: 85.71 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02695/5.006, allocations: 15.88 MB / 1.084 GB, free: 77.12 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02707/5.034, allocations: 11.92 MB / 1.096 GB, free: 77 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002749/5.034, allocations: 67.72 kB / 1.096 GB, free: 77 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2048/5.239, allocations: 43.55 MB / 1.139 GB, free: 67.96 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/5.239, allocations: 102.1 kB / 1.139 GB, free: 67.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1597/5.399, allocations: 32.77 MB / 1.171 GB, free: 49.55 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1432/5.542, allocations: 20.86 MB / 1.191 GB, free: 34.56 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02131/5.563, allocations: 3.162 MB / 1.194 GB, free: 31.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5755/6.139, allocations: 65.17 MB / 1.258 GB, free: 77.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02515/6.164, allocations: 1.317 MB / 1.259 GB, free: 77.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004407/6.168, allocations: 0.7736 MB / 1.26 GB, free: 77.43 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.007966/6.176, allocations: 1.138 MB / 1.261 GB, free: 76.93 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004865/6.181, allocations: 1.096 MB / 1.262 GB, free: 76.93 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1014/6.283, allocations: 27.07 MB / 1.288 GB, free: 68.06 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09062/6.373, allocations: 24.38 MB / 1.312 GB, free: 60.51 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001248/6.374, allocations: 38.12 kB / 1.312 GB, free: 60.51 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002012/6.374, allocations: 34.5 kB / 1.312 GB, free: 60.51 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1743/6.548, allocations: 55.99 MB / 1.367 GB, free: 19.15 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.847e-05/6.548, allocations: 0 / 1.367 GB, free: 19.15 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/6.56, allocations: 1.154 MB / 1.368 GB, free: 18.32 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06063/6.621, allocations: 11.48 MB / 1.379 GB, free: 10.41 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002579/6.623, allocations: 154.9 kB / 1.38 GB, free: 10.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5721/7.196, allocations: 54.53 MB / 1.433 GB, free: 79.03 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001919/7.197, allocations: 1.743 MB / 1.434 GB, free: 77.66 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.12/7.318, allocations: 38.78 MB / 1.472 GB, free: 65.38 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01143/7.329, allocations: 2.735 MB / 1.475 GB, free: 64.42 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00557/7.335, allocations: 142.1 kB / 1.475 GB, free: 64.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01634/7.351, allocations: 0.7458 MB / 1.476 GB, free: 64.23 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004032/7.355, allocations: 0.504 MB / 1.476 GB, free: 64.16 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002222/7.357, allocations: 185.5 kB / 1.477 GB, free: 64.12 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01919/7.377, allocations: 6.95 MB / 1.483 GB, free: 61.78 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.803e-06/7.377, allocations: 0 / 1.483 GB, free: 61.78 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0269/7.404, allocations: 4.16 MB / 1.487 GB, free: 61.42 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.149/7.553, allocations: 39.69 MB / 1.526 GB, free: 31.44 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.07035/7.623, allocations: 23.93 MB / 1.55 GB, free: 10.55 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/7.623, allocations: 0 / 1.55 GB, free: 10.55 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.04751/7.671, allocations: 12.15 MB / 1.561 GB, free: 0 / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01712/7.688, allocations: 1.657 MB / 1.563 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5675/8.255, allocations: 38.03 MB / 1.6 GB, free: 92.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0259/8.281, allocations: 9.314 MB / 1.609 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01745/8.299, allocations: 6.901 MB / 1.616 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of SimCode: time 1.924e-06/8.299, allocations: 0 / 1.616 GB, free: 91.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 10.26/18.56, allocations: 0.6005 GB / 2.216 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