Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.601/2.601, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.348e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4267, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.619/3.046, allocations: 0.8261 GB / 1.199 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/3.046, allocations: 92.41 kB / 1.2 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.618/6.664, allocations: 0.7124 GB / 1.912 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/6.664, allocations: 0 / 1.912 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.301e-05/6.664, allocations: 31.98 kB / 1.912 GB, free: 3.184 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006349/6.671, allocations: 1.571 MB / 1.914 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/6.671, allocations: 15.97 kB / 1.914 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005925/6.671, allocations: 164.9 kB / 1.914 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/6.674, allocations: 310.3 kB / 1.914 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/6.677, allocations: 0.7985 MB / 1.915 GB, free: 240 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/6.677, allocations: 149.3 kB / 1.915 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3788/7.056, allocations: 99.45 kB / 1.915 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00659/7.063, allocations: 1.747 MB / 1.917 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/7.063, allocations: 10.09 kB / 1.917 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003406/7.063, allocations: 51.06 kB / 1.917 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/7.063, allocations: 78.03 kB / 1.917 GB, free: 75.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005092/7.068, allocations: 1.577 MB / 1.918 GB, free: 75.89 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/7.085, allocations: 6.866 MB / 1.925 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/7.087, allocations: 0.7792 MB / 1.926 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009252/7.088, allocations: 433 kB / 1.926 GB, free: 72.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/7.088, allocations: 251 kB / 1.926 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/7.088, allocations: 46.58 kB / 1.927 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.997e-06/7.088, allocations: 0 / 1.927 GB, free: 72.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.01695/7.105, allocations: 3.754 MB / 1.93 GB, free: 71.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/7.105, allocations: 115.2 kB / 1.93 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/7.107, allocations: 0.9769 MB / 1.931 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003101/7.108, allocations: 47.98 kB / 1.931 GB, free: 71.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/7.108, allocations: 0.5193 MB / 1.932 GB, free: 71.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/7.109, allocations: 267 kB / 1.932 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/7.109, allocations: 17.03 kB / 1.932 GB, free: 70.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001007/7.109, allocations: 344.2 kB / 1.932 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/7.11, allocations: 0.5625 MB / 1.933 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/7.112, allocations: 0.84 MB / 1.934 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/7.113, allocations: 0.6819 MB / 1.934 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/7.113, allocations: 3.75 kB / 1.934 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004603/7.118, allocations: 1.925 MB / 1.936 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/7.118, allocations: 11.16 kB / 1.936 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/7.118, allocations: 7.562 kB / 1.936 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008131/7.126, allocations: 1.359 MB / 1.938 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/7.127, allocations: 139 kB / 1.938 GB, free: 70.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004143/7.132, allocations: 1.911 MB / 1.94 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/7.134, allocations: 111.7 kB / 1.94 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/7.134, allocations: 67.91 kB / 1.94 GB, free: 69.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {9 35} Notification: Performance of prepare postOptimizeDAE: time 0.0004829/7.135, allocations: 159.4 kB / 1.94 GB, free: 69.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/7.135, allocations: 117.2 kB / 1.94 GB, free: 69.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00375/7.139, allocations: 1.369 MB / 1.941 GB, free: 69.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/7.139, allocations: 11.75 kB / 1.941 GB, free: 69.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/7.139, allocations: 0 / 1.941 GB, free: 69.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/7.139, allocations: 3.844 kB / 1.941 GB, free: 69.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/7.146, allocations: 2.664 MB / 1.944 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/7.146, allocations: 3.875 kB / 1.944 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003593/7.15, allocations: 333.4 kB / 1.944 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/7.15, allocations: 67.81 kB / 1.944 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/7.15, allocations: 38.8 kB / 1.944 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/7.153, allocations: 2.829 MB / 1.947 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/7.153, allocations: 2.5 kB / 1.947 GB, free: 66.44 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/7.157, allocations: 1.861 MB / 1.949 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/7.158, allocations: 351.8 kB / 1.949 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/7.159, allocations: 23.5 kB / 1.949 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/7.161, allocations: 92.83 kB / 1.95 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/7.161, allocations: 54.97 kB / 1.95 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/7.162, allocations: 65.91 kB / 1.95 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001601/7.163, allocations: 0.7767 MB / 1.95 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/7.163, allocations: 0 / 1.95 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003033/7.166, allocations: 0.6216 MB / 1.951 GB, free: 65.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * 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): 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009076/7.175, allocations: 3.909 MB / 1.955 GB, free: 64.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004073/7.179, allocations: 1.413 MB / 1.956 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/7.179, allocations: 8.312 kB / 1.956 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002526/7.182, allocations: 0.8183 MB / 1.957 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006506/7.189, allocations: 0.7324 MB / 1.958 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009342/7.198, allocations: 2.792 MB / 1.96 GB, free: 64.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009367/7.199, allocations: 1.197 MB / 1.962 GB, free: 63.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002429/7.201, allocations: 409 kB / 1.962 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/7.203, allocations: 444.3 kB / 1.962 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.663e-06/7.203, allocations: 0 / 1.962 GB, free: 63.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/7.35, allocations: 64.87 MB / 2.026 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003415/7.35, allocations: 253.4 kB / 2.026 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.55/12.9, allocations: 0 / 2.026 GB, free: 60.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat