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 2.031/2.031, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.247e-05, allocations: 0 / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5573, allocations: 88.03 MB / 404.3 MB, free: 4.461 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5576, allocations: 72.22 kB / 404.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.702/1.26, allocations: 94.94 MB / 499.3 MB, free: 87.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.26, allocations: 1.562 kB / 499.3 MB, free: 87.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004955/1.26, allocations: 85.98 kB / 499.4 MB, free: 87.73 MB / 410.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.01859/1.279, allocations: 4.089 MB / 0.4917 GB, free: 86.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/1.279, allocations: 10.34 kB / 0.4917 GB, free: 86.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04791/1.327, allocations: 5.996 MB / 0.4976 GB, free: 85.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03094/1.358, allocations: 8.967 MB / 0.5063 GB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/1.358, allocations: 105.8 kB / 0.5064 GB, free: 85.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/1.36, allocations: 216.9 kB / 0.5066 GB, free: 85.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01157/1.371, allocations: 4.07 MB / 0.5106 GB, free: 85.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/1.388, allocations: 5.848 MB / 0.5163 GB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003849/1.389, allocations: 57.61 kB / 0.5164 GB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/1.39, allocations: 17.55 kB / 0.5164 GB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001802/1.392, allocations: 0.5833 MB / 0.517 GB, free: 83.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04457/1.437, allocations: 27.17 MB / 0.5435 GB, free: 66.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/1.437, allocations: 323.5 kB / 0.5438 GB, free: 66.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/1.438, allocations: 160.6 kB / 0.544 GB, free: 65.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/1.438, allocations: 9.156 kB / 0.544 GB, free: 65.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/1.438, allocations: 38.55 kB / 0.544 GB, free: 65.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/1.438, allocations: 5.969 kB / 0.544 GB, free: 65.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.009451/1.447, allocations: 1.487 MB / 0.5455 GB, free: 65.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/1.447, allocations: 242.4 kB / 0.5457 GB, free: 65.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009154/1.457, allocations: 3.402 MB / 0.549 GB, free: 64.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.457, allocations: 29.61 kB / 0.5491 GB, free: 63.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002572/1.459, allocations: 2.639 MB / 0.5516 GB, free: 61.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/1.46, allocations: 163 kB / 0.5518 GB, free: 61.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/1.46, allocations: 0 / 0.5518 GB, free: 61.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/1.46, allocations: 461.5 kB / 0.5522 GB, free: 61.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/1.462, allocations: 0.6698 MB / 0.5529 GB, free: 61.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002697/1.464, allocations: 3.23 MB / 0.556 GB, free: 57.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/1.467, allocations: 1.421 MB / 0.5574 GB, free: 56.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.344e-05/1.467, allocations: 25.66 kB / 0.5574 GB, free: 56.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.008328/1.476, allocations: 3.14 MB / 0.5605 GB, free: 55.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/1.476, allocations: 44.81 kB / 0.5606 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001004/1.476, allocations: 94.81 kB / 0.5606 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/1.476, allocations: 134.2 kB / 0.5608 GB, free: 55.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/1.481, allocations: 0.8603 MB / 0.5616 GB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/1.481, allocations: 188.3 kB / 0.5618 GB, free: 55.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006173/1.487, allocations: 0.4954 MB / 0.5623 GB, free: 55.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000748/1.488, allocations: 232 kB / 0.5625 GB, free: 55.33 MB / 410.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.0005892/1.489, allocations: 353.4 kB / 0.5628 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001556/1.49, allocations: 0.5762 MB / 0.5634 GB, free: 54.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007128/1.491, allocations: 333.5 kB / 0.5637 GB, free: 54.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/1.492, allocations: 356.2 kB / 0.5641 GB, free: 54.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.492, allocations: 7.531 kB / 0.5641 GB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.492, allocations: 3.156 kB / 0.5641 GB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.492, allocations: 7.344 kB / 0.5641 GB, free: 54.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/1.503, allocations: 3.462 MB / 0.5675 GB, free: 52.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/1.503, allocations: 10.84 kB / 0.5675 GB, free: 52.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/1.504, allocations: 88.25 kB / 0.5675 GB, free: 52.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.02e-05/1.504, allocations: 14.22 kB / 0.5676 GB, free: 52.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/1.504, allocations: 12.25 kB / 0.5676 GB, free: 52.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.467e-05/1.504, allocations: 19.33 kB / 0.5676 GB, free: 52.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.197e-05/1.504, allocations: 15.25 kB / 0.5676 GB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/1.507, allocations: 2.06 MB / 0.5696 GB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/1.51, allocations: 439.2 kB / 0.57 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001807/1.511, allocations: 13.77 kB / 0.57 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003869/1.515, allocations: 56.12 kB / 0.5701 GB, free: 49.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/1.516, allocations: 58.41 kB / 0.5702 GB, free: 49.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/1.516, allocations: 26.16 kB / 0.5702 GB, free: 49.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009798/1.526, allocations: 2.401 MB / 0.5725 GB, free: 48.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.526, allocations: 7.844 kB / 0.5725 GB, free: 48.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008607/1.534, allocations: 0.8328 MB / 0.5733 GB, free: 47.41 MB / 410.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.003827/1.538, allocations: 4.855 MB / 0.5781 GB, free: 42.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00544/1.544, allocations: 1.564 MB / 0.5796 GB, free: 40.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.119e-05/1.544, allocations: 8 kB / 0.5796 GB, free: 40.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005072/1.544, allocations: 160.3 kB / 0.5798 GB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006855/1.551, allocations: 0.5368 MB / 0.5803 GB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.578, allocations: 6.9 MB / 0.587 GB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006007/1.584, allocations: 2.942 MB / 0.5899 GB, free: 32.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003459/1.588, allocations: 1.713 MB / 0.5916 GB, free: 30.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/1.588, allocations: 0 / 0.5916 GB, free: 30.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.176/5.764, allocations: 65.31 MB / 0.6554 GB, free: 89.47 MB / 426.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