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 1.956/1.956, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.501e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5748/0.6949, allocations: 88.44 MB / 410.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.6953, allocations: 71.97 kB / 410.4 MB, free: 1.102 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4102/1.105, allocations: 96.13 MB / 0.4946 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.106, allocations: 0 / 0.4946 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004621/1.106, allocations: 83.98 kB / 0.4947 GB, free: 0.5117 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.2946/1.401, allocations: 4.083 MB / 0.4987 GB, free: 95.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/1.401, allocations: 10.12 kB / 0.4987 GB, free: 95.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002917/1.404, allocations: 0.5343 MB / 0.4992 GB, free: 95.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04873/1.452, allocations: 5.991 MB / 0.5051 GB, free: 95.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03074/1.483, allocations: 8.972 MB / 0.5138 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/1.484, allocations: 247.3 kB / 0.5141 GB, free: 94.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/1.485, allocations: 354.3 kB / 0.5144 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/1.506, allocations: 6.745 MB / 0.521 GB, free: 93.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002975/1.507, allocations: 58.33 kB / 0.5211 GB, free: 93.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008383/1.507, allocations: 154.5 kB / 0.5212 GB, free: 93.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/1.509, allocations: 0.5926 MB / 0.5218 GB, free: 93.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/1.525, allocations: 4.809 MB / 0.5265 GB, free: 93.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0473/1.573, allocations: 28.34 MB / 0.5541 GB, free: 74.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003958/1.577, allocations: 0.7221 MB / 0.5548 GB, free: 74.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/1.577, allocations: 208.8 kB / 0.555 GB, free: 74.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/1.577, allocations: 17.58 kB / 0.5551 GB, free: 74.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.577, allocations: 42.88 kB / 0.5551 GB, free: 74.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.066e-06/1.577, allocations: 0 / 0.5551 GB, free: 74.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01318/1.591, allocations: 1.982 MB / 0.557 GB, free: 73.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/1.591, allocations: 250.1 kB / 0.5573 GB, free: 73.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.601, allocations: 4.123 MB / 0.5613 GB, free: 72.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.602, allocations: 33.22 kB / 0.5613 GB, free: 72.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002983/1.605, allocations: 2.754 MB / 0.564 GB, free: 70.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/1.605, allocations: 199.2 kB / 0.5642 GB, free: 69.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/1.605, allocations: 72.19 kB / 0.5643 GB, free: 69.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/1.605, allocations: 454.9 kB / 0.5647 GB, free: 69.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.607, allocations: 0.7311 MB / 0.5654 GB, free: 69.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/1.61, allocations: 3.327 MB / 0.5687 GB, free: 65.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003198/1.614, allocations: 1.515 MB / 0.5702 GB, free: 65.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-05/1.614, allocations: 27.22 kB / 0.5702 GB, free: 65.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01017/1.624, allocations: 3.915 MB / 0.574 GB, free: 63.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.386e-05/1.624, allocations: 46.66 kB / 0.5741 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/1.624, allocations: 92.91 kB / 0.5741 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/1.624, allocations: 134.5 kB / 0.5743 GB, free: 63.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004587/1.629, allocations: 0.8609 MB / 0.5751 GB, free: 63.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001597/1.629, allocations: 181 kB / 0.5753 GB, free: 63.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.635, allocations: 0.6207 MB / 0.5759 GB, free: 63.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006357/1.636, allocations: 238 kB / 0.5761 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.0005861/1.636, allocations: 428.6 kB / 0.5765 GB, free: 62.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.637, allocations: 382.6 kB / 0.5769 GB, free: 62.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.638, allocations: 399.3 kB / 0.5773 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.639, allocations: 7.938 kB / 0.5773 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.639, allocations: 0 / 0.5773 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/1.639, allocations: 7.359 kB / 0.5773 GB, free: 62.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009745/1.648, allocations: 4.572 MB / 0.5818 GB, free: 60.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.648, allocations: 13.08 kB / 0.5818 GB, free: 60.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/1.649, allocations: 94.31 kB / 0.5819 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.159e-05/1.649, allocations: 15.91 kB / 0.5819 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/1.649, allocations: 25.03 kB / 0.5819 GB, free: 59.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/1.649, allocations: 25.16 kB / 0.5819 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/1.649, allocations: 17.41 kB / 0.5819 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/1.651, allocations: 2.829 MB / 0.5847 GB, free: 57.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.653, allocations: 0.5026 MB / 0.5852 GB, free: 56.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006116/1.654, allocations: 30.52 kB / 0.5852 GB, free: 56.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.656, allocations: 66.31 kB / 0.5853 GB, free: 56.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/1.656, allocations: 67 kB / 0.5853 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/1.656, allocations: 25.78 kB / 0.5854 GB, free: 56.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007345/1.663, allocations: 3.039 MB / 0.5883 GB, free: 55.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.663, allocations: 0 / 0.5883 GB, free: 55.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005091/1.668, allocations: 0.8554 MB / 0.5892 GB, free: 54.46 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.003137/1.671, allocations: 5.804 MB / 0.5948 GB, free: 48.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004191/1.676, allocations: 1.807 MB / 0.5966 GB, free: 46.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.676, allocations: 0 / 0.5966 GB, free: 46.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/1.676, allocations: 225.2 kB / 0.5968 GB, free: 46.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/1.681, allocations: 0.6119 MB / 0.5974 GB, free: 45.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.7, allocations: 6.772 MB / 0.604 GB, free: 39.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00405/1.704, allocations: 2.935 MB / 0.6069 GB, free: 37.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005657/1.71, allocations: 1.156 MB / 0.608 GB, free: 37.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003274/1.713, allocations: 1.72 MB / 0.6097 GB, free: 35.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/1.713, allocations: 4 kB / 0.6097 GB, free: 35.42 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4564/2.17, allocations: 66.06 MB / 0.6742 GB, free: 90.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/2.17, allocations: 138 kB / 0.6744 GB, free: 90.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.303/7.473, allocations: 0 / 0.6744 GB, free: 90.01 MB / 442.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