Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.922e-05, allocations: 4 kB / 255.4 MB, free: 2.715 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09354, allocations: 44.5 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.187, allocations: 438 MB / 0.7206 GB, free: 129.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/1.187, allocations: 63.97 kB / 0.7206 GB, free: 129.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07578/1.263, allocations: 24.81 MB / 0.7449 GB, free: 104.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.012e-06/1.263, allocations: 0 / 0.7449 GB, free: 104.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.695e-06/1.263, allocations: 4 kB / 0.7449 GB, free: 104.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008297/1.264, allocations: 430.1 kB / 0.7453 GB, free: 104.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.264, allocations: 12.03 kB / 0.7453 GB, free: 104.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006383/1.27, allocations: 455.8 kB / 0.7457 GB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/1.27, allocations: 167 kB / 0.7459 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/1.27, allocations: 4 kB / 0.7459 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/1.27, allocations: 11.98 kB / 0.7459 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/1.271, allocations: 265.6 kB / 0.7462 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.271, allocations: 0 / 0.7462 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/1.271, allocations: 11.89 kB / 0.7462 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-06/1.271, allocations: 4 kB / 0.7462 GB, free: 103.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/1.272, allocations: 227.9 kB / 0.7464 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/1.273, allocations: 421.2 kB / 0.7468 GB, free: 102.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/1.274, allocations: 190.5 kB / 0.747 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/1.274, allocations: 56.86 kB / 0.747 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/1.274, allocations: 4 kB / 0.747 GB, free: 102.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/1.274, allocations: 34.56 kB / 0.7471 GB, free: 102.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.019e-06/1.274, allocations: 0 / 0.7471 GB, free: 102.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001343/1.275, allocations: 319 kB / 0.7474 GB, free: 102 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.275, allocations: 59.36 kB / 0.7474 GB, free: 101.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/1.275, allocations: 93 kB / 0.7475 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/1.275, allocations: 29.7 kB / 0.7475 GB, free: 101.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/1.276, allocations: 103.9 kB / 0.7476 GB, free: 101.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/1.276, allocations: 55.2 kB / 0.7477 GB, free: 101.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/1.276, allocations: 4 kB / 0.7477 GB, free: 101.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/1.276, allocations: 310.8 kB / 0.748 GB, free: 101.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/1.276, allocations: 64.36 kB / 0.7481 GB, free: 101.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/1.276, allocations: 98.53 kB / 0.7481 GB, free: 101.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/1.276, allocations: 78 kB / 0.7482 GB, free: 101.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-06/1.276, allocations: 0 / 0.7482 GB, free: 101.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004831/1.277, allocations: 201.5 kB / 0.7484 GB, free: 100.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/1.277, allocations: 4 kB / 0.7484 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.869e-06/1.277, allocations: 0 / 0.7484 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.277, allocations: 4 kB / 0.7484 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/1.277, allocations: 56.02 kB / 0.7485 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.154e-06/1.277, allocations: 0 / 0.7485 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/1.278, allocations: 19.94 kB / 0.7485 GB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/1.278, allocations: 12 kB / 0.7485 GB, free: 100.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.908e-05/1.278, allocations: 112.9 kB / 0.7486 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/1.278, allocations: 7.906 kB / 0.7486 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007031/1.279, allocations: 234.8 kB / 0.7488 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.326e-06/1.279, allocations: 11.98 kB / 0.7489 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-06/1.279, allocations: 0 / 0.7489 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.279, allocations: 0 / 0.7489 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/1.28, allocations: 0.5272 MB / 0.7494 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.441e-06/1.28, allocations: 4 kB / 0.7494 GB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/1.28, allocations: 51.84 kB / 0.7494 GB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-06/1.28, allocations: 3.938 kB / 0.7494 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/1.28, allocations: 11.98 kB / 0.7494 GB, free: 99.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/1.28, allocations: 8.047 kB / 0.7494 GB, free: 99.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.348e-06/1.28, allocations: 4 kB / 0.7495 GB, free: 99.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/1.281, allocations: 311.4 kB / 0.7497 GB, free: 99.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/1.281, allocations: 92.94 kB / 0.7498 GB, free: 99.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/1.281, allocations: 8 kB / 0.7498 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/1.281, allocations: 11.98 kB / 0.7499 GB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/1.281, allocations: 11.98 kB / 0.7499 GB, free: 99.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/1.281, allocations: 15.98 kB / 0.7499 GB, free: 99.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.15e-05/1.281, allocations: 79.28 kB / 0.75 GB, free: 99.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.65e-07/1.281, allocations: 0 / 0.75 GB, free: 99.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005676/1.282, allocations: 75.98 kB / 0.75 GB, free: 99.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006765/1.283, allocations: 0.5094 MB / 0.7505 GB, free: 98.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004144/1.283, allocations: 159.8 kB / 0.7507 GB, free: 98.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.299e-06/1.283, allocations: 0 / 0.7507 GB, free: 98.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/1.283, allocations: 80.3 kB / 0.7508 GB, free: 98.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/1.284, allocations: 43.86 kB / 0.7508 GB, free: 98.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/1.284, allocations: 171.5 kB / 0.751 GB, free: 98.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/1.284, allocations: 0.6935 MB / 0.7516 GB, free: 97.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006039/1.285, allocations: 60.72 kB / 0.7517 GB, free: 97.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/1.285, allocations: 31.41 kB / 0.7517 GB, free: 97.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/1.285, allocations: 0 / 0.7517 GB, free: 97.28 MB / 410.7 MB Notification: Performance of Templates: time 0.01841/1.304, allocations: 10.53 MB / 0.762 GB, free: 86.75 MB / 410.7 MB