Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.807/1.807, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.772e-05, allocations: 4 kB / 255.3 MB, free: 3.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08004, allocations: 44.5 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.77/14.85, allocations: 6.611 GB / 6.904 GB, free: 4.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/14.85, allocations: 82.94 kB / 6.904 GB, free: 4.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113/15.96, allocations: 191 MB / 7.091 GB, free: 71.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.905e-06/15.96, allocations: 0 / 7.091 GB, free: 71.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.598e-05/15.96, allocations: 2.938 kB / 7.091 GB, free: 71.97 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.006275/15.97, allocations: 1.441 MB / 7.092 GB, free: 71.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/15.97, allocations: 11.5 kB / 7.092 GB, free: 71.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/15.97, allocations: 19.25 kB / 7.092 GB, free: 71.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/15.97, allocations: 219.7 kB / 7.092 GB, free: 71.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/15.97, allocations: 10.95 kB / 7.092 GB, free: 71.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/15.97, allocations: 15.41 kB / 7.092 GB, free: 71.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/15.97, allocations: 245.3 kB / 7.093 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/15.97, allocations: 0 / 7.093 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/15.97, allocations: 9.844 kB / 7.093 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/15.97, allocations: 7 kB / 7.093 GB, free: 71.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/15.97, allocations: 245.6 kB / 7.093 GB, free: 71.04 MB / 426.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.001581/15.97, allocations: 0.6905 MB / 7.093 GB, free: 70.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/15.97, allocations: 302.5 kB / 7.094 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/15.97, allocations: 122.6 kB / 7.094 GB, free: 70.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/15.99, allocations: 10.08 MB / 7.104 GB, free: 60.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/15.99, allocations: 34.38 kB / 7.104 GB, free: 60.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 4.049e-06/15.99, allocations: 0 / 7.104 GB, free: 60.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002602/15.99, allocations: 0.519 MB / 7.104 GB, free: 60.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/15.99, allocations: 84.73 kB / 7.104 GB, free: 60.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/15.99, allocations: 113 kB / 7.104 GB, free: 60.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/15.99, allocations: 32.27 kB / 7.104 GB, free: 60.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/15.99, allocations: 181.1 kB / 7.105 GB, free: 59.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/15.99, allocations: 120 kB / 7.105 GB, free: 59.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/15.99, allocations: 9.719 kB / 7.105 GB, free: 59.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/15.99, allocations: 325.2 kB / 7.105 GB, free: 59.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/15.99, allocations: 107.1 kB / 7.105 GB, free: 59.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/15.99, allocations: 188.7 kB / 7.105 GB, free: 59.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/15.99, allocations: 127.6 kB / 7.105 GB, free: 59.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/15.99, allocations: 3.969 kB / 7.105 GB, free: 59.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001138/15.99, allocations: 364.2 kB / 7.106 GB, free: 59.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/15.99, allocations: 3.594 kB / 7.106 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/15.99, allocations: 5.906 kB / 7.106 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/15.99, allocations: 3.562 kB / 7.106 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/15.99, allocations: 90.84 kB / 7.106 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/15.99, allocations: 8.75 kB / 7.106 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/15.99, allocations: 31.86 kB / 7.106 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/15.99, allocations: 16.86 kB / 7.106 GB, free: 59.39 MB / 426.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.0001255/15.99, allocations: 122.2 kB / 7.106 GB, free: 59.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/15.99, allocations: 23.61 kB / 7.106 GB, free: 59.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/15.99, allocations: 191.6 kB / 7.106 GB, free: 59.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.193e-06/15.99, allocations: 5.094 kB / 7.106 GB, free: 59.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.255e-06/15.99, allocations: 3.906 kB / 7.106 GB, free: 59.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.618e-06/15.99, allocations: 0 / 7.106 GB, free: 59.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/16, allocations: 0.9311 MB / 7.107 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.428e-06/16, allocations: 3.938 kB / 7.107 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/16, allocations: 78.41 kB / 7.107 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/16, allocations: 2.688 kB / 7.107 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/16, allocations: 14.98 kB / 7.107 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.032e-06/16, allocations: 3.188 kB / 7.107 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.786e-06/16, allocations: 7.891 kB / 7.107 GB, free: 58.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/16, allocations: 0.7213 MB / 7.108 GB, free: 58.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/16, allocations: 124.2 kB / 7.108 GB, free: 58.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/16, allocations: 10.03 kB / 7.108 GB, free: 58.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/16, allocations: 24.91 kB / 7.108 GB, free: 58.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/16, allocations: 29.41 kB / 7.108 GB, free: 58.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/16, allocations: 18.95 kB / 7.108 GB, free: 58.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.338e-05/16, allocations: 99.95 kB / 7.108 GB, free: 58.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.46e-07/16, allocations: 0 / 7.108 GB, free: 58.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004688/16, allocations: 1.087 MB / 7.109 GB, free: 58.12 MB / 426.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 (39): * Single equations (assignments): 39 * 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.008733/16.01, allocations: 1.604 MB / 7.111 GB, free: 57.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009508/16.01, allocations: 295 kB / 7.111 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.636e-06/16.01, allocations: 0 / 7.111 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/16.01, allocations: 156.3 kB / 7.111 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/16.01, allocations: 95.8 kB / 7.111 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/16.02, allocations: 483.7 kB / 7.112 GB, free: 57.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/16.02, allocations: 0.7406 MB / 7.113 GB, free: 56.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/16.02, allocations: 49.66 kB / 7.113 GB, free: 56.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.03e-06/16.02, allocations: 0 / 7.113 GB, free: 56.98 MB / 426.7 MB Notification: Performance of Templates: time 0.04612/16.06, allocations: 26.26 MB / 7.138 GB, free: 54.95 MB / 426.7 MB