Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.475e-05, allocations: 7.938 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2507, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.915/9.165, allocations: 3.698 GB / 3.986 GB, free: 73.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/9.165, allocations: 67.22 kB / 3.986 GB, free: 73.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1478/9.313, allocations: 47.91 MB / 4.032 GB, free: 31.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.561e-06/9.313, allocations: 0 / 4.032 GB, free: 31.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/9.313, allocations: 0 / 4.032 GB, free: 31.85 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001651/9.315, allocations: 0.6268 MB / 4.033 GB, free: 31.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/9.315, allocations: 16.03 kB / 4.033 GB, free: 31.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/9.315, allocations: 19.84 kB / 4.033 GB, free: 31.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/9.316, allocations: 210.8 kB / 4.033 GB, free: 30.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/9.316, allocations: 4 kB / 4.033 GB, free: 30.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/9.316, allocations: 12 kB / 4.033 GB, free: 30.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004524/9.316, allocations: 204.5 kB / 4.033 GB, free: 30.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/9.316, allocations: 217.2 kB / 4.034 GB, free: 30.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/9.317, allocations: 0 / 4.034 GB, free: 30.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/9.317, allocations: 0 / 4.034 GB, free: 30.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/9.317, allocations: 12 kB / 4.034 GB, free: 30.45 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/9.318, allocations: 0.6408 MB / 4.034 GB, free: 29.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/9.319, allocations: 197.2 kB / 4.035 GB, free: 29.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/9.319, allocations: 113.6 kB / 4.035 GB, free: 29.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/9.319, allocations: 360.4 kB / 4.035 GB, free: 28.99 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/9.319, allocations: 38.52 kB / 4.035 GB, free: 28.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.335e-06/9.319, allocations: 0 / 4.035 GB, free: 28.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001816/9.321, allocations: 491.9 kB / 4.035 GB, free: 28.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/9.321, allocations: 81.3 kB / 4.036 GB, free: 28.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.895e-05/9.321, allocations: 117 kB / 4.036 GB, free: 28.24 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/9.321, allocations: 25.7 kB / 4.036 GB, free: 28.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/9.321, allocations: 175 kB / 4.036 GB, free: 28.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/9.321, allocations: 122.1 kB / 4.036 GB, free: 27.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/9.321, allocations: 4 kB / 4.036 GB, free: 27.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.069e-05/9.322, allocations: 326.8 kB / 4.036 GB, free: 27.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/9.322, allocations: 107.9 kB / 4.036 GB, free: 27.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/9.322, allocations: 164.1 kB / 4.037 GB, free: 27.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/9.322, allocations: 149.8 kB / 4.037 GB, free: 27.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-06/9.322, allocations: 7.953 kB / 4.037 GB, free: 27.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007884/9.323, allocations: 345.5 kB / 4.037 GB, free: 26.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/9.323, allocations: 8.031 kB / 4.037 GB, free: 26.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.862e-06/9.323, allocations: 4 kB / 4.037 GB, free: 26.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/9.323, allocations: 4 kB / 4.037 GB, free: 26.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/9.324, allocations: 83.88 kB / 4.037 GB, free: 26.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.211e-06/9.324, allocations: 7.938 kB / 4.037 GB, free: 26.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/9.324, allocations: 19.89 kB / 4.037 GB, free: 26.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/9.324, allocations: 19.98 kB / 4.037 GB, free: 26.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/9.325, allocations: 119.2 kB / 4.037 GB, free: 26.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/9.325, allocations: 15.86 kB / 4.037 GB, free: 26.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/9.325, allocations: 182.9 kB / 4.037 GB, free: 26.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-06/9.325, allocations: 8 kB / 4.037 GB, free: 26.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/9.325, allocations: 0 / 4.037 GB, free: 26.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/9.325, allocations: 0 / 4.037 GB, free: 26.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/9.327, allocations: 0.6471 MB / 4.038 GB, free: 25.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.335e-06/9.327, allocations: 4.375 kB / 4.038 GB, free: 25.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/9.327, allocations: 83.81 kB / 4.038 GB, free: 25.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.546e-06/9.327, allocations: 8.156 kB / 4.038 GB, free: 25.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/9.327, allocations: 4 kB / 4.038 GB, free: 25.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.33e-06/9.327, allocations: 15.83 kB / 4.038 GB, free: 25.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.695e-06/9.327, allocations: 0 / 4.038 GB, free: 25.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/9.328, allocations: 0.6952 MB / 4.039 GB, free: 24.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/9.328, allocations: 120.8 kB / 4.039 GB, free: 24.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/9.329, allocations: 8.062 kB / 4.039 GB, free: 24.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/9.329, allocations: 19.92 kB / 4.039 GB, free: 24.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/9.329, allocations: 23.97 kB / 4.039 GB, free: 24.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/9.329, allocations: 12 kB / 4.039 GB, free: 24.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/9.329, allocations: 91.27 kB / 4.039 GB, free: 24.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/9.329, allocations: 0 / 4.039 GB, free: 24.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008338/9.33, allocations: 167.8 kB / 4.039 GB, free: 24.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/9.331, allocations: 0.728 MB / 4.04 GB, free: 23.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000581/9.332, allocations: 279.9 kB / 4.04 GB, free: 23.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/9.332, allocations: 448 / 4.04 GB, free: 23.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/9.332, allocations: 147.8 kB / 4.04 GB, free: 23.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/9.333, allocations: 84.16 kB / 4.041 GB, free: 23.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/9.334, allocations: 485.2 kB / 4.041 GB, free: 22.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/9.334, allocations: 0.7413 MB / 4.042 GB, free: 21.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/9.334, allocations: 35.42 kB / 4.042 GB, free: 21.72 MB / 394.7 MB Notification: Performance of SimCode: time 1.641e-06/9.334, allocations: 288 / 4.042 GB, free: 21.72 MB / 394.7 MB Notification: Performance of Templates: time 0.01108/9.345, allocations: 7.071 MB / 4.049 GB, free: 14.63 MB / 394.7 MB