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 1.964/1.964, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.196e-05/5.217e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5849, allocations: 100.3 MB / 422.1 MB, free: 5.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5853, allocations: 71.97 kB / 422.2 MB, free: 5.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.998/2.583, allocations: 258.4 MB / 0.6646 GB, free: 25.26 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.984e-06/2.583, allocations: 0 / 0.6646 GB, free: 25.26 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.001571/2.585, allocations: 260.8 kB / 0.6649 GB, free: 25.25 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.07126/2.656, allocations: 13.56 MB / 0.6781 GB, free: 20.66 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/2.656, allocations: 8.344 kB / 0.6781 GB, free: 20.66 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01027/2.666, allocations: 1.989 MB / 0.6801 GB, free: 20.52 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1924/2.859, allocations: 26.81 MB / 0.7062 GB, free: 19.63 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1091/2.968, allocations: 27.1 MB / 0.7327 GB, free: 17.76 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001871/2.97, allocations: 0.8865 MB / 0.7336 GB, free: 17.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007955/2.978, allocations: 1.229 MB / 0.7348 GB, free: 17.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1256/3.104, allocations: 27.13 MB / 0.7613 GB, free: 12.09 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001746/3.106, allocations: 174.6 kB / 0.7614 GB, free: 12.06 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007622/3.113, allocations: 0.543 MB / 0.762 GB, free: 12.06 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008391/3.122, allocations: 2.42 MB / 0.7643 GB, free: 10.66 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08573/3.207, allocations: 22.23 MB / 0.786 GB, free: 8.637 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.6373/3.845, allocations: 120.3 MB / 0.9035 GB, free: 23.81 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06954/3.914, allocations: 13.23 MB / 0.9164 GB, free: 23.1 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02495/3.939, allocations: 8.595 MB / 0.9248 GB, free: 23.05 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/3.941, allocations: 402 kB / 0.9252 GB, free: 22.77 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/3.941, allocations: 99.5 kB / 0.9253 GB, free: 22.72 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=550): time 1.806e-05/3.941, allocations: 0 / 0.9253 GB, free: 22.72 MB / 0.4949 GB Notification: Performance of matching and sorting (n=734): time 1.094/5.035, allocations: 114.4 MB / 1.037 GB, free: 93.39 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003281/5.039, allocations: 2.354 MB / 1.039 GB, free: 91.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03862/5.077, allocations: 9.598 MB / 1.049 GB, free: 90.71 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003203/5.081, allocations: 137.9 kB / 1.049 GB, free: 90.68 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0101/5.091, allocations: 8.257 MB / 1.057 GB, free: 88.53 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005634/5.096, allocations: 2.679 MB / 1.059 GB, free: 86.91 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003626/5.1, allocations: 283.2 kB / 1.06 GB, free: 86.91 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001432/5.102, allocations: 0.9036 MB / 1.061 GB, free: 86.58 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02294/5.125, allocations: 9.074 MB / 1.069 GB, free: 86.55 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0282/5.153, allocations: 15.96 MB / 1.085 GB, free: 77.93 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02898/5.182, allocations: 11.93 MB / 1.097 GB, free: 77.8 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003065/5.182, allocations: 65.84 kB / 1.097 GB, free: 77.8 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.2136/5.396, allocations: 44.75 MB / 1.14 GB, free: 67.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/5.396, allocations: 109.4 kB / 1.141 GB, free: 67.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1623/5.558, allocations: 32.77 MB / 1.173 GB, free: 48.51 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.09795/5.656, allocations: 11.17 MB / 1.183 GB, free: 42.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02251/5.679, allocations: 3.166 MB / 1.187 GB, free: 39.13 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04174/5.721, allocations: 15.19 MB / 1.201 GB, free: 23.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4179/6.139, allocations: 1.308 MB / 1.203 GB, free: 82.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005086/6.144, allocations: 0.7796 MB / 1.203 GB, free: 82.48 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.009028/6.153, allocations: 1.127 MB / 1.205 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005302/6.158, allocations: 1.091 MB / 1.206 GB, free: 82.36 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1093/6.268, allocations: 27.08 MB / 1.232 GB, free: 81.83 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09375/6.361, allocations: 24.37 MB / 1.256 GB, free: 81.41 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001617/6.362, allocations: 44.42 kB / 1.256 GB, free: 81.41 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002486/6.362, allocations: 36.34 kB / 1.256 GB, free: 81.41 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1867/6.549, allocations: 55.99 MB / 1.311 GB, free: 64.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001211/6.549, allocations: 0 / 1.311 GB, free: 64.53 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01212/6.561, allocations: 1.153 MB / 1.312 GB, free: 64.5 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.01259/6.574, allocations: 2.121 MB / 1.314 GB, free: 64.16 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002786/6.576, allocations: 160.3 kB / 1.314 GB, free: 64.06 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/6.587, allocations: 4.6 MB / 1.318 GB, free: 62.05 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001912/6.589, allocations: 1.714 MB / 1.32 GB, free: 60.55 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1235/6.712, allocations: 38.78 MB / 1.358 GB, free: 29.11 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01553/6.728, allocations: 2.738 MB / 1.361 GB, free: 26.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006878/6.735, allocations: 137.5 kB / 1.361 GB, free: 26.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02182/6.757, allocations: 0.7477 MB / 1.362 GB, free: 26.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005064/6.762, allocations: 0.6431 MB / 1.362 GB, free: 25.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002934/6.765, allocations: 191.1 kB / 1.362 GB, free: 25.69 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.02659/6.791, allocations: 6.945 MB / 1.369 GB, free: 19.58 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.072e-06/6.791, allocations: 1.906 kB / 1.369 GB, free: 19.58 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.02335/6.815, allocations: 3.703 MB / 1.373 GB, free: 15.89 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.5301/7.345, allocations: 39.97 MB / 1.412 GB, free: 77.84 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.08862/7.434, allocations: 26.61 MB / 1.438 GB, free: 76.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/7.434, allocations: 3.938 kB / 1.438 GB, free: 76.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.05945/7.493, allocations: 14.47 MB / 1.452 GB, free: 75.82 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01601/7.509, allocations: 1.635 MB / 1.454 GB, free: 75.19 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1238/7.633, allocations: 35.95 MB / 1.489 GB, free: 62.57 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02593/7.659, allocations: 9.174 MB / 1.498 GB, free: 60 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02562/7.685, allocations: 4.742 MB / 1.502 GB, free: 56.93 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01844/7.703, allocations: 6.813 MB / 1.509 GB, free: 50.62 MB / 0.4949 GB Notification: Performance of SimCode: time 1.252e-06/7.703, allocations: 0 / 1.509 GB, free: 50.62 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.577/9.28, allocations: 292.8 MB / 1.795 GB, free: 73.14 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/9.28, allocations: 194.5 kB / 1.795 GB, free: 72.93 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/23.64, allocations: 0 / 1.795 GB, free: 72.93 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