Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.584/1.584, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.028e-05, allocations: 4 kB / 225 MB, free: 2.797 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2085, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.083/8.292, allocations: 3.693 GB / 3.951 GB, free: 20.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/8.292, allocations: 70.36 kB / 3.951 GB, free: 20.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3478/8.64, allocations: 48.32 MB / 3.998 GB, free: 119.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.556e-06/8.64, allocations: 0 / 3.998 GB, free: 119.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/8.64, allocations: 4 kB / 3.998 GB, free: 119.3 MB / 362.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.001679/8.641, allocations: 0.6289 MB / 3.999 GB, free: 118.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/8.642, allocations: 8.031 kB / 3.999 GB, free: 118.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/8.642, allocations: 19.81 kB / 3.999 GB, free: 118.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/8.642, allocations: 209.9 kB / 3.999 GB, free: 118.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/8.642, allocations: 12.33 kB / 3.999 GB, free: 118.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/8.642, allocations: 18.58 kB / 3.999 GB, free: 118.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/8.643, allocations: 237.7 kB / 3.999 GB, free: 118.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/8.643, allocations: 3.906 kB / 3.999 GB, free: 118.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/8.643, allocations: 8 kB / 3.999 GB, free: 118.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/8.643, allocations: 4 kB / 3.999 GB, free: 118.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/8.643, allocations: 233.6 kB / 4 GB, free: 118 MB / 362.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.001528/8.645, allocations: 0.6825 MB / 4 GB, free: 117.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/8.645, allocations: 200.8 kB / 4 GB, free: 117.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/8.646, allocations: 117.5 kB / 4 GB, free: 117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/8.646, allocations: 359.7 kB / 4.001 GB, free: 116.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/8.646, allocations: 42.5 kB / 4.001 GB, free: 116.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.412e-06/8.646, allocations: 0 / 4.001 GB, free: 116.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001783/8.648, allocations: 0.4996 MB / 4.001 GB, free: 116.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/8.648, allocations: 81.3 kB / 4.001 GB, free: 116.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/8.648, allocations: 117 kB / 4.002 GB, free: 115.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/8.648, allocations: 33.7 kB / 4.002 GB, free: 115.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/8.648, allocations: 171 kB / 4.002 GB, free: 115.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/8.648, allocations: 125.7 kB / 4.002 GB, free: 115.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/8.648, allocations: 8 kB / 4.002 GB, free: 115.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.809e-05/8.648, allocations: 330.7 kB / 4.002 GB, free: 115.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/8.648, allocations: 111.6 kB / 4.002 GB, free: 115.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/8.649, allocations: 175.7 kB / 4.002 GB, free: 115 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/8.649, allocations: 131.7 kB / 4.003 GB, free: 114.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.063e-06/8.649, allocations: 4 kB / 4.003 GB, free: 114.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007413/8.65, allocations: 347.5 kB / 4.003 GB, free: 114.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/8.65, allocations: 8.031 kB / 4.003 GB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.512e-06/8.65, allocations: 4 kB / 4.003 GB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/8.65, allocations: 4 kB / 4.003 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/8.651, allocations: 91.44 kB / 4.003 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/8.651, allocations: 7.984 kB / 4.003 GB, free: 114.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/8.651, allocations: 23.78 kB / 4.003 GB, free: 114.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/8.651, allocations: 23.56 kB / 4.003 GB, free: 114.4 MB / 362.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.0001136/8.651, allocations: 120.9 kB / 4.003 GB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/8.651, allocations: 15.81 kB / 4.003 GB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/8.652, allocations: 181.4 kB / 4.003 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/8.652, allocations: 4 kB / 4.003 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-06/8.652, allocations: 3.938 kB / 4.003 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.821e-06/8.652, allocations: 7.703 kB / 4.003 GB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/8.653, allocations: 0.714 MB / 4.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.506e-06/8.653, allocations: 4 kB / 4.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/8.654, allocations: 77.55 kB / 4.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.922e-06/8.654, allocations: 8 kB / 4.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/8.654, allocations: 14.86 kB / 4.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.371e-06/8.654, allocations: 4 kB / 4.004 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.941e-06/8.654, allocations: 3.938 kB / 4.004 GB, free: 113.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/8.655, allocations: 0.7068 MB / 4.005 GB, free: 112.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/8.655, allocations: 118.6 kB / 4.005 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/8.655, allocations: 12.44 kB / 4.005 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/8.656, allocations: 19.7 kB / 4.005 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/8.656, allocations: 29.36 kB / 4.005 GB, free: 112.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/8.656, allocations: 19.28 kB / 4.005 GB, free: 112.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.733e-05/8.656, allocations: 91.22 kB / 4.005 GB, free: 112.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.39e-07/8.656, allocations: 0 / 4.005 GB, free: 112.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008708/8.657, allocations: 186.2 kB / 4.005 GB, free: 112.2 MB / 362.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.001041/8.658, allocations: 0.6442 MB / 4.006 GB, free: 111.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006482/8.658, allocations: 287.2 kB / 4.006 GB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.174e-06/8.658, allocations: 3.938 kB / 4.006 GB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/8.659, allocations: 147.2 kB / 4.006 GB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/8.659, allocations: 98.39 kB / 4.006 GB, free: 111.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/8.661, allocations: 0.5206 MB / 4.007 GB, free: 110.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/8.661, allocations: 0.7367 MB / 4.008 GB, free: 109.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/8.661, allocations: 43.22 kB / 4.008 GB, free: 109.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.845e-06/8.661, allocations: 0 / 4.008 GB, free: 109.9 MB / 362.7 MB Notification: Performance of Templates: time 0.01057/8.672, allocations: 7.137 MB / 4.015 GB, free: 103.2 MB / 362.7 MB