Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_UserDefinedGravityField",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.402e-05/3.392e-05, allocations: 4 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 50.42 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5517/0.668, allocations: 93.97 MB / 437.2 MB, free: 88 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.6684, allocations: 82.08 kB / 437.2 MB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2919/0.9604, allocations: 59.42 MB / 496.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.9604, allocations: 0 / 496.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000232/0.9607, allocations: 44 kB / 496.7 MB, free: 8.688 MB / 410.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.01204/0.9727, allocations: 2.626 MB / 499.3 MB, free: 6.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.9728, allocations: 12.03 kB / 499.3 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002391/0.9752, allocations: 494.3 kB / 499.8 MB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.9909, allocations: 1.923 MB / 0.49 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.006, allocations: 3.268 MB / 0.4932 GB, free: 260 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/1.006, allocations: 188.8 kB / 0.4934 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/1.008, allocations: 243.9 kB / 0.4936 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/1.03, allocations: 6.756 MB / 0.5002 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001885/1.03, allocations: 35.69 kB / 0.5002 GB, free: 8.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/1.031, allocations: 119.9 kB / 0.5003 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/1.033, allocations: 0.7306 MB / 0.501 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/1.051, allocations: 5.72 MB / 0.5066 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3601/1.411, allocations: 31.21 MB / 0.5371 GB, free: 95.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.422, allocations: 2.595 MB / 0.5396 GB, free: 94.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/1.424, allocations: 1.195 MB / 0.5408 GB, free: 94.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/1.438, allocations: 5.144 MB / 0.5458 GB, free: 92.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/1.438, allocations: 44.28 kB / 0.5459 GB, free: 92.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 5.12e-06/1.438, allocations: 0.7812 kB / 0.5459 GB, free: 92.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=105): time 0.03125/1.47, allocations: 7.98 MB / 0.5537 GB, free: 91.01 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/1.47, allocations: 143.8 kB / 0.5538 GB, free: 90.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/1.474, allocations: 2.379 MB / 0.5561 GB, free: 90.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000305/1.475, allocations: 43.02 kB / 0.5562 GB, free: 90.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/1.476, allocations: 2.052 MB / 0.5582 GB, free: 89.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005657/1.477, allocations: 429.9 kB / 0.5586 GB, free: 89.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/1.477, allocations: 83.62 kB / 0.5587 GB, free: 89.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002375/1.477, allocations: 487 kB / 0.5591 GB, free: 88.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.48, allocations: 1.393 MB / 0.5605 GB, free: 88.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004104/1.484, allocations: 3.961 MB / 0.5644 GB, free: 85.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/1.489, allocations: 2.32 MB / 0.5666 GB, free: 85.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.88e-05/1.489, allocations: 29.5 kB / 0.5667 GB, free: 85.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.01495/1.504, allocations: 5.636 MB / 0.5722 GB, free: 84.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/1.504, allocations: 43.25 kB / 0.5722 GB, free: 84.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/1.504, allocations: 93.84 kB / 0.5723 GB, free: 84.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003912/1.508, allocations: 0.8329 MB / 0.5731 GB, free: 83.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/1.514, allocations: 0.9367 MB / 0.574 GB, free: 83.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/1.522, allocations: 4.288 MB / 0.5782 GB, free: 81.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/1.527, allocations: 287.5 kB / 0.5785 GB, free: 81.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005955/1.528, allocations: 256.5 kB / 0.5787 GB, free: 81.49 MB / 442.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.0007412/1.528, allocations: 428.6 kB / 0.5791 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/1.529, allocations: 224.6 kB / 0.5793 GB, free: 81.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006665/1.536, allocations: 2.116 MB / 0.5814 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.743e-05/1.536, allocations: 15.38 kB / 0.5814 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.536, allocations: 6.281 kB / 0.5814 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.536, allocations: 3.562 kB / 0.5814 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/1.551, allocations: 5.059 MB / 0.5864 GB, free: 78.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/1.551, allocations: 3.422 kB / 0.5864 GB, free: 78.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/1.552, allocations: 142.9 kB / 0.5865 GB, free: 78.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/1.556, allocations: 0.6783 MB / 0.5872 GB, free: 78.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.556, allocations: 16.33 kB / 0.5872 GB, free: 78.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/1.563, allocations: 3.831 MB / 0.5909 GB, free: 76.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.563, allocations: 8.375 kB / 0.5909 GB, free: 76.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009703/1.573, allocations: 4.127 MB / 0.595 GB, free: 74.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/1.574, allocations: 295 kB / 0.5953 GB, free: 74.57 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/1.574, allocations: 16.09 kB / 0.5953 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/1.576, allocations: 91.8 kB / 0.5954 GB, free: 74.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/1.576, allocations: 60.88 kB / 0.5954 GB, free: 74.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.577, allocations: 40.77 kB / 0.5955 GB, free: 74.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003152/1.58, allocations: 1.641 MB / 0.5971 GB, free: 73.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.58, allocations: 0 / 0.5971 GB, free: 73.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005008/1.585, allocations: 0.6803 MB / 0.5977 GB, free: 73.84 MB / 442.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.01101/1.596, allocations: 5.103 MB / 0.6027 GB, free: 70.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00708/1.603, allocations: 3.264 MB / 0.6059 GB, free: 67.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.603, allocations: 8.188 kB / 0.6059 GB, free: 67.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00193/1.605, allocations: 1.013 MB / 0.6069 GB, free: 66.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/1.607, allocations: 241 kB / 0.6071 GB, free: 66.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/1.621, allocations: 5.418 MB / 0.6124 GB, free: 61.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/1.624, allocations: 2.292 MB / 0.6147 GB, free: 59.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005159/1.629, allocations: 1.323 MB / 0.6159 GB, free: 58.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/1.631, allocations: 1.094 MB / 0.617 GB, free: 57.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.163e-06/1.631, allocations: 3.938 kB / 0.617 GB, free: 57.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.742, allocations: 48.91 MB / 0.6648 GB, free: 11.65 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/1.742, allocations: 202.3 kB / 0.665 GB, free: 11.43 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.013/5.755, allocations: 0 / 0.665 GB, free: 11.43 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField_res.mat does not exist to compare? outputFormat=mat