Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.436e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3115, allocations: 44.5 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.032/2.344, allocations: 0.7069 GB / 0.9943 GB, free: 49.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/2.344, allocations: 91.17 kB / 0.9943 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866/5.21, allocations: 0.5479 GB / 1.542 GB, free: 66.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/5.21, allocations: 0 / 1.542 GB, free: 66.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.021e-05/5.21, allocations: 17.25 kB / 1.542 GB, free: 66.91 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.002837/5.213, allocations: 0.9526 MB / 1.543 GB, free: 66.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/5.213, allocations: 11.34 kB / 1.543 GB, free: 66.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000974/5.214, allocations: 149.6 kB / 1.543 GB, free: 66.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/5.215, allocations: 483.3 kB / 1.544 GB, free: 66.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/5.215, allocations: 26.06 kB / 1.544 GB, free: 66.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/5.215, allocations: 48.69 kB / 1.544 GB, free: 66.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001811/5.217, allocations: 0.7933 MB / 1.545 GB, free: 66.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/5.219, allocations: 0.8024 MB / 1.545 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/5.219, allocations: 2.406 kB / 1.545 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/5.219, allocations: 0.9688 kB / 1.545 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/5.219, allocations: 17.38 kB / 1.545 GB, free: 66.23 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.007632/5.227, allocations: 3.252 MB / 1.549 GB, free: 64.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/5.228, allocations: 0.591 MB / 1.549 GB, free: 64.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/5.229, allocations: 335.4 kB / 1.55 GB, free: 64.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.702e-05/5.229, allocations: 20.36 kB / 1.55 GB, free: 64.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/5.229, allocations: 49.31 kB / 1.55 GB, free: 64.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 3.837e-06/5.229, allocations: 3.656 kB / 1.55 GB, free: 64.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=71): time 0.01358/5.243, allocations: 3.118 MB / 1.553 GB, free: 64.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/5.243, allocations: 58.66 kB / 1.553 GB, free: 63.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/5.243, allocations: 312.1 kB / 1.553 GB, free: 63.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001894/5.243, allocations: 29.58 kB / 1.553 GB, free: 63.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/5.244, allocations: 339.4 kB / 1.553 GB, free: 63.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000271/5.244, allocations: 249.3 kB / 1.554 GB, free: 63.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/5.244, allocations: 0 / 1.554 GB, free: 63.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.286e-05/5.244, allocations: 340.9 kB / 1.554 GB, free: 63.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008556/5.245, allocations: 420.7 kB / 1.554 GB, free: 63.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/5.246, allocations: 489.2 kB / 1.555 GB, free: 63.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009925/5.247, allocations: 487.7 kB / 1.555 GB, free: 63.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/5.247, allocations: 0 / 1.555 GB, free: 63.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00288/5.25, allocations: 1.261 MB / 1.557 GB, free: 62.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/5.25, allocations: 7.594 kB / 1.557 GB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/5.25, allocations: 0 / 1.557 GB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009593/5.251, allocations: 319.3 kB / 1.557 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/5.253, allocations: 184.7 kB / 1.557 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008094/5.261, allocations: 9.851 MB / 1.567 GB, free: 54.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/5.262, allocations: 71.59 kB / 1.567 GB, free: 54.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/5.262, allocations: 49.27 kB / 1.567 GB, free: 54.05 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.0004613/5.263, allocations: 143.7 kB / 1.567 GB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002593/5.265, allocations: 1.081 MB / 1.568 GB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/5.266, allocations: 46.53 kB / 1.568 GB, free: 53.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/5.269, allocations: 1.22 MB / 1.569 GB, free: 53.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/5.269, allocations: 11.19 kB / 1.569 GB, free: 53.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/5.269, allocations: 5.688 kB / 1.569 GB, free: 53.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002084/5.271, allocations: 1.552 MB / 1.571 GB, free: 52.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/5.275, allocations: 2.1 MB / 1.573 GB, free: 52.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/5.275, allocations: 0 / 1.573 GB, free: 52.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/5.278, allocations: 229.8 kB / 1.573 GB, free: 52.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/5.278, allocations: 70.53 kB / 1.573 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/5.278, allocations: 36.61 kB / 1.573 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/5.279, allocations: 1.41 MB / 1.574 GB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/5.279, allocations: 7.734 kB / 1.574 GB, free: 51.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/5.282, allocations: 1.548 MB / 1.576 GB, free: 50.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/5.283, allocations: 129.2 kB / 1.576 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/5.283, allocations: 18.41 kB / 1.576 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/5.284, allocations: 56.7 kB / 1.576 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/5.284, allocations: 53.42 kB / 1.576 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/5.285, allocations: 67.05 kB / 1.576 GB, free: 50.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003452/5.285, allocations: 241.5 kB / 1.577 GB, free: 50.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/5.285, allocations: 0 / 1.577 GB, free: 50.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002198/5.287, allocations: 383.2 kB / 1.577 GB, free: 50.79 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.006725/5.294, allocations: 3.554 MB / 1.58 GB, free: 49.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00299/5.297, allocations: 1.752 MB / 1.582 GB, free: 48.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/5.297, allocations: 0 / 1.582 GB, free: 48.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/5.298, allocations: 0.6527 MB / 1.583 GB, free: 48.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/5.301, allocations: 308.9 kB / 1.583 GB, free: 48.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/5.308, allocations: 2.08 MB / 1.585 GB, free: 48.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/5.308, allocations: 1.003 MB / 1.586 GB, free: 47.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008262/5.309, allocations: 262.8 kB / 1.586 GB, free: 47.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/5.309, allocations: 0 / 1.586 GB, free: 47.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.579/8.888, allocations: 31.57 MB / 1.617 GB, free: 46.96 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat