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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.864e-05, allocations: 7.906 kB / 255.4 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.0801, allocations: 44.5 MB / 299.9 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.27/15.35, allocations: 6.53 GB / 6.822 GB, free: 49.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/15.35, allocations: 76.64 kB / 6.822 GB, free: 49.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.101/18.45, allocations: 0.6651 GB / 7.488 GB, free: 30.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.309e-06/18.45, allocations: 0 / 7.488 GB, free: 30.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.746e-05/18.45, allocations: 13.62 kB / 7.488 GB, free: 30.82 MB / 442.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.00939/18.46, allocations: 2.399 MB / 7.49 GB, free: 29.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/18.46, allocations: 10.66 kB / 7.49 GB, free: 29.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/18.46, allocations: 83.73 kB / 7.49 GB, free: 29.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/18.46, allocations: 428.7 kB / 7.49 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/18.46, allocations: 45.5 kB / 7.49 GB, free: 28.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/18.46, allocations: 66.75 kB / 7.491 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/18.46, allocations: 0.6917 MB / 7.491 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/18.46, allocations: 7.562 kB / 7.491 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/18.46, allocations: 27 kB / 7.491 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/18.46, allocations: 15.31 kB / 7.491 GB, free: 28.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/18.47, allocations: 0.8564 MB / 7.492 GB, free: 28.35 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/18.49, allocations: 12.68 MB / 7.504 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/18.49, allocations: 0.8661 MB / 7.505 GB, free: 15.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/18.49, allocations: 409.4 kB / 7.506 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3306/18.82, allocations: 30.2 MB / 7.535 GB, free: 50.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/18.82, allocations: 40.88 kB / 7.535 GB, free: 50.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 4.142e-06/18.82, allocations: 0.9375 kB / 7.535 GB, free: 50.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.0151/18.84, allocations: 2.92 MB / 7.538 GB, free: 49.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/18.84, allocations: 60.25 kB / 7.538 GB, free: 49.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/18.84, allocations: 316.6 kB / 7.538 GB, free: 49.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001721/18.84, allocations: 44.14 kB / 7.538 GB, free: 49.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/18.84, allocations: 285.3 kB / 7.539 GB, free: 49.42 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/18.84, allocations: 305.7 kB / 7.539 GB, free: 49.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/18.84, allocations: 21.38 kB / 7.539 GB, free: 49.26 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/18.84, allocations: 347.1 kB / 7.539 GB, free: 48.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008037/18.84, allocations: 323 kB / 7.54 GB, free: 48.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/18.84, allocations: 432.1 kB / 7.54 GB, free: 48.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/18.84, allocations: 388.8 kB / 7.541 GB, free: 48.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.082e-06/18.84, allocations: 1.688 kB / 7.541 GB, free: 48.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003778/18.85, allocations: 0.9825 MB / 7.541 GB, free: 48.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/18.85, allocations: 5.75 kB / 7.541 GB, free: 48.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/18.85, allocations: 3.938 kB / 7.541 GB, free: 48.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/18.85, allocations: 169 kB / 7.542 GB, free: 48.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/18.85, allocations: 191.9 kB / 7.542 GB, free: 48.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/18.85, allocations: 3.905 MB / 7.546 GB, free: 45.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009906/18.85, allocations: 63.72 kB / 7.546 GB, free: 45.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/18.85, allocations: 47.34 kB / 7.546 GB, free: 45.04 MB / 458.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.0003095/18.85, allocations: 152.7 kB / 7.546 GB, free: 44.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005852/18.85, allocations: 59.84 kB / 7.546 GB, free: 44.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/18.86, allocations: 1.101 MB / 7.547 GB, free: 44.79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/18.86, allocations: 11.27 kB / 7.547 GB, free: 44.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/18.86, allocations: 2.125 kB / 7.547 GB, free: 44.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002636/18.86, allocations: 1.323 MB / 7.548 GB, free: 44.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/18.87, allocations: 2.059 MB / 7.55 GB, free: 43.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/18.87, allocations: 5.281 kB / 7.55 GB, free: 43.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/18.87, allocations: 183.9 kB / 7.551 GB, free: 43.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/18.87, allocations: 302.5 kB / 7.551 GB, free: 43.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/18.87, allocations: 37.64 kB / 7.551 GB, free: 43.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007612/18.87, allocations: 1.289 MB / 7.552 GB, free: 42.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.118e-06/18.87, allocations: 6.875 kB / 7.552 GB, free: 42.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/18.87, allocations: 1.475 MB / 7.554 GB, free: 42.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/18.87, allocations: 146.8 kB / 7.554 GB, free: 42.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/18.87, allocations: 27.88 kB / 7.554 GB, free: 42.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008379/18.88, allocations: 55.41 kB / 7.554 GB, free: 42.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/18.88, allocations: 65.58 kB / 7.554 GB, free: 42.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/18.88, allocations: 52.78 kB / 7.554 GB, free: 42.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003966/18.88, allocations: 264.8 kB / 7.554 GB, free: 42.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.44e-07/18.88, allocations: 0 / 7.554 GB, free: 42.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009458/18.89, allocations: 2.291 MB / 7.556 GB, free: 42.02 MB / 458.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.01595/18.9, allocations: 3.406 MB / 7.56 GB, free: 41.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002794/18.9, allocations: 1.093 MB / 7.561 GB, free: 41.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.44e-06/18.9, allocations: 2.875 kB / 7.561 GB, free: 41.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/18.91, allocations: 0.4941 MB / 7.561 GB, free: 41.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/18.91, allocations: 400.1 kB / 7.562 GB, free: 41.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/18.91, allocations: 1.465 MB / 7.563 GB, free: 41.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/18.91, allocations: 0.9427 MB / 7.564 GB, free: 40.54 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/18.91, allocations: 92.25 kB / 7.564 GB, free: 40.53 MB / 458.7 MB Notification: Performance of SimCode: time 1.784e-06/18.91, allocations: 2.531 kB / 7.564 GB, free: 40.53 MB / 458.7 MB Notification: Performance of Templates: time 0.1084/19.02, allocations: 68.16 MB / 7.631 GB, free: 32.34 MB / 458.7 MB