Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.262/2.262, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.943e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.215, allocations: 362.5 MB / 0.647 GB, free: 23.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/1.215, allocations: 77.83 kB / 0.6471 GB, free: 23.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6175/1.833, allocations: 80.86 MB / 0.726 GB, free: 119.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.916e-06/1.833, allocations: 0 / 0.726 GB, free: 119.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.148e-05/1.833, allocations: 7.938 kB / 0.726 GB, free: 119.9 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001177/1.834, allocations: 0.6047 MB / 0.7266 GB, free: 119.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.834, allocations: 8.031 kB / 0.7266 GB, free: 119.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.312e-05/1.834, allocations: 66.52 kB / 0.7267 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/1.834, allocations: 35.72 kB / 0.7267 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/1.835, allocations: 282.4 kB / 0.727 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.835, allocations: 16.56 kB / 0.727 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/1.835, allocations: 24 kB / 0.727 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/1.836, allocations: 286.7 kB / 0.7273 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/1.836, allocations: 7.938 kB / 0.7273 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/1.836, allocations: 8 kB / 0.7273 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/1.836, allocations: 8 kB / 0.7273 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/1.836, allocations: 188.8 kB / 0.7275 GB, free: 118.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/1.838, allocations: 1.432 MB / 0.7289 GB, free: 116.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/1.839, allocations: 171 kB / 0.7291 GB, free: 116.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/1.839, allocations: 85.23 kB / 0.7292 GB, free: 116.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/1.839, allocations: 8.172 kB / 0.7292 GB, free: 116.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.839, allocations: 30.75 kB / 0.7292 GB, free: 116.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.946e-06/1.839, allocations: 0 / 0.7292 GB, free: 116.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003237/1.842, allocations: 0.8603 MB / 0.73 GB, free: 115.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/1.842, allocations: 55.41 kB / 0.7301 GB, free: 115.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/1.843, allocations: 234.8 kB / 0.7303 GB, free: 115.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/1.843, allocations: 29.7 kB / 0.7303 GB, free: 115.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/1.843, allocations: 180 kB / 0.7305 GB, free: 114.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/1.843, allocations: 98.62 kB / 0.7306 GB, free: 114.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/1.843, allocations: 8 kB / 0.7306 GB, free: 114.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/1.843, allocations: 338.8 kB / 0.7309 GB, free: 114.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.843, allocations: 76 kB / 0.731 GB, free: 114.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/1.843, allocations: 171.2 kB / 0.7312 GB, free: 114.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/1.844, allocations: 111.9 kB / 0.7313 GB, free: 114.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.844, allocations: 7.938 kB / 0.7313 GB, free: 114.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009189/1.845, allocations: 366.8 kB / 0.7316 GB, free: 113.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.845, allocations: 4 kB / 0.7316 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.845, allocations: 4 kB / 0.7316 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/1.845, allocations: 61.67 kB / 0.7317 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/1.846, allocations: 63.91 kB / 0.7318 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/1.848, allocations: 2.674 MB / 0.7344 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/1.848, allocations: 19.97 kB / 0.7344 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/1.849, allocations: 16 kB / 0.7344 GB, free: 110.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001415/1.849, allocations: 124.8 kB / 0.7345 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/1.849, allocations: 35.7 kB / 0.7346 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/1.849, allocations: 29.97 kB / 0.7346 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/1.849, allocations: 4.141 kB / 0.7346 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.849, allocations: 0 / 0.7346 GB, free: 110.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007529/1.85, allocations: 0.567 MB / 0.7351 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/1.851, allocations: 0.695 MB / 0.7358 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/1.851, allocations: 0 / 0.7358 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/1.851, allocations: 43.92 kB / 0.7359 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/1.852, allocations: 52.83 kB / 0.7359 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/1.852, allocations: 7.984 kB / 0.7359 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/1.853, allocations: 1.378 MB / 0.7373 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.853, allocations: 0 / 0.7373 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/1.854, allocations: 475 kB / 0.7377 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.854, allocations: 104.8 kB / 0.7378 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.688e-05/1.854, allocations: 8 kB / 0.7378 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/1.855, allocations: 12 kB / 0.7378 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/1.855, allocations: 23.86 kB / 0.7379 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/1.855, allocations: 12.06 kB / 0.7379 GB, free: 106.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002452/1.855, allocations: 187.1 kB / 0.7381 GB, free: 106.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.855, allocations: 0 / 0.7381 GB, free: 106.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007138/1.856, allocations: 100 kB / 0.7382 GB, free: 106.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/1.857, allocations: 1.146 MB / 0.7393 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/1.859, allocations: 451.3 kB / 0.7397 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.859, allocations: 0 / 0.7397 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/1.859, allocations: 226.4 kB / 0.7399 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.861, allocations: 152.3 kB / 0.7401 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.862, allocations: 0.5537 MB / 0.7406 GB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/1.863, allocations: 0.7648 MB / 0.7414 GB, free: 103 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005045/1.863, allocations: 54.94 kB / 0.7414 GB, free: 103 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/1.863, allocations: 91.41 kB / 0.7415 GB, free: 102.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.863, allocations: 0 / 0.7415 GB, free: 102.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03972/1.903, allocations: 8.926 MB / 0.7502 GB, free: 94.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/1.903, allocations: 209.9 kB / 0.7504 GB, free: 93.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.961, allocations: 0 / 0.7504 GB, free: 93.82 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat