Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.374e-05/4.39e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4055, allocations: 54.86 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.5839, allocations: 95.13 MB / 455 MB, free: 1.648 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5843, allocations: 72.75 kB / 455.1 MB, free: 1.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7968/1.381, allocations: 96.11 MB / 0.5383 GB, free: 104.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.381, allocations: 2.188 kB / 0.5383 GB, free: 104.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005118/1.382, allocations: 82.59 kB / 0.5383 GB, free: 104.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.01939/1.401, allocations: 4.094 MB / 0.5423 GB, free: 102.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.401, allocations: 8.062 kB / 0.5423 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003269/1.405, allocations: 0.5343 MB / 0.5429 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04921/1.454, allocations: 5.994 MB / 0.5487 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03119/1.485, allocations: 8.97 MB / 0.5575 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.485, allocations: 253.7 kB / 0.5577 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/1.487, allocations: 351.9 kB / 0.5581 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0232/1.511, allocations: 6.753 MB / 0.5647 GB, free: 99.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004228/1.511, allocations: 52.17 kB / 0.5647 GB, free: 99.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001673/1.513, allocations: 159.9 kB / 0.5649 GB, free: 99.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/1.515, allocations: 0.5864 MB / 0.5654 GB, free: 99.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/1.532, allocations: 4.826 MB / 0.5701 GB, free: 98.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04956/1.582, allocations: 28.33 MB / 0.5978 GB, free: 78.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/1.586, allocations: 0.7199 MB / 0.5985 GB, free: 77.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/1.587, allocations: 204.3 kB / 0.5987 GB, free: 77.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/1.587, allocations: 7.75 kB / 0.5987 GB, free: 77.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.576e-05/1.587, allocations: 50.36 kB / 0.5988 GB, free: 77.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.156e-06/1.587, allocations: 0 / 0.5988 GB, free: 77.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.01336/1.6, allocations: 1.992 MB / 0.6007 GB, free: 77.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.6, allocations: 235 kB / 0.6009 GB, free: 77.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01167/1.612, allocations: 4.124 MB / 0.605 GB, free: 75.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/1.612, allocations: 41.2 kB / 0.605 GB, free: 75.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003271/1.615, allocations: 2.75 MB / 0.6077 GB, free: 73.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/1.616, allocations: 195.8 kB / 0.6079 GB, free: 73.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/1.616, allocations: 71.12 kB / 0.6079 GB, free: 73.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002259/1.616, allocations: 454 kB / 0.6084 GB, free: 72.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/1.618, allocations: 0.7337 MB / 0.6091 GB, free: 72.64 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/1.622, allocations: 3.319 MB / 0.6123 GB, free: 68.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/1.625, allocations: 1.523 MB / 0.6138 GB, free: 67.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.704e-05/1.626, allocations: 28 kB / 0.6138 GB, free: 67.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01077/1.636, allocations: 3.919 MB / 0.6177 GB, free: 64.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.654e-05/1.636, allocations: 45.72 kB / 0.6177 GB, free: 64.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.637, allocations: 99.95 kB / 0.6178 GB, free: 64.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/1.637, allocations: 132 kB / 0.6179 GB, free: 63.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004881/1.642, allocations: 0.8676 MB / 0.6188 GB, free: 63.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/1.642, allocations: 179.8 kB / 0.619 GB, free: 63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006585/1.648, allocations: 0.6194 MB / 0.6196 GB, free: 62.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007419/1.649, allocations: 232 kB / 0.6198 GB, free: 62.19 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006653/1.65, allocations: 430.5 kB / 0.6202 GB, free: 61.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.651, allocations: 379.1 kB / 0.6206 GB, free: 61.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/1.653, allocations: 401.6 kB / 0.6209 GB, free: 61.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.653, allocations: 11.95 kB / 0.6209 GB, free: 61.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.653, allocations: 4 kB / 0.6209 GB, free: 61.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.653, allocations: 2.156 kB / 0.621 GB, free: 61.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.665, allocations: 4.555 MB / 0.6254 GB, free: 57.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.665, allocations: 12 kB / 0.6254 GB, free: 57.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/1.665, allocations: 98.5 kB / 0.6255 GB, free: 56.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/1.665, allocations: 20 kB / 0.6255 GB, free: 56.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/1.666, allocations: 20 kB / 0.6255 GB, free: 56.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.919e-05/1.666, allocations: 19.83 kB / 0.6256 GB, free: 56.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.4e-05/1.666, allocations: 19.94 kB / 0.6256 GB, free: 56.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/1.668, allocations: 2.847 MB / 0.6284 GB, free: 53.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/1.67, allocations: 486.9 kB / 0.6288 GB, free: 53.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/1.672, allocations: 31.38 kB / 0.6289 GB, free: 53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003034/1.675, allocations: 69.02 kB / 0.6289 GB, free: 52.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.675, allocations: 71.39 kB / 0.629 GB, free: 52.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/1.675, allocations: 28 kB / 0.629 GB, free: 52.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008599/1.684, allocations: 3.034 MB / 0.632 GB, free: 50.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.684, allocations: 0 / 0.632 GB, free: 50.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00564/1.689, allocations: 0.8532 MB / 0.6328 GB, free: 49.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003364/1.693, allocations: 5.793 MB / 0.6385 GB, free: 43.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00432/1.697, allocations: 1.803 MB / 0.6402 GB, free: 41.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/1.697, allocations: 4 kB / 0.6402 GB, free: 41.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/1.698, allocations: 221.4 kB / 0.6404 GB, free: 41.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/1.703, allocations: 0.6125 MB / 0.641 GB, free: 40.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/1.726, allocations: 6.778 MB / 0.6477 GB, free: 34.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006202/1.732, allocations: 2.936 MB / 0.6505 GB, free: 31.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006166/1.739, allocations: 1.153 MB / 0.6517 GB, free: 30.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003806/1.742, allocations: 1.714 MB / 0.6533 GB, free: 28.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.853e-06/1.742, allocations: 8 kB / 0.6533 GB, free: 28.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5298/2.272, allocations: 66.06 MB / 0.7178 GB, free: 104.3 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/2.273, allocations: 138.2 kB / 0.718 GB, free: 104 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.215/7.488, allocations: 0 / 0.718 GB, free: 104 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat