Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.993e-05, allocations: 3.438 kB / 292.1 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.148, allocations: 50.4 MB / 342.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.588/8.736, allocations: 3.337 GB / 3.672 GB, free: 65.86 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/8.736, allocations: 67.97 kB / 3.672 GB, free: 65.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1561/8.892, allocations: 49.04 MB / 3.719 GB, free: 16.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.822e-06/8.892, allocations: 0 / 3.719 GB, free: 16.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/8.892, allocations: 4 kB / 3.719 GB, free: 16.23 MB / 442.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.001794/8.894, allocations: 0.619 MB / 3.72 GB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/8.894, allocations: 8.031 kB / 3.72 GB, free: 15.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/8.894, allocations: 23.84 kB / 3.72 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/8.894, allocations: 214.8 kB / 3.72 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/8.894, allocations: 8.328 kB / 3.72 GB, free: 15.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/8.895, allocations: 20 kB / 3.72 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/8.895, allocations: 241.1 kB / 3.721 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/8.895, allocations: 0 / 3.721 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/8.895, allocations: 12 kB / 3.721 GB, free: 15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/8.895, allocations: 7.953 kB / 3.721 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/8.896, allocations: 231.8 kB / 3.721 GB, free: 14.77 MB / 442.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.001541/8.897, allocations: 0.6835 MB / 3.721 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/8.898, allocations: 193.2 kB / 3.722 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/8.898, allocations: 122.4 kB / 3.722 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/8.898, allocations: 356.4 kB / 3.722 GB, free: 13.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/8.898, allocations: 38.56 kB / 3.722 GB, free: 13.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.041e-06/8.898, allocations: 0 / 3.722 GB, free: 13.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001804/8.9, allocations: 0.5053 MB / 3.723 GB, free: 12.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/8.9, allocations: 81.3 kB / 3.723 GB, free: 12.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.365e-05/8.9, allocations: 121 kB / 3.723 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/8.9, allocations: 33.64 kB / 3.723 GB, free: 12.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/8.901, allocations: 108.6 kB / 3.723 GB, free: 12.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/8.901, allocations: 122.2 kB / 3.723 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/8.901, allocations: 4 kB / 3.723 GB, free: 12.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/8.901, allocations: 330.8 kB / 3.723 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/8.901, allocations: 115.9 kB / 3.724 GB, free: 11.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/8.901, allocations: 167.9 kB / 3.724 GB, free: 11.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/8.902, allocations: 132.8 kB / 3.724 GB, free: 11.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-06/8.902, allocations: 0 / 3.724 GB, free: 11.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007822/8.902, allocations: 360.3 kB / 3.724 GB, free: 11.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/8.902, allocations: 12.02 kB / 3.724 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.499e-06/8.902, allocations: 4 kB / 3.724 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/8.902, allocations: 4 kB / 3.724 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/8.903, allocations: 95.77 kB / 3.724 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/8.903, allocations: 4 kB / 3.724 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/8.904, allocations: 27.83 kB / 3.724 GB, free: 10.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/8.904, allocations: 31.95 kB / 3.724 GB, free: 10.91 MB / 442.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.0001095/8.904, allocations: 120.9 kB / 3.724 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/8.904, allocations: 15.81 kB / 3.724 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/8.904, allocations: 171.7 kB / 3.725 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.237e-06/8.904, allocations: 4 kB / 3.725 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/8.904, allocations: 3.953 kB / 3.725 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/8.904, allocations: 4 kB / 3.725 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/8.906, allocations: 0.7018 MB / 3.725 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.664e-06/8.906, allocations: 4 kB / 3.725 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/8.906, allocations: 79.88 kB / 3.725 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/8.906, allocations: 8.156 kB / 3.725 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/8.907, allocations: 11.98 kB / 3.725 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/8.907, allocations: 4 kB / 3.725 GB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/8.907, allocations: 0 / 3.725 GB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009922/8.908, allocations: 0.7096 MB / 3.726 GB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/8.908, allocations: 120.9 kB / 3.726 GB, free: 8.785 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/8.908, allocations: 8.062 kB / 3.726 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/8.908, allocations: 23.98 kB / 3.726 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/8.908, allocations: 27.86 kB / 3.726 GB, free: 8.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/8.908, allocations: 23.98 kB / 3.726 GB, free: 8.703 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.788e-05/8.908, allocations: 95.2 kB / 3.726 GB, free: 8.609 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.59e-07/8.908, allocations: 0 / 3.726 GB, free: 8.609 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008509/8.909, allocations: 187.9 kB / 3.727 GB, free: 8.426 MB / 442.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.001013/8.91, allocations: 0.6435 MB / 3.727 GB, free: 7.777 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006353/8.911, allocations: 279.8 kB / 3.727 GB, free: 7.504 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/8.911, allocations: 4 kB / 3.727 GB, free: 7.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/8.911, allocations: 156.5 kB / 3.728 GB, free: 7.348 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/8.912, allocations: 91.88 kB / 3.728 GB, free: 7.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/8.913, allocations: 459.6 kB / 3.728 GB, free: 6.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/8.913, allocations: 0.7413 MB / 3.729 GB, free: 6.004 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005349/8.914, allocations: 74.02 kB / 3.729 GB, free: 5.934 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/8.914, allocations: 31.42 kB / 3.729 GB, free: 5.902 MB / 442.7 MB Notification: Performance of SimCode: time 1.919e-06/8.914, allocations: 0 / 3.729 GB, free: 5.902 MB / 442.7 MB Notification: Performance of Templates: time 0.2697/9.184, allocations: 13.83 MB / 3.742 GB, free: 124.3 MB / 442.7 MB