Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.922e-05, allocations: 7.984 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.6121, allocations: 88 MB / 404.3 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.6125, allocations: 77.31 kB / 404.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6967/1.309, allocations: 94.94 MB / 499.3 MB, free: 88.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.915e-06/1.309, allocations: 0.6094 kB / 499.3 MB, free: 88.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004744/1.31, allocations: 85.16 kB / 499.4 MB, free: 88.02 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.01997/1.33, allocations: 4.087 MB / 0.4917 GB, free: 86.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/1.33, allocations: 9.156 kB / 0.4917 GB, free: 86.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04792/1.378, allocations: 6.002 MB / 0.4976 GB, free: 86.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0308/1.409, allocations: 8.953 MB / 0.5063 GB, free: 85.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/1.409, allocations: 104.9 kB / 0.5064 GB, free: 85.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/1.411, allocations: 228.9 kB / 0.5066 GB, free: 85.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0116/1.422, allocations: 4.076 MB / 0.5106 GB, free: 85.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/1.438, allocations: 5.838 MB / 0.5163 GB, free: 83.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002981/1.438, allocations: 61 kB / 0.5164 GB, free: 83.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009267/1.439, allocations: 14.97 kB / 0.5164 GB, free: 83.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/1.441, allocations: 0.5832 MB / 0.517 GB, free: 83.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0436/1.485, allocations: 27.17 MB / 0.5435 GB, free: 66.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/1.486, allocations: 324.6 kB / 0.5438 GB, free: 66.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/1.486, allocations: 156.6 kB / 0.5439 GB, free: 66.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/1.486, allocations: 10.56 kB / 0.544 GB, free: 66.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/1.486, allocations: 40.7 kB / 0.544 GB, free: 66.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.636e-06/1.486, allocations: 4 kB / 0.544 GB, free: 66.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.009453/1.495, allocations: 1.486 MB / 0.5455 GB, free: 65.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/1.496, allocations: 246.6 kB / 0.5457 GB, free: 65.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008453/1.504, allocations: 3.403 MB / 0.549 GB, free: 64.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/1.504, allocations: 29.52 kB / 0.549 GB, free: 64.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002589/1.507, allocations: 2.813 MB / 0.5518 GB, free: 61.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/1.507, allocations: 158.7 kB / 0.5519 GB, free: 61.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.507, allocations: 4 kB / 0.5519 GB, free: 61.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002505/1.508, allocations: 453.8 kB / 0.5524 GB, free: 61.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/1.509, allocations: 0.6616 MB / 0.553 GB, free: 61.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/1.512, allocations: 3.24 MB / 0.5562 GB, free: 57.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/1.514, allocations: 1.413 MB / 0.5576 GB, free: 56.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.873e-05/1.514, allocations: 28.44 kB / 0.5576 GB, free: 56.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.008744/1.523, allocations: 3.339 MB / 0.5609 GB, free: 55.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/1.523, allocations: 46.31 kB / 0.5609 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/1.523, allocations: 94.59 kB / 0.561 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001578/1.524, allocations: 134.9 kB / 0.5611 GB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00457/1.528, allocations: 0.8636 MB / 0.562 GB, free: 55.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/1.528, allocations: 188.8 kB / 0.5621 GB, free: 55.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005837/1.534, allocations: 499 kB / 0.5626 GB, free: 55.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000672/1.535, allocations: 231.4 kB / 0.5628 GB, free: 55.39 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.000608/1.536, allocations: 357.3 kB / 0.5632 GB, free: 55.1 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001565/1.537, allocations: 0.5826 MB / 0.5637 GB, free: 54.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006553/1.538, allocations: 333.5 kB / 0.5641 GB, free: 54.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/1.539, allocations: 353.3 kB / 0.5644 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/1.539, allocations: 6.656 kB / 0.5644 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.539, allocations: 3.5 kB / 0.5644 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/1.539, allocations: 0 / 0.5644 GB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007945/1.547, allocations: 3.464 MB / 0.5678 GB, free: 52.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.547, allocations: 10.97 kB / 0.5678 GB, free: 52.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/1.547, allocations: 86.98 kB / 0.5679 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/1.547, allocations: 13.34 kB / 0.5679 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/1.548, allocations: 14.81 kB / 0.5679 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/1.548, allocations: 14.47 kB / 0.5679 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-05/1.548, allocations: 20.09 kB / 0.5679 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/1.549, allocations: 2.058 MB / 0.57 GB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.551, allocations: 434.3 kB / 0.5704 GB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007551/1.552, allocations: 21.44 kB / 0.5704 GB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.553, allocations: 51.12 kB / 0.5704 GB, free: 49.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.554, allocations: 63.22 kB / 0.5705 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/1.554, allocations: 21.31 kB / 0.5705 GB, free: 49.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005792/1.559, allocations: 2.405 MB / 0.5729 GB, free: 47.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.56, allocations: 4 kB / 0.5729 GB, free: 47.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005894/1.565, allocations: 0.8366 MB / 0.5737 GB, free: 47.02 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.002895/1.568, allocations: 4.855 MB / 0.5784 GB, free: 41.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003724/1.572, allocations: 1.561 MB / 0.58 GB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.572, allocations: 8.062 kB / 0.58 GB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/1.573, allocations: 155.5 kB / 0.5801 GB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004745/1.577, allocations: 0.5482 MB / 0.5806 GB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.597, allocations: 6.486 MB / 0.587 GB, free: 34.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005292/1.602, allocations: 2.937 MB / 0.5898 GB, free: 31.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005544/1.608, allocations: 1.077 MB / 0.5909 GB, free: 31.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/1.611, allocations: 1.691 MB / 0.5926 GB, free: 29.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.784e-06/1.611, allocations: 0 / 0.5926 GB, free: 29.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4756/2.087, allocations: 57.28 MB / 0.6485 GB, free: 80.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/2.087, allocations: 131.8 kB / 0.6486 GB, free: 79.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.887/6.975, allocations: 0 / 0.6486 GB, free: 79.93 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat