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.875/1.875, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.683e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08161/0.08165, allocations: 44.51 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.57/14.65, allocations: 6.53 GB / 6.822 GB, free: 95.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/14.65, allocations: 71.41 kB / 6.822 GB, free: 95.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.172/17.82, allocations: 0.6651 GB / 7.488 GB, free: 21.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.886e-06/17.82, allocations: 0 / 7.488 GB, free: 21.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.364e-05/17.82, allocations: 13.28 kB / 7.488 GB, free: 21.81 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.009015/17.83, allocations: 2.392 MB / 7.49 GB, free: 20.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/17.83, allocations: 9.75 kB / 7.49 GB, free: 20.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006088/17.83, allocations: 85.39 kB / 7.49 GB, free: 20.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000794/17.83, allocations: 439.4 kB / 7.49 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.633e-05/17.83, allocations: 49.41 kB / 7.49 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/17.83, allocations: 58.84 kB / 7.491 GB, free: 20.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/17.83, allocations: 0.7022 MB / 7.491 GB, free: 20.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/17.83, allocations: 3.906 kB / 7.491 GB, free: 20.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/17.83, allocations: 26.09 kB / 7.491 GB, free: 20.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/17.83, allocations: 14.44 kB / 7.491 GB, free: 20.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/17.84, allocations: 0.8669 MB / 7.492 GB, free: 20.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/17.85, allocations: 12.67 MB / 7.504 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/17.86, allocations: 0.8706 MB / 7.505 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/17.86, allocations: 411.9 kB / 7.506 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04508/17.9, allocations: 30.2 MB / 7.535 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/17.9, allocations: 45.66 kB / 7.535 GB, free: 9.984 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 4.948e-06/17.9, allocations: 6.344 kB / 7.535 GB, free: 9.984 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.0133/17.91, allocations: 2.942 MB / 7.538 GB, free: 9.324 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/17.91, allocations: 59.41 kB / 7.538 GB, free: 9.258 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/17.92, allocations: 313.4 kB / 7.538 GB, free: 9.102 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/17.92, allocations: 42.67 kB / 7.539 GB, free: 9.059 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/17.92, allocations: 288.5 kB / 7.539 GB, free: 8.805 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/17.92, allocations: 315.6 kB / 7.539 GB, free: 8.566 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/17.92, allocations: 15.31 kB / 7.539 GB, free: 8.555 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/17.92, allocations: 344.5 kB / 7.539 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/17.92, allocations: 317.9 kB / 7.54 GB, free: 8.105 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/17.92, allocations: 434.5 kB / 7.54 GB, free: 7.879 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/17.92, allocations: 391.9 kB / 7.541 GB, free: 7.734 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.767e-06/17.92, allocations: 3.875 kB / 7.541 GB, free: 7.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003513/17.92, allocations: 0.9942 MB / 7.541 GB, free: 7.336 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/17.92, allocations: 11.03 kB / 7.542 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/17.92, allocations: 3.312 kB / 7.542 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/17.92, allocations: 172.2 kB / 7.542 GB, free: 7.273 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/17.93, allocations: 187.5 kB / 7.542 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/17.93, allocations: 3.91 MB / 7.546 GB, free: 19.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/17.93, allocations: 61.84 kB / 7.546 GB, free: 19.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/17.93, allocations: 45.19 kB / 7.546 GB, free: 19.36 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.0003324/17.93, allocations: 157.3 kB / 7.546 GB, free: 19.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/17.93, allocations: 62.66 kB / 7.546 GB, free: 19.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/17.93, allocations: 1.111 MB / 7.547 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/17.93, allocations: 7.219 kB / 7.547 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.128e-06/17.93, allocations: 3.344 kB / 7.547 GB, free: 18.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002966/17.94, allocations: 1.323 MB / 7.548 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005206/17.94, allocations: 2.065 MB / 7.55 GB, free: 16.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.213e-06/17.94, allocations: 0 / 7.55 GB, free: 16.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/17.94, allocations: 181.8 kB / 7.551 GB, free: 16.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/17.95, allocations: 308.1 kB / 7.551 GB, free: 16.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/17.95, allocations: 27.41 kB / 7.551 GB, free: 16.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/17.95, allocations: 1.301 MB / 7.552 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.484e-06/17.95, allocations: 7.828 kB / 7.552 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/17.95, allocations: 1.477 MB / 7.554 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/17.95, allocations: 139 kB / 7.554 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/17.95, allocations: 26.59 kB / 7.554 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/17.95, allocations: 58.89 kB / 7.554 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/17.95, allocations: 66 kB / 7.554 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000134/17.95, allocations: 61.98 kB / 7.554 GB, free: 14.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004009/17.95, allocations: 256 kB / 7.554 GB, free: 14.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.93e-07/17.95, allocations: 0 / 7.554 GB, free: 14.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009344/17.96, allocations: 2.301 MB / 7.556 GB, free: 13.77 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.01575/17.98, allocations: 3.386 MB / 7.56 GB, free: 13.03 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002943/17.98, allocations: 1.114 MB / 7.561 GB, free: 12.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.801e-06/17.98, allocations: 0 / 7.561 GB, free: 12.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/17.98, allocations: 0.5078 MB / 7.561 GB, free: 12.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/17.99, allocations: 386.8 kB / 7.562 GB, free: 12.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/17.99, allocations: 1.478 MB / 7.563 GB, free: 11.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/17.99, allocations: 0.9378 MB / 7.564 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/17.99, allocations: 96.12 kB / 7.564 GB, free: 10.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.775e-06/17.99, allocations: 0 / 7.564 GB, free: 10.16 MB / 474.7 MB Notification: Performance of Templates: time 0.4187/18.41, allocations: 67.93 MB / 7.63 GB, free: 60.06 MB / 474.7 MB