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.798/1.798, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.809e-05, allocations: 4 kB / 255.4 MB, free: 3.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07832/0.07837, allocations: 44.5 MB / 299.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.77/14.85, allocations: 6.611 GB / 6.904 GB, free: 2.797 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/14.85, allocations: 75.95 kB / 6.904 GB, free: 2.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118/15.97, allocations: 191 MB / 7.091 GB, free: 72.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.025e-06/15.97, allocations: 0 / 7.091 GB, free: 72.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.839e-05/15.97, allocations: 6.188 kB / 7.091 GB, free: 72.91 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.006744/15.98, allocations: 1.44 MB / 7.092 GB, free: 72.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/15.98, allocations: 9.625 kB / 7.092 GB, free: 72.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/15.98, allocations: 21.91 kB / 7.092 GB, free: 72.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/15.98, allocations: 227.4 kB / 7.092 GB, free: 72.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/15.98, allocations: 11.83 kB / 7.092 GB, free: 72.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/15.98, allocations: 13.38 kB / 7.092 GB, free: 72.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/15.98, allocations: 245.8 kB / 7.093 GB, free: 71.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/15.98, allocations: 3.969 kB / 7.093 GB, free: 71.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/15.98, allocations: 10.06 kB / 7.093 GB, free: 71.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.4e-05/15.98, allocations: 8.859 kB / 7.093 GB, free: 71.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006942/15.98, allocations: 244.8 kB / 7.093 GB, free: 71.96 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.001598/15.98, allocations: 0.6814 MB / 7.093 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000748/15.98, allocations: 292.1 kB / 7.094 GB, free: 71.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/15.98, allocations: 118.4 kB / 7.094 GB, free: 71.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/15.99, allocations: 10.08 MB / 7.104 GB, free: 61.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/15.99, allocations: 36.25 kB / 7.104 GB, free: 61.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 4.45e-06/15.99, allocations: 2.812 kB / 7.104 GB, free: 61.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.00249/16, allocations: 0.5128 MB / 7.104 GB, free: 61.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/16, allocations: 82.77 kB / 7.104 GB, free: 61.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/16, allocations: 119.4 kB / 7.104 GB, free: 61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/16, allocations: 29.52 kB / 7.104 GB, free: 60.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/16, allocations: 178.9 kB / 7.105 GB, free: 60.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/16, allocations: 124.1 kB / 7.105 GB, free: 60.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/16, allocations: 13.22 kB / 7.105 GB, free: 60.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/16, allocations: 324.6 kB / 7.105 GB, free: 60.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/16, allocations: 111 kB / 7.105 GB, free: 60.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/16, allocations: 180 kB / 7.105 GB, free: 60.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/16, allocations: 131 kB / 7.105 GB, free: 60.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.403e-06/16, allocations: 3.438 kB / 7.105 GB, free: 60.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001063/16, allocations: 356.9 kB / 7.106 GB, free: 60.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/16, allocations: 3.781 kB / 7.106 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/16, allocations: 2.125 kB / 7.106 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/16, allocations: 6.875 kB / 7.106 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/16, allocations: 91.48 kB / 7.106 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/16, allocations: 6.812 kB / 7.106 GB, free: 60.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/16, allocations: 28.91 kB / 7.106 GB, free: 60.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/16, allocations: 18.16 kB / 7.106 GB, free: 60.31 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.0001371/16, allocations: 129 kB / 7.106 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/16, allocations: 28.95 kB / 7.106 GB, free: 60.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/16, allocations: 187.3 kB / 7.106 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.382e-06/16, allocations: 6.562 kB / 7.106 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.841e-06/16, allocations: 1.125 kB / 7.106 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.573e-06/16, allocations: 7.25 kB / 7.106 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/16, allocations: 0.9136 MB / 7.107 GB, free: 59.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.329e-06/16, allocations: 1.219 kB / 7.107 GB, free: 59.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/16, allocations: 86.17 kB / 7.107 GB, free: 59.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/16, allocations: 6.938 kB / 7.107 GB, free: 59.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/16, allocations: 14.67 kB / 7.107 GB, free: 59.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/16, allocations: 3.625 kB / 7.107 GB, free: 59.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.627e-06/16, allocations: 3.953 kB / 7.107 GB, free: 59.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/16.01, allocations: 0.7224 MB / 7.108 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/16.01, allocations: 122.1 kB / 7.108 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/16.01, allocations: 6.438 kB / 7.108 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/16.01, allocations: 30.59 kB / 7.108 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/16.01, allocations: 30.77 kB / 7.108 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/16.01, allocations: 15.92 kB / 7.108 GB, free: 59.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.123e-05/16.01, allocations: 100.4 kB / 7.108 GB, free: 59.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.08e-07/16.01, allocations: 0 / 7.108 GB, free: 59.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004671/16.01, allocations: 1.081 MB / 7.109 GB, free: 59.05 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.008838/16.02, allocations: 1.601 MB / 7.111 GB, free: 58.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009106/16.02, allocations: 302.4 kB / 7.111 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.157e-06/16.02, allocations: 0 / 7.111 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004209/16.02, allocations: 160.2 kB / 7.111 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/16.02, allocations: 91.5 kB / 7.111 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/16.02, allocations: 480.6 kB / 7.112 GB, free: 58.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/16.03, allocations: 0.7409 MB / 7.113 GB, free: 57.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/16.03, allocations: 44.66 kB / 7.113 GB, free: 57.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.944e-06/16.03, allocations: 0 / 7.113 GB, free: 57.91 MB / 426.7 MB Notification: Performance of Templates: time 0.0448/16.07, allocations: 26.27 MB / 7.138 GB, free: 55.82 MB / 426.7 MB