Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.754/1.754, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.165e-05, allocations: 4 kB / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.257, allocations: 38.78 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.3886, allocations: 75.69 MB / 339.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.389, allocations: 79.95 kB / 339.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4669/0.8559, allocations: 59.01 MB / 398.6 MB, free: 73.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.8559, allocations: 0 / 398.6 MB, free: 73.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001271/0.8561, allocations: 52 kB / 398.7 MB, free: 73.63 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.02646/0.8825, allocations: 3.443 MB / 402.1 MB, free: 70.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.8826, allocations: 8.031 kB / 402.1 MB, free: 70.14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001808/0.8844, allocations: 485.5 kB / 402.6 MB, free: 69.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01962/0.9041, allocations: 2.321 MB / 404.9 MB, free: 67.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01788/0.922, allocations: 4.829 MB / 409.8 MB, free: 62.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.9223, allocations: 170.5 kB / 409.9 MB, free: 62.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.9238, allocations: 238.3 kB / 410.2 MB, free: 62.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02614/0.9499, allocations: 8.473 MB / 418.6 MB, free: 52.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.9501, allocations: 59.45 kB / 418.7 MB, free: 52.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008051/0.951, allocations: 114.4 kB / 418.8 MB, free: 52.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001603/0.9526, allocations: 0.726 MB / 419.5 MB, free: 52.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/0.9808, allocations: 9.441 MB / 429 MB, free: 42.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05011/1.031, allocations: 37.72 MB / 466.7 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01993/1.051, allocations: 4.028 MB / 470.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005534/1.057, allocations: 2.195 MB / 472.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/1.057, allocations: 17.05 kB / 472.9 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/1.057, allocations: 50.45 kB / 473 MB, free: 13.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 5.961e-06/1.057, allocations: 0 / 473 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.07355/1.13, allocations: 14.49 MB / 487.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003105/1.134, allocations: 3.051 MB / 490.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006229/1.14, allocations: 2.614 MB / 493.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005986/1.141, allocations: 49.62 kB / 493.2 MB, free: 8.535 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002595/1.143, allocations: 2.076 MB / 495.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.145, allocations: 0.5632 MB / 495.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006599/1.145, allocations: 92 kB / 495.9 MB, free: 5.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004494/1.146, allocations: 0.5125 MB / 496.4 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006359/1.152, allocations: 2.286 MB / 498.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2363/1.388, allocations: 5.152 MB / 0.4921 GB, free: 92.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008206/1.397, allocations: 3.363 MB / 0.4953 GB, free: 92.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/1.397, allocations: 29.44 kB / 0.4954 GB, free: 92.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03159/1.428, allocations: 9.038 MB / 0.5042 GB, free: 91.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.429, allocations: 46.84 kB / 0.5042 GB, free: 91.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01902/1.448, allocations: 4.494 MB / 0.5086 GB, free: 90.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/1.462, allocations: 2.186 MB / 0.5108 GB, free: 90.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008118/1.47, allocations: 1.187 MB / 0.5119 GB, free: 90.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008799/1.479, allocations: 7.391 MB / 0.5191 GB, free: 84.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008329/1.488, allocations: 0.5644 MB / 0.5197 GB, free: 84.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.489, allocations: 305.4 kB / 0.52 GB, free: 84.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 15 (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 (581): * Single equations (assignments): 566 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001807/1.491, allocations: 464.5 kB / 0.5204 GB, free: 84.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007569/1.492, allocations: 257.2 kB / 0.5207 GB, free: 84.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/1.493, allocations: 415.5 kB / 0.5211 GB, free: 84.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01983/1.513, allocations: 4.558 MB / 0.5255 GB, free: 83.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.472e-05/1.513, allocations: 6.75 kB / 0.5255 GB, free: 83.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-05/1.513, allocations: 7.328 kB / 0.5255 GB, free: 83.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/1.527, allocations: 5.339 MB / 0.5308 GB, free: 79.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/1.527, allocations: 0 / 0.5308 GB, free: 79.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/1.53, allocations: 281.3 kB / 0.531 GB, free: 79.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01555/1.546, allocations: 2.37 MB / 0.5333 GB, free: 78.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006164/1.547, allocations: 49.27 kB / 0.5334 GB, free: 78.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.559, allocations: 8.829 MB / 0.542 GB, free: 69.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001973/1.561, allocations: 2.887 MB / 0.5448 GB, free: 66.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/1.588, allocations: 8.097 MB / 0.5527 GB, free: 59.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009827/1.589, allocations: 342 kB / 0.5531 GB, free: 58.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009474/1.59, allocations: 35.98 kB / 0.5531 GB, free: 58.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004057/1.594, allocations: 261.1 kB / 0.5533 GB, free: 58.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007105/1.595, allocations: 103.8 kB / 0.5534 GB, free: 58.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.595, allocations: 47.91 kB / 0.5535 GB, free: 58.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003785/1.599, allocations: 1.816 MB / 0.5553 GB, free: 56.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.599, allocations: 0 / 0.5553 GB, free: 56.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005804/1.604, allocations: 0.9285 MB / 0.5562 GB, free: 55.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02632/1.631, allocations: 8.98 MB / 0.5649 GB, free: 46.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01685/1.648, allocations: 6.389 MB / 0.5712 GB, free: 40.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.648, allocations: 0 / 0.5712 GB, free: 40.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01023/1.658, allocations: 3.395 MB / 0.5745 GB, free: 36.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/1.661, allocations: 268.6 kB / 0.5747 GB, free: 36.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02904/1.69, allocations: 8.341 MB / 0.5829 GB, free: 27.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/1.694, allocations: 2.346 MB / 0.5852 GB, free: 25.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006997/1.701, allocations: 1.629 MB / 0.5868 GB, free: 23.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003045/1.704, allocations: 1.151 MB / 0.5879 GB, free: 22.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.863e-06/1.704, allocations: 0 / 0.5879 GB, free: 22.81 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.375/2.079, allocations: 65.05 MB / 0.6514 GB, free: 96.1 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/2.079, allocations: 214.1 kB / 0.6516 GB, free: 95.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.339/6.418, allocations: 0 / 0.6516 GB, free: 95.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat