Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9952/0.9952, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.063e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1708, allocations: 25.15 MB / 176.6 MB, free: 15.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.878/2.049, allocations: 0.6612 GB / 0.8337 GB, free: 32.64 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/2.05, allocations: 63.59 kB / 0.8338 GB, free: 32.61 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3279/2.377, allocations: 42.79 MB / 0.8756 GB, free: 61.29 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.563e-06/2.377, allocations: 0 / 0.8756 GB, free: 61.29 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/2.377, allocations: 3.969 kB / 0.8756 GB, free: 61.29 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001082/2.379, allocations: 0.5063 MB / 0.8761 GB, free: 60.88 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/2.379, allocations: 9.781 kB / 0.8761 GB, free: 60.88 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/2.379, allocations: 55.19 kB / 0.8762 GB, free: 60.84 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.699e-05/2.379, allocations: 22.97 kB / 0.8762 GB, free: 60.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/2.379, allocations: 219.8 kB / 0.8764 GB, free: 60.64 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/2.379, allocations: 14.5 kB / 0.8764 GB, free: 60.64 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/2.379, allocations: 18.19 kB / 0.8764 GB, free: 60.64 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/2.38, allocations: 332.1 kB / 0.8767 GB, free: 60.59 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/2.38, allocations: 0 / 0.8767 GB, free: 60.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/2.38, allocations: 6.938 kB / 0.8767 GB, free: 60.59 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/2.38, allocations: 8.25 kB / 0.8767 GB, free: 60.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/2.381, allocations: 442.6 kB / 0.8772 GB, free: 60.59 MB / 234.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.002429/2.383, allocations: 1.189 MB / 0.8783 GB, free: 59.85 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/2.384, allocations: 283.8 kB / 0.8786 GB, free: 59.8 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/2.384, allocations: 126.9 kB / 0.8787 GB, free: 59.78 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003652/2.388, allocations: 2.148 MB / 0.8808 GB, free: 57.84 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/2.388, allocations: 39.59 kB / 0.8809 GB, free: 57.8 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.915e-06/2.388, allocations: 0 / 0.8809 GB, free: 57.8 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007305/2.389, allocations: 236.2 kB / 0.8811 GB, free: 57.77 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/2.389, allocations: 82.89 kB / 0.8812 GB, free: 57.68 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/2.389, allocations: 108 kB / 0.8813 GB, free: 57.59 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/2.389, allocations: 38.64 kB / 0.8813 GB, free: 57.55 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/2.389, allocations: 182.7 kB / 0.8815 GB, free: 57.39 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/2.389, allocations: 101.6 kB / 0.8816 GB, free: 57.34 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/2.389, allocations: 2.688 kB / 0.8816 GB, free: 57.34 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.877e-05/2.389, allocations: 327.1 kB / 0.8819 GB, free: 57.02 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/2.389, allocations: 77.31 kB / 0.882 GB, free: 57.01 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/2.39, allocations: 161.4 kB / 0.8821 GB, free: 56.92 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/2.39, allocations: 97.08 kB / 0.8822 GB, free: 56.92 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.39, allocations: 4.438 kB / 0.8822 GB, free: 56.92 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007588/2.391, allocations: 308.5 kB / 0.8825 GB, free: 56.88 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/2.391, allocations: 10.91 kB / 0.8825 GB, free: 56.88 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/2.391, allocations: 3.812 kB / 0.8825 GB, free: 56.88 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/2.391, allocations: 7.094 kB / 0.8825 GB, free: 56.88 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/2.391, allocations: 72.81 kB / 0.8826 GB, free: 56.88 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/2.391, allocations: 10.72 kB / 0.8826 GB, free: 56.88 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/2.391, allocations: 31.27 kB / 0.8826 GB, free: 56.87 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.061e-05/2.392, allocations: 20.5 kB / 0.8827 GB, free: 56.87 MB / 234.7 MB Warning: Assuming fixed start value for the following 6 variables: medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.8 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 200.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003562/2.392, allocations: 189.6 kB / 0.8828 GB, free: 56.75 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/2.392, allocations: 16.69 kB / 0.8829 GB, free: 56.75 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/2.393, allocations: 346 kB / 0.8832 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/2.393, allocations: 6.719 kB / 0.8832 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/2.393, allocations: 2.719 kB / 0.8832 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/2.393, allocations: 0 / 0.8832 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/2.394, allocations: 322.2 kB / 0.8835 GB, free: 56.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/2.394, allocations: 0 / 0.8835 GB, free: 56.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/2.395, allocations: 56.88 kB / 0.8836 GB, free: 56.48 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/2.395, allocations: 3.625 kB / 0.8836 GB, free: 56.48 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/2.395, allocations: 9.766 kB / 0.8836 GB, free: 56.48 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/2.395, allocations: 8.75 kB / 0.8836 GB, free: 56.48 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.395, allocations: 0 / 0.8836 GB, free: 56.48 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/2.396, allocations: 0.4976 MB / 0.8841 GB, free: 56.25 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/2.396, allocations: 138.3 kB / 0.8842 GB, free: 56.15 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/2.396, allocations: 5.875 kB / 0.8842 GB, free: 56.15 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/2.396, allocations: 10.25 kB / 0.8842 GB, free: 56.15 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/2.396, allocations: 27.58 kB / 0.8842 GB, free: 56.15 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/2.397, allocations: 25.95 kB / 0.8843 GB, free: 56.14 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.592e-05/2.397, allocations: 89.62 kB / 0.8843 GB, free: 56.07 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.397, allocations: 0 / 0.8843 GB, free: 56.07 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001508/2.398, allocations: 276 kB / 0.8846 GB, free: 56.04 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003258/2.401, allocations: 1.832 MB / 0.8864 GB, free: 55.13 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000641/2.402, allocations: 240.8 kB / 0.8866 GB, free: 55.13 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/2.402, allocations: 0 / 0.8866 GB, free: 55.13 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/2.402, allocations: 120.4 kB / 0.8867 GB, free: 55.13 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/2.403, allocations: 84.66 kB / 0.8868 GB, free: 55.12 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/2.405, allocations: 0.7844 MB / 0.8876 GB, free: 54.67 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/2.406, allocations: 0.7325 MB / 0.8883 GB, free: 53.98 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/2.406, allocations: 75.61 kB / 0.8884 GB, free: 53.96 MB / 234.7 MB Notification: Performance of SimCode: time 1.603e-06/2.406, allocations: 0 / 0.8884 GB, free: 53.96 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.846/5.252, allocations: 10.14 MB / 0.8983 GB, free: 52.78 MB / 234.7 MB