Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 235 MB / 247.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.104e-05, allocations: 4.938 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3891, allocations: 54.86 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.5681, allocations: 95.14 MB / 455 MB, free: 1.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.5685, allocations: 79.95 kB / 455.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7348/1.303, allocations: 96.1 MB / 0.5383 GB, free: 104.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.303, allocations: 2.531 kB / 0.5383 GB, free: 104.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004987/1.304, allocations: 80.14 kB / 0.5383 GB, free: 104.4 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.01792/1.322, allocations: 4.094 MB / 0.5423 GB, free: 102.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.322, allocations: 9.406 kB / 0.5423 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002522/1.324, allocations: 0.5301 MB / 0.5429 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05356/1.378, allocations: 5.997 MB / 0.5487 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04473/1.423, allocations: 8.98 MB / 0.5575 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004916/1.423, allocations: 249.4 kB / 0.5577 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/1.426, allocations: 351.1 kB / 0.5581 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03232/1.458, allocations: 6.713 MB / 0.5646 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005476/1.459, allocations: 60.94 kB / 0.5647 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002161/1.461, allocations: 152.4 kB / 0.5648 GB, free: 100 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003007/1.464, allocations: 0.5889 MB / 0.5654 GB, free: 99.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02461/1.489, allocations: 4.703 MB / 0.57 GB, free: 98.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07303/1.562, allocations: 28.34 MB / 0.5977 GB, free: 78.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006749/1.569, allocations: 0.7107 MB / 0.5984 GB, free: 78.15 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008791/1.57, allocations: 201.4 kB / 0.5986 GB, free: 78.06 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/1.57, allocations: 15.97 kB / 0.5986 GB, free: 78.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.57, allocations: 49.86 kB / 0.5986 GB, free: 78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 5.871e-06/1.57, allocations: 3.844 kB / 0.5986 GB, free: 78 MB / 458.7 MB Notification: Performance of matching and sorting (n=37): time 0.02198/1.592, allocations: 1.982 MB / 0.6006 GB, free: 77.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.592, allocations: 238.9 kB / 0.6008 GB, free: 77.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01658/1.609, allocations: 4.123 MB / 0.6048 GB, free: 75.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/1.609, allocations: 29.7 kB / 0.6048 GB, free: 75.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004015/1.613, allocations: 2.537 MB / 0.6073 GB, free: 73.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/1.613, allocations: 196 kB / 0.6075 GB, free: 73.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/1.614, allocations: 69.72 kB / 0.6076 GB, free: 73.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006511/1.615, allocations: 464.2 kB / 0.608 GB, free: 73.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/1.618, allocations: 0.7285 MB / 0.6087 GB, free: 72.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005845/1.624, allocations: 3.308 MB / 0.612 GB, free: 69.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/1.629, allocations: 1.518 MB / 0.6134 GB, free: 68.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/1.63, allocations: 28 kB / 0.6135 GB, free: 68.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01486/1.644, allocations: 3.415 MB / 0.6168 GB, free: 65.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/1.645, allocations: 44 kB / 0.6168 GB, free: 65.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/1.645, allocations: 104.7 kB / 0.6169 GB, free: 65.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/1.645, allocations: 136 kB / 0.6171 GB, free: 64.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00754/1.653, allocations: 0.8578 MB / 0.6179 GB, free: 64.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002545/1.653, allocations: 179.6 kB / 0.6181 GB, free: 64.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/1.664, allocations: 0.6189 MB / 0.6187 GB, free: 63.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.665, allocations: 235.8 kB / 0.6189 GB, free: 63.21 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.001519/1.666, allocations: 430.8 kB / 0.6193 GB, free: 62.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001677/1.668, allocations: 379.1 kB / 0.6197 GB, free: 62.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/1.67, allocations: 395.2 kB / 0.6201 GB, free: 62.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.67, allocations: 7.953 kB / 0.6201 GB, free: 62.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.67, allocations: 4 kB / 0.6201 GB, free: 62.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.67, allocations: 6.984 kB / 0.6201 GB, free: 62.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/1.688, allocations: 4.529 MB / 0.6245 GB, free: 58.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-05/1.688, allocations: 8 kB / 0.6245 GB, free: 58.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007764/1.689, allocations: 94.81 kB / 0.6246 GB, free: 57.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/1.689, allocations: 16.75 kB / 0.6246 GB, free: 57.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/1.69, allocations: 24 kB / 0.6246 GB, free: 57.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.119e-05/1.69, allocations: 31.16 kB / 0.6247 GB, free: 57.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/1.69, allocations: 15.94 kB / 0.6247 GB, free: 57.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/1.693, allocations: 2.847 MB / 0.6275 GB, free: 54.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00273/1.696, allocations: 492 kB / 0.6279 GB, free: 54.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/1.698, allocations: 31.94 kB / 0.628 GB, free: 54.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00455/1.703, allocations: 58.48 kB / 0.628 GB, free: 54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002486/1.703, allocations: 78.27 kB / 0.6281 GB, free: 53.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/1.703, allocations: 28 kB / 0.6281 GB, free: 53.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0127/1.716, allocations: 3.03 MB / 0.6311 GB, free: 51.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.624e-06/1.716, allocations: 3.938 kB / 0.6311 GB, free: 51.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008608/1.725, allocations: 0.8571 MB / 0.6319 GB, free: 50.37 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.004416/1.729, allocations: 5.788 MB / 0.6376 GB, free: 44.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0062/1.735, allocations: 1.667 MB / 0.6392 GB, free: 42.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.536e-05/1.735, allocations: 4 kB / 0.6392 GB, free: 42.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/1.736, allocations: 206.3 kB / 0.6394 GB, free: 42.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008089/1.744, allocations: 0.6208 MB / 0.64 GB, free: 42.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/1.778, allocations: 7.165 MB / 0.647 GB, free: 35.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008805/1.787, allocations: 2.943 MB / 0.6499 GB, free: 32.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005177/1.792, allocations: 1.741 MB / 0.6516 GB, free: 30.43 MB / 458.7 MB Notification: Performance of SimCode: time 2.284e-06/1.792, allocations: 0 / 0.6516 GB, free: 30.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.448/6.241, allocations: 68.42 MB / 0.7184 GB, free: 103.6 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat