Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.838/1.838, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.294e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3334, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9912/1.325, allocations: 357.2 MB / 0.6065 GB, free: 28.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/1.325, allocations: 83.83 kB / 0.6066 GB, free: 28.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5132/1.838, allocations: 80.87 MB / 0.6856 GB, free: 105.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/1.838, allocations: 0 / 0.6856 GB, free: 105.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/1.838, allocations: 4 kB / 0.6856 GB, free: 105.1 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001155/1.84, allocations: 0.6009 MB / 0.6862 GB, free: 104.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.84, allocations: 8.031 kB / 0.6862 GB, free: 104.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.768e-05/1.84, allocations: 54.55 kB / 0.6862 GB, free: 104.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/1.84, allocations: 47.55 kB / 0.6863 GB, free: 104.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/1.84, allocations: 278.5 kB / 0.6866 GB, free: 104.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/1.84, allocations: 24.45 kB / 0.6866 GB, free: 104 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/1.841, allocations: 24 kB / 0.6866 GB, free: 104 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/1.841, allocations: 294.7 kB / 0.6869 GB, free: 103.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.841, allocations: 3.938 kB / 0.6869 GB, free: 103.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/1.841, allocations: 12 kB / 0.6869 GB, free: 103.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.841, allocations: 4 kB / 0.6869 GB, free: 103.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/1.842, allocations: 184.8 kB / 0.6871 GB, free: 103.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/1.844, allocations: 1.432 MB / 0.6885 GB, free: 101.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/1.844, allocations: 167 kB / 0.6886 GB, free: 101.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/1.844, allocations: 97.16 kB / 0.6887 GB, free: 101.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/1.844, allocations: 4.188 kB / 0.6887 GB, free: 101.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.845, allocations: 38.7 kB / 0.6888 GB, free: 101.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/1.845, allocations: 0 / 0.6888 GB, free: 101.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.004228/1.849, allocations: 0.857 MB / 0.6896 GB, free: 100.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.849, allocations: 51.41 kB / 0.6897 GB, free: 100.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/1.849, allocations: 230.9 kB / 0.6899 GB, free: 100.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/1.85, allocations: 29.7 kB / 0.6899 GB, free: 100.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.85, allocations: 183.9 kB / 0.6901 GB, free: 100.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/1.85, allocations: 94.66 kB / 0.6902 GB, free: 100.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/1.85, allocations: 4 kB / 0.6902 GB, free: 100.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/1.85, allocations: 342.8 kB / 0.6905 GB, free: 99.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/1.85, allocations: 83.78 kB / 0.6906 GB, free: 99.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/1.851, allocations: 170.9 kB / 0.6907 GB, free: 99.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/1.851, allocations: 115.9 kB / 0.6909 GB, free: 99.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.851, allocations: 0 / 0.6909 GB, free: 99.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001567/1.853, allocations: 359 kB / 0.6912 GB, free: 98.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.853, allocations: 8 kB / 0.6912 GB, free: 98.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.853, allocations: 0 / 0.6912 GB, free: 98.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/1.854, allocations: 73.55 kB / 0.6913 GB, free: 98.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/1.855, allocations: 67.91 kB / 0.6913 GB, free: 98.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/1.858, allocations: 2.666 MB / 0.6939 GB, free: 95.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/1.859, allocations: 19.98 kB / 0.694 GB, free: 95.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/1.859, allocations: 16.06 kB / 0.694 GB, free: 95.86 MB / 362.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.0001693/1.859, allocations: 126.1 kB / 0.6941 GB, free: 95.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/1.859, allocations: 27.72 kB / 0.6941 GB, free: 95.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/1.859, allocations: 38.05 kB / 0.6942 GB, free: 95.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.859, allocations: 7.984 kB / 0.6942 GB, free: 95.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.859, allocations: 0 / 0.6942 GB, free: 95.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/1.86, allocations: 0.559 MB / 0.6947 GB, free: 95.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/1.862, allocations: 0.6954 MB / 0.6954 GB, free: 94.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/1.862, allocations: 0 / 0.6954 GB, free: 94.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/1.863, allocations: 51.91 kB / 0.6954 GB, free: 94.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/1.863, allocations: 56.73 kB / 0.6955 GB, free: 94.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/1.863, allocations: 8 kB / 0.6955 GB, free: 94.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.865, allocations: 1.378 MB / 0.6969 GB, free: 92.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.865, allocations: 4.031 kB / 0.6969 GB, free: 92.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/1.866, allocations: 478.9 kB / 0.6973 GB, free: 92.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/1.866, allocations: 96.86 kB / 0.6974 GB, free: 92.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/1.866, allocations: 4 kB / 0.6974 GB, free: 92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/1.866, allocations: 19.89 kB / 0.6974 GB, free: 91.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/1.866, allocations: 11.98 kB / 0.6974 GB, free: 91.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/1.866, allocations: 19.92 kB / 0.6975 GB, free: 91.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002255/1.867, allocations: 179.2 kB / 0.6976 GB, free: 91.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.382e-06/1.867, allocations: 4 kB / 0.6976 GB, free: 91.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006759/1.867, allocations: 107.9 kB / 0.6977 GB, free: 91.67 MB / 362.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.001285/1.869, allocations: 1.142 MB / 0.6989 GB, free: 90.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009526/1.87, allocations: 448 kB / 0.6993 GB, free: 90.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.87, allocations: 4 kB / 0.6993 GB, free: 90.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/1.87, allocations: 230.3 kB / 0.6995 GB, free: 89.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.872, allocations: 156.4 kB / 0.6997 GB, free: 89.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/1.873, allocations: 0.5459 MB / 0.7002 GB, free: 89.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/1.873, allocations: 0.7765 MB / 0.7009 GB, free: 88.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004634/1.874, allocations: 50.95 kB / 0.701 GB, free: 88.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/1.874, allocations: 83.41 kB / 0.7011 GB, free: 88.13 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/1.874, allocations: 0 / 0.7011 GB, free: 88.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/1.915, allocations: 8.94 MB / 0.7098 GB, free: 79.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003031/1.916, allocations: 209.7 kB / 0.71 GB, free: 79.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/4.731, allocations: 3.938 kB / 0.71 GB, free: 79.02 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat