Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.433e-05/4.443e-05, allocations: 4 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.179, allocations: 341.4 MB / 0.6478 GB, free: 6.574 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/1.179, allocations: 87.95 kB / 0.6478 GB, free: 6.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6819/1.861, allocations: 129.3 MB / 0.7741 GB, free: 49.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.861, allocations: 0 / 0.7741 GB, free: 49.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.134e-05/1.861, allocations: 19.94 kB / 0.7742 GB, free: 49.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002654/1.864, allocations: 0.8882 MB / 0.775 GB, free: 48.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.864, allocations: 8.031 kB / 0.775 GB, free: 48.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/1.864, allocations: 98.5 kB / 0.7751 GB, free: 48.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005317/1.865, allocations: 91.14 kB / 0.7752 GB, free: 48.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/1.866, allocations: 0.5442 MB / 0.7758 GB, free: 47.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/1.866, allocations: 104.4 kB / 0.7759 GB, free: 47.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.867, allocations: 48 kB / 0.7759 GB, free: 47.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/1.868, allocations: 0.7938 MB / 0.7767 GB, free: 46.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/1.868, allocations: 4 kB / 0.7767 GB, free: 46.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/1.869, allocations: 27.98 kB / 0.7767 GB, free: 46.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-05/1.869, allocations: 40.92 kB / 0.7767 GB, free: 46.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/1.87, allocations: 0.5914 MB / 0.7773 GB, free: 45.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006107/1.876, allocations: 4.017 MB / 0.7812 GB, free: 41.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/1.877, allocations: 323.2 kB / 0.7816 GB, free: 41.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/1.878, allocations: 165.4 kB / 0.7817 GB, free: 41.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002819/1.88, allocations: 1.823 MB / 0.7835 GB, free: 39.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/1.88, allocations: 42.55 kB / 0.7835 GB, free: 39.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.955e-06/1.88, allocations: 0 / 0.7835 GB, free: 39.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.004135/1.885, allocations: 1.115 MB / 0.7846 GB, free: 37.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/1.885, allocations: 132.5 kB / 0.7847 GB, free: 37.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009058/1.886, allocations: 0.55 MB / 0.7853 GB, free: 37.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/1.886, allocations: 33.7 kB / 0.7853 GB, free: 37.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/1.886, allocations: 413.9 kB / 0.7857 GB, free: 36.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.886, allocations: 126.3 kB / 0.7858 GB, free: 36.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/1.886, allocations: 19.94 kB / 0.7858 GB, free: 36.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/1.886, allocations: 374.8 kB / 0.7862 GB, free: 36.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/1.887, allocations: 165.5 kB / 0.7864 GB, free: 36.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/1.887, allocations: 0.5659 MB / 0.7869 GB, free: 35.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/1.888, allocations: 295.6 kB / 0.7872 GB, free: 35.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.888, allocations: 4 kB / 0.7872 GB, free: 35 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00164/1.89, allocations: 0.731 MB / 0.7879 GB, free: 34.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.89, allocations: 8 kB / 0.7879 GB, free: 34.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.89, allocations: 16.84 kB / 0.7879 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/1.89, allocations: 20 kB / 0.788 GB, free: 34.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.891, allocations: 215.6 kB / 0.7882 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.349e-05/1.891, allocations: 27.92 kB / 0.7882 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.892, allocations: 47.83 kB / 0.7882 GB, free: 33.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/1.893, allocations: 43.98 kB / 0.7883 GB, free: 33.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002095/1.893, allocations: 172.4 kB / 0.7884 GB, free: 33.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/1.893, allocations: 67.2 kB / 0.7885 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/1.894, allocations: 422.4 kB / 0.7889 GB, free: 33.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.894, allocations: 3.984 kB / 0.7889 GB, free: 33.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.894, allocations: 4 kB / 0.7889 GB, free: 33.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.894, allocations: 7.984 kB / 0.7889 GB, free: 33.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/1.896, allocations: 1.198 MB / 0.7901 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.897, allocations: 0 / 0.7901 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/1.897, allocations: 67.91 kB / 0.7902 GB, free: 31.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/1.897, allocations: 48.83 kB / 0.7902 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/1.897, allocations: 8.406 kB / 0.7902 GB, free: 31.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003806/1.898, allocations: 0.564 MB / 0.7908 GB, free: 31.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.898, allocations: 4 kB / 0.7908 GB, free: 31.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/1.899, allocations: 0.8247 MB / 0.7916 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/1.899, allocations: 184.1 kB / 0.7918 GB, free: 30 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.9, allocations: 12 kB / 0.7918 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/1.9, allocations: 28.05 kB / 0.7918 GB, free: 29.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/1.9, allocations: 27.92 kB / 0.7918 GB, free: 29.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/1.9, allocations: 23.98 kB / 0.7918 GB, free: 29.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007224/1.901, allocations: 423.1 kB / 0.7922 GB, free: 29.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.901, allocations: 0 / 0.7922 GB, free: 29.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001254/1.902, allocations: 211.9 kB / 0.7924 GB, free: 29.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002252/1.905, allocations: 2.505 MB / 0.7949 GB, free: 26.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00108/1.906, allocations: 433.8 kB / 0.7953 GB, free: 26.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.906, allocations: 0 / 0.7953 GB, free: 26.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/1.906, allocations: 159.6 kB / 0.7955 GB, free: 26.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.909, allocations: 275.5 kB / 0.7957 GB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/1.912, allocations: 1.062 MB / 0.7968 GB, free: 24.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/1.912, allocations: 0.9492 MB / 0.7977 GB, free: 23.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001159/1.913, allocations: 201.9 kB / 0.7979 GB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/1.914, allocations: 231.3 kB / 0.7981 GB, free: 23.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/1.914, allocations: 4 kB / 0.7981 GB, free: 23.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06459/1.978, allocations: 18.8 MB / 0.8165 GB, free: 4.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/1.979, allocations: 264.5 kB / 0.8167 GB, free: 4.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/5.106, allocations: 0 / 0.8167 GB, free: 4.25 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat