Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.302e-05, allocations: 0 / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3014, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5522/0.8536, allocations: 185 MB / 479.2 MB, free: 54.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.854, allocations: 91.02 kB / 479.3 MB, free: 54.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026/1.88, allocations: 208.7 MB / 0.6719 GB, free: 40.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.554e-06/1.88, allocations: 0 / 0.6719 GB, free: 40.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.479e-05/1.88, allocations: 12 kB / 0.6719 GB, free: 40.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002281/1.883, allocations: 0.9581 MB / 0.6728 GB, free: 39.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.883, allocations: 8.031 kB / 0.6728 GB, free: 39.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/1.883, allocations: 47.61 kB / 0.6729 GB, free: 39.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/1.883, allocations: 290.5 kB / 0.6732 GB, free: 39.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/1.884, allocations: 11.95 kB / 0.6732 GB, free: 39.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/1.884, allocations: 16 kB / 0.6732 GB, free: 39.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003921/1.884, allocations: 157.1 kB / 0.6733 GB, free: 39.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/1.885, allocations: 289.2 kB / 0.6736 GB, free: 39.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.885, allocations: 3.938 kB / 0.6736 GB, free: 39.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/1.885, allocations: 4 kB / 0.6736 GB, free: 39.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/1.885, allocations: 11.98 kB / 0.6736 GB, free: 39.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/1.887, allocations: 2.01 MB / 0.6756 GB, free: 36.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/1.887, allocations: 171 kB / 0.6758 GB, free: 36.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/1.887, allocations: 80.84 kB / 0.6758 GB, free: 36.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/1.888, allocations: 247.3 kB / 0.6761 GB, free: 36.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.888, allocations: 38.52 kB / 0.6761 GB, free: 36.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.845e-06/1.888, allocations: 0 / 0.6761 GB, free: 36.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.003238/1.891, allocations: 0.8188 MB / 0.6769 GB, free: 35.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/1.891, allocations: 51.41 kB / 0.677 GB, free: 35.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/1.891, allocations: 200.5 kB / 0.6772 GB, free: 35.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/1.891, allocations: 29.7 kB / 0.6772 GB, free: 35.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.891, allocations: 242.7 kB / 0.6774 GB, free: 34.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.664e-05/1.892, allocations: 106.5 kB / 0.6775 GB, free: 34.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/1.892, allocations: 4 kB / 0.6775 GB, free: 34.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/1.892, allocations: 322.8 kB / 0.6778 GB, free: 34.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/1.892, allocations: 76.73 kB / 0.6779 GB, free: 34.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/1.892, allocations: 158.2 kB / 0.6781 GB, free: 34.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/1.893, allocations: 135.8 kB / 0.6782 GB, free: 34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.893, allocations: 0 / 0.6782 GB, free: 34 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001132/1.894, allocations: 353.7 kB / 0.6785 GB, free: 33.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.894, allocations: 4 kB / 0.6785 GB, free: 33.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.894, allocations: 4 kB / 0.6785 GB, free: 33.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/1.894, allocations: 88.75 kB / 0.6786 GB, free: 33.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/1.895, allocations: 68.22 kB / 0.6787 GB, free: 33.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007976/1.896, allocations: 0.6811 MB / 0.6793 GB, free: 32.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/1.896, allocations: 7.938 kB / 0.6793 GB, free: 32.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/1.896, allocations: 20 kB / 0.6794 GB, free: 32.74 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001991/1.896, allocations: 125.6 kB / 0.6795 GB, free: 32.61 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001071/1.897, allocations: 294 kB / 0.6798 GB, free: 32.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/1.898, allocations: 35.66 kB / 0.6798 GB, free: 32.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/1.899, allocations: 381.2 kB / 0.6802 GB, free: 31.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.899, allocations: 4.094 kB / 0.6802 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.899, allocations: 7.891 kB / 0.6802 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009069/1.9, allocations: 0.5592 MB / 0.6807 GB, free: 31.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.901, allocations: 0.6886 MB / 0.6814 GB, free: 30.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.901, allocations: 0 / 0.6814 GB, free: 30.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/1.902, allocations: 39.88 kB / 0.6814 GB, free: 30.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003532/1.902, allocations: 80.7 kB / 0.6815 GB, free: 30.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.902, allocations: 8.062 kB / 0.6815 GB, free: 30.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000647/1.903, allocations: 0.6421 MB / 0.6821 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.903, allocations: 0 / 0.6821 GB, free: 29.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/1.904, allocations: 0.4976 MB / 0.6826 GB, free: 29.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.904, allocations: 104.8 kB / 0.6827 GB, free: 29.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.186e-05/1.904, allocations: 0 / 0.6827 GB, free: 29.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/1.904, allocations: 16.05 kB / 0.6827 GB, free: 29.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/1.905, allocations: 15.92 kB / 0.6828 GB, free: 28.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/1.905, allocations: 19.92 kB / 0.6828 GB, free: 28.97 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001899/1.905, allocations: 164.5 kB / 0.6829 GB, free: 28.81 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.905, allocations: 0 / 0.6829 GB, free: 28.81 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008432/1.906, allocations: 143.9 kB / 0.6831 GB, free: 28.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001747/1.907, allocations: 1.281 MB / 0.6843 GB, free: 27.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007478/1.908, allocations: 224.3 kB / 0.6845 GB, free: 27.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.908, allocations: 8.062 kB / 0.6845 GB, free: 27.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000344/1.909, allocations: 111.8 kB / 0.6847 GB, free: 27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.91, allocations: 120.4 kB / 0.6848 GB, free: 26.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/1.911, allocations: 0.5281 MB / 0.6853 GB, free: 26.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/1.912, allocations: 0.764 MB / 0.686 GB, free: 25.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/1.912, allocations: 115.3 kB / 0.6861 GB, free: 25.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/1.912, allocations: 96 / 0.6861 GB, free: 25.41 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.913/4.825, allocations: 8.357 MB / 0.6943 GB, free: 17.04 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat