Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.385e-05/4.407e-05, allocations: 0 / 225 MB, free: 2.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 38.77 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.321, allocations: 428.1 MB / 0.6757 GB, free: 116.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.322, allocations: 79.94 kB / 0.6757 GB, free: 116.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6108/1.933, allocations: 143 MB / 0.8154 GB, free: 87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.956e-06/1.933, allocations: 0 / 0.8154 GB, free: 87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.202e-05/1.933, allocations: 4.812 kB / 0.8154 GB, free: 87 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009448/1.934, allocations: 0.5947 MB / 0.816 GB, free: 86.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.934, allocations: 9.875 kB / 0.816 GB, free: 86.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/1.934, allocations: 42.8 kB / 0.8161 GB, free: 86.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/1.934, allocations: 284.8 kB / 0.8163 GB, free: 86.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/1.935, allocations: 16.09 kB / 0.8163 GB, free: 86.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/1.935, allocations: 26.72 kB / 0.8164 GB, free: 86.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/1.935, allocations: 310.6 kB / 0.8167 GB, free: 86.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/1.935, allocations: 0.75 kB / 0.8167 GB, free: 86.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/1.935, allocations: 13.97 kB / 0.8167 GB, free: 86.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.77e-06/1.935, allocations: 7.875 kB / 0.8167 GB, free: 86.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/1.936, allocations: 192.6 kB / 0.8169 GB, free: 86.28 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.001949/1.938, allocations: 1.584 MB / 0.8184 GB, free: 85.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/1.938, allocations: 156.3 kB / 0.8186 GB, free: 85.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/1.938, allocations: 104.1 kB / 0.8187 GB, free: 85.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/1.938, allocations: 4.031 kB / 0.8187 GB, free: 85.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/1.938, allocations: 37.06 kB / 0.8187 GB, free: 85.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.984e-06/1.938, allocations: 3.562 kB / 0.8187 GB, free: 85.03 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005548/1.944, allocations: 1.231 MB / 0.8199 GB, free: 84.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/1.944, allocations: 66.91 kB / 0.82 GB, free: 84.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/1.944, allocations: 227.1 kB / 0.8202 GB, free: 84.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/1.944, allocations: 32.11 kB / 0.8202 GB, free: 84.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.944, allocations: 168.7 kB / 0.8204 GB, free: 84.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/1.945, allocations: 103.9 kB / 0.8205 GB, free: 84.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/1.945, allocations: 11.23 kB / 0.8205 GB, free: 84.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.309e-05/1.945, allocations: 335.8 kB / 0.8208 GB, free: 83.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/1.945, allocations: 90.48 kB / 0.8209 GB, free: 83.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/1.945, allocations: 177.7 kB / 0.8211 GB, free: 83.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/1.945, allocations: 120.6 kB / 0.8212 GB, free: 83.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.945, allocations: 0 / 0.8212 GB, free: 83.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008646/1.946, allocations: 378.1 kB / 0.8215 GB, free: 83.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.946, allocations: 7.156 kB / 0.8216 GB, free: 83.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.17e-06/1.946, allocations: 6.406 kB / 0.8216 GB, free: 83.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002685/1.947, allocations: 71.2 kB / 0.8216 GB, free: 83.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/1.947, allocations: 82.22 kB / 0.8217 GB, free: 83.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/1.948, allocations: 1.848 MB / 0.8235 GB, free: 81.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/1.949, allocations: 24.88 kB / 0.8235 GB, free: 81.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/1.949, allocations: 42.84 kB / 0.8236 GB, free: 81.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001313/1.949, allocations: 122.2 kB / 0.8237 GB, free: 81.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/1.949, allocations: 33.3 kB / 0.8237 GB, free: 81.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.95, allocations: 438.1 kB / 0.8241 GB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.69e-06/1.95, allocations: 3.219 kB / 0.8241 GB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.518e-06/1.95, allocations: 3.797 kB / 0.8241 GB, free: 81.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005672/1.951, allocations: 0.5493 MB / 0.8247 GB, free: 81.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/1.952, allocations: 0.7227 MB / 0.8254 GB, free: 80.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.135e-06/1.952, allocations: 3.75 kB / 0.8254 GB, free: 80.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/1.953, allocations: 73.77 kB / 0.8255 GB, free: 80.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/1.953, allocations: 27.84 kB / 0.8255 GB, free: 80.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/1.953, allocations: 14.5 kB / 0.8255 GB, free: 80.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000806/1.954, allocations: 1.279 MB / 0.8268 GB, free: 79.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.643e-06/1.954, allocations: 0 / 0.8268 GB, free: 79.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/1.955, allocations: 489.7 kB / 0.8272 GB, free: 79.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.955, allocations: 112.2 kB / 0.8273 GB, free: 79.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/1.955, allocations: 6.031 kB / 0.8273 GB, free: 79.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/1.955, allocations: 10.19 kB / 0.8273 GB, free: 79.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/1.955, allocations: 31.53 kB / 0.8274 GB, free: 79.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/1.955, allocations: 28.03 kB / 0.8274 GB, free: 79.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002251/1.956, allocations: 196.4 kB / 0.8276 GB, free: 79.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.5e-07/1.956, allocations: 0 / 0.8276 GB, free: 79.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009254/1.957, allocations: 183.7 kB / 0.8278 GB, free: 79.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001231/1.958, allocations: 0.7851 MB / 0.8285 GB, free: 79.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007733/1.959, allocations: 351 kB / 0.8289 GB, free: 79.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.227e-06/1.959, allocations: 7.75 kB / 0.8289 GB, free: 79.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/1.959, allocations: 212.6 kB / 0.8291 GB, free: 78.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.96, allocations: 154.6 kB / 0.8292 GB, free: 78.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.961, allocations: 494.6 kB / 0.8297 GB, free: 78.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.961, allocations: 0.7721 MB / 0.8304 GB, free: 78.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008501/1.962, allocations: 115.9 kB / 0.8306 GB, free: 78.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/1.963, allocations: 65.41 kB / 0.8306 GB, free: 78.06 MB / 362.7 MB Notification: Performance of SimCode: time 2.641e-06/1.963, allocations: 0 / 0.8306 GB, free: 78.06 MB / 362.7 MB Notification: Performance of Templates: time 0.04313/2.006, allocations: 19.86 MB / 0.85 GB, free: 74.18 MB / 362.7 MB