Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.39e-05, allocations: 7.984 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4014, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.5985, allocations: 101.4 MB / 483.7 MB, free: 7.012 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5989, allocations: 71.97 kB / 483.7 MB, free: 6.941 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7712/1.37, allocations: 97.85 MB / 0.568 GB, free: 106.2 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.214e-06/1.37, allocations: 0 / 0.568 GB, free: 106.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004257/1.371, allocations: 83 kB / 0.568 GB, free: 106.2 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.0163/1.387, allocations: 4.113 MB / 0.572 GB, free: 102.9 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.813e-05/1.387, allocations: 11.97 kB / 0.5721 GB, free: 102.9 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002977/1.39, allocations: 0.5351 MB / 0.5726 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04767/1.438, allocations: 5.99 MB / 0.5784 GB, free: 96.36 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03096/1.469, allocations: 8.991 MB / 0.5872 GB, free: 87.46 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/1.469, allocations: 253.1 kB / 0.5875 GB, free: 87.23 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/1.471, allocations: 349.5 kB / 0.5878 GB, free: 86.9 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/1.499, allocations: 6.73 MB / 0.5944 GB, free: 79.63 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00041/1.5, allocations: 59.41 kB / 0.5944 GB, free: 79.57 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001708/1.502, allocations: 153.2 kB / 0.5946 GB, free: 79.43 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/1.504, allocations: 0.5875 MB / 0.5951 GB, free: 78.85 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/1.527, allocations: 4.716 MB / 0.5997 GB, free: 74.13 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05207/1.579, allocations: 28.43 MB / 0.6275 GB, free: 45.05 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/1.583, allocations: 0.7074 MB / 0.6282 GB, free: 44.3 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/1.583, allocations: 204.2 kB / 0.6284 GB, free: 44.08 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/1.584, allocations: 10.48 kB / 0.6284 GB, free: 44.08 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/1.584, allocations: 54.97 kB / 0.6285 GB, free: 44.02 MB / 458.8 MB Notification: Performance of pre-optimization done (n=37): time 3.066e-06/1.584, allocations: 0 / 0.6285 GB, free: 44.02 MB / 458.8 MB Notification: Performance of matching and sorting (n=37): time 0.01328/1.597, allocations: 1.979 MB / 0.6304 GB, free: 42.02 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/1.597, allocations: 247.3 kB / 0.6306 GB, free: 41.73 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/1.607, allocations: 4.155 MB / 0.6347 GB, free: 37.57 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.607, allocations: 29.7 kB / 0.6347 GB, free: 37.54 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003107/1.61, allocations: 2.768 MB / 0.6374 GB, free: 34.77 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/1.611, allocations: 196.6 kB / 0.6376 GB, free: 34.58 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/1.611, allocations: 72 kB / 0.6377 GB, free: 34.51 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002092/1.611, allocations: 453.4 kB / 0.6381 GB, free: 34.06 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.613, allocations: 0.7371 MB / 0.6388 GB, free: 33.32 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/1.616, allocations: 3.329 MB / 0.6421 GB, free: 28.67 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/1.619, allocations: 1.529 MB / 0.6436 GB, free: 27.14 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.428e-05/1.619, allocations: 24 kB / 0.6436 GB, free: 27.11 MB / 458.8 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.009739/1.629, allocations: 3.677 MB / 0.6472 GB, free: 23.43 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/1.629, allocations: 48.25 kB / 0.6472 GB, free: 23.38 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/1.629, allocations: 96 kB / 0.6473 GB, free: 23.29 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/1.629, allocations: 140 kB / 0.6474 GB, free: 23.15 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/1.634, allocations: 0.8655 MB / 0.6483 GB, free: 22.29 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/1.634, allocations: 183.3 kB / 0.6485 GB, free: 22.11 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006349/1.641, allocations: 0.6272 MB / 0.6491 GB, free: 21.47 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006568/1.641, allocations: 232 kB / 0.6493 GB, free: 21.25 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],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 (449): * Single equations (assignments): 449 * 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.0005391/1.642, allocations: 432 kB / 0.6497 GB, free: 20.82 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009607/1.643, allocations: 383.1 kB / 0.6501 GB, free: 20.44 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.644, allocations: 401.9 kB / 0.6505 GB, free: 20.04 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.644, allocations: 8.047 kB / 0.6505 GB, free: 20.04 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.644, allocations: 3.938 kB / 0.6505 GB, free: 20.03 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.644, allocations: 7.938 kB / 0.6505 GB, free: 20.02 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009133/1.653, allocations: 4.53 MB / 0.6549 GB, free: 15.27 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.653, allocations: 12 kB / 0.6549 GB, free: 15.26 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/1.654, allocations: 100.6 kB / 0.655 GB, free: 15.16 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.229e-05/1.654, allocations: 20 kB / 0.655 GB, free: 15.14 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/1.654, allocations: 28 kB / 0.6551 GB, free: 15.11 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-05/1.654, allocations: 23.86 kB / 0.6551 GB, free: 15.09 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/1.654, allocations: 19.94 kB / 0.6551 GB, free: 15.07 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/1.656, allocations: 2.844 MB / 0.6579 GB, free: 11.66 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.658, allocations: 491.9 kB / 0.6583 GB, free: 11.16 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/1.658, allocations: 23.98 kB / 0.6584 GB, free: 11.13 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.66, allocations: 63.94 kB / 0.6584 GB, free: 11.07 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.66, allocations: 71.86 kB / 0.6585 GB, free: 11 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/1.66, allocations: 39.95 kB / 0.6585 GB, free: 10.96 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007745/1.668, allocations: 3.045 MB / 0.6615 GB, free: 7.922 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.202e-06/1.668, allocations: 0 / 0.6615 GB, free: 7.922 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0054/1.674, allocations: 0.865 MB / 0.6624 GB, free: 7.055 MB / 458.8 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.002853/1.677, allocations: 5.797 MB / 0.668 GB, free: 0.875 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004097/1.681, allocations: 1.681 MB / 0.6697 GB, free: 15.21 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/1.681, allocations: 4 kB / 0.6697 GB, free: 15.21 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/1.681, allocations: 202.9 kB / 0.6699 GB, free: 15.02 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0049/1.686, allocations: 0.6262 MB / 0.6705 GB, free: 14.39 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.709, allocations: 6.777 MB / 0.6771 GB, free: 7.395 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005984/1.715, allocations: 2.944 MB / 0.68 GB, free: 4.414 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006101/1.721, allocations: 1.166 MB / 0.6811 GB, free: 3.246 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003793/1.725, allocations: 1.726 MB / 0.6828 GB, free: 1.52 MB / 474.8 MB Notification: Performance of SimCode: time 1.563e-06/1.725, allocations: 0 / 0.6828 GB, free: 1.52 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5801/2.305, allocations: 66 MB / 0.7472 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/2.305, allocations: 142.8 kB / 0.7474 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.996/7.301, allocations: 3.938 kB / 0.7474 GB, free: 129.7 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat