Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.596e-05, allocations: 0 / 299.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3698, allocations: 54.86 MB / 354.4 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.319/2.689, allocations: 0.8215 GB / 1.168 GB, free: 58.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/2.69, allocations: 93 kB / 1.168 GB, free: 58.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.862/6.552, allocations: 0.7257 GB / 1.893 GB, free: 74.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.943e-06/6.552, allocations: 0 / 1.893 GB, free: 74.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.699e-05/6.552, allocations: 22.31 kB / 1.893 GB, free: 74.3 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004799/6.557, allocations: 1.383 MB / 1.895 GB, free: 73.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/6.557, allocations: 14.61 kB / 1.895 GB, free: 73.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/6.559, allocations: 274.1 kB / 1.895 GB, free: 73.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/6.562, allocations: 0.6891 MB / 1.896 GB, free: 73.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/6.562, allocations: 96.8 kB / 1.896 GB, free: 73.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/6.562, allocations: 40.5 kB / 1.896 GB, free: 73.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002035/6.564, allocations: 0.8577 MB / 1.897 GB, free: 73.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/6.566, allocations: 1.118 MB / 1.898 GB, free: 72.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/6.566, allocations: 5.969 kB / 1.898 GB, free: 72.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/6.567, allocations: 3.938 kB / 1.898 GB, free: 72.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/6.567, allocations: 64.95 kB / 1.898 GB, free: 72.93 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.008771/6.576, allocations: 4.738 MB / 1.902 GB, free: 70.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/6.576, allocations: 237.3 kB / 1.903 GB, free: 70.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/6.576, allocations: 120.7 kB / 1.903 GB, free: 70.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003309/6.577, allocations: 251.1 kB / 1.903 GB, free: 69.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/6.577, allocations: 42.05 kB / 1.903 GB, free: 69.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.825e-06/6.577, allocations: 4.562 kB / 1.903 GB, free: 69.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.008887/6.586, allocations: 1.505 MB / 1.904 GB, free: 69.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/6.586, allocations: 135.4 kB / 1.905 GB, free: 68.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/6.587, allocations: 0.6931 MB / 1.905 GB, free: 68.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.728e-05/6.587, allocations: 29.23 kB / 1.905 GB, free: 68.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/6.588, allocations: 0.5917 MB / 1.906 GB, free: 68.06 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/6.588, allocations: 129.5 kB / 1.906 GB, free: 67.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/6.588, allocations: 0 / 1.906 GB, free: 67.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/6.588, allocations: 392 kB / 1.906 GB, free: 67.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/6.588, allocations: 255 kB / 1.907 GB, free: 67.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/6.589, allocations: 0.8839 MB / 1.907 GB, free: 66.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/6.59, allocations: 448.7 kB / 1.908 GB, free: 66.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/6.59, allocations: 8 kB / 1.908 GB, free: 66.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002611/6.593, allocations: 1.134 MB / 1.909 GB, free: 66.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/6.593, allocations: 23.3 kB / 1.909 GB, free: 66.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/6.593, allocations: 19.97 kB / 1.909 GB, free: 66.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/6.595, allocations: 264.4 kB / 1.909 GB, free: 65.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/6.596, allocations: 239 kB / 1.91 GB, free: 65.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/6.597, allocations: 0.8778 MB / 1.91 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/6.599, allocations: 47.25 kB / 1.91 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/6.599, allocations: 93.38 kB / 1.911 GB, free: 65.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002854/6.599, allocations: 161.1 kB / 1.911 GB, free: 65.14 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009151/6.6, allocations: 370.7 kB / 1.911 GB, free: 64.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/6.601, allocations: 82.78 kB / 1.911 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/6.602, allocations: 439.9 kB / 1.912 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/6.602, allocations: 3.25 kB / 1.912 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/6.602, allocations: 7.797 kB / 1.912 GB, free: 64.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/6.602, allocations: 0 / 1.912 GB, free: 64.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/6.604, allocations: 1.002 MB / 1.913 GB, free: 64.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/6.604, allocations: 0 / 1.913 GB, free: 64.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/6.606, allocations: 187.8 kB / 1.913 GB, free: 64.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/6.606, allocations: 24.56 kB / 1.913 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/6.606, allocations: 0 / 1.913 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/6.608, allocations: 2.58 MB / 1.915 GB, free: 61.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/6.608, allocations: 3.688 kB / 1.915 GB, free: 61.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/6.609, allocations: 0.6353 MB / 1.916 GB, free: 60.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/6.61, allocations: 201.5 kB / 1.916 GB, free: 60.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/6.61, allocations: 0 / 1.916 GB, free: 60.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000816/6.611, allocations: 21.91 kB / 1.916 GB, free: 60.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/6.611, allocations: 23.22 kB / 1.916 GB, free: 60.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/6.611, allocations: 19.39 kB / 1.916 GB, free: 60.53 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009303/6.612, allocations: 0.4945 MB / 1.917 GB, free: 60.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/6.612, allocations: 0 / 1.917 GB, free: 60.09 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002708/6.615, allocations: 472.3 kB / 1.917 GB, free: 59.64 MB / 490.7 MB 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 (32): * Single equations (assignments): 30 * 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.006097/6.621, allocations: 2.707 MB / 1.92 GB, free: 57.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001949/6.623, allocations: 0.6348 MB / 1.92 GB, free: 56.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/6.623, allocations: 0 / 1.92 GB, free: 56.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/6.624, allocations: 333.8 kB / 1.921 GB, free: 56.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/6.627, allocations: 311.3 kB / 1.921 GB, free: 56.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/6.631, allocations: 1.394 MB / 1.922 GB, free: 55.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/6.632, allocations: 1.047 MB / 1.923 GB, free: 54.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002284/6.634, allocations: 368.6 kB / 1.924 GB, free: 54.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007891/6.635, allocations: 333.7 kB / 1.924 GB, free: 53.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/6.635, allocations: 0 / 1.924 GB, free: 53.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/6.744, allocations: 31.98 MB / 1.955 GB, free: 22.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/6.744, allocations: 232.5 kB / 1.955 GB, free: 22.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/10.74, allocations: 0 / 1.955 GB, free: 22.41 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat