Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.853e-05/4.866e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1353, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.491/2.626, allocations: 0.7921 GB / 1.193 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/2.627, allocations: 94.55 kB / 1.193 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.06/6.686, allocations: 0.7035 GB / 1.896 GB, free: 77.63 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.265e-06/6.686, allocations: 5.469 kB / 1.896 GB, free: 77.63 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001325/6.687, allocations: 36.97 kB / 1.897 GB, free: 77.62 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00912/6.696, allocations: 1.574 MB / 1.898 GB, free: 76.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/6.696, allocations: 7.75 kB / 1.898 GB, free: 76.97 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009825/6.697, allocations: 171 kB / 1.898 GB, free: 76.93 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003725/6.701, allocations: 306.2 kB / 1.899 GB, free: 76.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/6.705, allocations: 0.81 MB / 1.899 GB, free: 76.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/6.705, allocations: 141.3 kB / 1.899 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005588/6.706, allocations: 108.7 kB / 1.9 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007969/6.714, allocations: 1.751 MB / 1.901 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.27e-05/6.714, allocations: 3.938 kB / 1.901 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/6.714, allocations: 47.34 kB / 1.901 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/6.714, allocations: 83.05 kB / 1.901 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006161/6.721, allocations: 1.576 MB / 1.903 GB, free: 76.34 MB / 0.5261 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.01913/6.74, allocations: 6.855 MB / 1.91 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/6.742, allocations: 0.762 MB / 1.91 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/6.743, allocations: 427.7 kB / 1.911 GB, free: 72.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/6.743, allocations: 273.8 kB / 1.911 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/6.743, allocations: 49.67 kB / 1.911 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 3.346e-06/6.743, allocations: 0 / 1.911 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.01659/6.76, allocations: 3.769 MB / 1.915 GB, free: 71.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/6.76, allocations: 115.1 kB / 1.915 GB, free: 71.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/6.762, allocations: 0.9719 MB / 1.916 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003484/6.762, allocations: 44.14 kB / 1.916 GB, free: 71.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/6.763, allocations: 0.5225 MB / 1.916 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/6.763, allocations: 267.6 kB / 1.917 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/6.763, allocations: 19.38 kB / 1.917 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/6.763, allocations: 349 kB / 1.917 GB, free: 70.76 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/6.765, allocations: 0.559 MB / 1.918 GB, free: 70.76 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/6.766, allocations: 0.8365 MB / 1.918 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/6.768, allocations: 0.6781 MB / 1.919 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/6.768, allocations: 0 / 1.919 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004461/6.772, allocations: 1.923 MB / 1.921 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/6.772, allocations: 11.59 kB / 1.921 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/6.772, allocations: 16.11 kB / 1.921 GB, free: 70.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008035/6.78, allocations: 1.39 MB / 1.922 GB, free: 70.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/6.781, allocations: 139.9 kB / 1.922 GB, free: 70.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/6.785, allocations: 1.9 MB / 1.924 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/6.788, allocations: 113.9 kB / 1.924 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/6.788, allocations: 69.39 kB / 1.924 GB, free: 69.68 MB / 0.5261 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.0004006/6.788, allocations: 171.5 kB / 1.925 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/6.789, allocations: 110.9 kB / 1.925 GB, free: 69.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/6.792, allocations: 1.473 MB / 1.926 GB, free: 69.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/6.792, allocations: 19.06 kB / 1.926 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/6.792, allocations: 0 / 1.926 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/6.792, allocations: 3.703 kB / 1.926 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00629/6.799, allocations: 2.666 MB / 1.929 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/6.799, allocations: 2.438 kB / 1.929 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003532/6.802, allocations: 332.4 kB / 1.929 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/6.802, allocations: 74.33 kB / 1.929 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/6.803, allocations: 39.97 kB / 1.929 GB, free: 68.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/6.805, allocations: 2.829 MB / 1.932 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/6.805, allocations: 0 / 1.932 GB, free: 65.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004174/6.809, allocations: 1.859 MB / 1.934 GB, free: 65.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/6.811, allocations: 349.9 kB / 1.934 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/6.811, allocations: 27.58 kB / 1.934 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/6.813, allocations: 89.38 kB / 1.934 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/6.813, allocations: 58.62 kB / 1.934 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/6.813, allocations: 67.48 kB / 1.934 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001457/6.815, allocations: 0.7736 MB / 1.935 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/6.815, allocations: 0 / 1.935 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002852/6.818, allocations: 0.5699 MB / 1.936 GB, free: 64.34 MB / 0.5261 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.008736/6.826, allocations: 3.793 MB / 1.939 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003942/6.83, allocations: 1.422 MB / 1.941 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/6.83, allocations: 0.7812 kB / 1.941 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/6.833, allocations: 0.8285 MB / 1.942 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/6.839, allocations: 0.7206 MB / 1.942 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008228/6.847, allocations: 2.761 MB / 1.945 GB, free: 60.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008973/6.848, allocations: 1.202 MB / 1.946 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003824/6.852, allocations: 487 kB / 1.947 GB, free: 60.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/6.854, allocations: 452.5 kB / 1.947 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of SimCode: time 1.853e-06/6.854, allocations: 0 / 1.947 GB, free: 59.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/6.998, allocations: 63.55 MB / 2.009 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/6.998, allocations: 260.5 kB / 2.009 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.355/12.35, allocations: 0 / 2.009 GB, free: 7.336 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat