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.702/1.702, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.007e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.3961, allocations: 75.7 MB / 339.6 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/0.3966, allocations: 79.95 kB / 339.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4981/0.8947, allocations: 59.01 MB / 398.7 MB, free: 73.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8948, allocations: 0 / 398.7 MB, free: 73.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001272/0.8949, allocations: 48 kB / 398.7 MB, free: 73.85 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.02614/0.9211, allocations: 3.444 MB / 402.2 MB, free: 70.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.9212, allocations: 8.031 kB / 402.2 MB, free: 70.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00204/0.9232, allocations: 495.1 kB / 402.6 MB, free: 69.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01959/0.9428, allocations: 2.321 MB / 405 MB, free: 67.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/0.9649, allocations: 4.827 MB / 409.8 MB, free: 62.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.9653, allocations: 178.3 kB / 410 MB, free: 62.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001914/0.9672, allocations: 231.5 kB / 410.2 MB, free: 62.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03671/1.004, allocations: 8.44 MB / 418.6 MB, free: 53.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/1.004, allocations: 55.41 kB / 418.7 MB, free: 53.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/1.005, allocations: 123.4 kB / 418.8 MB, free: 53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002316/1.008, allocations: 0.7224 MB / 419.5 MB, free: 52.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04291/1.051, allocations: 9.318 MB / 428.9 MB, free: 42.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05295/1.104, allocations: 37.71 MB / 466.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01987/1.123, allocations: 4.017 MB / 470.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005513/1.129, allocations: 2.199 MB / 472.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/1.129, allocations: 15.91 kB / 472.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/1.129, allocations: 51.52 kB / 472.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 4.749e-06/1.129, allocations: 4 kB / 472.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.07352/1.203, allocations: 14.49 MB / 487.3 MB, free: 15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003178/1.206, allocations: 3.047 MB / 490.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/1.213, allocations: 2.614 MB / 493 MB, free: 8.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000592/1.214, allocations: 45.7 kB / 493 MB, free: 8.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00221/1.216, allocations: 2.072 MB / 495.1 MB, free: 6.844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.217, allocations: 0.5632 MB / 495.7 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/1.218, allocations: 104 kB / 495.8 MB, free: 6.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004195/1.218, allocations: 0.5046 MB / 496.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005932/1.224, allocations: 2.286 MB / 498.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2388/1.463, allocations: 5.133 MB / 0.4919 GB, free: 92.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008043/1.471, allocations: 3.358 MB / 0.4952 GB, free: 92.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001954/1.471, allocations: 34.16 kB / 0.4952 GB, free: 92.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03135/1.503, allocations: 8.749 MB / 0.5038 GB, free: 91.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.503, allocations: 47.53 kB / 0.5038 GB, free: 91.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01895/1.522, allocations: 4.494 MB / 0.5082 GB, free: 91.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/1.537, allocations: 2.181 MB / 0.5103 GB, free: 91.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007934/1.545, allocations: 1.194 MB / 0.5115 GB, free: 91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008643/1.553, allocations: 7.375 MB / 0.5187 GB, free: 85.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008508/1.562, allocations: 0.5702 MB / 0.5192 GB, free: 85.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/1.563, allocations: 298.9 kB / 0.5195 GB, free: 85.16 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.00205/1.566, allocations: 468.4 kB / 0.52 GB, free: 84.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007839/1.566, allocations: 259.4 kB / 0.5202 GB, free: 84.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.568, allocations: 422 kB / 0.5206 GB, free: 84.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02012/1.588, allocations: 4.547 MB / 0.5251 GB, free: 83.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/1.588, allocations: 7.625 kB / 0.5251 GB, free: 83.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-05/1.588, allocations: 7.219 kB / 0.5251 GB, free: 83.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/1.603, allocations: 5.341 MB / 0.5303 GB, free: 80.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-05/1.603, allocations: 0 / 0.5303 GB, free: 80.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/1.606, allocations: 284 kB / 0.5306 GB, free: 80.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01641/1.623, allocations: 2.372 MB / 0.5329 GB, free: 78.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006611/1.623, allocations: 44.38 kB / 0.5329 GB, free: 78.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.636, allocations: 8.827 MB / 0.5415 GB, free: 70.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002039/1.638, allocations: 2.881 MB / 0.5444 GB, free: 67.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02598/1.664, allocations: 8.094 MB / 0.5523 GB, free: 59.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/1.665, allocations: 337.6 kB / 0.5526 GB, free: 59.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009255/1.666, allocations: 35.98 kB / 0.5526 GB, free: 59.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004056/1.67, allocations: 264.2 kB / 0.5529 GB, free: 58.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006208/1.671, allocations: 107.8 kB / 0.553 GB, free: 58.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/1.671, allocations: 37.22 kB / 0.553 GB, free: 58.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003767/1.675, allocations: 1.82 MB / 0.5548 GB, free: 56.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.675, allocations: 0 / 0.5548 GB, free: 56.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006065/1.681, allocations: 0.9302 MB / 0.5557 GB, free: 56.06 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.02693/1.708, allocations: 8.982 MB / 0.5645 GB, free: 47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01671/1.725, allocations: 6.245 MB / 0.5706 GB, free: 40.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.725, allocations: 0 / 0.5706 GB, free: 40.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/1.735, allocations: 3.356 MB / 0.5738 GB, free: 37.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.738, allocations: 280.1 kB / 0.5741 GB, free: 36.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02901/1.767, allocations: 8.327 MB / 0.5822 GB, free: 28.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003818/1.771, allocations: 2.338 MB / 0.5845 GB, free: 26.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007231/1.778, allocations: 1.628 MB / 0.5861 GB, free: 24.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00323/1.781, allocations: 1.151 MB / 0.5872 GB, free: 23.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/1.781, allocations: 0 / 0.5872 GB, free: 23.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3849/2.166, allocations: 64.63 MB / 0.6503 GB, free: 97.26 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/2.167, allocations: 192.8 kB / 0.6505 GB, free: 97.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.589/6.756, allocations: 0 / 0.6505 GB, free: 97.04 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