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.873/1.873, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.787e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.24/16.49, allocations: 6.611 GB / 6.898 GB, free: 53.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/16.49, allocations: 75.14 kB / 6.898 GB, free: 53.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.86/17.35, allocations: 188.5 MB / 7.082 GB, free: 22.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.919e-06/17.35, allocations: 3.938 kB / 7.082 GB, free: 22.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/17.35, allocations: 4 kB / 7.082 GB, free: 22.92 MB / 394.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.00631/17.36, allocations: 1.449 MB / 7.083 GB, free: 21.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/17.36, allocations: 12.03 kB / 7.083 GB, free: 21.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/17.36, allocations: 15.81 kB / 7.083 GB, free: 21.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/17.36, allocations: 214.8 kB / 7.084 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/17.36, allocations: 4 kB / 7.084 GB, free: 21.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/17.36, allocations: 15.91 kB / 7.084 GB, free: 21.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004538/17.36, allocations: 216.5 kB / 7.084 GB, free: 20.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/17.36, allocations: 217.2 kB / 7.084 GB, free: 20.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/17.36, allocations: 0 / 7.084 GB, free: 20.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/17.36, allocations: 3.938 kB / 7.084 GB, free: 20.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/17.36, allocations: 4 kB / 7.084 GB, free: 20.68 MB / 394.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.00147/17.36, allocations: 0.6406 MB / 7.085 GB, free: 19.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/17.36, allocations: 270.3 kB / 7.085 GB, free: 19.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/17.36, allocations: 110.1 kB / 7.085 GB, free: 19.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/17.37, allocations: 10.08 MB / 7.095 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/17.37, allocations: 34.56 kB / 7.095 GB, free: 7.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 5.292e-06/17.37, allocations: 0 / 7.095 GB, free: 7.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002228/17.37, allocations: 0.5077 MB / 7.095 GB, free: 6.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/17.37, allocations: 81.3 kB / 7.095 GB, free: 6.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/17.37, allocations: 116.9 kB / 7.096 GB, free: 6.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/17.37, allocations: 25.7 kB / 7.096 GB, free: 6.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/17.37, allocations: 179 kB / 7.096 GB, free: 6.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/17.37, allocations: 114.2 kB / 7.096 GB, free: 6.422 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/17.37, allocations: 0 / 7.096 GB, free: 6.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/17.37, allocations: 326.8 kB / 7.096 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/17.37, allocations: 108 kB / 7.096 GB, free: 5.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002509/17.37, allocations: 171.8 kB / 7.096 GB, free: 5.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/17.37, allocations: 140.8 kB / 7.097 GB, free: 5.656 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.029e-06/17.37, allocations: 0 / 7.097 GB, free: 5.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009455/17.38, allocations: 361.5 kB / 7.097 GB, free: 5.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/17.38, allocations: 4 kB / 7.097 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/17.38, allocations: 7.953 kB / 7.097 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/17.38, allocations: 4 kB / 7.097 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/17.38, allocations: 96.03 kB / 7.097 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.666e-06/17.38, allocations: 7.984 kB / 7.097 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/17.38, allocations: 27.81 kB / 7.097 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/17.38, allocations: 12 kB / 7.097 GB, free: 5.141 MB / 394.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.0001152/17.38, allocations: 116.7 kB / 7.097 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/17.38, allocations: 23.81 kB / 7.097 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/17.38, allocations: 188.2 kB / 7.097 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.452e-06/17.38, allocations: 7.953 kB / 7.097 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/17.38, allocations: 4 kB / 7.097 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/17.38, allocations: 7.984 kB / 7.097 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/17.38, allocations: 0.8647 MB / 7.098 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/17.38, allocations: 0 / 7.098 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006234/17.38, allocations: 79.89 kB / 7.098 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/17.38, allocations: 7.984 kB / 7.098 GB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/17.38, allocations: 7.938 kB / 7.098 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.206e-06/17.38, allocations: 7.938 kB / 7.098 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.229e-06/17.38, allocations: 0 / 7.098 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/17.38, allocations: 0.7099 MB / 7.099 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/17.38, allocations: 128.8 kB / 7.099 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/17.38, allocations: 3.938 kB / 7.099 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/17.38, allocations: 15.98 kB / 7.099 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/17.38, allocations: 35.97 kB / 7.099 GB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/17.38, allocations: 8 kB / 7.099 GB, free: 2.789 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.973e-05/17.38, allocations: 103.6 kB / 7.099 GB, free: 2.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.7e-07/17.38, allocations: 0 / 7.099 GB, free: 2.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004541/17.39, allocations: 1.061 MB / 7.1 GB, free: 1.625 MB / 394.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.00857/17.4, allocations: 1.637 MB / 7.102 GB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2372/17.63, allocations: 274.7 kB / 7.102 GB, free: 49.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.789e-06/17.63, allocations: 1.469 kB / 7.102 GB, free: 49.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/17.63, allocations: 155.5 kB / 7.102 GB, free: 49.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/17.63, allocations: 87.39 kB / 7.102 GB, free: 49.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/17.64, allocations: 461 kB / 7.103 GB, free: 49.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/17.64, allocations: 0.7396 MB / 7.104 GB, free: 64.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/17.64, allocations: 42.34 kB / 7.104 GB, free: 64.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.744e-06/17.64, allocations: 2.625 kB / 7.104 GB, free: 64.97 MB / 410.7 MB Notification: Performance of Templates: time 0.04853/17.69, allocations: 27.01 MB / 7.13 GB, free: 63.2 MB / 410.7 MB