Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 1.764/1.764, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.22e-05/4.244e-05, allocations: 7.984 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.11/15.23, allocations: 6.53 GB / 6.822 GB, free: 85.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/15.23, allocations: 77.67 kB / 6.823 GB, free: 85.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.197/18.43, allocations: 0.6651 GB / 7.488 GB, free: 20.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.625e-06/18.43, allocations: 1.969 kB / 7.488 GB, free: 20.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.538e-05/18.43, allocations: 17.69 kB / 7.488 GB, free: 20.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.009321/18.44, allocations: 2.394 MB / 7.49 GB, free: 18.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/18.44, allocations: 6.875 kB / 7.49 GB, free: 18.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/18.44, allocations: 87.3 kB / 7.49 GB, free: 18.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008009/18.44, allocations: 440.5 kB / 7.49 GB, free: 18.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/18.44, allocations: 47.62 kB / 7.491 GB, free: 18.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/18.44, allocations: 63.97 kB / 7.491 GB, free: 18.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/18.44, allocations: 0.69 MB / 7.491 GB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/18.44, allocations: 6.781 kB / 7.491 GB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/18.44, allocations: 27.41 kB / 7.491 GB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/18.44, allocations: 15.62 kB / 7.491 GB, free: 18.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/18.44, allocations: 0.8569 MB / 7.492 GB, free: 18.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/18.46, allocations: 12.68 MB / 7.504 GB, free: 22.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/18.46, allocations: 0.8555 MB / 7.505 GB, free: 21.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/18.47, allocations: 411.4 kB / 7.506 GB, free: 21.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04528/18.51, allocations: 30.21 MB / 7.535 GB, free: 6.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/18.51, allocations: 44.06 kB / 7.535 GB, free: 6.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 4.625e-06/18.51, allocations: 3.844 kB / 7.535 GB, free: 6.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01444/18.53, allocations: 2.923 MB / 7.538 GB, free: 5.531 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/18.53, allocations: 58.97 kB / 7.538 GB, free: 5.469 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/18.53, allocations: 319.8 kB / 7.538 GB, free: 5.305 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/18.53, allocations: 48.45 kB / 7.539 GB, free: 5.258 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/18.53, allocations: 233.8 kB / 7.539 GB, free: 5.066 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/18.53, allocations: 311.7 kB / 7.539 GB, free: 4.832 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/18.53, allocations: 19.47 kB / 7.539 GB, free: 4.816 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003773/18.53, allocations: 362.8 kB / 7.539 GB, free: 20.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007311/18.53, allocations: 319.1 kB / 7.54 GB, free: 20.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/18.53, allocations: 428.9 kB / 7.54 GB, free: 20.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/18.53, allocations: 394.6 kB / 7.541 GB, free: 19.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.072e-06/18.53, allocations: 0 / 7.541 GB, free: 19.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0038/18.53, allocations: 0.9981 MB / 7.541 GB, free: 19.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/18.53, allocations: 7.281 kB / 7.541 GB, free: 19.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/18.53, allocations: 0 / 7.541 GB, free: 19.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/18.54, allocations: 170.2 kB / 7.542 GB, free: 19.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/18.54, allocations: 193.8 kB / 7.542 GB, free: 19.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/18.54, allocations: 3.907 MB / 7.546 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/18.54, allocations: 61.38 kB / 7.546 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/18.54, allocations: 44.52 kB / 7.546 GB, free: 15.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,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.0003139/18.54, allocations: 154.1 kB / 7.546 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005801/18.54, allocations: 60.84 kB / 7.546 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/18.55, allocations: 1.097 MB / 7.547 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/18.55, allocations: 14.75 kB / 7.547 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/18.55, allocations: 3.938 kB / 7.547 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002852/18.55, allocations: 1.331 MB / 7.548 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/18.55, allocations: 2.06 MB / 7.55 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.991e-06/18.55, allocations: 0 / 7.55 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/18.56, allocations: 187.6 kB / 7.551 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/18.56, allocations: 310.1 kB / 7.551 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/18.56, allocations: 30.73 kB / 7.551 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/18.56, allocations: 1.296 MB / 7.552 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.195e-06/18.56, allocations: 2.812 kB / 7.552 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003969/18.56, allocations: 1.476 MB / 7.554 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/18.56, allocations: 138.1 kB / 7.554 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/18.56, allocations: 27.47 kB / 7.554 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/18.56, allocations: 55.56 kB / 7.554 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/18.56, allocations: 62.78 kB / 7.554 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/18.56, allocations: 57.08 kB / 7.554 GB, free: 10.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003932/18.57, allocations: 257.8 kB / 7.554 GB, free: 10.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/18.57, allocations: 0 / 7.554 GB, free: 10.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009604/18.57, allocations: 2.299 MB / 7.556 GB, free: 9.766 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01677/18.59, allocations: 3.406 MB / 7.56 GB, free: 7.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003181/18.6, allocations: 1.088 MB / 7.561 GB, free: 6.195 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/18.6, allocations: 3.938 kB / 7.561 GB, free: 6.191 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/18.6, allocations: 0.491 MB / 7.561 GB, free: 5.723 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/18.6, allocations: 392.9 kB / 7.562 GB, free: 5.465 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/18.6, allocations: 1.423 MB / 7.563 GB, free: 4.289 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/18.6, allocations: 0.9473 MB / 7.564 GB, free: 3.406 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001319/18.61, allocations: 190.5 kB / 7.564 GB, free: 3.266 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/18.61, allocations: 78.28 kB / 7.564 GB, free: 3.195 MB / 474.7 MB Notification: Performance of SimCode: time 1.891e-06/18.61, allocations: 0 / 7.564 GB, free: 3.195 MB / 474.7 MB Notification: Performance of Templates: time 0.4506/19.06, allocations: 80.34 MB / 7.643 GB, free: 62.28 MB / 474.7 MB