Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.404e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.5846, allocations: 100.3 MB / 422.2 MB, free: 5.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.585, allocations: 67.95 kB / 422.2 MB, free: 5.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.196/2.781, allocations: 258.4 MB / 0.6646 GB, free: 25.36 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.865e-06/2.781, allocations: 0 / 0.6646 GB, free: 25.36 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001896/2.783, allocations: 259.8 kB / 0.6649 GB, free: 25.36 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.08038/2.863, allocations: 13.56 MB / 0.6781 GB, free: 20.76 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.402e-05/2.863, allocations: 9.656 kB / 0.6781 GB, free: 20.76 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01258/2.876, allocations: 1.989 MB / 0.6801 GB, free: 20.62 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1964/3.072, allocations: 26.8 MB / 0.7063 GB, free: 19.73 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1211/3.194, allocations: 27.1 MB / 0.7327 GB, free: 17.86 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001597/3.195, allocations: 0.8951 MB / 0.7336 GB, free: 17.83 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008246/3.203, allocations: 1.226 MB / 0.7348 GB, free: 17.8 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1084/3.312, allocations: 26.98 MB / 0.7611 GB, free: 12.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00178/3.314, allocations: 185.3 kB / 0.7613 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01047/3.324, allocations: 0.5448 MB / 0.7619 GB, free: 12.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009027/3.333, allocations: 2.408 MB / 0.7642 GB, free: 10.87 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1228/3.456, allocations: 22.79 MB / 0.7865 GB, free: 11.22 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.8011/4.257, allocations: 119.8 MB / 0.9034 GB, free: 22.58 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06441/4.322, allocations: 13.19 MB / 0.9163 GB, free: 21.89 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0173/4.339, allocations: 8.595 MB / 0.9247 GB, free: 21.84 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/4.341, allocations: 405.6 kB / 0.9251 GB, free: 21.56 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/4.341, allocations: 99.56 kB / 0.9252 GB, free: 21.52 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=550): time 1.057e-05/4.341, allocations: 3.938 kB / 0.9252 GB, free: 21.52 MB / 0.4949 GB Notification: Performance of matching and sorting (n=734): time 1.154/5.495, allocations: 114.6 MB / 1.037 GB, free: 92.58 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003536/5.499, allocations: 2.352 MB / 1.039 GB, free: 90.49 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03317/5.532, allocations: 9.597 MB / 1.049 GB, free: 89.91 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002689/5.535, allocations: 147.5 kB / 1.049 GB, free: 89.88 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.009228/5.544, allocations: 8.26 MB / 1.057 GB, free: 87.73 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005725/5.55, allocations: 2.674 MB / 1.06 GB, free: 86.11 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003635/5.553, allocations: 279.3 kB / 1.06 GB, free: 86.11 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001267/5.555, allocations: 0.9044 MB / 1.061 GB, free: 85.77 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02186/5.577, allocations: 9.076 MB / 1.07 GB, free: 85.74 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03714/5.614, allocations: 15.87 MB / 1.085 GB, free: 77.15 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04252/5.656, allocations: 11.92 MB / 1.097 GB, free: 77.03 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003955/5.657, allocations: 69.31 kB / 1.097 GB, free: 77.03 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2382/5.895, allocations: 44.1 MB / 1.14 GB, free: 67.35 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002243/5.895, allocations: 103.7 kB / 1.14 GB, free: 67.35 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1703/6.066, allocations: 32.77 MB / 1.172 GB, free: 48.36 MB / 0.4949 GB Notification: Tearing is skipped for strong component 3 because system size of 214 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0956/6.161, allocations: 11.16 MB / 1.183 GB, free: 42.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02854/6.19, allocations: 3.175 MB / 1.186 GB, free: 39.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06022/6.25, allocations: 15.18 MB / 1.201 GB, free: 24.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03358/6.284, allocations: 1.324 MB / 1.202 GB, free: 23.09 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4342/6.718, allocations: 0.7766 MB / 1.203 GB, free: 82.2 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): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(214,1.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01002/6.728, allocations: 1.127 MB / 1.204 GB, free: 82.08 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00656/6.735, allocations: 1.093 MB / 1.205 GB, free: 82.08 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.158/6.893, allocations: 27.08 MB / 1.231 GB, free: 81.55 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09877/6.992, allocations: 24.37 MB / 1.255 GB, free: 81.13 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001489/6.992, allocations: 42.12 kB / 1.255 GB, free: 81.13 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002512/6.992, allocations: 36.27 kB / 1.255 GB, free: 81.13 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2035/7.196, allocations: 55.99 MB / 1.31 GB, free: 64.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001369/7.196, allocations: 6.844 kB / 1.31 GB, free: 64.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01546/7.211, allocations: 1.149 MB / 1.311 GB, free: 64.18 MB / 0.4949 GB Notification: Tearing is skipped for strong component 12 because system size of 211 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.01751/7.229, allocations: 2.115 MB / 1.313 GB, free: 63.84 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003199/7.232, allocations: 161.7 kB / 1.313 GB, free: 63.74 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/7.246, allocations: 4.594 MB / 1.318 GB, free: 61.73 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002216/7.249, allocations: 1.712 MB / 1.32 GB, free: 60.23 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.122/7.371, allocations: 38.79 MB / 1.357 GB, free: 29.59 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01162/7.382, allocations: 2.741 MB / 1.36 GB, free: 27.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005944/7.388, allocations: 135.5 kB / 1.36 GB, free: 27.13 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01823/7.407, allocations: 0.7469 MB / 1.361 GB, free: 26.69 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003891/7.41, allocations: 0.6482 MB / 1.362 GB, free: 26.34 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00234/7.413, allocations: 190.1 kB / 1.362 GB, free: 26.18 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01928/7.432, allocations: 6.943 MB / 1.369 GB, free: 20.07 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.41e-07/7.432, allocations: 0 / 1.369 GB, free: 20.07 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02293/7.455, allocations: 3.706 MB / 1.372 GB, free: 16.38 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): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(211,1.7%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5833/8.039, allocations: 40.06 MB / 1.411 GB, free: 77.13 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.08699/8.126, allocations: 26.24 MB / 1.437 GB, free: 76.24 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/8.126, allocations: 0 / 1.437 GB, free: 76.24 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.06925/8.195, allocations: 14.42 MB / 1.451 GB, free: 75.54 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02287/8.218, allocations: 1.644 MB / 1.453 GB, free: 74.97 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1871/8.405, allocations: 35.92 MB / 1.488 GB, free: 62.41 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02502/8.43, allocations: 9.172 MB / 1.497 GB, free: 59.83 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02472/8.455, allocations: 4.736 MB / 1.501 GB, free: 57.86 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0186/8.474, allocations: 6.816 MB / 1.508 GB, free: 51.55 MB / 0.4949 GB Notification: Performance of SimCode: time 1.452e-06/8.474, allocations: 0 / 1.508 GB, free: 51.55 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.591/10.07, allocations: 291 MB / 1.792 GB, free: 70.04 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/10.07, allocations: 196.3 kB / 1.792 GB, free: 69.82 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/25.18, allocations: 0.875 kB / 1.792 GB, free: 69.82 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat