Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.706e-05/3.711e-05, allocations: 0 / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 61.9 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.795/1.93, allocations: 0.5099 GB / 0.9107 GB, free: 103 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/1.93, allocations: 98.55 kB / 0.9108 GB, free: 103 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.035/2.965, allocations: 203.6 MB / 1.11 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/2.965, allocations: 0 / 1.11 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.101e-05/2.966, allocations: 15.91 kB / 1.11 GB, free: 113.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003154/2.969, allocations: 1.038 MB / 1.111 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/2.969, allocations: 12.03 kB / 1.111 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/2.969, allocations: 90.52 kB / 1.111 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/2.97, allocations: 135.1 kB / 1.111 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/2.972, allocations: 0.5401 MB / 1.111 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/2.972, allocations: 108.2 kB / 1.111 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/2.972, allocations: 48 kB / 1.112 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/2.974, allocations: 0.7938 MB / 1.112 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/2.974, allocations: 7.938 kB / 1.112 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/2.974, allocations: 27.75 kB / 1.112 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.984e-05/2.974, allocations: 36.98 kB / 1.112 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/2.975, allocations: 0.5836 MB / 1.113 GB, free: 110.2 MB / 0.5261 GB 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.005769/2.981, allocations: 3.939 MB / 1.117 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/2.982, allocations: 319.4 kB / 1.117 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/2.982, allocations: 165.3 kB / 1.117 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/2.982, allocations: 93.3 kB / 1.117 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/2.982, allocations: 38.83 kB / 1.117 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 3.015e-06/2.982, allocations: 0 / 1.117 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.00834/2.991, allocations: 1.522 MB / 1.119 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/2.991, allocations: 136.5 kB / 1.119 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/2.992, allocations: 0.5268 MB / 1.12 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/2.992, allocations: 41.64 kB / 1.12 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/2.992, allocations: 362.5 kB / 1.12 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/2.992, allocations: 149.8 kB / 1.12 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/2.992, allocations: 16 kB / 1.12 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001159/2.992, allocations: 374.8 kB / 1.12 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/2.993, allocations: 185.5 kB / 1.121 GB, free: 102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/2.994, allocations: 0.4932 MB / 1.121 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006713/2.994, allocations: 299.9 kB / 1.121 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/2.994, allocations: 4 kB / 1.121 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001931/2.996, allocations: 0.8289 MB / 1.122 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/2.996, allocations: 12.75 kB / 1.122 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/2.996, allocations: 12 kB / 1.122 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/2.998, allocations: 312.7 kB / 1.122 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/2.999, allocations: 123.8 kB / 1.123 GB, free: 99.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/3.001, allocations: 0.9188 MB / 1.124 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/3.002, allocations: 51.97 kB / 1.124 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/3.002, allocations: 71.98 kB / 1.124 GB, free: 98.71 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002549/3.002, allocations: 148.7 kB / 1.124 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/3.002, allocations: 71.16 kB / 1.124 GB, free: 98.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/3.005, allocations: 0.8538 MB / 1.125 GB, free: 97.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/3.005, allocations: 4 kB / 1.125 GB, free: 97.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/3.005, allocations: 0 / 1.125 GB, free: 97.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/3.005, allocations: 0 / 1.125 GB, free: 97.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/3.007, allocations: 1.433 MB / 1.126 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/3.007, allocations: 4 kB / 1.126 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/3.009, allocations: 211.9 kB / 1.126 GB, free: 95.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/3.01, allocations: 24.84 kB / 1.126 GB, free: 95.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/3.01, allocations: 16 kB / 1.126 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/3.012, allocations: 2.683 MB / 1.129 GB, free: 92.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/3.012, allocations: 4.031 kB / 1.129 GB, free: 92.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/3.013, allocations: 0.8664 MB / 1.13 GB, free: 91.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/3.014, allocations: 184.2 kB / 1.13 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/3.014, allocations: 11.95 kB / 1.13 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008094/3.015, allocations: 31.97 kB / 1.13 GB, free: 91.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/3.015, allocations: 44.02 kB / 1.13 GB, free: 91.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-05/3.015, allocations: 47.92 kB / 1.13 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007422/3.016, allocations: 419.2 kB / 1.13 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.3e-07/3.016, allocations: 0 / 1.13 GB, free: 91.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001938/3.018, allocations: 327.8 kB / 1.131 GB, free: 90.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * 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.004242/3.022, allocations: 2.674 MB / 1.133 GB, free: 88.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0017/3.024, allocations: 0.5116 MB / 1.134 GB, free: 87.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/3.024, allocations: 3.859 kB / 1.134 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/3.025, allocations: 394.3 kB / 1.134 GB, free: 87.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/3.028, allocations: 335 kB / 1.135 GB, free: 87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/3.032, allocations: 1.142 MB / 1.136 GB, free: 85.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/3.032, allocations: 0.9455 MB / 1.137 GB, free: 84.83 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002009/3.034, allocations: 458.4 kB / 1.137 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/3.035, allocations: 283.3 kB / 1.137 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/3.035, allocations: 0 / 1.137 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1089/3.144, allocations: 37.25 MB / 1.174 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002949/3.144, allocations: 260.8 kB / 1.174 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.125/7.27, allocations: 4 kB / 1.174 GB, free: 46.76 MB / 0.5261 GB