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.668/1.668, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.505e-05, allocations: 8 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 38.76 MB / 258.4 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.395, allocations: 80.29 MB / 338.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.3954, allocations: 79.95 kB / 338.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4544/0.8498, allocations: 56.69 MB / 395.4 MB, free: 78.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8498, allocations: 3.938 kB / 395.4 MB, free: 78.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.409e-05/0.8499, allocations: 48 kB / 395.5 MB, free: 78.77 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.007738/0.8577, allocations: 2.63 MB / 398.1 MB, free: 76.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.8578, allocations: 8.031 kB / 398.1 MB, free: 76.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/0.8716, allocations: 1.923 MB / 400 MB, free: 74.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.8836, allocations: 3.398 MB / 403.4 MB, free: 70.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.8837, allocations: 76.86 kB / 403.5 MB, free: 70.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009272/0.8847, allocations: 140 kB / 403.6 MB, free: 70.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00921/0.8939, allocations: 4.092 MB / 407.7 MB, free: 66.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.9064, allocations: 6.193 MB / 413.9 MB, free: 59.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.9066, allocations: 47.67 kB / 414 MB, free: 59.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004683/0.9071, allocations: 24 kB / 414 MB, free: 59.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001385/0.9085, allocations: 0.7141 MB / 414.7 MB, free: 58.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/0.9463, allocations: 30.47 MB / 445.2 MB, free: 27.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.9497, allocations: 2.182 MB / 447.4 MB, free: 25.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/0.9515, allocations: 1.133 MB / 448.5 MB, free: 23.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/0.953, allocations: 330.9 kB / 448.8 MB, free: 23.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.9531, allocations: 46.92 kB / 448.9 MB, free: 23.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=106): time 3.927e-06/0.9531, allocations: 0 / 448.9 MB, free: 23.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.0303/0.9834, allocations: 9.703 MB / 458.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.9835, allocations: 141 kB / 458.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.987, allocations: 2.046 MB / 460.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003232/0.9873, allocations: 37.64 kB / 460.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.9887, allocations: 2.067 MB / 462.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/0.9893, allocations: 454.2 kB / 463.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.9896, allocations: 0 / 463.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003437/0.9899, allocations: 0.5353 MB / 463.8 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/0.9927, allocations: 1.379 MB / 465.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/0.9968, allocations: 4.046 MB / 469.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/1.003, allocations: 2.474 MB / 471.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-05/1.003, allocations: 28 kB / 471.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.018/1.021, allocations: 5.65 MB / 477.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/1.021, allocations: 48 kB / 477.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.022, allocations: 96 kB / 477.5 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004172/1.026, allocations: 0.8362 MB / 478.4 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006144/1.032, allocations: 0.9903 MB / 479.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009722/1.042, allocations: 4.236 MB / 483.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.047, allocations: 211.4 kB / 483.8 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007582/1.047, allocations: 272 kB / 484.1 MB, free: 2.605 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 438 * 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 (520): * Single equations (assignments): 516 * 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.0008047/1.048, allocations: 336.5 kB / 484.4 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009502/1.058, allocations: 2.644 MB / 487 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/1.058, allocations: 205.4 kB / 487.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00862/1.067, allocations: 2.244 MB / 489.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/1.067, allocations: 19.89 kB / 489.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.067, allocations: 4 kB / 489.5 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/1.067, allocations: 3.984 kB / 489.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/1.084, allocations: 5.125 MB / 494.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.084, allocations: 0 / 494.6 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.086, allocations: 159.8 kB / 494.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003895/1.09, allocations: 0.6835 MB / 495.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/1.09, allocations: 8 kB / 495.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008127/1.098, allocations: 3.697 MB / 499.2 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/1.098, allocations: 4 kB / 499.2 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2415/1.34, allocations: 4.368 MB / 0.4918 GB, free: 96.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.342, allocations: 444 kB / 0.4922 GB, free: 96.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/1.342, allocations: 8.812 kB / 0.4922 GB, free: 96.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.344, allocations: 70.25 kB / 0.4923 GB, free: 96.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/1.344, allocations: 68.09 kB / 0.4923 GB, free: 96.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/1.344, allocations: 33.97 kB / 0.4924 GB, free: 96.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002994/1.347, allocations: 1.36 MB / 0.4937 GB, free: 95.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.347, allocations: 0 / 0.4937 GB, free: 95.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005144/1.353, allocations: 0.5846 MB / 0.4943 GB, free: 95.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (83): * Single equations (assignments): 79 * 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.01168/1.364, allocations: 5.513 MB / 0.4996 GB, free: 94.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007248/1.372, allocations: 3.319 MB / 0.5029 GB, free: 94.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.372, allocations: 5.891 kB / 0.5029 GB, free: 94.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/1.374, allocations: 1.042 MB / 0.5039 GB, free: 94.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.375, allocations: 186.8 kB / 0.5041 GB, free: 94.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.39, allocations: 5.344 MB / 0.5093 GB, free: 92.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003067/1.393, allocations: 2.283 MB / 0.5115 GB, free: 91.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005918/1.399, allocations: 1.4 MB / 0.5129 GB, free: 91.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/1.402, allocations: 1.087 MB / 0.514 GB, free: 90.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/1.402, allocations: 0 / 0.514 GB, free: 90.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1526/1.555, allocations: 45.61 MB / 0.5585 GB, free: 57.06 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.555, allocations: 177 kB / 0.5587 GB, free: 56.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/5.315, allocations: 0 / 0.5587 GB, free: 56.86 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