Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,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.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.378e-05, allocations: 4 kB / 225 MB, free: 2.82 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 38.77 MB / 263.8 MB, free: 9.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.398, allocations: 428.9 MB / 0.6765 GB, free: 97.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/1.399, allocations: 87.75 kB / 0.6765 GB, free: 97.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.636/2.035, allocations: 154.9 MB / 0.8279 GB, free: 91.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.002e-06/2.035, allocations: 3.469 kB / 0.8279 GB, free: 91.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/2.035, allocations: 3.344 kB / 0.8279 GB, free: 91.78 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.0009048/2.036, allocations: 0.5946 MB / 0.8284 GB, free: 91.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/2.036, allocations: 10.69 kB / 0.8285 GB, free: 91.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/2.036, allocations: 41.16 kB / 0.8285 GB, free: 91.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/2.037, allocations: 287.5 kB / 0.8288 GB, free: 91.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/2.037, allocations: 21.3 kB / 0.8288 GB, free: 91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/2.037, allocations: 25.78 kB / 0.8288 GB, free: 91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/2.037, allocations: 307.3 kB / 0.8291 GB, free: 90.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/2.037, allocations: 3.719 kB / 0.8291 GB, free: 90.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/2.037, allocations: 11.75 kB / 0.8291 GB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.336e-06/2.037, allocations: 5.656 kB / 0.8291 GB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/2.038, allocations: 195.8 kB / 0.8293 GB, free: 90.7 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.001917/2.04, allocations: 1.582 MB / 0.8309 GB, free: 89.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/2.04, allocations: 157.6 kB / 0.831 GB, free: 89.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/2.04, allocations: 100.2 kB / 0.8311 GB, free: 89.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/2.04, allocations: 3.906 kB / 0.8311 GB, free: 89.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/2.04, allocations: 48.03 kB / 0.8312 GB, free: 89.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.392e-06/2.04, allocations: 0 / 0.8312 GB, free: 89.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.005874/2.046, allocations: 1.23 MB / 0.8324 GB, free: 88.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/2.046, allocations: 67.33 kB / 0.8324 GB, free: 88.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/2.047, allocations: 222.1 kB / 0.8326 GB, free: 88.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/2.047, allocations: 29.7 kB / 0.8327 GB, free: 88.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/2.047, allocations: 227.3 kB / 0.8329 GB, free: 87.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/2.047, allocations: 103.5 kB / 0.833 GB, free: 87.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/2.047, allocations: 6.938 kB / 0.833 GB, free: 87.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/2.047, allocations: 322.6 kB / 0.8333 GB, free: 87.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/2.047, allocations: 92.83 kB / 0.8334 GB, free: 87.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/2.047, allocations: 186.3 kB / 0.8336 GB, free: 87.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/2.048, allocations: 117.4 kB / 0.8337 GB, free: 87.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.008e-06/2.048, allocations: 3.844 kB / 0.8337 GB, free: 87.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008221/2.049, allocations: 361.1 kB / 0.834 GB, free: 86.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/2.049, allocations: 6.125 kB / 0.834 GB, free: 86.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/2.049, allocations: 6.719 kB / 0.834 GB, free: 86.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/2.049, allocations: 78.38 kB / 0.8341 GB, free: 86.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/2.049, allocations: 80.2 kB / 0.8342 GB, free: 86.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/2.051, allocations: 1.85 MB / 0.836 GB, free: 85.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/2.051, allocations: 24.08 kB / 0.836 GB, free: 85.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/2.051, allocations: 41.42 kB / 0.836 GB, free: 85.04 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.0001356/2.051, allocations: 126.1 kB / 0.8362 GB, free: 84.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/2.051, allocations: 29.47 kB / 0.8362 GB, free: 84.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/2.053, allocations: 436 kB / 0.8366 GB, free: 84.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/2.053, allocations: 7.922 kB / 0.8366 GB, free: 84.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.64e-06/2.053, allocations: 0 / 0.8366 GB, free: 84.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005672/2.053, allocations: 0.5623 MB / 0.8372 GB, free: 84.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/2.055, allocations: 0.7126 MB / 0.8379 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.014e-06/2.055, allocations: 0 / 0.8379 GB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/2.055, allocations: 69.17 kB / 0.8379 GB, free: 83.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/2.055, allocations: 28.28 kB / 0.838 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/2.055, allocations: 19.8 kB / 0.838 GB, free: 83.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008015/2.056, allocations: 1.27 MB / 0.8392 GB, free: 82.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.723e-06/2.056, allocations: 7.875 kB / 0.8392 GB, free: 82.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/2.057, allocations: 486.9 kB / 0.8397 GB, free: 81.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/2.057, allocations: 104.8 kB / 0.8398 GB, free: 81.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/2.057, allocations: 8 kB / 0.8398 GB, free: 81.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/2.058, allocations: 22.88 kB / 0.8398 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/2.058, allocations: 27.91 kB / 0.8398 GB, free: 81.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/2.058, allocations: 31.98 kB / 0.8399 GB, free: 81.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002334/2.058, allocations: 187.1 kB / 0.8401 GB, free: 81.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.058, allocations: 2.562 kB / 0.8401 GB, free: 81.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009034/2.059, allocations: 184 kB / 0.8402 GB, free: 81.28 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.001233/2.06, allocations: 0.7832 MB / 0.841 GB, free: 80.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007918/2.061, allocations: 355.6 kB / 0.8413 GB, free: 80.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.684e-06/2.061, allocations: 0 / 0.8413 GB, free: 80.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/2.062, allocations: 225 kB / 0.8415 GB, free: 80.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/2.063, allocations: 155.5 kB / 0.8417 GB, free: 79.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/2.064, allocations: 0.5105 MB / 0.8422 GB, free: 79.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/2.064, allocations: 0.7785 MB / 0.843 GB, free: 78.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/2.064, allocations: 76.42 kB / 0.843 GB, free: 78.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.732e-06/2.064, allocations: 0 / 0.843 GB, free: 78.66 MB / 362.7 MB Notification: Performance of Templates: time 0.01738/2.082, allocations: 11.6 MB / 0.8544 GB, free: 67.26 MB / 362.7 MB