Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.092/2.092, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.342e-05, allocations: 0 / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 48.7 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.463/2.575, allocations: 0.8066 GB / 1.115 GB, free: 15.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/2.575, allocations: 92.19 kB / 1.116 GB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.88/6.455, allocations: 0.6976 GB / 1.813 GB, free: 60.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/6.455, allocations: 0 / 1.813 GB, free: 60.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001278/6.455, allocations: 33.48 kB / 1.813 GB, free: 60.12 MB / 442.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.008083/6.463, allocations: 1.564 MB / 1.815 GB, free: 59.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/6.463, allocations: 8.906 kB / 1.815 GB, free: 59.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/6.466, allocations: 303 kB / 1.815 GB, free: 59.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/6.47, allocations: 0.831 MB / 1.816 GB, free: 59.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/6.47, allocations: 103.9 kB / 1.816 GB, free: 59.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003565/6.47, allocations: 63.03 kB / 1.816 GB, free: 59.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004088/6.474, allocations: 1.442 MB / 1.817 GB, free: 59.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005159/6.48, allocations: 1.596 MB / 1.819 GB, free: 59.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.183e-05/6.48, allocations: 9.25 kB / 1.819 GB, free: 59.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/6.48, allocations: 5.359 kB / 1.819 GB, free: 59.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/6.48, allocations: 81.22 kB / 1.819 GB, free: 59.14 MB / 442.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.01573/6.496, allocations: 5.772 MB / 1.825 GB, free: 56.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/6.497, allocations: 0.6232 MB / 1.825 GB, free: 56.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/6.498, allocations: 355.5 kB / 1.826 GB, free: 56.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/6.498, allocations: 23.75 kB / 1.826 GB, free: 56.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/6.498, allocations: 48.5 kB / 1.826 GB, free: 56.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.717e-06/6.498, allocations: 3.828 kB / 1.826 GB, free: 56.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.0222/6.521, allocations: 3.224 MB / 1.829 GB, free: 55.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/6.521, allocations: 110.2 kB / 1.829 GB, free: 55.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/6.523, allocations: 0.5854 MB / 1.83 GB, free: 55.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/6.523, allocations: 29.02 kB / 1.83 GB, free: 55.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007809/6.524, allocations: 0.5775 MB / 1.83 GB, free: 55.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000549/6.524, allocations: 234.9 kB / 1.83 GB, free: 55.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/6.525, allocations: 2.438 kB / 1.83 GB, free: 55.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/6.525, allocations: 399 kB / 1.831 GB, free: 54.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/6.527, allocations: 0.5058 MB / 1.831 GB, free: 54.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/6.529, allocations: 0.8762 MB / 1.832 GB, free: 54.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/6.531, allocations: 0.64 MB / 1.833 GB, free: 54.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-05/6.531, allocations: 2.906 kB / 1.833 GB, free: 54.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.007015/6.538, allocations: 1.744 MB / 1.834 GB, free: 54.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/6.538, allocations: 11.09 kB / 1.834 GB, free: 54.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/6.538, allocations: 11.12 kB / 1.834 GB, free: 54.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/6.549, allocations: 1.172 MB / 1.836 GB, free: 54.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/6.551, allocations: 180.3 kB / 1.836 GB, free: 54.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/6.557, allocations: 1.776 MB / 1.838 GB, free: 53.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/6.56, allocations: 89.81 kB / 1.838 GB, free: 53.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/6.56, allocations: 76.02 kB / 1.838 GB, free: 53.81 MB / 442.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.0005955/6.561, allocations: 148.2 kB / 1.838 GB, free: 53.7 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003806/6.565, allocations: 1.044 MB / 1.839 GB, free: 53.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/6.565, allocations: 83.84 kB / 1.839 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004606/6.57, allocations: 1.223 MB / 1.84 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/6.57, allocations: 7.031 kB / 1.84 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/6.57, allocations: 3.438 kB / 1.84 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/6.57, allocations: 3.844 kB / 1.84 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005657/6.576, allocations: 2.347 MB / 1.842 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/6.576, allocations: 3.125 kB / 1.842 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003326/6.579, allocations: 308.7 kB / 1.843 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/6.579, allocations: 66.92 kB / 1.843 GB, free: 53.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/6.579, allocations: 32.31 kB / 1.843 GB, free: 53.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/6.582, allocations: 2.766 MB / 1.846 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/6.582, allocations: 0 / 1.846 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/6.586, allocations: 1.651 MB / 1.847 GB, free: 50.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/6.587, allocations: 282.2 kB / 1.847 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/6.587, allocations: 17.86 kB / 1.847 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/6.589, allocations: 67.09 kB / 1.847 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/6.589, allocations: 54.55 kB / 1.848 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/6.589, allocations: 60.14 kB / 1.848 GB, free: 50.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007535/6.59, allocations: 447.5 kB / 1.848 GB, free: 50.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/6.59, allocations: 0 / 1.848 GB, free: 50.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002779/6.593, allocations: 0.5495 MB / 1.849 GB, free: 50.18 MB / 442.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.008161/6.601, allocations: 3.852 MB / 1.852 GB, free: 49.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003345/6.604, allocations: 1.321 MB / 1.854 GB, free: 49.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/6.604, allocations: 4.75 kB / 1.854 GB, free: 49.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/6.607, allocations: 0.7724 MB / 1.854 GB, free: 49.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/6.61, allocations: 375 kB / 1.855 GB, free: 49.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00911/6.619, allocations: 2.592 MB / 1.857 GB, free: 48.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009977/6.62, allocations: 1.194 MB / 1.858 GB, free: 47.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002283/6.623, allocations: 358.6 kB / 1.859 GB, free: 47.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/6.624, allocations: 420.4 kB / 1.859 GB, free: 47.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/6.624, allocations: 2.5 kB / 1.859 GB, free: 47.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/6.744, allocations: 40.57 MB / 1.899 GB, free: 46.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/6.745, allocations: 212.2 kB / 1.899 GB, free: 46.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/10.89, allocations: 0 / 1.899 GB, free: 46.11 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat