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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadModel(Modelica): time 1.579/1.579, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.026e-05, allocations: 4 kB / 225 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2137, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.274, allocations: 428.1 MB / 0.6756 GB, free: 116.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.275, allocations: 87.94 kB / 0.6757 GB, free: 116.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5992/1.874, allocations: 143 MB / 0.8154 GB, free: 86.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.328e-06/1.874, allocations: 0 / 0.8154 GB, free: 86.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/1.874, allocations: 3.906 kB / 0.8154 GB, free: 86.88 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.0009611/1.875, allocations: 0.5877 MB / 0.816 GB, free: 86.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/1.875, allocations: 11.22 kB / 0.816 GB, free: 86.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/1.875, allocations: 41.36 kB / 0.816 GB, free: 86.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/1.876, allocations: 287.4 kB / 0.8163 GB, free: 86.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.876, allocations: 22.31 kB / 0.8163 GB, free: 86.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/1.876, allocations: 23.03 kB / 0.8164 GB, free: 86.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/1.876, allocations: 302.7 kB / 0.8166 GB, free: 86.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/1.876, allocations: 3.875 kB / 0.8166 GB, free: 86.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/1.876, allocations: 12.12 kB / 0.8167 GB, free: 86.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-06/1.876, allocations: 7.188 kB / 0.8167 GB, free: 86.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/1.877, allocations: 201.4 kB / 0.8169 GB, free: 86.16 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.001791/1.879, allocations: 1.58 MB / 0.8184 GB, free: 84.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/1.879, allocations: 159.1 kB / 0.8185 GB, free: 84.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/1.879, allocations: 94.69 kB / 0.8186 GB, free: 84.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/1.879, allocations: 7.469 kB / 0.8186 GB, free: 84.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/1.879, allocations: 41.41 kB / 0.8187 GB, free: 84.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.109e-06/1.879, allocations: 0 / 0.8187 GB, free: 84.91 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.005988/1.885, allocations: 1.23 MB / 0.8199 GB, free: 84.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/1.885, allocations: 63.28 kB / 0.8199 GB, free: 84.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/1.886, allocations: 227.1 kB / 0.8202 GB, free: 84.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/1.886, allocations: 32.14 kB / 0.8202 GB, free: 84.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/1.886, allocations: 236.3 kB / 0.8204 GB, free: 84.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/1.886, allocations: 96.48 kB / 0.8205 GB, free: 84.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/1.886, allocations: 10.94 kB / 0.8205 GB, free: 84.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/1.886, allocations: 328.5 kB / 0.8208 GB, free: 83.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/1.886, allocations: 84.25 kB / 0.8209 GB, free: 83.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/1.886, allocations: 180.2 kB / 0.8211 GB, free: 83.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/1.887, allocations: 125.7 kB / 0.8212 GB, free: 83.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-06/1.887, allocations: 0 / 0.8212 GB, free: 83.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000833/1.888, allocations: 365.1 kB / 0.8216 GB, free: 83.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.888, allocations: 7.5 kB / 0.8216 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.932e-06/1.888, allocations: 6.531 kB / 0.8216 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/1.888, allocations: 68.78 kB / 0.8216 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/1.888, allocations: 87.28 kB / 0.8217 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/1.89, allocations: 1.852 MB / 0.8235 GB, free: 81.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/1.89, allocations: 26 kB / 0.8236 GB, free: 81.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/1.89, allocations: 34.97 kB / 0.8236 GB, free: 81.8 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.0001264/1.89, allocations: 127.2 kB / 0.8237 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/1.89, allocations: 31.33 kB / 0.8237 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/1.892, allocations: 436.6 kB / 0.8242 GB, free: 81.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-06/1.892, allocations: 0 / 0.8242 GB, free: 81.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.892, allocations: 3.469 kB / 0.8242 GB, free: 81.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005574/1.892, allocations: 0.5563 MB / 0.8247 GB, free: 81.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/1.893, allocations: 0.7185 MB / 0.8254 GB, free: 80.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/1.893, allocations: 3.938 kB / 0.8254 GB, free: 80.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/1.894, allocations: 67.89 kB / 0.8255 GB, free: 80.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/1.894, allocations: 34.28 kB / 0.8255 GB, free: 80.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/1.894, allocations: 11.47 kB / 0.8255 GB, free: 80.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007932/1.895, allocations: 1.278 MB / 0.8268 GB, free: 79.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.895, allocations: 0 / 0.8268 GB, free: 79.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/1.896, allocations: 495.3 kB / 0.8272 GB, free: 79.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/1.896, allocations: 100.2 kB / 0.8273 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/1.896, allocations: 9.938 kB / 0.8273 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/1.896, allocations: 15.95 kB / 0.8274 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/1.896, allocations: 26 kB / 0.8274 GB, free: 79.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/1.896, allocations: 31.2 kB / 0.8274 GB, free: 79.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002379/1.897, allocations: 190.9 kB / 0.8276 GB, free: 79.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.74e-07/1.897, allocations: 0 / 0.8276 GB, free: 79.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008891/1.898, allocations: 188 kB / 0.8278 GB, free: 79.14 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.001182/1.899, allocations: 0.7716 MB / 0.8285 GB, free: 78.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007767/1.9, allocations: 358.6 kB / 0.8289 GB, free: 78.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.651e-06/1.9, allocations: 0 / 0.8289 GB, free: 78.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/1.9, allocations: 221.5 kB / 0.8291 GB, free: 78.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.901, allocations: 158.7 kB / 0.8292 GB, free: 78.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/1.902, allocations: 0.5161 MB / 0.8297 GB, free: 78.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/1.903, allocations: 0.7772 MB / 0.8305 GB, free: 77.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/1.903, allocations: 70.73 kB / 0.8306 GB, free: 77.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.731e-06/1.903, allocations: 3 kB / 0.8306 GB, free: 77.85 MB / 362.7 MB Notification: Performance of Templates: time 0.01819/1.921, allocations: 11.6 MB / 0.8419 GB, free: 77.17 MB / 362.7 MB