Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.827e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09062, allocations: 50.42 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.69/15.78, allocations: 6.123 GB / 6.458 GB, free: 137.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/15.78, allocations: 75.2 kB / 6.458 GB, free: 137.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.65/19.44, allocations: 0.8123 GB / 7.271 GB, free: 30.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.326e-06/19.44, allocations: 0 / 7.271 GB, free: 30.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.768e-05/19.44, allocations: 16 kB / 7.271 GB, free: 30.36 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01063/19.45, allocations: 2.715 MB / 7.273 GB, free: 27.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/19.45, allocations: 8.031 kB / 7.273 GB, free: 27.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/19.45, allocations: 63.38 kB / 7.273 GB, free: 27.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006261/19.45, allocations: 370.1 kB / 7.274 GB, free: 27.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/19.45, allocations: 33 kB / 7.274 GB, free: 27.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/19.45, allocations: 44 kB / 7.274 GB, free: 27.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/19.45, allocations: 0.5472 MB / 7.274 GB, free: 26.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/19.45, allocations: 0 / 7.274 GB, free: 26.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-05/19.45, allocations: 24 kB / 7.274 GB, free: 26.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/19.45, allocations: 8 kB / 7.274 GB, free: 26.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/19.45, allocations: 0.7125 MB / 7.275 GB, free: 25.76 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/19.47, allocations: 11.65 MB / 7.286 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/19.47, allocations: 0.5178 MB / 7.287 GB, free: 11.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/19.47, allocations: 246.5 kB / 7.287 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04789/19.52, allocations: 20.96 MB / 7.308 GB, free: 2.156 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.698e-05/19.52, allocations: 42.94 kB / 7.308 GB, free: 2.105 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 7.091e-06/19.52, allocations: 0 / 7.308 GB, free: 2.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.01454/19.53, allocations: 1.809 MB / 7.309 GB, free: 248 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/19.53, allocations: 59.97 kB / 7.309 GB, free: 176 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4316/19.96, allocations: 280.6 kB / 7.31 GB, free: 59.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/19.96, allocations: 38.94 kB / 7.31 GB, free: 59.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/19.96, allocations: 198.8 kB / 7.31 GB, free: 58.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/19.96, allocations: 195.5 kB / 7.31 GB, free: 58.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/19.96, allocations: 12.47 kB / 7.31 GB, free: 58.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/19.96, allocations: 351.1 kB / 7.311 GB, free: 58.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/19.96, allocations: 224.7 kB / 7.311 GB, free: 58.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009601/19.97, allocations: 323.2 kB / 7.311 GB, free: 58.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/19.97, allocations: 274.9 kB / 7.311 GB, free: 58.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.535e-06/19.97, allocations: 1.281 kB / 7.311 GB, free: 58.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003032/19.97, allocations: 0.7169 MB / 7.312 GB, free: 58.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/19.97, allocations: 6.812 kB / 7.312 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/19.97, allocations: 2.938 kB / 7.312 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006916/19.97, allocations: 109.6 kB / 7.312 GB, free: 58.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/19.97, allocations: 128 kB / 7.312 GB, free: 58.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/19.97, allocations: 3.262 MB / 7.315 GB, free: 55.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/19.97, allocations: 40.33 kB / 7.315 GB, free: 55.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/19.97, allocations: 34.17 kB / 7.315 GB, free: 55.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 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.0002171/19.97, allocations: 140.9 kB / 7.316 GB, free: 55.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/19.97, allocations: 48.66 kB / 7.316 GB, free: 55.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/19.98, allocations: 0.8326 MB / 7.316 GB, free: 55.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/19.98, allocations: 6 kB / 7.316 GB, free: 55.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.165e-06/19.98, allocations: 0.8125 kB / 7.316 GB, free: 55.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/19.98, allocations: 0.7616 MB / 7.317 GB, free: 54.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/19.98, allocations: 1.322 MB / 7.319 GB, free: 54.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.081e-06/19.98, allocations: 4.75 kB / 7.319 GB, free: 54.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/19.98, allocations: 105.2 kB / 7.319 GB, free: 54.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/19.98, allocations: 153.3 kB / 7.319 GB, free: 54.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.329e-05/19.98, allocations: 19.61 kB / 7.319 GB, free: 54.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000422/19.98, allocations: 0.6506 MB / 7.319 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/19.98, allocations: 4.984 kB / 7.319 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/19.99, allocations: 0.9288 MB / 7.32 GB, free: 53.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/19.99, allocations: 136.3 kB / 7.32 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/19.99, allocations: 12.06 kB / 7.32 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/19.99, allocations: 31.62 kB / 7.321 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/19.99, allocations: 36.91 kB / 7.321 GB, free: 53.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/19.99, allocations: 30.72 kB / 7.321 GB, free: 53.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003446/19.99, allocations: 253.7 kB / 7.321 GB, free: 53.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.46e-07/19.99, allocations: 0 / 7.321 GB, free: 53.33 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01039/20, allocations: 1.953 MB / 7.323 GB, free: 53.33 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01729/20.02, allocations: 2.932 MB / 7.326 GB, free: 53.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002157/20.02, allocations: 0.7801 MB / 7.326 GB, free: 52.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.693e-06/20.02, allocations: 1.25 kB / 7.326 GB, free: 52.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008764/20.02, allocations: 303.2 kB / 7.327 GB, free: 52.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/20.02, allocations: 252.2 kB / 7.327 GB, free: 52.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/20.02, allocations: 0.8601 MB / 7.328 GB, free: 52.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/20.02, allocations: 0.8457 MB / 7.329 GB, free: 52.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008915/20.02, allocations: 140 kB / 7.329 GB, free: 52.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/20.02, allocations: 60.7 kB / 7.329 GB, free: 52.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.559e-06/20.02, allocations: 3.5 kB / 7.329 GB, free: 52.02 MB / 490.7 MB Notification: Performance of Templates: time 0.1129/20.14, allocations: 62.05 MB / 7.389 GB, free: 49.95 MB / 490.7 MB