Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.119e-05, allocations: 7.984 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 44.49 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4428/0.549, allocations: 86.71 MB / 386.7 MB, free: 20.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.5494, allocations: 85.19 kB / 386.8 MB, free: 20.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3173/0.8667, allocations: 57.68 MB / 444.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8667, allocations: 0 / 444.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.8669, allocations: 44 kB / 444.5 MB, free: 9.613 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: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.009919/0.8768, allocations: 2.63 MB / 447.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.8769, allocations: 15.97 kB / 447.1 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00175/0.8786, allocations: 486.9 kB / 447.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.8948, allocations: 1.927 MB / 449.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01369/0.9086, allocations: 3.397 MB / 452.9 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.9089, allocations: 188.1 kB / 453.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.9102, allocations: 243.2 kB / 453.4 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0182/0.9285, allocations: 6.732 MB / 460.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.9286, allocations: 39.59 kB / 460.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006559/0.9293, allocations: 131.9 kB / 460.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001727/0.9311, allocations: 0.715 MB / 461 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.9486, allocations: 5.731 MB / 466.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05237/1.001, allocations: 31.14 MB / 497.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.011, allocations: 2.591 MB / 0.4887 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002723/1.014, allocations: 1.203 MB / 0.4899 GB, free: 480 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/1.028, allocations: 5.142 MB / 0.4949 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.028, allocations: 38.56 kB / 0.4949 GB, free: 11.13 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 5.491e-06/1.028, allocations: 4 kB / 0.4949 GB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.03252/1.061, allocations: 8.018 MB / 0.5028 GB, free: 2.977 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/1.061, allocations: 141 kB / 0.5029 GB, free: 2.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005359/1.066, allocations: 2.365 MB / 0.5052 GB, free: 432 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003357/1.067, allocations: 41.7 kB / 0.5053 GB, free: 384 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.267/1.334, allocations: 2.037 MB / 0.5072 GB, free: 98.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007009/1.334, allocations: 427 kB / 0.5077 GB, free: 98.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/1.335, allocations: 82.09 kB / 0.5077 GB, free: 98.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/1.335, allocations: 484.7 kB / 0.5082 GB, free: 97.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003443/1.339, allocations: 1.388 MB / 0.5096 GB, free: 97.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005748/1.344, allocations: 3.937 MB / 0.5134 GB, free: 94.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006018/1.35, allocations: 2.322 MB / 0.5157 GB, free: 94.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.351, allocations: 25.69 kB / 0.5157 GB, free: 94.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01875/1.369, allocations: 5.615 MB / 0.5212 GB, free: 94.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.369, allocations: 45.28 kB / 0.5212 GB, free: 94.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.37, allocations: 91.31 kB / 0.5213 GB, free: 94.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/1.374, allocations: 0.829 MB / 0.5221 GB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/1.379, allocations: 0.9382 MB / 0.523 GB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008214/1.388, allocations: 4.285 MB / 0.5272 GB, free: 92.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005293/1.393, allocations: 281.8 kB / 0.5275 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/1.394, allocations: 253.5 kB / 0.5277 GB, free: 92.68 MB / 394.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.0009043/1.395, allocations: 423.1 kB / 0.5281 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/1.395, allocations: 225.4 kB / 0.5283 GB, free: 92.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00663/1.402, allocations: 2.122 MB / 0.5304 GB, free: 92.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/1.402, allocations: 13.97 kB / 0.5304 GB, free: 92.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.402, allocations: 7.641 kB / 0.5304 GB, free: 92.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/1.402, allocations: 3.797 kB / 0.5304 GB, free: 92.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.416, allocations: 5.061 MB / 0.5354 GB, free: 91.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/1.416, allocations: 5.969 kB / 0.5354 GB, free: 91.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/1.418, allocations: 147.5 kB / 0.5355 GB, free: 91.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/1.421, allocations: 0.6736 MB / 0.5362 GB, free: 91.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/1.422, allocations: 18.12 kB / 0.5362 GB, free: 91.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007313/1.429, allocations: 3.836 MB / 0.5399 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.429, allocations: 10.89 kB / 0.54 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009645/1.439, allocations: 4.117 MB / 0.544 GB, free: 87.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.44, allocations: 459.5 kB / 0.5444 GB, free: 87.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/1.441, allocations: 15.94 kB / 0.5444 GB, free: 87.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/1.442, allocations: 79.3 kB / 0.5445 GB, free: 87.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/1.443, allocations: 64.53 kB / 0.5446 GB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.443, allocations: 32.48 kB / 0.5446 GB, free: 87.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003465/1.446, allocations: 1.637 MB / 0.5462 GB, free: 86.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.794e-06/1.446, allocations: 0 / 0.5462 GB, free: 86.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004922/1.451, allocations: 0.6837 MB / 0.5469 GB, free: 86.73 MB / 394.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.01048/1.462, allocations: 5.089 MB / 0.5518 GB, free: 84.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007436/1.469, allocations: 3.256 MB / 0.555 GB, free: 83.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.469, allocations: 0 / 0.555 GB, free: 83.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002076/1.471, allocations: 1.015 MB / 0.556 GB, free: 82.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/1.473, allocations: 239.3 kB / 0.5562 GB, free: 82.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.49, allocations: 5.401 MB / 0.5615 GB, free: 80.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/1.493, allocations: 2.284 MB / 0.5637 GB, free: 78.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005084/1.498, allocations: 1.322 MB / 0.565 GB, free: 78.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001983/1.5, allocations: 1.089 MB / 0.5661 GB, free: 77.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/1.5, allocations: 1.859 kB / 0.5661 GB, free: 77.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/1.677, allocations: 48.65 MB / 0.6136 GB, free: 35.11 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/1.677, allocations: 195 kB / 0.6138 GB, free: 34.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.191/5.868, allocations: 4 kB / 0.6138 GB, free: 34.88 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat does not exist to compare? outputFormat=mat