Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.571e-05, allocations: 0 / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1616, allocations: 61.88 MB / 410.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.511/2.672, allocations: 0.7921 GB / 1.193 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/2.673, allocations: 97.86 kB / 1.193 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.971/6.644, allocations: 0.7036 GB / 1.896 GB, free: 77.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.894e-06/6.644, allocations: 1.969 kB / 1.896 GB, free: 77.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.67e-05/6.644, allocations: 26.19 kB / 1.896 GB, free: 77.92 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.006747/6.651, allocations: 1.567 MB / 1.898 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/6.651, allocations: 8.312 kB / 1.898 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004855/6.651, allocations: 169.9 kB / 1.898 GB, free: 77.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/6.654, allocations: 314.9 kB / 1.898 GB, free: 77.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/6.657, allocations: 0.7973 MB / 1.899 GB, free: 76.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/6.657, allocations: 147.7 kB / 1.899 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/6.657, allocations: 107.6 kB / 1.9 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/6.662, allocations: 1.75 MB / 1.901 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.848e-05/6.662, allocations: 8.625 kB / 1.901 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/6.662, allocations: 47.8 kB / 1.901 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/6.662, allocations: 84.55 kB / 1.901 GB, free: 76.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/6.667, allocations: 1.577 MB / 1.903 GB, free: 76.64 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.01468/6.681, allocations: 6.84 MB / 1.91 GB, free: 73.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/6.683, allocations: 0.7711 MB / 1.91 GB, free: 73.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008949/6.684, allocations: 423.7 kB / 1.911 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002906/6.684, allocations: 275.9 kB / 1.911 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/6.684, allocations: 47.48 kB / 1.911 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 3.677e-06/6.684, allocations: 0 / 1.911 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.01622/6.701, allocations: 3.779 MB / 1.915 GB, free: 71.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/6.701, allocations: 110.8 kB / 1.915 GB, free: 71.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/6.703, allocations: 0.9822 MB / 1.916 GB, free: 71.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003462/6.703, allocations: 44.27 kB / 1.916 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/6.704, allocations: 0.515 MB / 1.916 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/6.704, allocations: 269.3 kB / 1.917 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/6.704, allocations: 18.25 kB / 1.917 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001056/6.704, allocations: 343.7 kB / 1.917 GB, free: 70.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/6.706, allocations: 0.5622 MB / 1.918 GB, free: 70.97 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/6.707, allocations: 0.8362 MB / 1.918 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/6.709, allocations: 0.6816 MB / 1.919 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/6.709, allocations: 5.938 kB / 1.919 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004814/6.714, allocations: 1.918 MB / 1.921 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/6.714, allocations: 7.594 kB / 1.921 GB, free: 70.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/6.714, allocations: 12.89 kB / 1.921 GB, free: 70.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008007/6.722, allocations: 1.384 MB / 1.922 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/6.723, allocations: 149 kB / 1.922 GB, free: 70.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/6.727, allocations: 1.902 MB / 1.924 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/6.729, allocations: 114.8 kB / 1.924 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/6.729, allocations: 75.88 kB / 1.924 GB, free: 69.88 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.000412/6.73, allocations: 166.7 kB / 1.925 GB, free: 69.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/6.73, allocations: 107.9 kB / 1.925 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/6.734, allocations: 1.471 MB / 1.926 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/6.734, allocations: 7.344 kB / 1.926 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/6.734, allocations: 3.5 kB / 1.926 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/6.734, allocations: 3.797 kB / 1.926 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006601/6.741, allocations: 2.677 MB / 1.929 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/6.741, allocations: 0 / 1.929 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003519/6.744, allocations: 328.5 kB / 1.929 GB, free: 68.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/6.745, allocations: 73.06 kB / 1.929 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/6.745, allocations: 37.62 kB / 1.929 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002562/6.747, allocations: 2.829 MB / 1.932 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/6.747, allocations: 7.312 kB / 1.932 GB, free: 65.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004299/6.752, allocations: 1.852 MB / 1.934 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/6.753, allocations: 352.9 kB / 1.934 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/6.753, allocations: 32.14 kB / 1.934 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/6.755, allocations: 88.39 kB / 1.934 GB, free: 64.88 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/6.755, allocations: 57.58 kB / 1.934 GB, free: 64.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/6.756, allocations: 68.3 kB / 1.934 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001496/6.757, allocations: 0.7723 MB / 1.935 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/6.757, allocations: 0 / 1.935 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002702/6.76, allocations: 0.5689 MB / 1.936 GB, free: 64.43 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.008344/6.768, allocations: 3.803 MB / 1.939 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004038/6.772, allocations: 1.412 MB / 1.941 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/6.772, allocations: 10.38 kB / 1.941 GB, free: 62.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/6.775, allocations: 0.821 MB / 1.942 GB, free: 62.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/6.781, allocations: 0.7254 MB / 1.942 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/6.791, allocations: 2.769 MB / 1.945 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/6.792, allocations: 1.197 MB / 1.946 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002767/6.795, allocations: 477.5 kB / 1.947 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/6.796, allocations: 451.8 kB / 1.947 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.202e-06/6.796, allocations: 0 / 1.947 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1971/6.993, allocations: 63.56 MB / 2.009 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/6.993, allocations: 257.5 kB / 2.009 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.668/12.66, allocations: 0 / 2.009 GB, free: 7.074 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat