Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.848e-05, allocations: 3.938 kB / 299.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.388, allocations: 54.84 MB / 354.4 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.614, allocations: 414.1 MB / 0.7505 GB, free: 65.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.615, allocations: 90.39 kB / 0.7506 GB, free: 65.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7174/2.332, allocations: 116.6 MB / 0.8644 GB, free: 136.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.833e-06/2.332, allocations: 0 / 0.8644 GB, free: 136.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.16e-05/2.332, allocations: 25.61 kB / 0.8645 GB, free: 136.7 MB / 474.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.003183/2.335, allocations: 0.9716 MB / 0.8654 GB, free: 136.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/2.335, allocations: 11.03 kB / 0.8654 GB, free: 136.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/2.336, allocations: 90.38 kB / 0.8655 GB, free: 136.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/2.338, allocations: 0.5491 MB / 0.866 GB, free: 135.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/2.338, allocations: 83.55 kB / 0.8661 GB, free: 135.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/2.338, allocations: 27.38 kB / 0.8661 GB, free: 135.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/2.34, allocations: 0.5503 MB / 0.8667 GB, free: 135.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/2.341, allocations: 0.7231 MB / 0.8674 GB, free: 135 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/2.341, allocations: 3.938 kB / 0.8674 GB, free: 135 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/2.341, allocations: 3.969 kB / 0.8674 GB, free: 135 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.429e-05/2.341, allocations: 44.31 kB / 0.8674 GB, free: 135 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006462/2.348, allocations: 3.964 MB / 0.8713 GB, free: 131.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008334/2.349, allocations: 314.6 kB / 0.8716 GB, free: 131.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/2.349, allocations: 161.4 kB / 0.8718 GB, free: 131.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004437/2.349, allocations: 347.1 kB / 0.8721 GB, free: 131.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/2.35, allocations: 34.84 kB / 0.8721 GB, free: 131.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.948e-06/2.35, allocations: 3.938 kB / 0.8721 GB, free: 131.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=39): time 0.004759/2.354, allocations: 1.256 MB / 0.8734 GB, free: 130.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/2.354, allocations: 136.3 kB / 0.8735 GB, free: 130.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/2.355, allocations: 458.1 kB / 0.8739 GB, free: 130.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/2.355, allocations: 29.64 kB / 0.874 GB, free: 130.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/2.355, allocations: 387.9 kB / 0.8743 GB, free: 129.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/2.356, allocations: 137 kB / 0.8745 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/2.356, allocations: 0 / 0.8745 GB, free: 129.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/2.356, allocations: 373 kB / 0.8748 GB, free: 129.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/2.356, allocations: 200.8 kB / 0.875 GB, free: 129.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/2.357, allocations: 0.5141 MB / 0.8755 GB, free: 128.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/2.358, allocations: 335.2 kB / 0.8758 GB, free: 128.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/2.358, allocations: 3.906 kB / 0.8758 GB, free: 128.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002866/2.361, allocations: 0.8963 MB / 0.8767 GB, free: 128.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/2.361, allocations: 11.95 kB / 0.8767 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/2.361, allocations: 12 kB / 0.8767 GB, free: 128.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/2.362, allocations: 223.4 kB / 0.8769 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008777/2.363, allocations: 134.4 kB / 0.8771 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/2.364, allocations: 0.855 MB / 0.8779 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/2.365, allocations: 39.56 kB / 0.8779 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/2.366, allocations: 32 kB / 0.878 GB, free: 127 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/2.366, allocations: 140.4 kB / 0.8781 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001513/2.367, allocations: 486.1 kB / 0.8786 GB, free: 126.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/2.367, allocations: 55.34 kB / 0.8786 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/2.369, allocations: 0.5907 MB / 0.8792 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/2.369, allocations: 4 kB / 0.8792 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/2.369, allocations: 0 / 0.8792 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/2.369, allocations: 0 / 0.8792 GB, free: 125.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/2.373, allocations: 1.474 MB / 0.8806 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/2.373, allocations: 4 kB / 0.8806 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/2.374, allocations: 192.6 kB / 0.8808 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003448/2.375, allocations: 55.84 kB / 0.8809 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/2.375, allocations: 6.312 kB / 0.8809 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/2.377, allocations: 2.689 MB / 0.8835 GB, free: 121.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/2.377, allocations: 3.953 kB / 0.8835 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/2.379, allocations: 0.9492 MB / 0.8844 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/2.38, allocations: 195 kB / 0.8846 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/2.38, allocations: 4 kB / 0.8846 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006764/2.381, allocations: 19.88 kB / 0.8847 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/2.381, allocations: 35.59 kB / 0.8847 GB, free: 120.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/2.381, allocations: 19.94 kB / 0.8847 GB, free: 120.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005489/2.382, allocations: 337.1 kB / 0.885 GB, free: 120 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.5e-07/2.382, allocations: 0 / 0.885 GB, free: 120 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001313/2.383, allocations: 203.7 kB / 0.8852 GB, free: 119.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002949/2.386, allocations: 2.061 MB / 0.8872 GB, free: 117.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/2.387, allocations: 0.5243 MB / 0.8877 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/2.387, allocations: 4.438 kB / 0.8877 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/2.389, allocations: 425.1 kB / 0.8882 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/2.391, allocations: 261.8 kB / 0.8884 GB, free: 116.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/2.394, allocations: 1.102 MB / 0.8895 GB, free: 115.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/2.395, allocations: 0.9498 MB / 0.8904 GB, free: 114.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001151/2.396, allocations: 196.1 kB / 0.8906 GB, free: 114.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/2.397, allocations: 235.3 kB / 0.8908 GB, free: 113.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.754e-06/2.397, allocations: 0 / 0.8908 GB, free: 113.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07316/2.47, allocations: 17.43 MB / 0.9078 GB, free: 96.53 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/2.47, allocations: 217.1 kB / 0.908 GB, free: 96.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/5.751, allocations: 0 / 0.908 GB, free: 96.23 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat