Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.903e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0797/0.07976, allocations: 44.49 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.16/16.24, allocations: 6.611 GB / 6.904 GB, free: 97.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/16.24, allocations: 72.02 kB / 6.904 GB, free: 97.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032/17.27, allocations: 191 MB / 7.091 GB, free: 67.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.201e-06/17.27, allocations: 0 / 7.091 GB, free: 67.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/17.27, allocations: 3.906 kB / 7.091 GB, free: 67.12 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.006337/17.27, allocations: 1.447 MB / 7.092 GB, free: 66.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/17.27, allocations: 10.12 kB / 7.092 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/17.27, allocations: 21.47 kB / 7.092 GB, free: 66.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/17.28, allocations: 214.4 kB / 7.092 GB, free: 66.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/17.28, allocations: 10.14 kB / 7.092 GB, free: 66.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/17.28, allocations: 18.72 kB / 7.092 GB, free: 66.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007041/17.28, allocations: 241.5 kB / 7.093 GB, free: 65.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/17.28, allocations: 3.938 kB / 7.093 GB, free: 65.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/17.28, allocations: 3.5 kB / 7.093 GB, free: 65.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/17.28, allocations: 7.062 kB / 7.093 GB, free: 65.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006917/17.28, allocations: 246.7 kB / 7.093 GB, free: 65.97 MB / 410.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.00155/17.28, allocations: 0.6898 MB / 7.094 GB, free: 65.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/17.28, allocations: 301.8 kB / 7.094 GB, free: 65.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/17.28, allocations: 122.7 kB / 7.094 GB, free: 65.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/17.29, allocations: 10.08 MB / 7.104 GB, free: 55.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/17.29, allocations: 38.12 kB / 7.104 GB, free: 55.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.923e-06/17.29, allocations: 3.969 kB / 7.104 GB, free: 55.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002393/17.29, allocations: 0.5075 MB / 7.104 GB, free: 55.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/17.29, allocations: 83.55 kB / 7.104 GB, free: 55.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/17.29, allocations: 114.8 kB / 7.104 GB, free: 54.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/17.29, allocations: 39.08 kB / 7.105 GB, free: 54.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/17.29, allocations: 111.5 kB / 7.105 GB, free: 54.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/17.29, allocations: 124.4 kB / 7.105 GB, free: 54.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/17.29, allocations: 3.75 kB / 7.105 GB, free: 54.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/17.29, allocations: 327.6 kB / 7.105 GB, free: 54.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/17.29, allocations: 109.6 kB / 7.105 GB, free: 54.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/17.29, allocations: 185.9 kB / 7.105 GB, free: 54.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/17.3, allocations: 124.9 kB / 7.105 GB, free: 54.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.239e-06/17.3, allocations: 2.938 kB / 7.105 GB, free: 54.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001155/17.3, allocations: 360.7 kB / 7.106 GB, free: 54.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/17.3, allocations: 6.062 kB / 7.106 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/17.3, allocations: 3.031 kB / 7.106 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/17.3, allocations: 6.969 kB / 7.106 GB, free: 54.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/17.3, allocations: 95.78 kB / 7.106 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/17.3, allocations: 4.312 kB / 7.106 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004004/17.3, allocations: 31.09 kB / 7.106 GB, free: 54.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/17.3, allocations: 24.14 kB / 7.106 GB, free: 54.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001233/17.3, allocations: 120 kB / 7.106 GB, free: 54.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/17.3, allocations: 23.14 kB / 7.106 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006566/17.3, allocations: 191.8 kB / 7.106 GB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-06/17.3, allocations: 2.719 kB / 7.106 GB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.218e-06/17.3, allocations: 0 / 7.106 GB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/17.3, allocations: 10.56 kB / 7.106 GB, free: 54.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/17.3, allocations: 0.9105 MB / 7.107 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.096e-06/17.3, allocations: 3.969 kB / 7.107 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/17.3, allocations: 84.22 kB / 7.107 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/17.3, allocations: 7.406 kB / 7.107 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.415e-05/17.3, allocations: 14.02 kB / 7.107 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.467e-06/17.3, allocations: 3.656 kB / 7.107 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/17.3, allocations: 7.609 kB / 7.107 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/17.3, allocations: 0.7133 MB / 7.108 GB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/17.3, allocations: 124.8 kB / 7.108 GB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/17.3, allocations: 10.28 kB / 7.108 GB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/17.3, allocations: 25.86 kB / 7.108 GB, free: 53.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/17.3, allocations: 25.23 kB / 7.108 GB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/17.3, allocations: 17.41 kB / 7.108 GB, free: 53.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.823e-05/17.3, allocations: 98.06 kB / 7.108 GB, free: 53.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.97e-07/17.3, allocations: 0 / 7.108 GB, free: 53.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004822/17.31, allocations: 1.094 MB / 7.109 GB, free: 52.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 39 * 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.008995/17.32, allocations: 1.602 MB / 7.111 GB, free: 52.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009095/17.32, allocations: 297.4 kB / 7.111 GB, free: 52.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/17.32, allocations: 0 / 7.111 GB, free: 52.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004036/17.32, allocations: 155.1 kB / 7.111 GB, free: 52.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/17.32, allocations: 99.27 kB / 7.111 GB, free: 52.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/17.32, allocations: 450.8 kB / 7.112 GB, free: 52.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/17.32, allocations: 0.7473 MB / 7.113 GB, free: 51.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005849/17.32, allocations: 79.58 kB / 7.113 GB, free: 51.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/17.32, allocations: 33.33 kB / 7.113 GB, free: 51.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.943e-06/17.32, allocations: 0 / 7.113 GB, free: 51.68 MB / 410.7 MB Notification: Performance of Templates: time 0.05872/17.38, allocations: 34.07 MB / 7.146 GB, free: 39.33 MB / 410.7 MB