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.765/1.765, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.736e-05, allocations: 2.031 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07771, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.552/8.63, allocations: 3.699 GB / 3.992 GB, free: 33.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/8.63, allocations: 67.78 kB / 3.992 GB, free: 33.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3762/9.006, allocations: 48.61 MB / 4.039 GB, free: 126.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.628e-06/9.007, allocations: 1.531 kB / 4.039 GB, free: 126.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/9.007, allocations: 2.5 kB / 4.039 GB, free: 126.2 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.001781/9.008, allocations: 0.6184 MB / 4.04 GB, free: 125.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/9.008, allocations: 11.64 kB / 4.04 GB, free: 125.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/9.009, allocations: 19.36 kB / 4.04 GB, free: 125.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/9.009, allocations: 221.2 kB / 4.04 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/9.009, allocations: 12.83 kB / 4.04 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/9.009, allocations: 20.3 kB / 4.04 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/9.009, allocations: 240.1 kB / 4.04 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/9.01, allocations: 1.281 kB / 4.04 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/9.01, allocations: 13.58 kB / 4.04 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/9.01, allocations: 5.469 kB / 4.04 GB, free: 125.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/9.01, allocations: 232.3 kB / 4.041 GB, free: 125.5 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.001627/9.012, allocations: 0.6834 MB / 4.041 GB, free: 125.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/9.012, allocations: 194.5 kB / 4.042 GB, free: 125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/9.013, allocations: 121 kB / 4.042 GB, free: 125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/9.013, allocations: 359.6 kB / 4.042 GB, free: 124.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/9.013, allocations: 38.3 kB / 4.042 GB, free: 124.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.266e-06/9.013, allocations: 0 / 4.042 GB, free: 124.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002003/9.015, allocations: 0.5011 MB / 4.043 GB, free: 124.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/9.015, allocations: 88.05 kB / 4.043 GB, free: 124.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/9.015, allocations: 113.3 kB / 4.043 GB, free: 124.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/9.015, allocations: 33.36 kB / 4.043 GB, free: 124.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/9.015, allocations: 181.5 kB / 4.043 GB, free: 124.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/9.016, allocations: 123.6 kB / 4.043 GB, free: 124.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/9.016, allocations: 7.812 kB / 4.043 GB, free: 124.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/9.016, allocations: 324.7 kB / 4.043 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/9.016, allocations: 114.2 kB / 4.043 GB, free: 123.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/9.016, allocations: 178 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/9.017, allocations: 133.5 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.275e-06/9.017, allocations: 0 / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007649/9.017, allocations: 359.6 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/9.017, allocations: 3.938 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.473e-06/9.017, allocations: 3.875 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/9.017, allocations: 7.766 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/9.018, allocations: 85.08 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/9.018, allocations: 8.156 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/9.018, allocations: 31.7 kB / 4.044 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/9.019, allocations: 15.44 kB / 4.044 GB, free: 123.7 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.0001205/9.019, allocations: 124 kB / 4.044 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/9.019, allocations: 11.69 kB / 4.044 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/9.019, allocations: 184.8 kB / 4.045 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.881e-06/9.019, allocations: 11.69 kB / 4.045 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-06/9.019, allocations: 0 / 4.045 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.49e-06/9.019, allocations: 3.812 kB / 4.045 GB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/9.021, allocations: 0.709 MB / 4.045 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-06/9.021, allocations: 0 / 4.045 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/9.021, allocations: 80.8 kB / 4.045 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/9.021, allocations: 7.578 kB / 4.045 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/9.021, allocations: 9.562 kB / 4.045 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.455e-06/9.021, allocations: 7.812 kB / 4.045 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/9.022, allocations: 0 / 4.045 GB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/9.023, allocations: 0.712 MB / 4.046 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/9.023, allocations: 114.3 kB / 4.046 GB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/9.023, allocations: 14 kB / 4.046 GB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/9.023, allocations: 17.77 kB / 4.046 GB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/9.023, allocations: 31.8 kB / 4.046 GB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/9.023, allocations: 21.66 kB / 4.046 GB, free: 122.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.976e-05/9.023, allocations: 91.78 kB / 4.046 GB, free: 122.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.48e-07/9.023, allocations: 0 / 4.046 GB, free: 122.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009043/9.024, allocations: 181.2 kB / 4.047 GB, free: 122.6 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.001078/9.025, allocations: 0.6518 MB / 4.047 GB, free: 122.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006791/9.026, allocations: 296.4 kB / 4.047 GB, free: 122.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/9.026, allocations: 0 / 4.047 GB, free: 122.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/9.026, allocations: 153.1 kB / 4.048 GB, free: 122.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008231/9.027, allocations: 93.25 kB / 4.048 GB, free: 122.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/9.029, allocations: 0.4924 MB / 4.048 GB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/9.029, allocations: 0.7385 MB / 4.049 GB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/9.029, allocations: 41.52 kB / 4.049 GB, free: 121.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.872e-06/9.029, allocations: 288 / 4.049 GB, free: 121.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01187/9.041, allocations: 7.125 MB / 4.056 GB, free: 120.8 MB / 410.7 MB