Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.102/2.102, allocations: 205.8 MB / 218.9 MB, free: 9.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.26e-05, allocations: 7.984 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.5756, allocations: 92.44 MB / 409.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.5759, allocations: 90.25 kB / 409.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2654/0.8414, allocations: 58.75 MB / 468.3 MB, free: 7.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.8414, allocations: 4 kB / 468.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001124/0.8415, allocations: 44 kB / 468.4 MB, free: 7.715 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.00861/0.8502, allocations: 2.635 MB / 471 MB, free: 5.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.8502, allocations: 8.031 kB / 471 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001294/0.8515, allocations: 0.4905 MB / 471.5 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/0.8659, allocations: 1.915 MB / 473.4 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.8798, allocations: 3.42 MB / 476.8 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.8801, allocations: 188.8 kB / 477 MB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.8813, allocations: 243.8 kB / 477.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.9006, allocations: 6.748 MB / 484 MB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.9008, allocations: 39.69 kB / 484 MB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009113/0.9017, allocations: 127.9 kB / 484.2 MB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00173/0.9034, allocations: 0.719 MB / 484.9 MB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.9211, allocations: 5.728 MB / 490.6 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05219/0.9733, allocations: 31.26 MB / 0.5096 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2866/1.26, allocations: 2.588 MB / 0.5122 GB, free: 116.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/1.263, allocations: 1.198 MB / 0.5133 GB, free: 116.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/1.278, allocations: 5.144 MB / 0.5184 GB, free: 115.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.278, allocations: 46.95 kB / 0.5184 GB, free: 115 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 5.25e-06/1.278, allocations: 1.062 kB / 0.5184 GB, free: 115 MB / 426.7 MB Notification: Performance of matching and sorting (n=105): time 0.03356/1.312, allocations: 8.026 MB / 0.5262 GB, free: 113.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/1.312, allocations: 143.8 kB / 0.5264 GB, free: 113.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006691/1.318, allocations: 2.392 MB / 0.5287 GB, free: 112.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003694/1.319, allocations: 40.2 kB / 0.5288 GB, free: 112.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002245/1.321, allocations: 2.058 MB / 0.5308 GB, free: 111.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008274/1.322, allocations: 430.8 kB / 0.5312 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000472/1.322, allocations: 79.97 kB / 0.5313 GB, free: 111.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003717/1.323, allocations: 486.2 kB / 0.5317 GB, free: 111.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004985/1.328, allocations: 1.388 MB / 0.5331 GB, free: 111.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.339, allocations: 3.966 MB / 0.5369 GB, free: 107.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/1.358, allocations: 2.324 MB / 0.5392 GB, free: 107.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/1.358, allocations: 27.91 kB / 0.5392 GB, free: 107.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.0213/1.38, allocations: 5.639 MB / 0.5447 GB, free: 106.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.933e-05/1.38, allocations: 46.66 kB / 0.5448 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/1.38, allocations: 93.62 kB / 0.5449 GB, free: 106.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00423/1.384, allocations: 0.8171 MB / 0.5457 GB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/1.39, allocations: 0.9507 MB / 0.5466 GB, free: 106.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/1.399, allocations: 4.289 MB / 0.5508 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005367/1.404, allocations: 284 kB / 0.5511 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/1.405, allocations: 257.4 kB / 0.5513 GB, free: 104.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (496): * Single equations (assignments): 492 * 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.0009363/1.406, allocations: 425.9 kB / 0.5517 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/1.407, allocations: 234.8 kB / 0.5519 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/1.414, allocations: 2.115 MB / 0.554 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/1.414, allocations: 20.47 kB / 0.554 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.414, allocations: 3.531 kB / 0.554 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/1.414, allocations: 7.406 kB / 0.554 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01604/1.43, allocations: 5.068 MB / 0.559 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/1.43, allocations: 0 / 0.559 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.432, allocations: 145.7 kB / 0.5591 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003789/1.436, allocations: 0.6829 MB / 0.5598 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002792/1.436, allocations: 23.89 kB / 0.5598 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/1.444, allocations: 3.826 MB / 0.5636 GB, free: 99.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.444, allocations: 0 / 0.5636 GB, free: 99.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/1.454, allocations: 4.128 MB / 0.5676 GB, free: 97.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.456, allocations: 463.3 kB / 0.568 GB, free: 97.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007054/1.457, allocations: 15.44 kB / 0.568 GB, free: 97.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.459, allocations: 81.7 kB / 0.5681 GB, free: 97.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004559/1.46, allocations: 53.09 kB / 0.5682 GB, free: 97.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.46, allocations: 31.91 kB / 0.5682 GB, free: 97.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004156/1.464, allocations: 1.671 MB / 0.5698 GB, free: 96.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.464, allocations: 0 / 0.5698 GB, free: 96.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005093/1.469, allocations: 0.6817 MB / 0.5705 GB, free: 96.05 MB / 426.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.0106/1.48, allocations: 5.095 MB / 0.5755 GB, free: 91.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007523/1.487, allocations: 3.26 MB / 0.5787 GB, free: 88.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.487, allocations: 2.844 kB / 0.5787 GB, free: 88.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002113/1.489, allocations: 1.017 MB / 0.5796 GB, free: 87.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/1.492, allocations: 237.3 kB / 0.5799 GB, free: 87.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/1.508, allocations: 5.427 MB / 0.5852 GB, free: 82.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00369/1.512, allocations: 2.299 MB / 0.5874 GB, free: 80.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005956/1.518, allocations: 1.324 MB / 0.5887 GB, free: 80.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/1.521, allocations: 1.095 MB / 0.5898 GB, free: 79.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/1.521, allocations: 1.531 kB / 0.5898 GB, free: 79.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.636, allocations: 48.99 MB / 0.6376 GB, free: 33.16 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/1.636, allocations: 203 kB / 0.6378 GB, free: 32.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.191/5.827, allocations: 0 / 0.6378 GB, free: 32.93 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat does not exist to compare? outputFormat=mat