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.78/1.78, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.075e-05, allocations: 8.969 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07672/0.07678, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.362/8.439, allocations: 3.699 GB / 3.992 GB, free: 142.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/8.439, allocations: 66.59 kB / 3.992 GB, free: 142.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/8.593, allocations: 48.62 MB / 4.039 GB, free: 94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.959e-06/8.593, allocations: 0 / 4.039 GB, free: 94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/8.593, allocations: 4 kB / 4.039 GB, free: 94 MB / 410.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.001685/8.595, allocations: 0.6229 MB / 4.04 GB, free: 93.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/8.595, allocations: 8.031 kB / 4.04 GB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/8.595, allocations: 15.91 kB / 4.04 GB, free: 93.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/8.595, allocations: 214.8 kB / 4.04 GB, free: 93.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/8.595, allocations: 16.31 kB / 4.04 GB, free: 93.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/8.596, allocations: 16 kB / 4.04 GB, free: 93.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/8.596, allocations: 241.2 kB / 4.04 GB, free: 92.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/8.596, allocations: 4 kB / 4.04 GB, free: 92.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/8.596, allocations: 8 kB / 4.041 GB, free: 92.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/8.596, allocations: 7.984 kB / 4.041 GB, free: 92.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/8.597, allocations: 227.9 kB / 4.041 GB, free: 92.54 MB / 410.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.001553/8.598, allocations: 0.6909 MB / 4.041 GB, free: 91.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/8.599, allocations: 193.2 kB / 4.042 GB, free: 91.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/8.599, allocations: 125.6 kB / 4.042 GB, free: 91.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/8.599, allocations: 364.4 kB / 4.042 GB, free: 91.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/8.599, allocations: 34.56 kB / 4.042 GB, free: 90.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.84e-06/8.599, allocations: 0 / 4.042 GB, free: 90.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001799/8.601, allocations: 0.4928 MB / 4.043 GB, free: 90.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/8.601, allocations: 81.3 kB / 4.043 GB, free: 90.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/8.601, allocations: 121.1 kB / 4.043 GB, free: 90.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/8.602, allocations: 29.7 kB / 4.043 GB, free: 90.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/8.602, allocations: 179 kB / 4.043 GB, free: 90.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/8.602, allocations: 130.1 kB / 4.043 GB, free: 89.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/8.602, allocations: 4 kB / 4.043 GB, free: 89.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.908e-05/8.602, allocations: 330.8 kB / 4.043 GB, free: 89.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/8.602, allocations: 111.9 kB / 4.044 GB, free: 89.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/8.602, allocations: 179.9 kB / 4.044 GB, free: 89.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/8.603, allocations: 134.9 kB / 4.044 GB, free: 89.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.194e-06/8.603, allocations: 0 / 4.044 GB, free: 89.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007532/8.603, allocations: 345.4 kB / 4.044 GB, free: 88.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/8.603, allocations: 8 kB / 4.044 GB, free: 88.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.17e-06/8.603, allocations: 0 / 4.044 GB, free: 88.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/8.604, allocations: 4 kB / 4.044 GB, free: 88.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/8.604, allocations: 92.09 kB / 4.044 GB, free: 88.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/8.604, allocations: 7.938 kB / 4.044 GB, free: 88.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/8.605, allocations: 35.81 kB / 4.044 GB, free: 88.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/8.605, allocations: 12 kB / 4.044 GB, free: 88.62 MB / 410.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.0001175/8.605, allocations: 124.1 kB / 4.044 GB, free: 88.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/8.605, allocations: 15.91 kB / 4.044 GB, free: 88.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/8.605, allocations: 174.2 kB / 4.045 GB, free: 88.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.797e-06/8.605, allocations: 11.94 kB / 4.045 GB, free: 88.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-06/8.605, allocations: 0 / 4.045 GB, free: 88.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.973e-06/8.605, allocations: 3.984 kB / 4.045 GB, free: 88.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/8.607, allocations: 0.7036 MB / 4.045 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.376e-06/8.607, allocations: 4 kB / 4.045 GB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/8.607, allocations: 79.83 kB / 4.045 GB, free: 87.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/8.607, allocations: 8.328 kB / 4.045 GB, free: 87.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/8.607, allocations: 11.98 kB / 4.045 GB, free: 87.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.601e-06/8.608, allocations: 4 kB / 4.045 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/8.608, allocations: 0 / 4.045 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009999/8.609, allocations: 0.7056 MB / 4.046 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/8.609, allocations: 124.8 kB / 4.046 GB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/8.609, allocations: 8 kB / 4.046 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/8.609, allocations: 27.97 kB / 4.046 GB, free: 86.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/8.609, allocations: 24.03 kB / 4.046 GB, free: 86.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/8.609, allocations: 19.98 kB / 4.046 GB, free: 86.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.811e-05/8.609, allocations: 91.28 kB / 4.046 GB, free: 86.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.08e-07/8.609, allocations: 0 / 4.046 GB, free: 86.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009068/8.61, allocations: 187.8 kB / 4.047 GB, free: 86.14 MB / 410.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.001026/8.611, allocations: 0.6546 MB / 4.047 GB, free: 85.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006556/8.612, allocations: 287.1 kB / 4.047 GB, free: 85.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.968e-06/8.612, allocations: 4 kB / 4.047 GB, free: 85.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/8.612, allocations: 151.8 kB / 4.048 GB, free: 85.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/8.613, allocations: 92.55 kB / 4.048 GB, free: 84.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/8.614, allocations: 0.4936 MB / 4.048 GB, free: 84.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/8.615, allocations: 0.7374 MB / 4.049 GB, free: 83.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/8.615, allocations: 43.42 kB / 4.049 GB, free: 83.62 MB / 410.7 MB Notification: Performance of SimCode: time 1.745e-06/8.615, allocations: 0 / 4.049 GB, free: 83.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01136/8.626, allocations: 7.144 MB / 4.056 GB, free: 76.46 MB / 410.7 MB