Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 270 MB / 283.6 MB, free: 3.141 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.184e-05/5.192e-05, allocations: 5.688 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1756, allocations: 61.9 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.48, allocations: 353.7 MB / 0.7461 GB, free: 51.59 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/1.48, allocations: 98.12 kB / 0.7462 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8913/2.372, allocations: 133.3 MB / 0.8764 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.953e-06/2.372, allocations: 0 / 0.8764 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.4e-05/2.372, allocations: 18.84 kB / 0.8764 GB, free: 146.2 MB / 0.5261 GB 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.002689/2.375, allocations: 0.8851 MB / 0.8773 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/2.375, allocations: 11.84 kB / 0.8773 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/2.375, allocations: 100.5 kB / 0.8774 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005582/2.375, allocations: 85.69 kB / 0.8775 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/2.377, allocations: 0.5386 MB / 0.878 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/2.377, allocations: 106.1 kB / 0.8781 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/2.377, allocations: 48.06 kB / 0.8782 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/2.379, allocations: 0.8014 MB / 0.8789 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/2.379, allocations: 11.89 kB / 0.8789 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/2.379, allocations: 23.56 kB / 0.879 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/2.379, allocations: 38.14 kB / 0.879 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/2.381, allocations: 0.5957 MB / 0.8796 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006339/2.387, allocations: 4.042 MB / 0.8835 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/2.388, allocations: 330.2 kB / 0.8838 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/2.388, allocations: 165 kB / 0.884 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00265/2.391, allocations: 1.748 MB / 0.8857 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/2.391, allocations: 34.56 kB / 0.8857 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.577e-06/2.391, allocations: 0 / 0.8857 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.005309/2.397, allocations: 1.267 MB / 0.887 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/2.397, allocations: 135.7 kB / 0.8871 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009469/2.398, allocations: 0.544 MB / 0.8876 GB, free: 137 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/2.398, allocations: 33.64 kB / 0.8877 GB, free: 137 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/2.398, allocations: 397.4 kB / 0.8881 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/2.398, allocations: 137.1 kB / 0.8882 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/2.398, allocations: 15.97 kB / 0.8882 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000122/2.398, allocations: 374.3 kB / 0.8886 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/2.399, allocations: 176.4 kB / 0.8887 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/2.399, allocations: 0.5378 MB / 0.8893 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/2.4, allocations: 288.2 kB / 0.8895 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/2.4, allocations: 3.719 kB / 0.8895 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002021/2.402, allocations: 0.7746 MB / 0.8903 GB, free: 135 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/2.402, allocations: 13.98 kB / 0.8903 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/2.402, allocations: 12.56 kB / 0.8903 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/2.403, allocations: 101.3 kB / 0.8904 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/2.404, allocations: 177.7 kB / 0.8906 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006837/2.405, allocations: 0.6594 MB / 0.8912 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/2.406, allocations: 47.08 kB / 0.8913 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/2.406, allocations: 38.81 kB / 0.8913 GB, free: 134.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002499/2.406, allocations: 167.7 kB / 0.8915 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/2.407, allocations: 65.39 kB / 0.8915 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/2.408, allocations: 0.4956 MB / 0.892 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/2.408, allocations: 3.25 kB / 0.892 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.408, allocations: 0 / 0.892 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/2.408, allocations: 0 / 0.892 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/2.411, allocations: 1.195 MB / 0.8932 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/2.411, allocations: 384 / 0.8932 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005631/2.411, allocations: 82.27 kB / 0.8933 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/2.411, allocations: 36.23 kB / 0.8933 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/2.411, allocations: 11.66 kB / 0.8933 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003697/2.412, allocations: 0.5685 MB / 0.8939 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/2.412, allocations: 3.938 kB / 0.8939 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/2.413, allocations: 0.8426 MB / 0.8947 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/2.414, allocations: 186.7 kB / 0.8949 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/2.414, allocations: 17.09 kB / 0.8949 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009221/2.415, allocations: 30.17 kB / 0.8949 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/2.415, allocations: 34.45 kB / 0.8949 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/2.415, allocations: 21.95 kB / 0.895 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008308/2.416, allocations: 443.1 kB / 0.8954 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.132e-06/2.416, allocations: 4 kB / 0.8954 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001497/2.418, allocations: 219.9 kB / 0.8956 GB, free: 130.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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.002619/2.42, allocations: 2.449 MB / 0.898 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001527/2.422, allocations: 468.9 kB / 0.8984 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/2.422, allocations: 4 kB / 0.8984 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/2.423, allocations: 169.6 kB / 0.8986 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/2.425, allocations: 312.5 kB / 0.8989 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/2.429, allocations: 1.076 MB / 0.9 GB, free: 126 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/2.43, allocations: 0.9532 MB / 0.9009 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001295/2.431, allocations: 209.9 kB / 0.9011 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/2.431, allocations: 235.3 kB / 0.9013 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.173e-06/2.431, allocations: 0 / 0.9013 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/2.492, allocations: 20.25 MB / 0.9211 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/2.492, allocations: 264.3 kB / 0.9213 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/5.867, allocations: 0 / 0.9213 GB, free: 104.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat