Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/3e-05, allocations: 3.984 kB / 269.3 MB, free: 6.426 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08678, allocations: 47.57 MB / 316.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.961/9.047, allocations: 3.642 GB / 3.952 GB, free: 120.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/9.048, allocations: 69.22 kB / 3.952 GB, free: 120.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2/9.248, allocations: 48.64 MB / 3.999 GB, free: 90.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.8e-06/9.248, allocations: 0 / 3.999 GB, free: 90.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/9.248, allocations: 8 kB / 3.999 GB, free: 90.88 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.002866/9.251, allocations: 0.6229 MB / 4 GB, free: 90.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/9.251, allocations: 15.97 kB / 4 GB, free: 90.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000294/9.251, allocations: 15.81 kB / 4 GB, free: 90.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/9.251, allocations: 210.9 kB / 4 GB, free: 89.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/9.252, allocations: 8.328 kB / 4 GB, free: 89.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/9.252, allocations: 23.94 kB / 4 GB, free: 89.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/9.253, allocations: 245.1 kB / 4 GB, free: 89.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/9.253, allocations: 4 kB / 4 GB, free: 89.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/9.253, allocations: 4 kB / 4 GB, free: 89.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/9.253, allocations: 8 kB / 4 GB, free: 89.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008837/9.254, allocations: 223.9 kB / 4.001 GB, free: 89.42 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.002689/9.256, allocations: 0.6833 MB / 4.001 GB, free: 88.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/9.257, allocations: 185.3 kB / 4.001 GB, free: 88.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/9.258, allocations: 121.7 kB / 4.002 GB, free: 88.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/9.258, allocations: 372.3 kB / 4.002 GB, free: 87.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/9.258, allocations: 34.56 kB / 4.002 GB, free: 87.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 5.993e-06/9.258, allocations: 0 / 4.002 GB, free: 87.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.003202/9.262, allocations: 0.4957 MB / 4.002 GB, free: 87.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/9.262, allocations: 85.28 kB / 4.003 GB, free: 87.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/9.262, allocations: 121.1 kB / 4.003 GB, free: 87.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/9.262, allocations: 29.7 kB / 4.003 GB, free: 87.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/9.262, allocations: 104.6 kB / 4.003 GB, free: 86.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000158/9.262, allocations: 126.2 kB / 4.003 GB, free: 86.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/9.262, allocations: 4 kB / 4.003 GB, free: 86.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/9.262, allocations: 326.8 kB / 4.003 GB, free: 86.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/9.263, allocations: 115.9 kB / 4.003 GB, free: 86.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005015/9.263, allocations: 183.3 kB / 4.004 GB, free: 86.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/9.264, allocations: 128.9 kB / 4.004 GB, free: 86.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.666e-06/9.264, allocations: 4 kB / 4.004 GB, free: 86.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001431/9.266, allocations: 360.5 kB / 4.004 GB, free: 85.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/9.266, allocations: 4 kB / 4.004 GB, free: 85.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/9.266, allocations: 4 kB / 4.004 GB, free: 85.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/9.266, allocations: 4 kB / 4.004 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/9.267, allocations: 92.47 kB / 4.004 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/9.267, allocations: 7.984 kB / 4.004 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/9.268, allocations: 27.83 kB / 4.004 GB, free: 85.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/9.268, allocations: 19.98 kB / 4.004 GB, free: 85.57 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.000193/9.268, allocations: 128.8 kB / 4.004 GB, free: 85.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/9.268, allocations: 19.77 kB / 4.004 GB, free: 85.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008228/9.269, allocations: 167.7 kB / 4.004 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/9.269, allocations: 8 kB / 4.004 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.94e-06/9.269, allocations: 4 kB / 4.004 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/9.269, allocations: 0 / 4.004 GB, free: 85.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/9.272, allocations: 0.7072 MB / 4.005 GB, free: 84.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/9.272, allocations: 0 / 4.005 GB, free: 84.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/9.273, allocations: 79.88 kB / 4.005 GB, free: 84.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.942e-05/9.273, allocations: 4 kB / 4.005 GB, free: 84.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/9.273, allocations: 8 kB / 4.005 GB, free: 84.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/9.273, allocations: 15.92 kB / 4.005 GB, free: 84.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/9.273, allocations: 7.953 kB / 4.005 GB, free: 84.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/9.275, allocations: 0.6978 MB / 4.006 GB, free: 83.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/9.275, allocations: 120.9 kB / 4.006 GB, free: 83.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/9.275, allocations: 8 kB / 4.006 GB, free: 83.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008647/9.276, allocations: 27.88 kB / 4.006 GB, free: 83.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/9.276, allocations: 24.03 kB / 4.006 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/9.276, allocations: 19.98 kB / 4.006 GB, free: 83.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.824e-05/9.277, allocations: 99.2 kB / 4.006 GB, free: 83.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.543e-06/9.277, allocations: 0 / 4.006 GB, free: 83.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001529/9.278, allocations: 179.9 kB / 4.006 GB, free: 83.09 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 (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.001731/9.28, allocations: 0.6592 MB / 4.007 GB, free: 82.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/9.281, allocations: 291.7 kB / 4.007 GB, free: 82.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.807e-06/9.281, allocations: 4 kB / 4.007 GB, free: 82.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/9.282, allocations: 147.8 kB / 4.007 GB, free: 81.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/9.283, allocations: 84.59 kB / 4.008 GB, free: 81.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/9.285, allocations: 471.7 kB / 4.008 GB, free: 81.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/9.285, allocations: 0.7413 MB / 4.009 GB, free: 80.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009712/9.286, allocations: 82.02 kB / 4.009 GB, free: 80.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/9.287, allocations: 31.42 kB / 4.009 GB, free: 80.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.217e-06/9.287, allocations: 0 / 4.009 GB, free: 80.52 MB / 426.7 MB Notification: Performance of Templates: time 0.02805/9.315, allocations: 13.82 MB / 4.022 GB, free: 66.72 MB / 426.7 MB