Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.422e-05, allocations: 0 / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.5641, allocations: 88.43 MB / 410.3 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5644, allocations: 71.97 kB / 410.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4493/1.014, allocations: 96.13 MB / 0.4946 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.014, allocations: 0 / 0.4946 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004843/1.014, allocations: 83.98 kB / 0.4947 GB, free: 0.8203 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.3153/1.33, allocations: 4.082 MB / 0.4987 GB, free: 95.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/1.33, allocations: 9.312 kB / 0.4987 GB, free: 95.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003583/1.333, allocations: 0.5357 MB / 0.4992 GB, free: 95.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05902/1.392, allocations: 5.996 MB / 0.505 GB, free: 95.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03281/1.425, allocations: 8.967 MB / 0.5138 GB, free: 94.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000478/1.426, allocations: 246.9 kB / 0.514 GB, free: 94.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002/1.428, allocations: 358.6 kB / 0.5144 GB, free: 94.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/1.451, allocations: 6.748 MB / 0.521 GB, free: 93.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003625/1.452, allocations: 55.64 kB / 0.521 GB, free: 93.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/1.453, allocations: 153.2 kB / 0.5212 GB, free: 93.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/1.455, allocations: 0.5893 MB / 0.5217 GB, free: 93.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/1.472, allocations: 4.812 MB / 0.5264 GB, free: 93.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04807/1.52, allocations: 28.35 MB / 0.5541 GB, free: 74.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/1.524, allocations: 0.7117 MB / 0.5548 GB, free: 74.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005956/1.525, allocations: 206.4 kB / 0.555 GB, free: 74.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/1.525, allocations: 13.41 kB / 0.555 GB, free: 74.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/1.525, allocations: 40.84 kB / 0.5551 GB, free: 74.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.407e-06/1.525, allocations: 0 / 0.5551 GB, free: 74.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01332/1.538, allocations: 1.992 MB / 0.557 GB, free: 73.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/1.538, allocations: 242.6 kB / 0.5572 GB, free: 73.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/1.549, allocations: 4.127 MB / 0.5613 GB, free: 72.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/1.549, allocations: 29.7 kB / 0.5613 GB, free: 72.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002758/1.552, allocations: 2.533 MB / 0.5638 GB, free: 69.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/1.552, allocations: 198.2 kB / 0.564 GB, free: 69.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/1.553, allocations: 71.16 kB / 0.564 GB, free: 69.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/1.553, allocations: 462.5 kB / 0.5645 GB, free: 69.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/1.555, allocations: 0.7301 MB / 0.5652 GB, free: 69.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/1.558, allocations: 3.329 MB / 0.5684 GB, free: 65.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/1.561, allocations: 1.513 MB / 0.5699 GB, free: 64.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.153e-05/1.561, allocations: 26.81 kB / 0.5699 GB, free: 64.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.009574/1.571, allocations: 3.68 MB / 0.5735 GB, free: 63.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/1.571, allocations: 43.94 kB / 0.5736 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/1.571, allocations: 94.59 kB / 0.5737 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/1.571, allocations: 132.8 kB / 0.5738 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/1.576, allocations: 0.862 MB / 0.5746 GB, free: 63.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000169/1.576, allocations: 179.1 kB / 0.5748 GB, free: 63.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/1.582, allocations: 0.6229 MB / 0.5754 GB, free: 63.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006779/1.583, allocations: 238.5 kB / 0.5756 GB, free: 63.04 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.0006049/1.584, allocations: 430.7 kB / 0.5761 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.585, allocations: 378.2 kB / 0.5764 GB, free: 62.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/1.586, allocations: 401.5 kB / 0.5768 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/1.586, allocations: 7.375 kB / 0.5768 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.586, allocations: 2.969 kB / 0.5768 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/1.586, allocations: 0 / 0.5768 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.598, allocations: 4.565 MB / 0.5813 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/1.598, allocations: 12.53 kB / 0.5813 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/1.598, allocations: 96.86 kB / 0.5814 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.489e-05/1.598, allocations: 17.12 kB / 0.5814 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-05/1.599, allocations: 23.38 kB / 0.5814 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.136e-05/1.599, allocations: 29.7 kB / 0.5814 GB, free: 59.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/1.599, allocations: 15.19 kB / 0.5815 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/1.601, allocations: 2.835 MB / 0.5842 GB, free: 57.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/1.603, allocations: 0.5005 MB / 0.5847 GB, free: 56.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009887/1.604, allocations: 29.31 kB / 0.5847 GB, free: 56.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/1.607, allocations: 71.27 kB / 0.5848 GB, free: 56.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.607, allocations: 65.69 kB / 0.5849 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/1.607, allocations: 34.09 kB / 0.5849 GB, free: 56.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007911/1.615, allocations: 3.034 MB / 0.5879 GB, free: 55.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.243e-06/1.615, allocations: 3.938 kB / 0.5879 GB, free: 55.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005243/1.62, allocations: 0.8517 MB / 0.5887 GB, free: 54.66 MB / 426.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.003241/1.623, allocations: 5.808 MB / 0.5944 GB, free: 48.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004157/1.628, allocations: 1.804 MB / 0.5961 GB, free: 46.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/1.628, allocations: 4 kB / 0.5961 GB, free: 46.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004943/1.628, allocations: 221.2 kB / 0.5963 GB, free: 46.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005555/1.634, allocations: 0.6071 MB / 0.5969 GB, free: 46.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/1.657, allocations: 7.188 MB / 0.604 GB, free: 39.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005447/1.663, allocations: 2.936 MB / 0.6068 GB, free: 37.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003656/1.666, allocations: 1.744 MB / 0.6085 GB, free: 36.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/1.666, allocations: 0 / 0.6085 GB, free: 36.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.191/5.858, allocations: 69.12 MB / 0.676 GB, free: 96.11 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat