Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.601/1.601, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.957e-05, allocations: 0 / 225 MB, free: 2.355 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2962, allocations: 38.78 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.406, allocations: 441.3 MB / 0.6886 GB, free: 87.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/1.406, allocations: 68.97 kB / 0.6886 GB, free: 87.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09177/1.498, allocations: 29.72 MB / 0.7176 GB, free: 62.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.528e-06/1.498, allocations: 0 / 0.7176 GB, free: 62.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/1.498, allocations: 0 / 0.7176 GB, free: 62.62 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003745/1.499, allocations: 382 kB / 0.718 GB, free: 62.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.499, allocations: 8.031 kB / 0.718 GB, free: 62.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/1.501, allocations: 186.2 kB / 0.7182 GB, free: 62.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/1.501, allocations: 209.9 kB / 0.7184 GB, free: 61.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.501, allocations: 7.562 kB / 0.7184 GB, free: 61.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/1.501, allocations: 11.92 kB / 0.7184 GB, free: 61.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/1.502, allocations: 207.8 kB / 0.7186 GB, free: 61.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.502, allocations: 0 / 0.7186 GB, free: 61.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/1.502, allocations: 0 / 0.7186 GB, free: 61.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-06/1.502, allocations: 8 kB / 0.7186 GB, free: 61.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/1.502, allocations: 153 kB / 0.7188 GB, free: 61.53 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.0009954/1.503, allocations: 0.5761 MB / 0.7193 GB, free: 60.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/1.503, allocations: 137.2 kB / 0.7195 GB, free: 60.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/1.504, allocations: 63.98 kB / 0.7195 GB, free: 60.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/1.504, allocations: 4 kB / 0.7195 GB, free: 60.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/1.504, allocations: 34.44 kB / 0.7196 GB, free: 60.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.429e-06/1.504, allocations: 0 / 0.7196 GB, free: 60.76 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004969/1.509, allocations: 1.091 MB / 0.7206 GB, free: 59.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/1.509, allocations: 55.41 kB / 0.7207 GB, free: 59.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/1.509, allocations: 100.8 kB / 0.7208 GB, free: 59.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/1.509, allocations: 33.45 kB / 0.7208 GB, free: 59.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/1.509, allocations: 91.97 kB / 0.7209 GB, free: 59.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/1.509, allocations: 66.52 kB / 0.721 GB, free: 59.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/1.509, allocations: 7.938 kB / 0.721 GB, free: 59.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.713e-05/1.509, allocations: 322.7 kB / 0.7213 GB, free: 59.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/1.509, allocations: 63.23 kB / 0.7213 GB, free: 59.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/1.509, allocations: 100.3 kB / 0.7214 GB, free: 58.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/1.51, allocations: 70.41 kB / 0.7215 GB, free: 58.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-06/1.51, allocations: 4 kB / 0.7215 GB, free: 58.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005258/1.51, allocations: 250 kB / 0.7217 GB, free: 58.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.51, allocations: 4 kB / 0.7217 GB, free: 58.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.299e-06/1.51, allocations: 4.094 kB / 0.7217 GB, free: 58.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/1.51, allocations: 48.7 kB / 0.7218 GB, free: 58.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/1.511, allocations: 51.22 kB / 0.7218 GB, free: 58.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003837/1.511, allocations: 0.5692 MB / 0.7224 GB, free: 58.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/1.512, allocations: 15.69 kB / 0.7224 GB, free: 58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/1.512, allocations: 32.08 kB / 0.7224 GB, free: 57.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.624e-05/1.512, allocations: 120.1 kB / 0.7226 GB, free: 57.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/1.512, allocations: 11.84 kB / 0.7226 GB, free: 57.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009394/1.513, allocations: 332.8 kB / 0.7229 GB, free: 57.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-06/1.513, allocations: 0 / 0.7229 GB, free: 57.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.513, allocations: 4 kB / 0.7229 GB, free: 57.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.957e-06/1.513, allocations: 0 / 0.7229 GB, free: 57.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/1.514, allocations: 0.6078 MB / 0.7235 GB, free: 56.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.572e-06/1.514, allocations: 4 kB / 0.7235 GB, free: 56.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/1.514, allocations: 55.95 kB / 0.7235 GB, free: 56.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.73e-05/1.514, allocations: 24.34 kB / 0.7236 GB, free: 56.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/1.514, allocations: 15.36 kB / 0.7236 GB, free: 56.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/1.515, allocations: 1.264 MB / 0.7248 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.515, allocations: 3.984 kB / 0.7248 GB, free: 55.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/1.516, allocations: 462.5 kB / 0.7253 GB, free: 55.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/1.516, allocations: 85.05 kB / 0.7253 GB, free: 55.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/1.516, allocations: 11.67 kB / 0.7253 GB, free: 55.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/1.516, allocations: 7.875 kB / 0.7254 GB, free: 55.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/1.516, allocations: 23.97 kB / 0.7254 GB, free: 54.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/1.516, allocations: 27.92 kB / 0.7254 GB, free: 54.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.369e-05/1.517, allocations: 86.72 kB / 0.7255 GB, free: 54.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.688e-06/1.517, allocations: 0 / 0.7255 GB, free: 54.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000658/1.517, allocations: 121.5 kB / 0.7256 GB, free: 54.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (21): * Single equations (assignments): 20 * 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.0008466/1.518, allocations: 0.5345 MB / 0.7261 GB, free: 54.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004937/1.519, allocations: 197.8 kB / 0.7263 GB, free: 54.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.479e-06/1.519, allocations: 4 kB / 0.7263 GB, free: 54.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/1.519, allocations: 201.4 kB / 0.7265 GB, free: 53.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/1.519, allocations: 42.95 kB / 0.7266 GB, free: 53.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/1.52, allocations: 322.8 kB / 0.7269 GB, free: 53.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/1.52, allocations: 0.7165 MB / 0.7276 GB, free: 52.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006434/1.521, allocations: 77.16 kB / 0.7276 GB, free: 52.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/1.521, allocations: 54.84 kB / 0.7277 GB, free: 52.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/1.521, allocations: 0 / 0.7277 GB, free: 52.7 MB / 362.7 MB Notification: Performance of Templates: time 0.02084/1.542, allocations: 12.55 MB / 0.7399 GB, free: 40.18 MB / 362.7 MB