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.354/2.354, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.982e-05/4.997e-05, allocations: 6.188 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.479/2.893, allocations: 0.8213 GB / 1.173 GB, free: 91.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/2.893, allocations: 95.69 kB / 1.173 GB, free: 91.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.836/6.729, allocations: 0.711 GB / 1.884 GB, free: 65.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/6.729, allocations: 0 / 1.884 GB, free: 65.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.527e-05/6.729, allocations: 33.23 kB / 1.884 GB, free: 65.21 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.006423/6.736, allocations: 1.568 MB / 1.885 GB, free: 64.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/6.736, allocations: 10.94 kB / 1.885 GB, free: 64.53 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003915/6.736, allocations: 169.7 kB / 1.886 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/6.739, allocations: 310 kB / 1.886 GB, free: 64.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/6.742, allocations: 0.8213 MB / 1.887 GB, free: 64.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/6.742, allocations: 142.8 kB / 1.887 GB, free: 64.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/6.742, allocations: 114.2 kB / 1.887 GB, free: 64.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/6.746, allocations: 1.744 MB / 1.889 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/6.747, allocations: 11.31 kB / 1.889 GB, free: 63.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/6.747, allocations: 45.22 kB / 1.889 GB, free: 63.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/6.747, allocations: 81.22 kB / 1.889 GB, free: 63.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004007/6.751, allocations: 1.589 MB / 1.89 GB, free: 63.89 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.01385/6.765, allocations: 6.682 MB / 1.897 GB, free: 60.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/6.767, allocations: 0.6261 MB / 1.897 GB, free: 60.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007521/6.767, allocations: 357.3 kB / 1.898 GB, free: 60.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/6.768, allocations: 243.2 kB / 1.898 GB, free: 60.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/6.768, allocations: 45.12 kB / 1.898 GB, free: 60.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.987e-06/6.768, allocations: 0 / 1.898 GB, free: 60.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01553/6.783, allocations: 3.478 MB / 1.901 GB, free: 59.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/6.783, allocations: 114.8 kB / 1.902 GB, free: 59.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/6.785, allocations: 0.8654 MB / 1.902 GB, free: 59.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/6.785, allocations: 40.11 kB / 1.902 GB, free: 59.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/6.786, allocations: 0.5621 MB / 1.903 GB, free: 58.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/6.786, allocations: 242.3 kB / 1.903 GB, free: 58.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/6.786, allocations: 21.72 kB / 1.903 GB, free: 58.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.435e-05/6.786, allocations: 354.1 kB / 1.904 GB, free: 58.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/6.788, allocations: 0.5178 MB / 1.904 GB, free: 58.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/6.789, allocations: 0.894 MB / 1.905 GB, free: 58.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/6.79, allocations: 0.6568 MB / 1.906 GB, free: 58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/6.79, allocations: 3.5 kB / 1.906 GB, free: 58 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004344/6.795, allocations: 1.889 MB / 1.907 GB, free: 57.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/6.795, allocations: 11.56 kB / 1.907 GB, free: 57.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/6.795, allocations: 15.47 kB / 1.907 GB, free: 57.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007756/6.803, allocations: 1.286 MB / 1.909 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/6.804, allocations: 179.7 kB / 1.909 GB, free: 57.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/6.808, allocations: 1.719 MB / 1.911 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/6.81, allocations: 120.6 kB / 1.911 GB, free: 57.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/6.81, allocations: 94.23 kB / 1.911 GB, free: 57.31 MB / 490.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.0003821/6.81, allocations: 173.4 kB / 1.911 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/6.811, allocations: 98.75 kB / 1.911 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/6.814, allocations: 1.236 MB / 1.912 GB, free: 57.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/6.814, allocations: 7.781 kB / 1.912 GB, free: 57.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/6.814, allocations: 5.953 kB / 1.912 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/6.814, allocations: 3.891 kB / 1.912 GB, free: 57.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005703/6.82, allocations: 2.485 MB / 1.915 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/6.82, allocations: 4 kB / 1.915 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003321/6.823, allocations: 304.9 kB / 1.915 GB, free: 56.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/6.823, allocations: 77.31 kB / 1.915 GB, free: 56.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/6.823, allocations: 37.73 kB / 1.915 GB, free: 56.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/6.826, allocations: 2.832 MB / 1.918 GB, free: 54.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/6.826, allocations: 3.75 kB / 1.918 GB, free: 54.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/6.83, allocations: 1.665 MB / 1.919 GB, free: 53.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009886/6.831, allocations: 304.8 kB / 1.92 GB, free: 53.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/6.831, allocations: 29.92 kB / 1.92 GB, free: 53.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/6.833, allocations: 71.12 kB / 1.92 GB, free: 53.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/6.833, allocations: 61.14 kB / 1.92 GB, free: 53.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/6.833, allocations: 56.56 kB / 1.92 GB, free: 53.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001286/6.834, allocations: 0.6665 MB / 1.921 GB, free: 53.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/6.834, allocations: 0 / 1.921 GB, free: 53.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002734/6.837, allocations: 0.596 MB / 1.921 GB, free: 53.58 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.008241/6.845, allocations: 3.681 MB / 1.925 GB, free: 52.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003788/6.849, allocations: 1.37 MB / 1.926 GB, free: 52.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/6.849, allocations: 4.719 kB / 1.926 GB, free: 52.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/6.852, allocations: 0.7762 MB / 1.927 GB, free: 52.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005155/6.857, allocations: 0.593 MB / 1.927 GB, free: 52.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008838/6.866, allocations: 2.659 MB / 1.93 GB, free: 51.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009025/6.867, allocations: 1.196 MB / 1.931 GB, free: 51.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002934/6.869, allocations: 451.7 kB / 1.932 GB, free: 51.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/6.871, allocations: 449.9 kB / 1.932 GB, free: 51.04 MB / 490.7 MB Notification: Performance of SimCode: time 2.795e-06/6.871, allocations: 0 / 1.932 GB, free: 51.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1588/7.03, allocations: 59.36 MB / 1.99 GB, free: 13.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/7.03, allocations: 262.7 kB / 1.99 GB, free: 12.86 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.797/11.83, allocations: 0 / 1.99 GB, free: 12.86 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