Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.74/1.74, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.363e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2727, allocations: 38.76 MB / 263.9 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4201, allocations: 80.96 MB / 344.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.4204, allocations: 91.95 kB / 344.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4971/0.9176, allocations: 57.69 MB / 402.6 MB, free: 70.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.644e-06/0.9176, allocations: 0 / 402.6 MB, free: 70.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001085/0.9178, allocations: 44 kB / 402.7 MB, free: 70.81 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: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.01111/0.9289, allocations: 2.62 MB / 405.3 MB, free: 68.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.691e-05/0.929, allocations: 8.031 kB / 405.3 MB, free: 68.14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002674/0.9317, allocations: 492.8 kB / 405.8 MB, free: 67.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/0.9475, allocations: 1.927 MB / 407.7 MB, free: 65.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.9598, allocations: 3.397 MB / 411.1 MB, free: 62.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.96, allocations: 183.3 kB / 411.3 MB, free: 62.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/0.9611, allocations: 243.9 kB / 411.5 MB, free: 61.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.9781, allocations: 6.74 MB / 418.2 MB, free: 54.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.9784, allocations: 43.58 kB / 418.3 MB, free: 54.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00097/0.9794, allocations: 123.9 kB / 418.4 MB, free: 54.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.9809, allocations: 0.7267 MB / 419.1 MB, free: 53.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.9959, allocations: 5.72 MB / 424.9 MB, free: 47.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04024/1.036, allocations: 31.14 MB / 456 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009436/1.046, allocations: 2.604 MB / 458.6 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/1.048, allocations: 1.199 MB / 459.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/1.06, allocations: 5.145 MB / 464.9 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.06, allocations: 46.5 kB / 465 MB, free: 6.438 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 4.859e-06/1.06, allocations: 4 kB / 465 MB, free: 6.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.03118/1.092, allocations: 8.003 MB / 473 MB, free: 14.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.092, allocations: 140.9 kB / 473.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006436/1.098, allocations: 2.372 MB / 475.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003216/1.099, allocations: 37.7 kB / 475.5 MB, free: 11.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00253/1.101, allocations: 2.044 MB / 477.6 MB, free: 9.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008607/1.102, allocations: 426.7 kB / 478 MB, free: 9.195 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004802/1.103, allocations: 84 kB / 478.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003955/1.103, allocations: 482.9 kB / 478.6 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/1.107, allocations: 1.386 MB / 479.9 MB, free: 7.242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006863/1.114, allocations: 3.939 MB / 483.9 MB, free: 2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006172/1.12, allocations: 2.321 MB / 486.2 MB, free: 15.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.544e-05/1.12, allocations: 24 kB / 486.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01938/1.14, allocations: 5.6 MB / 491.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/1.14, allocations: 44.47 kB / 491.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001498/1.14, allocations: 92 kB / 492 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004587/1.145, allocations: 0.8284 MB / 492.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006222/1.151, allocations: 0.9319 MB / 493.7 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.161, allocations: 4.309 MB / 498 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005288/1.166, allocations: 279.5 kB / 498.3 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.168, allocations: 256 kB / 498.6 MB, free: 3.188 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (493): * Single equations (assignments): 489 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009412/1.169, allocations: 416.7 kB / 499 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006872/1.169, allocations: 229 kB / 499.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008008/1.177, allocations: 2.11 MB / 0.4895 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.794e-05/1.177, allocations: 15.95 kB / 0.4896 GB, free: 404 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/1.177, allocations: 4 kB / 0.4896 GB, free: 400 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.664e-05/1.177, allocations: 3.984 kB / 0.4896 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2661/1.444, allocations: 5.067 MB / 0.4945 GB, free: 92.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/1.444, allocations: 3.969 kB / 0.4945 GB, free: 92.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.445, allocations: 142.6 kB / 0.4947 GB, free: 92.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004015/1.449, allocations: 0.6771 MB / 0.4953 GB, free: 92.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000318/1.45, allocations: 18.61 kB / 0.4953 GB, free: 92.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008111/1.458, allocations: 3.841 MB / 0.4991 GB, free: 91.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.458, allocations: 6.281 kB / 0.4991 GB, free: 91.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/1.469, allocations: 4.122 MB / 0.5031 GB, free: 91.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.471, allocations: 463.9 kB / 0.5036 GB, free: 90.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006883/1.472, allocations: 14.16 kB / 0.5036 GB, free: 90.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002291/1.474, allocations: 83.75 kB / 0.5037 GB, free: 90.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/1.474, allocations: 55.45 kB / 0.5037 GB, free: 90.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.475, allocations: 35.2 kB / 0.5037 GB, free: 90.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004146/1.479, allocations: 1.649 MB / 0.5053 GB, free: 90.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.084e-06/1.479, allocations: 2.344 kB / 0.5053 GB, free: 90.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005396/1.484, allocations: 0.671 MB / 0.506 GB, free: 90.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01133/1.496, allocations: 5.091 MB / 0.511 GB, free: 88.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008119/1.504, allocations: 3.257 MB / 0.5142 GB, free: 87.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.504, allocations: 0 / 0.5142 GB, free: 87.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002264/1.506, allocations: 1.018 MB / 0.5152 GB, free: 87.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/1.508, allocations: 226.2 kB / 0.5154 GB, free: 87.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.526, allocations: 5.401 MB / 0.5206 GB, free: 85.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00364/1.53, allocations: 2.286 MB / 0.5229 GB, free: 84.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005999/1.536, allocations: 1.315 MB / 0.5242 GB, free: 83.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/1.539, allocations: 1.098 MB / 0.5252 GB, free: 82.84 MB / 346.7 MB Notification: Performance of SimCode: time 2.866e-06/1.539, allocations: 0 / 0.5252 GB, free: 82.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/1.679, allocations: 48.63 MB / 0.5727 GB, free: 38.92 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002673/1.679, allocations: 202.4 kB / 0.5729 GB, free: 38.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.149/5.828, allocations: 0 / 0.5729 GB, free: 38.69 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat does not exist to compare? outputFormat=mat