Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.016/2.016, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.935e-05/5.936e-05, allocations: 7.938 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3383, allocations: 44.5 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.014/2.352, allocations: 0.7069 GB / 0.9943 GB, free: 49.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/2.353, allocations: 88.19 kB / 0.9944 GB, free: 49.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.088/5.441, allocations: 0.548 GB / 1.542 GB, free: 67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/5.441, allocations: 0 / 1.542 GB, free: 67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.786e-05/5.441, allocations: 15.5 kB / 1.542 GB, free: 67 MB / 410.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.002796/5.444, allocations: 0.9617 MB / 1.543 GB, free: 66.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/5.444, allocations: 7.188 kB / 1.543 GB, free: 66.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/5.445, allocations: 150.1 kB / 1.543 GB, free: 66.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/5.446, allocations: 485.7 kB / 1.544 GB, free: 66.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/5.446, allocations: 22.69 kB / 1.544 GB, free: 66.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/5.446, allocations: 44.94 kB / 1.544 GB, free: 66.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001763/5.448, allocations: 0.7937 MB / 1.545 GB, free: 66.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/5.45, allocations: 0.8076 MB / 1.546 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/5.45, allocations: 0 / 1.546 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/5.45, allocations: 0 / 1.546 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/5.45, allocations: 19.34 kB / 1.546 GB, free: 66.32 MB / 410.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.007901/5.458, allocations: 3.253 MB / 1.549 GB, free: 64.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/5.459, allocations: 0.5949 MB / 1.549 GB, free: 64.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/5.46, allocations: 333.1 kB / 1.55 GB, free: 64.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/5.46, allocations: 15.09 kB / 1.55 GB, free: 64.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/5.46, allocations: 44.03 kB / 1.55 GB, free: 64.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 4.038e-06/5.46, allocations: 2.344 kB / 1.55 GB, free: 64.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.01324/5.473, allocations: 3.129 MB / 1.553 GB, free: 64.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/5.473, allocations: 59.53 kB / 1.553 GB, free: 64.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/5.474, allocations: 309.2 kB / 1.553 GB, free: 63.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/5.474, allocations: 28.86 kB / 1.553 GB, free: 63.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/5.474, allocations: 288 kB / 1.553 GB, free: 63.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/5.474, allocations: 244.2 kB / 1.554 GB, free: 63.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/5.474, allocations: 4.688 kB / 1.554 GB, free: 63.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/5.475, allocations: 354.4 kB / 1.554 GB, free: 63.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008215/5.475, allocations: 421 kB / 1.554 GB, free: 63.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/5.476, allocations: 488.3 kB / 1.555 GB, free: 63.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/5.477, allocations: 483.6 kB / 1.555 GB, free: 63.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/5.477, allocations: 0 / 1.555 GB, free: 63.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002898/5.48, allocations: 1.28 MB / 1.557 GB, free: 63.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/5.48, allocations: 7.094 kB / 1.557 GB, free: 63.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/5.48, allocations: 2.297 kB / 1.557 GB, free: 63.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009479/5.481, allocations: 321 kB / 1.557 GB, free: 63.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/5.483, allocations: 181.4 kB / 1.557 GB, free: 63.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009248/5.492, allocations: 9.853 MB / 1.567 GB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/5.494, allocations: 69.12 kB / 1.567 GB, free: 54.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/5.494, allocations: 49.89 kB / 1.567 GB, free: 54.2 MB / 410.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.0005386/5.495, allocations: 144.4 kB / 1.567 GB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003565/5.498, allocations: 1.085 MB / 1.568 GB, free: 53.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/5.498, allocations: 45.25 kB / 1.568 GB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/5.503, allocations: 1.224 MB / 1.569 GB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/5.503, allocations: 7.281 kB / 1.569 GB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.619e-06/5.503, allocations: 1.781 kB / 1.569 GB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003057/5.506, allocations: 1.555 MB / 1.571 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/5.512, allocations: 2.103 MB / 1.573 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/5.512, allocations: 0 / 1.573 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002881/5.515, allocations: 224.8 kB / 1.573 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/5.516, allocations: 73.75 kB / 1.573 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/5.516, allocations: 27.97 kB / 1.573 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/5.518, allocations: 1.416 MB / 1.574 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/5.518, allocations: 0 / 1.574 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/5.522, allocations: 1.54 MB / 1.576 GB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/5.522, allocations: 129.7 kB / 1.576 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/5.523, allocations: 13.56 kB / 1.576 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/5.525, allocations: 62.06 kB / 1.576 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/5.525, allocations: 61.11 kB / 1.576 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/5.525, allocations: 60.73 kB / 1.576 GB, free: 51.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004561/5.526, allocations: 245.5 kB / 1.577 GB, free: 50.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/5.526, allocations: 3.656 kB / 1.577 GB, free: 50.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002872/5.529, allocations: 384.4 kB / 1.577 GB, free: 50.94 MB / 410.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.009289/5.538, allocations: 3.556 MB / 1.58 GB, free: 49.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0039/5.542, allocations: 1.75 MB / 1.582 GB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/5.542, allocations: 2.094 kB / 1.582 GB, free: 49.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/5.544, allocations: 0.6523 MB / 1.583 GB, free: 49.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003835/5.548, allocations: 309.4 kB / 1.583 GB, free: 49.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/5.556, allocations: 2.026 MB / 1.585 GB, free: 48.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009066/5.557, allocations: 0.9948 MB / 1.586 GB, free: 47.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002071/5.559, allocations: 241.5 kB / 1.586 GB, free: 47.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009708/5.56, allocations: 263.8 kB / 1.586 GB, free: 47.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.303e-06/5.56, allocations: 0 / 1.586 GB, free: 47.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09726/5.657, allocations: 31.52 MB / 1.617 GB, free: 46.85 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/5.658, allocations: 168.8 kB / 1.617 GB, free: 46.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.047/9.705, allocations: 4 kB / 1.617 GB, free: 46.66 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat