Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.608/2.608, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.491e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5008, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.7268, allocations: 107.1 MB / 467 MB, free: 5.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.7272, allocations: 71.97 kB / 467 MB, free: 5.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.182/2.909, allocations: 258.9 MB / 0.7089 GB, free: 33.7 MB / 474.8 MB Notification: Performance of FrontEnd: time 4.669e-06/2.909, allocations: 5.484 kB / 0.7089 GB, free: 33.7 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001942/2.911, allocations: 266.8 kB / 0.7092 GB, free: 33.7 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.08389/2.995, allocations: 13.55 MB / 0.7224 GB, free: 30.43 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/2.995, allocations: 9.312 kB / 0.7224 GB, free: 30.43 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01182/3.007, allocations: 1.994 MB / 0.7244 GB, free: 30.29 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1932/3.2, allocations: 26.83 MB / 0.7506 GB, free: 29.4 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1144/3.315, allocations: 27.12 MB / 0.7771 GB, free: 27.53 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001496/3.316, allocations: 0.8868 MB / 0.7779 GB, free: 27.5 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007785/3.324, allocations: 1.237 MB / 0.7791 GB, free: 27.47 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.112/3.436, allocations: 27.14 MB / 0.8056 GB, free: 22 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002201/3.439, allocations: 178.7 kB / 0.8058 GB, free: 21.98 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008014/3.447, allocations: 0.5456 MB / 0.8063 GB, free: 21.98 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006153/3.453, allocations: 2.417 MB / 0.8087 GB, free: 21.95 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0772/3.53, allocations: 22.08 MB / 0.8303 GB, free: 7.648 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.7412/4.271, allocations: 120.8 MB / 0.9482 GB, free: 26.61 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06412/4.336, allocations: 13.24 MB / 0.9611 GB, free: 25.9 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01706/4.353, allocations: 8.588 MB / 0.9695 GB, free: 25.85 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/4.354, allocations: 414 kB / 0.9699 GB, free: 25.56 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.854e-05/4.354, allocations: 93.88 kB / 0.97 GB, free: 25.52 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=550): time 1.036e-05/4.354, allocations: 0 / 0.97 GB, free: 25.52 MB / 0.5262 GB Notification: Performance of matching and sorting (n=734): time 0.685/5.039, allocations: 113 MB / 1.08 GB, free: 10.19 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00428/5.043, allocations: 2.358 MB / 1.083 GB, free: 7.652 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04582/5.089, allocations: 9.597 MB / 1.092 GB, free: 15.3 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.003872/5.093, allocations: 143.9 kB / 1.092 GB, free: 15.16 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.01712/5.111, allocations: 8.263 MB / 1.1 GB, free: 8.152 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.006898/5.117, allocations: 2.672 MB / 1.103 GB, free: 5.773 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004077/5.122, allocations: 282.5 kB / 1.103 GB, free: 5.5 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001894/5.124, allocations: 0.9101 MB / 1.104 GB, free: 4.754 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4808/5.604, allocations: 10.27 MB / 1.114 GB, free: 116.5 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03361/5.638, allocations: 15.97 MB / 1.13 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03382/5.672, allocations: 11.94 MB / 1.141 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004741/5.673, allocations: 64.25 kB / 1.141 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1845) (initialization): time 0.3431/6.016, allocations: 45.42 MB / 1.186 GB, free: 106.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009087/6.017, allocations: 105.8 kB / 1.186 GB, free: 106.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2715/6.288, allocations: 33.45 MB / 1.218 GB, free: 102.7 MB / 0.5574 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.1598/6.448, allocations: 11.98 MB / 1.23 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03473/6.483, allocations: 3.172 MB / 1.233 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07143/6.554, allocations: 16.03 MB / 1.249 GB, free: 88.69 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0408/6.595, allocations: 1.314 MB / 1.25 GB, free: 87.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006357/6.602, allocations: 0.7832 MB / 1.251 GB, free: 87.07 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): 6 * Torn equation systems: 1 * 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: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01177/6.614, allocations: 1.129 MB / 1.252 GB, free: 86.09 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009879/6.623, allocations: 1.095 MB / 1.253 GB, free: 85.58 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1487/6.772, allocations: 27.08 MB / 1.28 GB, free: 62.08 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1252/6.897, allocations: 24.38 MB / 1.303 GB, free: 37.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001531/6.898, allocations: 40.5 kB / 1.303 GB, free: 37.66 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002361/6.898, allocations: 37.39 kB / 1.303 GB, free: 37.63 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6888/7.587, allocations: 56 MB / 1.358 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001397/7.587, allocations: 0 / 1.358 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01704/7.604, allocations: 1.163 MB / 1.359 GB, free: 101.7 MB / 0.5574 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.01856/7.623, allocations: 2.119 MB / 1.361 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003759/7.626, allocations: 157 kB / 1.361 GB, free: 101.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/7.642, allocations: 4.604 MB / 1.366 GB, free: 100.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00286/7.645, allocations: 1.7 MB / 1.368 GB, free: 99.01 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1341/7.779, allocations: 38.78 MB / 1.406 GB, free: 89.92 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01199/7.791, allocations: 2.741 MB / 1.408 GB, free: 89.11 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005852/7.797, allocations: 138.7 kB / 1.408 GB, free: 89.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01702/7.814, allocations: 0.7447 MB / 1.409 GB, free: 88.93 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004064/7.818, allocations: 0.6488 MB / 1.41 GB, free: 88.88 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002402/7.821, allocations: 189 kB / 1.41 GB, free: 88.83 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.02033/7.841, allocations: 6.947 MB / 1.417 GB, free: 86.49 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.082e-06/7.841, allocations: 0 / 1.417 GB, free: 86.49 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0271/7.868, allocations: 3.72 MB / 1.42 GB, free: 86.17 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): 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.1277/7.996, allocations: 39.7 MB / 1.459 GB, free: 58.55 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.115/8.111, allocations: 26.63 MB / 1.485 GB, free: 36.24 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/8.111, allocations: 0 / 1.485 GB, free: 36.24 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.05889/8.17, allocations: 14.47 MB / 1.499 GB, free: 24.41 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01792/8.188, allocations: 1.641 MB / 1.501 GB, free: 23.09 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5957/8.784, allocations: 37.12 MB / 1.537 GB, free: 105.6 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0323/8.816, allocations: 9.18 MB / 1.546 GB, free: 104.5 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.05152/8.868, allocations: 4.733 MB / 1.551 GB, free: 104.1 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01856/8.886, allocations: 6.827 MB / 1.557 GB, free: 104.1 MB / 0.5574 GB Notification: Performance of SimCode: time 2.525e-06/8.886, allocations: 0 / 1.557 GB, free: 104.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.16/10.05, allocations: 294.5 MB / 1.845 GB, free: 59.11 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/10.05, allocations: 197.2 kB / 1.845 GB, free: 58.89 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/24.8, allocations: 6.062 kB / 1.845 GB, free: 58.89 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat