Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.196e-05/3.191e-05, allocations: 4 kB / 292.7 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 50.41 MB / 343.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.5568, allocations: 90.01 MB / 433.2 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.5572, allocations: 86.14 kB / 433.3 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.212/0.7692, allocations: 53.51 MB / 486.8 MB, free: 2.578 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.7692, allocations: 3.938 kB / 486.8 MB, free: 2.574 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.7694, allocations: 55.94 kB / 486.8 MB, free: 2.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.006455/0.7758, allocations: 2.458 MB / 489.3 MB, free: 0 / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.562e-05/0.7759, allocations: 8.078 kB / 489.3 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001403/0.7773, allocations: 0.5648 MB / 489.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.7926, allocations: 1.965 MB / 491.8 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.7972, allocations: 1.403 MB / 493.2 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.7975, allocations: 234 kB / 493.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008979/0.7984, allocations: 307.8 kB / 493.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03178/0.8302, allocations: 8.925 MB / 0.4909 GB, free: 1.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001738/0.8304, allocations: 55.47 kB / 0.491 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006609/0.8311, allocations: 159.9 kB / 0.4911 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.8334, allocations: 0.8007 MB / 0.4919 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03027/0.8637, allocations: 6.999 MB / 0.4987 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4005/1.264, allocations: 38.38 MB / 0.5362 GB, free: 92.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04033/1.305, allocations: 5.334 MB / 0.5414 GB, free: 91.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/1.307, allocations: 0.9339 MB / 0.5423 GB, free: 91.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008165/1.315, allocations: 3.694 MB / 0.5459 GB, free: 89.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/1.315, allocations: 54.73 kB / 0.546 GB, free: 89.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=111): time 5.771e-06/1.315, allocations: 2.094 kB / 0.546 GB, free: 89.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=111): time 0.08114/1.397, allocations: 8.197 MB / 0.554 GB, free: 89.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/1.397, allocations: 202 kB / 0.5542 GB, free: 89.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007841/1.405, allocations: 2.679 MB / 0.5568 GB, free: 88.69 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/1.405, allocations: 41.86 kB / 0.5568 GB, free: 88.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002702/1.408, allocations: 2.428 MB / 0.5592 GB, free: 87.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008757/1.408, allocations: 0.4888 MB / 0.5597 GB, free: 87.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005082/1.409, allocations: 106.3 kB / 0.5598 GB, free: 87.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004556/1.409, allocations: 0.5289 MB / 0.5603 GB, free: 86.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00481/1.414, allocations: 1.466 MB / 0.5617 GB, free: 86.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007807/1.422, allocations: 4.969 MB / 0.5666 GB, free: 82.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008035/1.43, allocations: 2.732 MB / 0.5693 GB, free: 82.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.43, allocations: 39.19 kB / 0.5693 GB, free: 82.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01709/1.448, allocations: 5.784 MB / 0.5749 GB, free: 81.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.448, allocations: 64.81 kB / 0.575 GB, free: 81.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/1.448, allocations: 128.8 kB / 0.5751 GB, free: 81.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/1.448, allocations: 186.2 kB / 0.5753 GB, free: 81.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/1.459, allocations: 1.515 MB / 0.5768 GB, free: 81.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002495/1.459, allocations: 254.5 kB / 0.577 GB, free: 81.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/1.465, allocations: 0.7574 MB / 0.5778 GB, free: 80.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/1.466, allocations: 341.5 kB / 0.5781 GB, free: 80.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 678 * Array equations: 3 * 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.001354/1.467, allocations: 0.5306 MB / 0.5786 GB, free: 80.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005987/1.468, allocations: 250.3 kB / 0.5789 GB, free: 80.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/1.47, allocations: 0.741 MB / 0.5796 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/1.47, allocations: 16.84 kB / 0.5796 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.47, allocations: 3.781 kB / 0.5796 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.47, allocations: 3.375 kB / 0.5796 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009271/1.479, allocations: 3.223 MB / 0.5827 GB, free: 79.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.479, allocations: 0 / 0.5827 GB, free: 79.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005104/1.485, allocations: 478.3 kB / 0.5832 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/1.485, allocations: 3.531 kB / 0.5832 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.485, allocations: 37.27 kB / 0.5832 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/1.485, allocations: 7.438 kB / 0.5832 GB, free: 78.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.485, allocations: 7.938 kB / 0.5833 GB, free: 78.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/1.489, allocations: 2.642 MB / 0.5858 GB, free: 77.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007435/1.49, allocations: 306.9 kB / 0.5861 GB, free: 77.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/1.49, allocations: 31.27 kB / 0.5862 GB, free: 77.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.492, allocations: 51.3 kB / 0.5862 GB, free: 77.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.492, allocations: 51.11 kB / 0.5863 GB, free: 77.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.492, allocations: 44.45 kB / 0.5863 GB, free: 77.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004138/1.497, allocations: 1.806 MB / 0.5881 GB, free: 76.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.81e-07/1.497, allocations: 0 / 0.5881 GB, free: 76.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005803/1.502, allocations: 0.8438 MB / 0.5889 GB, free: 76.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 3 * 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.004862/1.507, allocations: 3.6 MB / 0.5924 GB, free: 73.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007034/1.514, allocations: 3.194 MB / 0.5955 GB, free: 70.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.515, allocations: 0 / 0.5955 GB, free: 70.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/1.516, allocations: 0.615 MB / 0.5961 GB, free: 70.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.518, allocations: 236.9 kB / 0.5963 GB, free: 70.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.538, allocations: 7.214 MB / 0.6034 GB, free: 64.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/1.542, allocations: 2.452 MB / 0.6058 GB, free: 62.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007048/1.549, allocations: 1.647 MB / 0.6074 GB, free: 61.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003006/1.552, allocations: 1.212 MB / 0.6086 GB, free: 59.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/1.552, allocations: 0 / 0.6086 GB, free: 59.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/1.664, allocations: 50.78 MB / 0.6582 GB, free: 10.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.664, allocations: 180.2 kB / 0.6583 GB, free: 10.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/5.977, allocations: 3.938 kB / 0.6583 GB, free: 10.62 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat