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_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.047e-05, allocations: 7.188 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07795/0.078, allocations: 44.49 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.81/14.89, allocations: 6.53 GB / 6.822 GB, free: 97.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/14.89, allocations: 72.22 kB / 6.822 GB, free: 97.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888/18.78, allocations: 0.8402 GB / 7.663 GB, free: 30.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.152e-06/18.78, allocations: 0 / 7.663 GB, free: 30.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.145e-05/18.78, allocations: 14.69 kB / 7.663 GB, free: 30.8 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01213/18.79, allocations: 2.884 MB / 7.665 GB, free: 29.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/18.79, allocations: 15.72 kB / 7.666 GB, free: 29.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/18.79, allocations: 58.3 kB / 7.666 GB, free: 29.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006667/18.79, allocations: 358.7 kB / 7.666 GB, free: 28.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/18.79, allocations: 30.34 kB / 7.666 GB, free: 28.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/18.79, allocations: 46.34 kB / 7.666 GB, free: 28.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/18.79, allocations: 0.498 MB / 7.666 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/18.79, allocations: 0 / 7.666 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.55e-05/18.79, allocations: 22.47 kB / 7.666 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/18.79, allocations: 11 kB / 7.667 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/18.79, allocations: 0.6205 MB / 7.667 GB, free: 28.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/18.81, allocations: 11.9 MB / 7.679 GB, free: 17.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/18.81, allocations: 0.63 MB / 7.679 GB, free: 17.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/18.81, allocations: 255.6 kB / 7.68 GB, free: 17.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02978/18.84, allocations: 20.12 MB / 7.699 GB, free: 13.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/18.84, allocations: 39.59 kB / 7.699 GB, free: 12.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 4.689e-06/18.84, allocations: 4 kB / 7.699 GB, free: 12.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.008492/18.85, allocations: 1.737 MB / 7.701 GB, free: 12.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/18.85, allocations: 59.03 kB / 7.701 GB, free: 12.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/18.85, allocations: 282.3 kB / 7.701 GB, free: 12.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/18.85, allocations: 40.36 kB / 7.701 GB, free: 12.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/18.85, allocations: 257.7 kB / 7.702 GB, free: 12.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/18.85, allocations: 191.8 kB / 7.702 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/18.85, allocations: 12.12 kB / 7.702 GB, free: 12.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/18.85, allocations: 338.3 kB / 7.702 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/18.85, allocations: 206.2 kB / 7.702 GB, free: 11.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/18.85, allocations: 300 kB / 7.703 GB, free: 11.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/18.86, allocations: 264 kB / 7.703 GB, free: 11.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.346e-06/18.86, allocations: 0 / 7.703 GB, free: 11.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002653/18.86, allocations: 0.6736 MB / 7.703 GB, free: 11.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/18.86, allocations: 7.625 kB / 7.703 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/18.86, allocations: 8.219 kB / 7.704 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008017/18.86, allocations: 109.1 kB / 7.704 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/18.86, allocations: 126.2 kB / 7.704 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/18.86, allocations: 3.27 MB / 7.707 GB, free: 8.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/18.86, allocations: 39.73 kB / 7.707 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/18.86, allocations: 29.34 kB / 7.707 GB, free: 8.34 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 (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.0002601/18.86, allocations: 147.5 kB / 7.707 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004543/18.86, allocations: 44.31 kB / 7.707 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/18.87, allocations: 0.7082 MB / 7.708 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/18.87, allocations: 3.5 kB / 7.708 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/18.87, allocations: 0 / 7.708 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002133/18.87, allocations: 0.7756 MB / 7.709 GB, free: 23.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/18.87, allocations: 1.403 MB / 7.71 GB, free: 23.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.958e-06/18.87, allocations: 4.078 kB / 7.71 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/18.87, allocations: 123.4 kB / 7.71 GB, free: 23.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/18.88, allocations: 151.2 kB / 7.71 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/18.88, allocations: 17.86 kB / 7.71 GB, free: 23.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006374/18.88, allocations: 0.65 MB / 7.711 GB, free: 22.73 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/18.88, allocations: 7.594 kB / 7.711 GB, free: 22.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/18.88, allocations: 0.989 MB / 7.712 GB, free: 22.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/18.88, allocations: 133.3 kB / 7.712 GB, free: 22.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/18.88, allocations: 18.77 kB / 7.712 GB, free: 22.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/18.88, allocations: 37.02 kB / 7.712 GB, free: 22.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/18.88, allocations: 40.91 kB / 7.712 GB, free: 22.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/18.88, allocations: 35.92 kB / 7.712 GB, free: 22.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000514/18.88, allocations: 238.5 kB / 7.712 GB, free: 22.22 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.35e-07/18.88, allocations: 0 / 7.712 GB, free: 22.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008443/18.89, allocations: 1.971 MB / 7.714 GB, free: 21.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (61): * Single equations (assignments): 60 * 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.01483/18.9, allocations: 3.109 MB / 7.717 GB, free: 21.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002096/18.91, allocations: 0.7864 MB / 7.718 GB, free: 20.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/18.91, allocations: 7.625 kB / 7.718 GB, free: 20.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008838/18.91, allocations: 299.4 kB / 7.718 GB, free: 20.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/18.91, allocations: 284.9 kB / 7.719 GB, free: 20.56 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/18.91, allocations: 0.9357 MB / 7.72 GB, free: 20.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/18.91, allocations: 0.8547 MB / 7.72 GB, free: 19.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/18.91, allocations: 70.22 kB / 7.72 GB, free: 19.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.803e-06/18.91, allocations: 0 / 7.72 GB, free: 19.32 MB / 474.7 MB Notification: Performance of Templates: time 0.4158/19.33, allocations: 54.77 MB / 7.774 GB, free: 45.92 MB / 474.7 MB