Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.764e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4485, allocations: 61.86 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.6372, allocations: 103.3 MB / 0.5016 GB, free: 3.227 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.6375, allocations: 75.97 kB / 0.5017 GB, free: 3.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7665/1.404, allocations: 98.58 MB / 0.5979 GB, free: 43.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/1.404, allocations: 0 / 0.5979 GB, free: 43.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004108/1.405, allocations: 80 kB / 0.598 GB, free: 43.56 MB / 442.7 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.01585/1.42, allocations: 4.085 MB / 0.602 GB, free: 39.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.42, allocations: 11.97 kB / 0.602 GB, free: 39.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002462/1.423, allocations: 0.5352 MB / 0.6025 GB, free: 38.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04677/1.47, allocations: 5.994 MB / 0.6084 GB, free: 32.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02683/1.497, allocations: 8.225 MB / 0.6164 GB, free: 24.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/1.497, allocations: 246.6 kB / 0.6166 GB, free: 24.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/1.499, allocations: 363.6 kB / 0.617 GB, free: 23.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/1.518, allocations: 6.726 MB / 0.6236 GB, free: 16.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002543/1.518, allocations: 55.55 kB / 0.6236 GB, free: 16.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006283/1.519, allocations: 152 kB / 0.6238 GB, free: 16.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001693/1.52, allocations: 0.5875 MB / 0.6243 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/1.536, allocations: 4.712 MB / 0.6289 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05306/1.589, allocations: 28.33 MB / 0.6566 GB, free: 14.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004478/1.594, allocations: 0.7074 MB / 0.6573 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/1.595, allocations: 208.3 kB / 0.6575 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/1.595, allocations: 12.3 kB / 0.6575 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/1.595, allocations: 46.52 kB / 0.6575 GB, free: 12.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=37): time 3.025e-06/1.595, allocations: 0 / 0.6575 GB, free: 12.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=37): time 0.01187/1.607, allocations: 1.745 MB / 0.6593 GB, free: 11.22 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/1.607, allocations: 247.2 kB / 0.6595 GB, free: 10.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/1.619, allocations: 4.095 MB / 0.6635 GB, free: 6.832 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.619, allocations: 33.7 kB / 0.6635 GB, free: 6.793 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004045/1.623, allocations: 2.746 MB / 0.6662 GB, free: 4.016 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/1.624, allocations: 198 kB / 0.6664 GB, free: 3.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/1.624, allocations: 72 kB / 0.6665 GB, free: 3.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00034/1.624, allocations: 453.4 kB / 0.6669 GB, free: 3.301 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/1.626, allocations: 0.7332 MB / 0.6676 GB, free: 2.566 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004629/1.631, allocations: 3.329 MB / 0.6709 GB, free: 13.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/1.635, allocations: 1.529 MB / 0.6724 GB, free: 12.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.448e-05/1.635, allocations: 31.94 kB / 0.6724 GB, free: 12.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.0115/1.647, allocations: 3.669 MB / 0.676 GB, free: 8.672 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/1.647, allocations: 51.98 kB / 0.676 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/1.647, allocations: 95.95 kB / 0.6761 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/1.647, allocations: 139.9 kB / 0.6762 GB, free: 8.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006238/1.653, allocations: 0.8578 MB / 0.6771 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000254/1.654, allocations: 187.5 kB / 0.6773 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006531/1.66, allocations: 0.6272 MB / 0.6779 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007618/1.661, allocations: 232 kB / 0.6781 GB, free: 6.488 MB / 490.7 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.0007576/1.662, allocations: 436 kB / 0.6785 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.663, allocations: 379.1 kB / 0.6789 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/1.664, allocations: 393.3 kB / 0.6792 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/1.664, allocations: 8.047 kB / 0.6792 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.664, allocations: 7.938 kB / 0.6793 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.664, allocations: 0 / 0.6793 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.677, allocations: 4.508 MB / 0.6837 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.677, allocations: 16.17 kB / 0.6837 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/1.678, allocations: 99.84 kB / 0.6838 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.93e-05/1.678, allocations: 16 kB / 0.6838 GB, free: 416 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/1.678, allocations: 20 kB / 0.6838 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.833e-05/1.678, allocations: 23.92 kB / 0.6838 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.02e-05/1.678, allocations: 20.06 kB / 0.6838 GB, free: 352 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003315/1.681, allocations: 2.836 MB / 0.6866 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.682, allocations: 476 kB / 0.6871 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006317/1.683, allocations: 31.98 kB / 0.6871 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.685, allocations: 63.94 kB / 0.6872 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.685, allocations: 71.69 kB / 0.6872 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/1.685, allocations: 32 kB / 0.6873 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008052/1.693, allocations: 2.992 MB / 0.6902 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.92e-07/1.694, allocations: 0 / 0.6902 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005289/1.699, allocations: 0.8688 MB / 0.691 GB, free: 8.387 MB / 0.4948 GB 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.004454/1.703, allocations: 5.777 MB / 0.6967 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004569/1.708, allocations: 1.678 MB / 0.6983 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.708, allocations: 4 kB / 0.6983 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005142/1.709, allocations: 206.7 kB / 0.6985 GB, free: 376 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00522/1.714, allocations: 0.6172 MB / 0.6991 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.735, allocations: 6.721 MB / 0.7057 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005227/1.74, allocations: 2.928 MB / 0.7085 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006029/1.747, allocations: 1.158 MB / 0.7097 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004082/1.751, allocations: 1.718 MB / 0.7113 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of SimCode: time 1.463e-06/1.751, allocations: 4 kB / 0.7113 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5964/2.347, allocations: 65.34 MB / 0.7752 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/2.347, allocations: 146.4 kB / 0.7753 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.11/7.458, allocations: 0 / 0.7753 GB, free: 112.7 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat