Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Joints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.514/2.514, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.43e-05/4.443e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1409, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5744/0.7153, allocations: 114.7 MB / 0.5128 GB, free: 5.285 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.7157, allocations: 79.94 kB / 0.5128 GB, free: 5.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.492/2.207, allocations: 261.2 MB / 0.7679 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.996e-06/2.207, allocations: 4 kB / 0.7679 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.002072/2.209, allocations: 264 kB / 0.7682 GB, free: 33.97 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.09074/2.3, allocations: 13.41 MB / 0.7813 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/2.3, allocations: 12.03 kB / 0.7813 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009301/2.31, allocations: 1.976 MB / 0.7832 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1951/2.505, allocations: 26.78 MB / 0.8094 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.078/3.583, allocations: 25.76 MB / 0.8345 GB, free: 60.86 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00143/3.585, allocations: 0.8809 MB / 0.8354 GB, free: 60.84 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007343/3.592, allocations: 1.231 MB / 0.8366 GB, free: 60.81 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08993/3.682, allocations: 26.74 MB / 0.8627 GB, free: 55.43 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001324/3.683, allocations: 181.6 kB / 0.8629 GB, free: 55.4 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005761/3.689, allocations: 0.5442 MB / 0.8634 GB, free: 55.4 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005634/3.695, allocations: 2.383 MB / 0.8657 GB, free: 55.38 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07149/3.766, allocations: 21.43 MB / 0.8867 GB, free: 55.33 MB / 0.5262 GB 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.2363/4.003, allocations: 118.7 MB / 1.003 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06893/4.072, allocations: 13.06 MB / 1.015 GB, free: 4.285 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03772/4.11, allocations: 9.673 MB / 1.025 GB, free: 15.49 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/4.111, allocations: 405.5 kB / 1.025 GB, free: 15.08 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/4.111, allocations: 98.36 kB / 1.025 GB, free: 14.98 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=538): time 9.648e-06/4.111, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.5887 GB Notification: Performance of matching and sorting (n=737): time 1.313/5.424, allocations: 118 MB / 1.141 GB, free: 114.6 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002205/5.426, allocations: 2.353 MB / 1.143 GB, free: 112.5 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02491/5.451, allocations: 9.428 MB / 1.152 GB, free: 111.8 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.002588/5.454, allocations: 141.5 kB / 1.152 GB, free: 111.7 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.008833/5.463, allocations: 8.195 MB / 1.16 GB, free: 105.7 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.005235/5.468, allocations: 2.682 MB / 1.163 GB, free: 103.7 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003558/5.472, allocations: 281.7 kB / 1.163 GB, free: 103.4 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.001336/5.473, allocations: 0.9005 MB / 1.164 GB, free: 102.9 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02262/5.496, allocations: 9.344 MB / 1.173 GB, free: 96.55 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02841/5.524, allocations: 16.07 MB / 1.189 GB, free: 78.63 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02807/5.552, allocations: 12.2 MB / 1.201 GB, free: 68.34 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002769/5.553, allocations: 68 kB / 1.201 GB, free: 68.27 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1838) (initialization): time 0.2218/5.775, allocations: 45.22 MB / 1.245 GB, free: 33.86 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001808/5.775, allocations: 104 kB / 1.245 GB, free: 33.76 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.6554/6.43, allocations: 33.97 MB / 1.278 GB, free: 103 MB / 0.5887 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.1138/6.544, allocations: 11.99 MB / 1.29 GB, free: 103 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03018/6.574, allocations: 3.139 MB / 1.293 GB, free: 103 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04541/6.62, allocations: 16.02 MB / 1.309 GB, free: 100.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02689/6.647, allocations: 1.311 MB / 1.31 GB, free: 100.4 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005701/6.652, allocations: 0.7719 MB / 1.311 GB, free: 100.4 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1051 * Number of states: 0 () * Number of discrete variables: 113 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1566): * Single equations (assignments): 1554 * 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.009057/6.661, allocations: 1.132 MB / 1.312 GB, free: 100.2 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00577/6.667, allocations: 1.083 MB / 1.313 GB, free: 100.2 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1478/6.815, allocations: 27.63 MB / 1.34 GB, free: 99.67 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1154/6.931, allocations: 24.9 MB / 1.364 GB, free: 95.8 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001416/6.931, allocations: 41.47 kB / 1.364 GB, free: 95.8 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002397/6.931, allocations: 37.7 kB / 1.364 GB, free: 95.8 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1848/7.116, allocations: 56.91 MB / 1.42 GB, free: 58.39 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001213/7.116, allocations: 4 kB / 1.42 GB, free: 58.39 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0126/7.129, allocations: 1.149 MB / 1.421 GB, free: 57.29 MB / 0.5887 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.01819/7.147, allocations: 2.111 MB / 1.423 GB, free: 55.18 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003428/7.15, allocations: 156.9 kB / 1.423 GB, free: 55.03 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/7.166, allocations: 4.62 MB / 1.428 GB, free: 50.34 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002446/7.168, allocations: 1.693 MB / 1.429 GB, free: 48.54 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1245/7.293, allocations: 39.78 MB / 1.468 GB, free: 9.395 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004392/7.297, allocations: 1.095 MB / 1.469 GB, free: 8.785 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00584/7.303, allocations: 140.9 kB / 1.469 GB, free: 8.652 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01818/7.321, allocations: 0.7394 MB / 1.47 GB, free: 7.914 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005523/7.327, allocations: 0.6486 MB / 1.471 GB, free: 7.262 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003589/7.33, allocations: 191.9 kB / 1.471 GB, free: 7.078 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.02852/7.359, allocations: 6.813 MB / 1.477 GB, free: 336 kB / 0.5887 GB Notification: Performance of sort global known variables: time 2.004e-06/7.359, allocations: 7.938 kB / 1.477 GB, free: 328 kB / 0.5887 GB Notification: Performance of remove unused functions: time 0.5589/7.918, allocations: 3.728 MB / 1.481 GB, free: 122.4 MB / 0.6043 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 (498): * Single equations (assignments): 489 * 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.1379/8.056, allocations: 40.69 MB / 1.521 GB, free: 120.7 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0896/8.146, allocations: 26.83 MB / 1.547 GB, free: 118.1 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/8.146, allocations: 3.562 kB / 1.547 GB, free: 118.1 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.07881/8.225, allocations: 14.74 MB / 1.561 GB, free: 113.2 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02436/8.249, allocations: 1.639 MB / 1.563 GB, free: 112.6 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1216/8.371, allocations: 36.2 MB / 1.598 GB, free: 95.75 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02309/8.394, allocations: 9.103 MB / 1.607 GB, free: 89.24 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.0234/8.417, allocations: 4.799 MB / 1.612 GB, free: 86.04 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01831/8.436, allocations: 6.77 MB / 1.619 GB, free: 79.78 MB / 0.6043 GB Notification: Performance of SimCode: time 2.805e-06/8.436, allocations: 0 / 1.619 GB, free: 79.78 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.217/9.653, allocations: 299.3 MB / 1.911 GB, free: 1.789 MB / 0.6199 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/9.653, allocations: 202 kB / 1.911 GB, free: 1.555 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/24.66, allocations: 3.062 kB / 1.911 GB, free: 1.555 MB / 0.6199 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Joints_res.mat does not exist to compare? outputFormat=mat