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.858/1.858, allocations: 209.3 MB / 221.9 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.968e-05, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1057, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.5684, allocations: 88.44 MB / 410.3 MB, free: 1.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5688, allocations: 71.97 kB / 410.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4589/1.028, allocations: 96.14 MB / 0.4946 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.028, allocations: 4 kB / 0.4946 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004422/1.028, allocations: 76 kB / 0.4947 GB, free: 0.6797 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.2986/1.327, allocations: 4.078 MB / 0.4987 GB, free: 95.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/1.327, allocations: 14.19 kB / 0.4987 GB, free: 95.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002858/1.33, allocations: 0.533 MB / 0.4992 GB, free: 95.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05008/1.38, allocations: 5.991 MB / 0.5051 GB, free: 95.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03275/1.413, allocations: 8.976 MB / 0.5138 GB, free: 94.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005069/1.413, allocations: 249.1 kB / 0.5141 GB, free: 94.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/1.415, allocations: 357.8 kB / 0.5144 GB, free: 94.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02159/1.437, allocations: 6.706 MB / 0.521 GB, free: 92.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002942/1.437, allocations: 56.52 kB / 0.521 GB, free: 92.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007052/1.438, allocations: 156.9 kB / 0.5212 GB, free: 92.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/1.44, allocations: 0.5864 MB / 0.5217 GB, free: 92.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/1.455, allocations: 4.699 MB / 0.5263 GB, free: 92.97 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04529/1.5, allocations: 28.34 MB / 0.554 GB, free: 74.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004013/1.504, allocations: 0.7147 MB / 0.5547 GB, free: 74.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/1.505, allocations: 206.1 kB / 0.5549 GB, free: 74.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/1.505, allocations: 11.75 kB / 0.5549 GB, free: 74.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.505, allocations: 45.72 kB / 0.555 GB, free: 74.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.637e-06/1.505, allocations: 0 / 0.555 GB, free: 74.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01291/1.518, allocations: 1.982 MB / 0.5569 GB, free: 73.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/1.518, allocations: 239.5 kB / 0.5571 GB, free: 73.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00893/1.527, allocations: 4.128 MB / 0.5612 GB, free: 72.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-05/1.527, allocations: 29.7 kB / 0.5612 GB, free: 72.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.529, allocations: 2.539 MB / 0.5637 GB, free: 70.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.53, allocations: 196.3 kB / 0.5639 GB, free: 69.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/1.53, allocations: 70.62 kB / 0.5639 GB, free: 69.85 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/1.53, allocations: 460.9 kB / 0.5644 GB, free: 69.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/1.532, allocations: 0.737 MB / 0.5651 GB, free: 69.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/1.535, allocations: 3.301 MB / 0.5683 GB, free: 65.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.538, allocations: 1.515 MB / 0.5698 GB, free: 65.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.505e-05/1.538, allocations: 26.88 kB / 0.5698 GB, free: 65.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.007643/1.546, allocations: 3.418 MB / 0.5731 GB, free: 63.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/1.546, allocations: 46.34 kB / 0.5732 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.171e-05/1.546, allocations: 92.25 kB / 0.5733 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001593/1.546, allocations: 134.8 kB / 0.5734 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00434/1.551, allocations: 0.8641 MB / 0.5742 GB, free: 63.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001486/1.551, allocations: 179.5 kB / 0.5744 GB, free: 63.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005693/1.556, allocations: 0.6248 MB / 0.575 GB, free: 63.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003979/1.557, allocations: 235.5 kB / 0.5753 GB, free: 63.4 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.0005987/1.557, allocations: 425.9 kB / 0.5757 GB, free: 63.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008979/1.558, allocations: 383.2 kB / 0.576 GB, free: 62.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.559, allocations: 405.3 kB / 0.5764 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/1.559, allocations: 3.938 kB / 0.5764 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.559, allocations: 3.891 kB / 0.5764 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/1.559, allocations: 3.875 kB / 0.5764 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/1.57, allocations: 4.525 MB / 0.5808 GB, free: 60.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.57, allocations: 17.75 kB / 0.5809 GB, free: 60.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/1.57, allocations: 90.67 kB / 0.5809 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.39e-05/1.57, allocations: 19.72 kB / 0.581 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/1.57, allocations: 21.34 kB / 0.581 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.1e-05/1.57, allocations: 25.78 kB / 0.581 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/1.57, allocations: 21.94 kB / 0.581 GB, free: 60.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/1.573, allocations: 2.831 MB / 0.5838 GB, free: 57.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.574, allocations: 0.508 MB / 0.5843 GB, free: 57.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005896/1.575, allocations: 25.66 kB / 0.5843 GB, free: 57.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.577, allocations: 66 kB / 0.5844 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/1.577, allocations: 68.27 kB / 0.5844 GB, free: 57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/1.577, allocations: 33.59 kB / 0.5845 GB, free: 57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007634/1.585, allocations: 3.028 MB / 0.5874 GB, free: 55.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.444e-06/1.585, allocations: 3.531 kB / 0.5874 GB, free: 55.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005602/1.59, allocations: 0.8624 MB / 0.5883 GB, free: 55.11 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.00307/1.593, allocations: 5.798 MB / 0.5939 GB, free: 49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004277/1.598, allocations: 1.667 MB / 0.5956 GB, free: 47.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/1.598, allocations: 1.125 kB / 0.5956 GB, free: 47.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/1.598, allocations: 223.5 kB / 0.5958 GB, free: 47.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/1.603, allocations: 0.61 MB / 0.5964 GB, free: 46.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.623, allocations: 7.171 MB / 0.6034 GB, free: 40.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004414/1.628, allocations: 2.932 MB / 0.6062 GB, free: 38.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003255/1.631, allocations: 1.744 MB / 0.6079 GB, free: 36.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.074e-06/1.631, allocations: 0 / 0.6079 GB, free: 36.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.277/5.908, allocations: 68.4 MB / 0.6747 GB, free: 94.89 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