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.31/2.31, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.77e-05/2.786e-05, allocations: 0 / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4117, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.6141, allocations: 94.47 MB / 448.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003673/0.6145, allocations: 75.95 kB / 448.9 MB, free: 3.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7736/1.388, allocations: 94.93 MB / 0.5311 GB, free: 94.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.856e-06/1.388, allocations: 0 / 0.5311 GB, free: 94.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004148/1.389, allocations: 78.25 kB / 0.5311 GB, free: 94.64 MB / 426.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.01527/1.404, allocations: 4.098 MB / 0.5351 GB, free: 91.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/1.404, allocations: 9.688 kB / 0.5352 GB, free: 91.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04669/1.451, allocations: 5.986 MB / 0.541 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02802/1.479, allocations: 8.969 MB / 0.5498 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/1.479, allocations: 105.4 kB / 0.5499 GB, free: 77.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/1.481, allocations: 227.6 kB / 0.5501 GB, free: 76.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01166/1.493, allocations: 4.078 MB / 0.5541 GB, free: 72.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/1.509, allocations: 5.838 MB / 0.5598 GB, free: 66.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003326/1.509, allocations: 63.5 kB / 0.5598 GB, free: 66.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/1.51, allocations: 16 kB / 0.5598 GB, free: 66.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001802/1.512, allocations: 0.5862 MB / 0.5604 GB, free: 65.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04245/1.555, allocations: 27.17 MB / 0.5869 GB, free: 37.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/1.555, allocations: 325.1 kB / 0.5872 GB, free: 37.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/1.555, allocations: 152.4 kB / 0.5874 GB, free: 37.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/1.556, allocations: 15.52 kB / 0.5874 GB, free: 37.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/1.556, allocations: 46.5 kB / 0.5875 GB, free: 37.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.627e-06/1.556, allocations: 0 / 0.5875 GB, free: 37.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.009299/1.565, allocations: 1.473 MB / 0.5889 GB, free: 35.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.565, allocations: 243.3 kB / 0.5891 GB, free: 35.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007658/1.573, allocations: 3.413 MB / 0.5925 GB, free: 32.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.129e-05/1.573, allocations: 25.7 kB / 0.5925 GB, free: 32.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/1.576, allocations: 2.808 MB / 0.5952 GB, free: 29.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/1.576, allocations: 162.6 kB / 0.5954 GB, free: 29.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/1.576, allocations: 0 / 0.5954 GB, free: 29.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/1.576, allocations: 449.4 kB / 0.5958 GB, free: 28.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/1.578, allocations: 0.6667 MB / 0.5965 GB, free: 27.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/1.58, allocations: 3.236 MB / 0.5996 GB, free: 23.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/1.583, allocations: 1.42 MB / 0.601 GB, free: 21.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.974e-05/1.583, allocations: 28 kB / 0.601 GB, free: 21.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.007999/1.591, allocations: 3.338 MB / 0.6043 GB, free: 18.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.352e-05/1.591, allocations: 52.25 kB / 0.6043 GB, free: 18.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.244e-05/1.591, allocations: 92 kB / 0.6044 GB, free: 18.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/1.592, allocations: 136 kB / 0.6046 GB, free: 18.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004576/1.596, allocations: 0.8538 MB / 0.6054 GB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001237/1.596, allocations: 183.3 kB / 0.6056 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/1.602, allocations: 0.4991 MB / 0.6061 GB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006357/1.603, allocations: 232 kB / 0.6063 GB, free: 16.56 MB / 426.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.0005672/1.603, allocations: 352 kB / 0.6066 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001466/1.605, allocations: 0.5834 MB / 0.6072 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/1.605, allocations: 335.7 kB / 0.6075 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/1.606, allocations: 349.2 kB / 0.6078 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.606, allocations: 8 kB / 0.6078 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.606, allocations: 0 / 0.6078 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.606, allocations: 0 / 0.6078 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00829/1.615, allocations: 3.47 MB / 0.6112 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.615, allocations: 12.03 kB / 0.6112 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/1.615, allocations: 79.84 kB / 0.6113 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.932e-05/1.615, allocations: 15.94 kB / 0.6113 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/1.615, allocations: 12 kB / 0.6113 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.525e-05/1.615, allocations: 19.92 kB / 0.6114 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/1.615, allocations: 15.94 kB / 0.6114 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/1.617, allocations: 2.065 MB / 0.6134 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.619, allocations: 420.6 kB / 0.6138 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007686/1.619, allocations: 15.95 kB / 0.6138 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.621, allocations: 55.94 kB / 0.6139 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/1.622, allocations: 59.73 kB / 0.6139 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/1.622, allocations: 24 kB / 0.6139 GB, free: 7.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005811/1.627, allocations: 2.401 MB / 0.6163 GB, free: 5.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.704e-06/1.627, allocations: 4 kB / 0.6163 GB, free: 5.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005412/1.633, allocations: 0.8288 MB / 0.6171 GB, free: 4.633 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.002866/1.636, allocations: 4.85 MB / 0.6218 GB, free: 15.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004161/1.64, allocations: 1.564 MB / 0.6234 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/1.64, allocations: 5.5 kB / 0.6234 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/1.64, allocations: 169.4 kB / 0.6235 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004846/1.645, allocations: 0.5418 MB / 0.6241 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/1.67, allocations: 6.471 MB / 0.6304 GB, free: 6.566 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009953/1.68, allocations: 2.942 MB / 0.6333 GB, free: 3.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008979/1.689, allocations: 1.08 MB / 0.6343 GB, free: 2.504 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005813/1.694, allocations: 1.69 MB / 0.636 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of SimCode: time 2.144e-06/1.695, allocations: 0 / 0.636 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5278/2.222, allocations: 57.3 MB / 0.6919 GB, free: 115.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/2.223, allocations: 122.6 kB / 0.692 GB, free: 115.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.452/6.675, allocations: 7.5 kB / 0.692 GB, free: 115.4 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