Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.131e-05/5.142e-05, allocations: 0 / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4885, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.6828, allocations: 103.3 MB / 0.5016 GB, free: 3.199 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.6831, allocations: 71.97 kB / 0.5016 GB, free: 3.129 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8667/1.55, allocations: 98.57 MB / 0.5979 GB, free: 43.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.55, allocations: 0 / 0.5979 GB, free: 43.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006104/1.551, allocations: 83.98 kB / 0.598 GB, free: 43.58 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01957/1.57, allocations: 4.085 MB / 0.602 GB, free: 39.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.57, allocations: 8.031 kB / 0.602 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002759/1.573, allocations: 0.5352 MB / 0.6025 GB, free: 38.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04739/1.62, allocations: 5.997 MB / 0.6084 GB, free: 32.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02952/1.65, allocations: 8.228 MB / 0.6164 GB, free: 24.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/1.65, allocations: 246.6 kB / 0.6166 GB, free: 24.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001837/1.652, allocations: 351.7 kB / 0.617 GB, free: 23.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0229/1.675, allocations: 6.733 MB / 0.6235 GB, free: 16.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004145/1.676, allocations: 55.55 kB / 0.6236 GB, free: 16.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/1.677, allocations: 152 kB / 0.6237 GB, free: 16.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/1.679, allocations: 0.5836 MB / 0.6243 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/1.696, allocations: 4.716 MB / 0.6289 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05429/1.751, allocations: 28.33 MB / 0.6566 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/1.755, allocations: 0.7114 MB / 0.6573 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/1.756, allocations: 204.4 kB / 0.6575 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/1.756, allocations: 16.08 kB / 0.6575 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/1.756, allocations: 46.52 kB / 0.6575 GB, free: 13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=37): time 4.108e-06/1.756, allocations: 0 / 0.6575 GB, free: 13 MB / 474.7 MB Notification: Performance of matching and sorting (n=37): time 0.01224/1.769, allocations: 1.741 MB / 0.6592 GB, free: 11.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/1.769, allocations: 243.3 kB / 0.6595 GB, free: 10.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/1.782, allocations: 4.091 MB / 0.6635 GB, free: 6.863 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.782, allocations: 33.7 kB / 0.6635 GB, free: 6.824 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004414/1.787, allocations: 2.746 MB / 0.6662 GB, free: 4.047 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/1.787, allocations: 202 kB / 0.6664 GB, free: 3.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000452/1.788, allocations: 76 kB / 0.6664 GB, free: 3.773 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004206/1.788, allocations: 453.4 kB / 0.6669 GB, free: 3.324 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/1.791, allocations: 0.7371 MB / 0.6676 GB, free: 2.586 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00516/1.796, allocations: 3.325 MB / 0.6708 GB, free: 13.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/1.8, allocations: 1.533 MB / 0.6723 GB, free: 12.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.531e-05/1.8, allocations: 28 kB / 0.6724 GB, free: 12.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.01188/1.812, allocations: 3.669 MB / 0.6759 GB, free: 8.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.812, allocations: 47.98 kB / 0.676 GB, free: 8.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/1.812, allocations: 99.95 kB / 0.6761 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/1.813, allocations: 136.8 kB / 0.6762 GB, free: 8.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/1.818, allocations: 0.8655 MB / 0.6771 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002259/1.819, allocations: 183.2 kB / 0.6772 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006837/1.825, allocations: 0.6272 MB / 0.6778 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009417/1.826, allocations: 232 kB / 0.6781 GB, free: 6.512 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],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 (449): * Single equations (assignments): 449 * 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.001328/1.828, allocations: 432.1 kB / 0.6785 GB, free: 6.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001258/1.829, allocations: 387.1 kB / 0.6789 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/1.831, allocations: 397.3 kB / 0.6792 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.831, allocations: 7.953 kB / 0.6792 GB, free: 5.297 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.831, allocations: 4 kB / 0.6792 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.831, allocations: 0 / 0.6792 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/1.845, allocations: 4.504 MB / 0.6836 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/1.845, allocations: 19.98 kB / 0.6837 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/1.846, allocations: 99.78 kB / 0.6838 GB, free: 448 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-05/1.846, allocations: 16 kB / 0.6838 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/1.846, allocations: 24 kB / 0.6838 GB, free: 408 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-05/1.846, allocations: 19.92 kB / 0.6838 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/1.846, allocations: 23.88 kB / 0.6838 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/1.849, allocations: 2.829 MB / 0.6866 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.851, allocations: 476 kB / 0.6871 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/1.853, allocations: 27.98 kB / 0.6871 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.856, allocations: 67.94 kB / 0.6871 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.856, allocations: 71.62 kB / 0.6872 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/1.856, allocations: 32 kB / 0.6872 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009675/1.866, allocations: 2.992 MB / 0.6902 GB, free: 9.277 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.313e-06/1.866, allocations: 4 kB / 0.6902 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005849/1.872, allocations: 0.8688 MB / 0.691 GB, free: 8.402 MB / 0.4948 GB 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.00469/1.876, allocations: 5.774 MB / 0.6967 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004781/1.881, allocations: 1.681 MB / 0.6983 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.881, allocations: 4 kB / 0.6983 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/1.882, allocations: 206.6 kB / 0.6985 GB, free: 392 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005847/1.888, allocations: 0.6174 MB / 0.6991 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02522/1.913, allocations: 6.729 MB / 0.7057 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0073/1.92, allocations: 2.92 MB / 0.7085 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006612/1.927, allocations: 1.162 MB / 0.7097 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004473/1.932, allocations: 1.718 MB / 0.7113 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of SimCode: time 2.104e-06/1.932, allocations: 0 / 0.7113 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5379/2.47, allocations: 65.35 MB / 0.7752 GB, free: 113 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/2.47, allocations: 139.7 kB / 0.7753 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.478/7.948, allocations: 0 / 0.7753 GB, free: 112.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat