Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.819e-05, allocations: 4 kB / 292.7 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 50.42 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5573, allocations: 88.69 MB / 431.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.5576, allocations: 82.02 kB / 431.9 MB, free: 5.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2713/0.8289, allocations: 60.77 MB / 492.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.829, allocations: 0 / 492.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.8291, allocations: 47.98 kB / 492.8 MB, free: 12.6 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.0271/0.8562, allocations: 3.452 MB / 496.2 MB, free: 9.086 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.8563, allocations: 12.03 kB / 496.2 MB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001944/0.8583, allocations: 485.2 kB / 496.7 MB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/0.8797, allocations: 2.352 MB / 499.1 MB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/0.8994, allocations: 4.582 MB / 0.4918 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.8998, allocations: 168.4 kB / 0.492 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.9015, allocations: 239.8 kB / 0.4922 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02931/0.9308, allocations: 8.453 MB / 0.5005 GB, free: 7.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.931, allocations: 47.62 kB / 0.5005 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007666/0.9318, allocations: 119.9 kB / 0.5006 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001935/0.9338, allocations: 0.7301 MB / 0.5013 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03314/0.9669, allocations: 9.317 MB / 0.5104 GB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3498/1.317, allocations: 37.78 MB / 0.5473 GB, free: 91.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02175/1.339, allocations: 4.02 MB / 0.5513 GB, free: 90.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005217/1.344, allocations: 2.205 MB / 0.5534 GB, free: 90.83 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/1.344, allocations: 11.16 kB / 0.5534 GB, free: 90.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/1.344, allocations: 53.09 kB / 0.5535 GB, free: 90.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 5.16e-06/1.344, allocations: 0 / 0.5535 GB, free: 90.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=136): time 0.06876/1.413, allocations: 14.4 MB / 0.5675 GB, free: 88.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002397/1.415, allocations: 3.047 MB / 0.5705 GB, free: 85.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005842/1.421, allocations: 2.614 MB / 0.5731 GB, free: 85.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006143/1.422, allocations: 48.58 kB / 0.5731 GB, free: 85.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.424, allocations: 2.08 MB / 0.5751 GB, free: 84.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.425, allocations: 0.5616 MB / 0.5757 GB, free: 83.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007505/1.426, allocations: 90.56 kB / 0.5758 GB, free: 83.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003476/1.426, allocations: 0.5135 MB / 0.5763 GB, free: 83.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005672/1.432, allocations: 2.303 MB / 0.5785 GB, free: 82.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007574/1.439, allocations: 5.164 MB / 0.5836 GB, free: 78.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007568/1.447, allocations: 3.378 MB / 0.5869 GB, free: 77.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/1.447, allocations: 29.94 kB / 0.5869 GB, free: 77.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.07791/1.525, allocations: 8.967 MB / 0.5957 GB, free: 74.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.525, allocations: 50.56 kB / 0.5957 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02255/1.548, allocations: 4.66 MB / 0.6003 GB, free: 73.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01643/1.564, allocations: 2.348 MB / 0.6025 GB, free: 73.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007639/1.572, allocations: 1.167 MB / 0.6037 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/1.583, allocations: 8.125 MB / 0.6116 GB, free: 65.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008593/1.592, allocations: 0.5613 MB / 0.6122 GB, free: 65.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/1.593, allocations: 313.2 kB / 0.6125 GB, free: 65.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 18 (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 (578): * Single equations (assignments): 563 * 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.001244/1.595, allocations: 470 kB / 0.6129 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007749/1.595, allocations: 252.7 kB / 0.6132 GB, free: 64.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/1.597, allocations: 416.8 kB / 0.6136 GB, free: 64.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01973/1.616, allocations: 4.564 MB / 0.618 GB, free: 60.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/1.616, allocations: 8 kB / 0.618 GB, free: 60.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/1.617, allocations: 5.953 kB / 0.618 GB, free: 60.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/1.631, allocations: 5.325 MB / 0.6232 GB, free: 56.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/1.631, allocations: 0 / 0.6232 GB, free: 56.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003233/1.634, allocations: 287.5 kB / 0.6235 GB, free: 56.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01593/1.65, allocations: 2.366 MB / 0.6258 GB, free: 53.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006398/1.651, allocations: 47.2 kB / 0.6259 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.664, allocations: 8.83 MB / 0.6345 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002235/1.667, allocations: 2.876 MB / 0.6373 GB, free: 41.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02594/1.693, allocations: 8.097 MB / 0.6452 GB, free: 33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/1.694, allocations: 335 kB / 0.6455 GB, free: 32.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007134/1.694, allocations: 39.94 kB / 0.6456 GB, free: 32.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003866/1.698, allocations: 263.5 kB / 0.6458 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005231/1.699, allocations: 104.8 kB / 0.6459 GB, free: 32.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/1.699, allocations: 35.97 kB / 0.6459 GB, free: 32.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003485/1.703, allocations: 1.817 MB / 0.6477 GB, free: 30.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.703, allocations: 4 kB / 0.6477 GB, free: 30.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005817/1.708, allocations: 0.9422 MB / 0.6486 GB, free: 29.45 MB / 442.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.02594/1.734, allocations: 8.999 MB / 0.6574 GB, free: 20.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01627/1.751, allocations: 6.512 MB / 0.6638 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.751, allocations: 4 kB / 0.6638 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009954/1.761, allocations: 3.36 MB / 0.6671 GB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.763, allocations: 279.1 kB / 0.6673 GB, free: 9.992 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04421/1.808, allocations: 8.334 MB / 0.6755 GB, free: 1.703 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005788/1.814, allocations: 2.349 MB / 0.6778 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.02028/1.834, allocations: 1.632 MB / 0.6794 GB, free: 13.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0168/1.851, allocations: 1.163 MB / 0.6805 GB, free: 12.54 MB / 458.7 MB Notification: Performance of SimCode: time 1.903e-06/1.851, allocations: 0 / 0.6805 GB, free: 12.54 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4667/2.318, allocations: 65.98 MB / 0.7449 GB, free: 113.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/2.318, allocations: 196.3 kB / 0.7451 GB, free: 112.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.523/6.841, allocations: 0 / 0.7451 GB, free: 112.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat