Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.556e-05/5.545e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.146, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.523/2.669, allocations: 0.7929 GB / 1.194 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/2.669, allocations: 92.94 kB / 1.194 GB, free: 24.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.028/6.697, allocations: 0.7268 GB / 1.921 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.445e-06/6.697, allocations: 0 / 1.921 GB, free: 81.61 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001052/6.697, allocations: 23.83 kB / 1.921 GB, free: 81.61 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005979/6.703, allocations: 1.394 MB / 1.922 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/6.703, allocations: 11.03 kB / 1.922 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003528/6.704, allocations: 125.3 kB / 1.922 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/6.706, allocations: 279.4 kB / 1.922 GB, free: 80.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/6.709, allocations: 0.6721 MB / 1.923 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/6.709, allocations: 120.2 kB / 1.923 GB, free: 80.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000456/6.709, allocations: 65.64 kB / 1.923 GB, free: 80.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/6.714, allocations: 1.215 MB / 1.924 GB, free: 80.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/6.714, allocations: 3.938 kB / 1.924 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002812/6.714, allocations: 42.56 kB / 1.924 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/6.714, allocations: 65.92 kB / 1.924 GB, free: 80.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002818/6.717, allocations: 0.9985 MB / 1.925 GB, free: 80.22 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.01024/6.727, allocations: 4.805 MB / 1.93 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/6.728, allocations: 261.7 kB / 1.93 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/6.728, allocations: 143 kB / 1.931 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/6.729, allocations: 271.6 kB / 1.931 GB, free: 77.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/6.729, allocations: 33.11 kB / 1.931 GB, free: 77.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/6.729, allocations: 3.75 kB / 1.931 GB, free: 77.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.009442/6.738, allocations: 1.599 MB / 1.932 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/6.738, allocations: 139.2 kB / 1.933 GB, free: 76.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/6.74, allocations: 0.8142 MB / 1.933 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/6.74, allocations: 37.55 kB / 1.933 GB, free: 75.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/6.741, allocations: 0.5651 MB / 1.934 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/6.741, allocations: 130.3 kB / 1.934 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/6.741, allocations: 23.09 kB / 1.934 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001555/6.741, allocations: 403.4 kB / 1.934 GB, free: 74.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/6.742, allocations: 259.2 kB / 1.935 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009559/6.743, allocations: 0.8496 MB / 1.935 GB, free: 73.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009504/6.744, allocations: 443.5 kB / 1.936 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/6.744, allocations: 7.25 kB / 1.936 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002835/6.746, allocations: 1.158 MB / 1.937 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/6.747, allocations: 14.88 kB / 1.937 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/6.747, allocations: 18.75 kB / 1.937 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/6.749, allocations: 288.3 kB / 1.937 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/6.75, allocations: 206.5 kB / 1.938 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/6.751, allocations: 0.9076 MB / 1.938 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/6.753, allocations: 54.7 kB / 1.938 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/6.753, allocations: 74.42 kB / 1.939 GB, free: 72.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002724/6.754, allocations: 183.3 kB / 1.939 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/6.754, allocations: 97.11 kB / 1.939 GB, free: 72.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/6.755, allocations: 0.5059 MB / 1.939 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/6.755, allocations: 6.688 kB / 1.939 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/6.755, allocations: 2.219 kB / 1.939 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/6.755, allocations: 3.703 kB / 1.939 GB, free: 72.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/6.758, allocations: 1.109 MB / 1.94 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/6.758, allocations: 3.969 kB / 1.94 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/6.76, allocations: 181.7 kB / 1.941 GB, free: 71.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/6.76, allocations: 24.12 kB / 1.941 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/6.76, allocations: 10.34 kB / 1.941 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/6.762, allocations: 2.669 MB / 1.943 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/6.762, allocations: 3.438 kB / 1.943 GB, free: 68.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/6.764, allocations: 0.7036 MB / 1.944 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/6.764, allocations: 206.3 kB / 1.944 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/6.765, allocations: 11.72 kB / 1.944 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009172/6.766, allocations: 25.94 kB / 1.944 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/6.766, allocations: 24.77 kB / 1.944 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/6.766, allocations: 19.41 kB / 1.944 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001284/6.767, allocations: 0.6063 MB / 1.945 GB, free: 67.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.142e-06/6.767, allocations: 0 / 1.945 GB, free: 67.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002798/6.77, allocations: 486.8 kB / 1.945 GB, free: 67.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.006146/6.776, allocations: 2.503 MB / 1.948 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002195/6.778, allocations: 0.6309 MB / 1.948 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/6.778, allocations: 3.5 kB / 1.948 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/6.78, allocations: 347.8 kB / 1.949 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/6.783, allocations: 402.9 kB / 1.949 GB, free: 66.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/6.79, allocations: 1.442 MB / 1.95 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008999/6.791, allocations: 1.046 MB / 1.951 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002529/6.793, allocations: 391.6 kB / 1.952 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008792/6.794, allocations: 317.8 kB / 1.952 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/6.794, allocations: 0 / 1.952 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/6.963, allocations: 45.62 MB / 1.997 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/6.963, allocations: 278.4 kB / 1.997 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.678/11.64, allocations: 4.438 kB / 1.997 GB, free: 21.79 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat