Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.8e-05, allocations: 4 kB / 273.2 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.7 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.5/2.608, allocations: 0.807 GB / 1.121 GB, free: 11.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/2.609, allocations: 91.38 kB / 1.121 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.042/6.65, allocations: 0.7075 GB / 1.829 GB, free: 59.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.365e-06/6.65, allocations: 3 kB / 1.829 GB, free: 59.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001025/6.651, allocations: 30.42 kB / 1.829 GB, free: 59.72 MB / 442.7 MB 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.00698/6.658, allocations: 1.568 MB / 1.83 GB, free: 59.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/6.658, allocations: 14.61 kB / 1.83 GB, free: 59.15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005452/6.658, allocations: 171.9 kB / 1.831 GB, free: 59.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/6.661, allocations: 308.6 kB / 1.831 GB, free: 59.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/6.664, allocations: 0.8145 MB / 1.832 GB, free: 58.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/6.664, allocations: 149.6 kB / 1.832 GB, free: 58.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004837/6.665, allocations: 97.06 kB / 1.832 GB, free: 58.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004844/6.67, allocations: 1.741 MB / 1.834 GB, free: 58.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.489e-05/6.67, allocations: 7.094 kB / 1.834 GB, free: 58.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/6.67, allocations: 54.31 kB / 1.834 GB, free: 58.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/6.67, allocations: 77.5 kB / 1.834 GB, free: 58.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/6.675, allocations: 1.569 MB / 1.835 GB, free: 58.53 MB / 442.7 MB 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.01478/6.69, allocations: 5.897 MB / 1.841 GB, free: 55.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/6.691, allocations: 0.6083 MB / 1.842 GB, free: 55.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/6.692, allocations: 352.3 kB / 1.842 GB, free: 55.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/6.692, allocations: 25.31 kB / 1.842 GB, free: 55.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/6.692, allocations: 51.66 kB / 1.842 GB, free: 55.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.898e-06/6.692, allocations: 0 / 1.842 GB, free: 55.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01603/6.708, allocations: 3.427 MB / 1.845 GB, free: 55.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/6.709, allocations: 114.2 kB / 1.846 GB, free: 55.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/6.71, allocations: 0.8459 MB / 1.846 GB, free: 54.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/6.711, allocations: 42.58 kB / 1.846 GB, free: 54.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/6.711, allocations: 0.56 MB / 1.847 GB, free: 54.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/6.711, allocations: 247.5 kB / 1.847 GB, free: 54.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/6.712, allocations: 20.72 kB / 1.847 GB, free: 54.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/6.712, allocations: 355.6 kB / 1.848 GB, free: 54.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/6.713, allocations: 0.5102 MB / 1.848 GB, free: 54.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/6.714, allocations: 0.8817 MB / 1.849 GB, free: 53.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/6.716, allocations: 0.6411 MB / 1.85 GB, free: 53.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/6.716, allocations: 3.656 kB / 1.85 GB, free: 53.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004634/6.721, allocations: 1.827 MB / 1.851 GB, free: 53.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/6.721, allocations: 13.75 kB / 1.851 GB, free: 53.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/6.721, allocations: 9.188 kB / 1.851 GB, free: 53.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007928/6.729, allocations: 1.278 MB / 1.853 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/6.73, allocations: 172 kB / 1.853 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/6.734, allocations: 1.714 MB / 1.854 GB, free: 53.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/6.736, allocations: 111.4 kB / 1.855 GB, free: 53.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/6.736, allocations: 68.98 kB / 1.855 GB, free: 53.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (98): * Single equations (assignments): 97 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003963/6.737, allocations: 179.1 kB / 1.855 GB, free: 52.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/6.737, allocations: 107.5 kB / 1.855 GB, free: 52.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/6.74, allocations: 1.24 MB / 1.856 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/6.74, allocations: 7 kB / 1.856 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/6.74, allocations: 1.781 kB / 1.856 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/6.74, allocations: 3.094 kB / 1.856 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/6.747, allocations: 2.48 MB / 1.859 GB, free: 52.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/6.747, allocations: 0 / 1.859 GB, free: 52.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/6.75, allocations: 309.8 kB / 1.859 GB, free: 52.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/6.75, allocations: 72.53 kB / 1.859 GB, free: 52.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/6.751, allocations: 35.89 kB / 1.859 GB, free: 52.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/6.753, allocations: 2.829 MB / 1.862 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/6.753, allocations: 0.5625 kB / 1.862 GB, free: 49.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/6.757, allocations: 1.662 MB / 1.863 GB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/6.758, allocations: 304.3 kB / 1.864 GB, free: 49.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/6.759, allocations: 26.5 kB / 1.864 GB, free: 49.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/6.76, allocations: 82.66 kB / 1.864 GB, free: 49.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/6.761, allocations: 51.84 kB / 1.864 GB, free: 49.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/6.761, allocations: 59.38 kB / 1.864 GB, free: 49.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001291/6.762, allocations: 0.6568 MB / 1.864 GB, free: 49.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.72e-07/6.762, allocations: 0 / 1.864 GB, free: 49.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003133/6.765, allocations: 0.6036 MB / 1.865 GB, free: 49.29 MB / 442.7 MB 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 (71): * Single equations (assignments): 69 * 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.008998/6.774, allocations: 3.72 MB / 1.869 GB, free: 48.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003991/6.778, allocations: 1.334 MB / 1.87 GB, free: 48.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/6.779, allocations: 7.594 kB / 1.87 GB, free: 48.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/6.781, allocations: 0.7545 MB / 1.871 GB, free: 48.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005378/6.787, allocations: 0.6092 MB / 1.871 GB, free: 48.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/6.796, allocations: 2.679 MB / 1.874 GB, free: 47.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009059/6.797, allocations: 1.2 MB / 1.875 GB, free: 46.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002385/6.799, allocations: 394.9 kB / 1.875 GB, free: 46.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/6.801, allocations: 431.3 kB / 1.876 GB, free: 46.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/6.801, allocations: 0 / 1.876 GB, free: 46.85 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/6.957, allocations: 59.12 MB / 1.934 GB, free: 9.648 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/6.958, allocations: 261.5 kB / 1.934 GB, free: 9.309 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.967/11.93, allocations: 0 / 1.934 GB, free: 9.309 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat