Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.404e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 38.76 MB / 258.4 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.18/2.464, allocations: 0.6948 GB / 0.9471 GB, free: 101.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/2.465, allocations: 89.19 kB / 0.9471 GB, free: 101.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.104/5.568, allocations: 0.5439 GB / 1.491 GB, free: 62.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/5.568, allocations: 0 / 1.491 GB, free: 62.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.516e-05/5.568, allocations: 22.91 kB / 1.491 GB, free: 62.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003154/5.572, allocations: 0.9625 MB / 1.492 GB, free: 62.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/5.572, allocations: 7.562 kB / 1.492 GB, free: 62.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/5.573, allocations: 144.6 kB / 1.492 GB, free: 62.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/5.574, allocations: 476.9 kB / 1.493 GB, free: 61.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/5.574, allocations: 30.05 kB / 1.493 GB, free: 61.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/5.574, allocations: 46.91 kB / 1.493 GB, free: 61.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001804/5.576, allocations: 0.7975 MB / 1.493 GB, free: 61.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/5.578, allocations: 0.8009 MB / 1.494 GB, free: 61.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/5.578, allocations: 5.188 kB / 1.494 GB, free: 61.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/5.579, allocations: 3.844 kB / 1.494 GB, free: 61.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/5.579, allocations: 16.47 kB / 1.494 GB, free: 61.76 MB / 362.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.007115/5.586, allocations: 2.856 MB / 1.497 GB, free: 60.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/5.587, allocations: 0.5877 MB / 1.498 GB, free: 60.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/5.587, allocations: 341.6 kB / 1.498 GB, free: 60.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.929e-05/5.588, allocations: 19.39 kB / 1.498 GB, free: 60.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/5.588, allocations: 46.72 kB / 1.498 GB, free: 60.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.017e-06/5.588, allocations: 0 / 1.498 GB, free: 60.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.01354/5.601, allocations: 3.061 MB / 1.501 GB, free: 59.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/5.601, allocations: 59.81 kB / 1.501 GB, free: 59.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005232/5.602, allocations: 306.8 kB / 1.501 GB, free: 59.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/5.602, allocations: 36.58 kB / 1.501 GB, free: 59.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/5.602, allocations: 289.4 kB / 1.502 GB, free: 59.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/5.602, allocations: 246.1 kB / 1.502 GB, free: 59.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/5.603, allocations: 0 / 1.502 GB, free: 59.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.722e-05/5.603, allocations: 354 kB / 1.502 GB, free: 59.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008275/5.604, allocations: 419 kB / 1.503 GB, free: 59.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008978/5.604, allocations: 492.3 kB / 1.503 GB, free: 59.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/5.606, allocations: 483.9 kB / 1.504 GB, free: 59.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/5.606, allocations: 0 / 1.504 GB, free: 59.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002909/5.608, allocations: 1.271 MB / 1.505 GB, free: 58.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/5.609, allocations: 7.281 kB / 1.505 GB, free: 58.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/5.609, allocations: 0.625 kB / 1.505 GB, free: 58.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009707/5.61, allocations: 322 kB / 1.505 GB, free: 58.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/5.611, allocations: 184.8 kB / 1.505 GB, free: 58.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/5.619, allocations: 9.833 MB / 1.515 GB, free: 50.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/5.62, allocations: 70.06 kB / 1.515 GB, free: 50.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/5.62, allocations: 46.53 kB / 1.515 GB, free: 50.03 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[2]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[3]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[4]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[5]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[6]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004314/5.621, allocations: 142.8 kB / 1.515 GB, free: 49.92 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002604/5.623, allocations: 1.095 MB / 1.516 GB, free: 49.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/5.624, allocations: 48.94 kB / 1.516 GB, free: 49.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/5.627, allocations: 1.22 MB / 1.517 GB, free: 49.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/5.627, allocations: 11.38 kB / 1.518 GB, free: 49.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/5.627, allocations: 5.469 kB / 1.518 GB, free: 49.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002135/5.629, allocations: 1.553 MB / 1.519 GB, free: 48.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/5.634, allocations: 2.106 MB / 1.521 GB, free: 48.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/5.634, allocations: 0 / 1.521 GB, free: 48.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/5.636, allocations: 229.5 kB / 1.521 GB, free: 48.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002884/5.636, allocations: 62.02 kB / 1.521 GB, free: 48.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/5.637, allocations: 33.67 kB / 1.521 GB, free: 48.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/5.638, allocations: 1.421 MB / 1.523 GB, free: 47.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/5.638, allocations: 0 / 1.523 GB, free: 47.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/5.641, allocations: 1.537 MB / 1.524 GB, free: 46.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/5.641, allocations: 130.9 kB / 1.524 GB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/5.642, allocations: 20.19 kB / 1.524 GB, free: 46.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/5.643, allocations: 64.95 kB / 1.524 GB, free: 46.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/5.643, allocations: 60.09 kB / 1.525 GB, free: 46.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/5.643, allocations: 59.41 kB / 1.525 GB, free: 46.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003356/5.644, allocations: 248.2 kB / 1.525 GB, free: 46.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/5.644, allocations: 0 / 1.525 GB, free: 46.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002276/5.646, allocations: 378 kB / 1.525 GB, free: 46.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.006715/5.653, allocations: 3.549 MB / 1.529 GB, free: 45.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002979/5.656, allocations: 1.744 MB / 1.53 GB, free: 44.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/5.656, allocations: 3.312 kB / 1.53 GB, free: 44.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001338/5.657, allocations: 0.6569 MB / 1.531 GB, free: 44.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/5.66, allocations: 303.7 kB / 1.531 GB, free: 44.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006754/5.667, allocations: 2.017 MB / 1.533 GB, free: 44.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/5.668, allocations: 0.9953 MB / 1.534 GB, free: 43.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001572/5.669, allocations: 244.3 kB / 1.534 GB, free: 43.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/5.67, allocations: 264.8 kB / 1.535 GB, free: 43.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/5.67, allocations: 0 / 1.535 GB, free: 43.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/5.777, allocations: 31.43 MB / 1.565 GB, free: 42.58 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/5.777, allocations: 161.5 kB / 1.566 GB, free: 42.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.08/9.857, allocations: 0 / 1.566 GB, free: 42.39 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat