Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.55e-05/2.581e-05, allocations: 4 kB / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3909, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.32/2.711, allocations: 0.8206 GB / 1.167 GB, free: 15.86 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/2.711, allocations: 88.28 kB / 1.167 GB, free: 15.81 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.92/6.632, allocations: 0.7011 GB / 1.868 GB, free: 44.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.347e-06/6.632, allocations: 0 / 1.868 GB, free: 44.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001099/6.632, allocations: 32.86 kB / 1.868 GB, free: 44.42 MB / 490.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.006587/6.639, allocations: 1.567 MB / 1.869 GB, free: 42.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/6.639, allocations: 8.031 kB / 1.869 GB, free: 42.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/6.641, allocations: 306.3 kB / 1.87 GB, free: 42.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/6.644, allocations: 0.8355 MB / 1.871 GB, free: 41.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/6.644, allocations: 105.4 kB / 1.871 GB, free: 41.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/6.645, allocations: 60 kB / 1.871 GB, free: 41.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00346/6.648, allocations: 1.445 MB / 1.872 GB, free: 40 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/6.653, allocations: 1.596 MB / 1.874 GB, free: 38.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-05/6.653, allocations: 11.94 kB / 1.874 GB, free: 38.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002982/6.653, allocations: 4 kB / 1.874 GB, free: 38.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/6.653, allocations: 81.89 kB / 1.874 GB, free: 38.23 MB / 490.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.01606/6.669, allocations: 6.564 MB / 1.88 GB, free: 31.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/6.672, allocations: 0.6295 MB / 1.881 GB, free: 30.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/6.673, allocations: 362.5 kB / 1.881 GB, free: 30.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/6.673, allocations: 236.2 kB / 1.881 GB, free: 29.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/6.673, allocations: 50.98 kB / 1.881 GB, free: 29.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.727e-06/6.673, allocations: 0 / 1.881 GB, free: 29.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01496/6.688, allocations: 3.268 MB / 1.885 GB, free: 26.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/6.688, allocations: 115.3 kB / 1.885 GB, free: 26.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/6.69, allocations: 0.6008 MB / 1.885 GB, free: 25.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002476/6.69, allocations: 29.7 kB / 1.885 GB, free: 25.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/6.69, allocations: 0.5717 MB / 1.886 GB, free: 25.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/6.69, allocations: 236.6 kB / 1.886 GB, free: 24.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/6.691, allocations: 0 / 1.886 GB, free: 24.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/6.691, allocations: 394.7 kB / 1.886 GB, free: 24.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/6.692, allocations: 0.5141 MB / 1.887 GB, free: 24.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/6.693, allocations: 0.8876 MB / 1.888 GB, free: 22.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/6.695, allocations: 0.6485 MB / 1.889 GB, free: 22.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/6.695, allocations: 4 kB / 1.889 GB, free: 22.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004085/6.699, allocations: 1.769 MB / 1.89 GB, free: 20.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/6.699, allocations: 12 kB / 1.89 GB, free: 20.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/6.699, allocations: 12 kB / 1.89 GB, free: 20.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/6.706, allocations: 1.183 MB / 1.891 GB, free: 19.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/6.707, allocations: 183.7 kB / 1.892 GB, free: 19.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/6.711, allocations: 1.776 MB / 1.893 GB, free: 17.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/6.713, allocations: 99.75 kB / 1.893 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/6.713, allocations: 87.98 kB / 1.893 GB, free: 17.16 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.m:DUMMY_STATE(min = 0.0 unit = "kg" ) "Mass of fluid" type: Real volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real 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 {10 27} Notification: Performance of prepare postOptimizeDAE: time 0.0004324/6.714, allocations: 152.7 kB / 1.894 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002374/6.716, allocations: 1.046 MB / 1.895 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/6.716, allocations: 83.02 kB / 1.895 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/6.719, allocations: 1.208 MB / 1.896 GB, free: 14.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/6.719, allocations: 8 kB / 1.896 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/6.719, allocations: 0 / 1.896 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/6.719, allocations: 3.984 kB / 1.896 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00558/6.725, allocations: 2.363 MB / 1.898 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/6.725, allocations: 0 / 1.898 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003496/6.729, allocations: 319.7 kB / 1.899 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/6.729, allocations: 60.8 kB / 1.899 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/6.729, allocations: 27.97 kB / 1.899 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002568/6.732, allocations: 2.764 MB / 1.901 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/6.732, allocations: 0 / 1.901 GB, free: 8.812 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/6.735, allocations: 1.654 MB / 1.903 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009007/6.736, allocations: 284 kB / 1.903 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/6.737, allocations: 15.98 kB / 1.903 GB, free: 6.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/6.738, allocations: 67.73 kB / 1.903 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/6.738, allocations: 52.7 kB / 1.903 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/6.739, allocations: 59.95 kB / 1.903 GB, free: 6.641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007659/6.739, allocations: 455.1 kB / 1.904 GB, free: 6.203 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.142e-06/6.739, allocations: 3.938 kB / 1.904 GB, free: 6.199 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002833/6.742, allocations: 0.5426 MB / 1.904 GB, free: 5.656 MB / 490.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.008302/6.751, allocations: 3.819 MB / 1.908 GB, free: 1.801 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003583/6.754, allocations: 1.337 MB / 1.909 GB, free: 476 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/6.754, allocations: 8.062 kB / 1.909 GB, free: 472 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.4399/7.194, allocations: 0.7624 MB / 1.91 GB, free: 79.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/7.199, allocations: 382.5 kB / 1.911 GB, free: 79.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/7.213, allocations: 2.548 MB / 1.913 GB, free: 78.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/7.214, allocations: 1.201 MB / 1.914 GB, free: 78.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004689/7.219, allocations: 411.1 kB / 1.915 GB, free: 78.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/7.221, allocations: 436 kB / 1.915 GB, free: 78.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/7.221, allocations: 1.188 kB / 1.915 GB, free: 78.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/7.366, allocations: 40.83 MB / 1.955 GB, free: 77.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/7.366, allocations: 212.7 kB / 1.955 GB, free: 76.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/11.68, allocations: 2.844 kB / 1.955 GB, free: 76.98 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat