Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.577/1.577, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.131e-05, allocations: 4 kB / 225.1 MB, free: 2.129 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 38.77 MB / 263.9 MB, free: 9.789 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.4479, allocations: 75.22 MB / 339.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/0.4484, allocations: 83.95 kB / 339.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4857/0.9342, allocations: 51.24 MB / 390.4 MB, free: 81.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.9342, allocations: 0 / 390.4 MB, free: 81.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001573/0.9344, allocations: 54.81 kB / 390.5 MB, free: 81.05 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.009345/0.9438, allocations: 2.403 MB / 392.9 MB, free: 79.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.9438, allocations: 16.03 kB / 392.9 MB, free: 79.52 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002095/0.946, allocations: 0.5557 MB / 393.4 MB, free: 78.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.9622, allocations: 1.96 MB / 395.4 MB, free: 77.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/0.9665, allocations: 1.378 MB / 396.8 MB, free: 75.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.9667, allocations: 224.9 kB / 397 MB, free: 75.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009595/0.9677, allocations: 303.1 kB / 397.3 MB, free: 75.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02762/0.9953, allocations: 8.838 MB / 406.1 MB, free: 65.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.9956, allocations: 51.47 kB / 406.2 MB, free: 65.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006432/0.9962, allocations: 153.9 kB / 406.3 MB, free: 65.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001851/0.9981, allocations: 0.7887 MB / 407.1 MB, free: 64.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02633/1.024, allocations: 7.044 MB / 414.2 MB, free: 57.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04599/1.07, allocations: 38.03 MB / 452.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03682/1.107, allocations: 5.222 MB / 457.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/1.109, allocations: 0.9117 MB / 458.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007076/1.117, allocations: 3.349 MB / 461.7 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.117, allocations: 46.56 kB / 461.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 4.699e-06/1.117, allocations: 0 / 461.7 MB, free: 8.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.06805/1.185, allocations: 8.053 MB / 469.8 MB, free: 348 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/1.185, allocations: 191.9 kB / 470 MB, free: 112 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005759/1.191, allocations: 2.657 MB / 472.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002328/1.191, allocations: 41.7 kB / 472.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00238/1.193, allocations: 2.403 MB / 475.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007355/1.194, allocations: 481.9 kB / 475.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/1.194, allocations: 104 kB / 475.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005165/1.195, allocations: 0.5808 MB / 476.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/1.199, allocations: 1.443 MB / 477.7 MB, free: 8.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006588/1.205, allocations: 4.963 MB / 482.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006687/1.212, allocations: 2.697 MB / 485.3 MB, free: 14.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.212, allocations: 36 kB / 485.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01595/1.228, allocations: 6.088 MB / 491.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/1.228, allocations: 60 kB / 491.5 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/1.228, allocations: 132 kB / 491.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/1.229, allocations: 184 kB / 491.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/1.239, allocations: 1.502 MB / 493.3 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002945/1.239, allocations: 251 kB / 493.6 MB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/1.245, allocations: 0.7577 MB / 494.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/1.246, allocations: 336 kB / 494.6 MB, free: 5.582 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 27 (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.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (671): * Single equations (assignments): 668 * 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.001023/1.247, allocations: 0.5204 MB / 495.2 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006111/1.247, allocations: 248.8 kB / 495.4 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/1.249, allocations: 0.7003 MB / 496.1 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.92e-05/1.249, allocations: 15.98 kB / 496.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/1.249, allocations: 7.938 kB / 496.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/1.249, allocations: 3.984 kB / 496.1 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/1.255, allocations: 2.258 MB / 498.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.255, allocations: 4 kB / 498.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005111/1.26, allocations: 463.4 kB / 498.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-05/1.26, allocations: 8 kB / 498.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/1.261, allocations: 34.94 kB / 498.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/1.261, allocations: 12.33 kB / 498.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.261, allocations: 4 kB / 498.9 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2298/1.49, allocations: 2.571 MB / 0.4897 GB, free: 98.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007358/1.491, allocations: 306.8 kB / 0.49 GB, free: 98.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004272/1.492, allocations: 27.55 kB / 0.49 GB, free: 98.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.493, allocations: 50.42 kB / 0.4901 GB, free: 98.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.493, allocations: 55.55 kB / 0.4901 GB, free: 98.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.494, allocations: 35.28 kB / 0.4902 GB, free: 98.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003718/1.497, allocations: 1.792 MB / 0.4919 GB, free: 98.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.497, allocations: 0 / 0.4919 GB, free: 98.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004968/1.502, allocations: 0.8215 MB / 0.4927 GB, free: 98.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (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],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.004723/1.507, allocations: 3.509 MB / 0.4962 GB, free: 96.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007014/1.514, allocations: 3.309 MB / 0.4994 GB, free: 96.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.514, allocations: 0 / 0.4994 GB, free: 96.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.515, allocations: 0.6001 MB / 0.5 GB, free: 96.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/1.517, allocations: 234.2 kB / 0.5002 GB, free: 96.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.537, allocations: 7.108 MB / 0.5071 GB, free: 93.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/1.54, allocations: 2.422 MB / 0.5095 GB, free: 92.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006508/1.546, allocations: 1.625 MB / 0.5111 GB, free: 92.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/1.549, allocations: 1.191 MB / 0.5122 GB, free: 91.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/1.549, allocations: 0 / 0.5122 GB, free: 91.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.662, allocations: 50.21 MB / 0.5613 GB, free: 48.3 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/1.662, allocations: 187.9 kB / 0.5615 GB, free: 48.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.098/5.76, allocations: 0 / 0.5615 GB, free: 48.07 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat