Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.235e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.5799, allocations: 81.32 MB / 381.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5803, allocations: 81.77 kB / 381.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2592/0.8395, allocations: 59.18 MB / 440.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.8396, allocations: 3.938 kB / 440.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001444/0.8397, allocations: 44 kB / 440.6 MB, free: 5.453 MB / 330.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.02787/0.8676, allocations: 3.448 MB / 444.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.8677, allocations: 8.031 kB / 444.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002588/0.8703, allocations: 486.7 kB / 444.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/0.8917, allocations: 2.359 MB / 446.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02048/0.9123, allocations: 4.844 MB / 451.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.9127, allocations: 176 kB / 451.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/0.9145, allocations: 226.3 kB / 452.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0302/0.9448, allocations: 8.443 MB / 460.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.945, allocations: 51.55 kB / 460.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009316/0.9459, allocations: 126.2 kB / 460.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001886/0.9478, allocations: 0.7223 MB / 461.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03226/0.9801, allocations: 9.316 MB / 470.8 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06361/1.044, allocations: 37.73 MB / 0.4966 GB, free: 1.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/1.065, allocations: 4.017 MB / 0.5005 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005742/1.071, allocations: 2.201 MB / 0.5027 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/1.071, allocations: 15.67 kB / 0.5027 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/1.071, allocations: 50.5 kB / 0.5027 GB, free: 10.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 5.069e-06/1.071, allocations: 0 / 0.5027 GB, free: 10.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.4271/1.498, allocations: 14.47 MB / 0.5169 GB, free: 113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002518/1.501, allocations: 3.046 MB / 0.5199 GB, free: 110.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006939/1.508, allocations: 2.613 MB / 0.5224 GB, free: 109.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000599/1.509, allocations: 42.48 kB / 0.5224 GB, free: 109.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.511, allocations: 2.083 MB / 0.5245 GB, free: 108.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.512, allocations: 0.5564 MB / 0.525 GB, free: 108.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007808/1.513, allocations: 94.33 kB / 0.5251 GB, free: 108.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004592/1.514, allocations: 0.5103 MB / 0.5256 GB, free: 108.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006523/1.52, allocations: 2.295 MB / 0.5278 GB, free: 108.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007953/1.528, allocations: 5.146 MB / 0.5329 GB, free: 104.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007412/1.536, allocations: 3.363 MB / 0.5362 GB, free: 104.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/1.536, allocations: 29.16 kB / 0.5362 GB, free: 104.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03249/1.568, allocations: 8.961 MB / 0.5449 GB, free: 104.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.568, allocations: 48.66 kB / 0.545 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01975/1.588, allocations: 4.653 MB / 0.5495 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/1.604, allocations: 2.35 MB / 0.5518 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007561/1.612, allocations: 1.165 MB / 0.553 GB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/1.623, allocations: 8.108 MB / 0.5609 GB, free: 96.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/1.633, allocations: 0.5738 MB / 0.5614 GB, free: 96.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/1.635, allocations: 301.4 kB / 0.5617 GB, free: 96.59 MB / 410.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 (575): * Single equations (assignments): 560 * 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 {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 prepare postOptimizeDAE: time 0.001125/1.636, allocations: 472.2 kB / 0.5622 GB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008415/1.637, allocations: 253.9 kB / 0.5624 GB, free: 96.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/1.638, allocations: 414 kB / 0.5628 GB, free: 95.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01927/1.657, allocations: 4.555 MB / 0.5673 GB, free: 94.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-05/1.657, allocations: 3.625 kB / 0.5673 GB, free: 94.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.891e-05/1.657, allocations: 7.219 kB / 0.5673 GB, free: 94.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/1.672, allocations: 5.343 MB / 0.5725 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/1.672, allocations: 2.906 kB / 0.5725 GB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/1.675, allocations: 285.8 kB / 0.5728 GB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/1.691, allocations: 2.365 MB / 0.5751 GB, free: 92.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006197/1.692, allocations: 45.7 kB / 0.5751 GB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.708, allocations: 8.832 MB / 0.5837 GB, free: 84.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002908/1.711, allocations: 2.875 MB / 0.5866 GB, free: 81.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03574/1.747, allocations: 8.092 MB / 0.5945 GB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.748, allocations: 342.5 kB / 0.5948 GB, free: 74.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.75, allocations: 35.69 kB / 0.5948 GB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005713/1.755, allocations: 265.8 kB / 0.5951 GB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006777/1.756, allocations: 107.8 kB / 0.5952 GB, free: 73.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003281/1.756, allocations: 42.78 kB / 0.5952 GB, free: 73.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01238/1.769, allocations: 1.812 MB / 0.597 GB, free: 72.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.769, allocations: 0 / 0.597 GB, free: 72.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01364/1.782, allocations: 0.9395 MB / 0.5979 GB, free: 71.35 MB / 410.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.03033/1.813, allocations: 8.978 MB / 0.6067 GB, free: 63.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01649/1.829, allocations: 6.513 MB / 0.613 GB, free: 57.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.829, allocations: 0 / 0.613 GB, free: 57.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009519/1.839, allocations: 3.358 MB / 0.6163 GB, free: 53.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.841, allocations: 275.9 kB / 0.6166 GB, free: 53.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.867, allocations: 8.319 MB / 0.6247 GB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003066/1.87, allocations: 2.356 MB / 0.627 GB, free: 42.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006582/1.877, allocations: 1.628 MB / 0.6286 GB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/1.88, allocations: 1.147 MB / 0.6297 GB, free: 40.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/1.88, allocations: 0 / 0.6297 GB, free: 40.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5147/2.394, allocations: 65.84 MB / 0.694 GB, free: 99.49 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002504/2.395, allocations: 201.2 kB / 0.6942 GB, free: 99.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.709/7.104, allocations: 3.938 kB / 0.6942 GB, free: 99.26 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat