Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.425/2.425, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.806e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3596, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.5454, allocations: 86.04 MB / 380.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/0.5459, allocations: 91.89 kB / 380.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6313/1.177, allocations: 56.7 MB / 437.1 MB, free: 91.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.177, allocations: 2.188 kB / 437.1 MB, free: 91.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001318/1.177, allocations: 41.91 kB / 437.2 MB, free: 91.54 MB / 362.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.01045/1.188, allocations: 2.612 MB / 439.8 MB, free: 90.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/1.188, allocations: 15.78 kB / 439.8 MB, free: 90.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/1.206, allocations: 1.922 MB / 441.7 MB, free: 90.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.222, allocations: 3.399 MB / 445.1 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/1.222, allocations: 77.44 kB / 445.2 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/1.223, allocations: 138.4 kB / 445.3 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01125/1.235, allocations: 4.095 MB / 449.4 MB, free: 89.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/1.251, allocations: 6.194 MB / 455.6 MB, free: 86.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001648/1.251, allocations: 47.16 kB / 455.7 MB, free: 86.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007892/1.252, allocations: 22.66 kB / 455.7 MB, free: 86.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/1.254, allocations: 0.7219 MB / 456.4 MB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04858/1.302, allocations: 30.46 MB / 486.9 MB, free: 59.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/1.307, allocations: 2.17 MB / 489 MB, free: 56.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/1.31, allocations: 1.126 MB / 490.2 MB, free: 55.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/1.311, allocations: 339.5 kB / 490.5 MB, free: 55.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/1.312, allocations: 54.88 kB / 490.6 MB, free: 55.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 5.33e-06/1.312, allocations: 0 / 490.6 MB, free: 55.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=114): time 0.03971/1.351, allocations: 9.707 MB / 0.4885 GB, free: 45.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/1.351, allocations: 137 kB / 0.4887 GB, free: 45.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00475/1.356, allocations: 2.058 MB / 0.4907 GB, free: 43.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003675/1.357, allocations: 25.7 kB / 0.4907 GB, free: 43.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001854/1.358, allocations: 2.075 MB / 0.4927 GB, free: 41.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008095/1.359, allocations: 450.3 kB / 0.4932 GB, free: 40.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/1.36, allocations: 0 / 0.4932 GB, free: 40.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004815/1.36, allocations: 0.5353 MB / 0.4937 GB, free: 40.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003859/1.364, allocations: 1.379 MB / 0.495 GB, free: 38.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006151/1.37, allocations: 4.039 MB / 0.499 GB, free: 33.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00776/1.378, allocations: 2.475 MB / 0.5014 GB, free: 30.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.184e-05/1.378, allocations: 28 kB / 0.5014 GB, free: 30.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.02127/1.4, allocations: 5.644 MB / 0.5069 GB, free: 25.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.254e-05/1.4, allocations: 49 kB / 0.507 GB, free: 25.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/1.4, allocations: 103.5 kB / 0.5071 GB, free: 25.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/1.405, allocations: 0.8435 MB / 0.5079 GB, free: 24.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007376/1.413, allocations: 0.9863 MB / 0.5089 GB, free: 23.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.423, allocations: 4.234 MB / 0.513 GB, free: 18.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006033/1.429, allocations: 207.5 kB / 0.5132 GB, free: 18.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001094/1.43, allocations: 268 kB / 0.5134 GB, free: 18.44 MB / 362.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.00113/1.431, allocations: 344.2 kB / 0.5138 GB, free: 18.09 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01132/1.443, allocations: 2.642 MB / 0.5164 GB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008568/1.444, allocations: 205.8 kB / 0.5165 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.455, allocations: 2.24 MB / 0.5187 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.812e-05/1.455, allocations: 16 kB / 0.5188 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.455, allocations: 3.953 kB / 0.5188 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/1.455, allocations: 11.98 kB / 0.5188 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01973/1.475, allocations: 5.122 MB / 0.5238 GB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/1.475, allocations: 3.938 kB / 0.5238 GB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.477, allocations: 163.8 kB / 0.5239 GB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00457/1.482, allocations: 0.6834 MB / 0.5246 GB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/1.482, allocations: 4 kB / 0.5246 GB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008839/1.491, allocations: 3.697 MB / 0.5282 GB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.491, allocations: 7.922 kB / 0.5282 GB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.505, allocations: 4.375 MB / 0.5325 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.507, allocations: 442.1 kB / 0.5329 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006013/1.508, allocations: 7.984 kB / 0.5329 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.51, allocations: 67.84 kB / 0.533 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003843/1.51, allocations: 72.34 kB / 0.5331 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.51, allocations: 28 kB / 0.5331 GB, free: 13.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00362/1.514, allocations: 1.359 MB / 0.5344 GB, free: 12.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.514, allocations: 0 / 0.5344 GB, free: 12.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005954/1.52, allocations: 0.5936 MB / 0.535 GB, free: 12.02 MB / 378.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.01696/1.537, allocations: 5.516 MB / 0.5404 GB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/1.548, allocations: 3.33 MB / 0.5436 GB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.548, allocations: 0 / 0.5436 GB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003086/1.551, allocations: 1.043 MB / 0.5446 GB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.553, allocations: 200.8 kB / 0.5448 GB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.577, allocations: 5.336 MB / 0.55 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007772/1.585, allocations: 2.29 MB / 0.5523 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01124/1.596, allocations: 1.389 MB / 0.5536 GB, free: 8.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004754/1.601, allocations: 1.089 MB / 0.5547 GB, free: 7.656 MB / 394.7 MB Notification: Performance of SimCode: time 2.044e-06/1.601, allocations: 0 / 0.5547 GB, free: 7.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5382/2.139, allocations: 45.62 MB / 0.5993 GB, free: 101 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003337/2.14, allocations: 178.8 kB / 0.5994 GB, free: 100.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.826/6.965, allocations: 0 / 0.5994 GB, free: 100.8 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat does not exist to compare? outputFormat=mat