Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.747e-05, allocations: 4 kB / 258.8 MB, free: 8.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2858, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1951/0.481, allocations: 123 MB / 426.3 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.4833, allocations: 1.314 MB / 427.7 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.4834, allocations: 0 / 427.7 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.4837, allocations: 43.78 kB / 427.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.4841, allocations: 103.5 kB / 427.8 MB, free: 0.793 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.4862, allocations: 0.5217 MB / 428.3 MB, free: 276 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.4865, allocations: 131.7 kB / 428.5 MB, free: 144 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.4866, allocations: 4 kB / 428.5 MB, free: 140 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2836/0.7702, allocations: 152.8 kB / 428.6 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.7706, allocations: 81.22 kB / 428.7 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.7741, allocations: 1.166 MB / 429.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.7744, allocations: 39.12 kB / 429.9 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.7746, allocations: 60.11 kB / 430 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.7747, allocations: 23.94 kB / 430 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.7761, allocations: 0.5147 MB / 430.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7761, allocations: 0 / 430.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7761, allocations: 0.5312 kB / 430.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.7761, allocations: 4 kB / 430.5 MB, free: 1.664 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.002364/0.7785, allocations: 0.6006 MB / 431.1 MB, free: 17.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7786, allocations: 8.844 kB / 431.1 MB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.7788, allocations: 22.83 kB / 431.1 MB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.7791, allocations: 209.7 kB / 431.3 MB, free: 17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.7792, allocations: 10.11 kB / 431.3 MB, free: 17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.7792, allocations: 17.75 kB / 431.4 MB, free: 17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.78, allocations: 262.4 kB / 431.6 MB, free: 16.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.7801, allocations: 1.641 kB / 431.6 MB, free: 16.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.7801, allocations: 9.594 kB / 431.6 MB, free: 16.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.7802, allocations: 6.844 kB / 431.6 MB, free: 16.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009911/0.7812, allocations: 262.7 kB / 431.9 MB, free: 16.95 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001973/0.7832, allocations: 0.7907 MB / 432.7 MB, free: 16.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009451/0.7841, allocations: 216.1 kB / 432.9 MB, free: 16.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.7846, allocations: 354.7 kB / 433.2 MB, free: 16.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.7846, allocations: 37.64 kB / 433.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.474e-06/0.7846, allocations: 4 kB / 433.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003958/0.7886, allocations: 0.6653 MB / 433.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.7887, allocations: 87.77 kB / 434 MB, free: 15.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.7888, allocations: 113.6 kB / 434.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.7889, allocations: 31.89 kB / 434.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.789, allocations: 110.5 kB / 434.3 MB, free: 15.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.7891, allocations: 125.7 kB / 434.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.7891, allocations: 3.688 kB / 434.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7893, allocations: 331.1 kB / 434.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.7899, allocations: 131.4 kB / 434.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.7905, allocations: 205.2 kB / 435.1 MB, free: 15.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.7912, allocations: 155.7 kB / 435.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7912, allocations: 2.906 kB / 435.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001507/0.7927, allocations: 407.4 kB / 435.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7928, allocations: 5.875 kB / 435.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7928, allocations: 2.469 kB / 435.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7928, allocations: 2.25 kB / 435.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.7937, allocations: 93.25 kB / 435.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.7937, allocations: 5.5 kB / 435.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.7943, allocations: 34.67 kB / 435.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.7943, allocations: 17.23 kB / 435.8 MB, free: 15.04 MB / 378.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.0002108/0.7946, allocations: 144.6 kB / 435.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.7947, allocations: 19.94 kB / 435.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.7952, allocations: 175.4 kB / 436.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.7952, allocations: 3.062 kB / 436.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7952, allocations: 6.406 kB / 436.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.7952, allocations: 3.047 kB / 436.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.7978, allocations: 0.759 MB / 436.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.7978, allocations: 3.062 kB / 436.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.7986, allocations: 80.34 kB / 437 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.517e-06/0.7986, allocations: 7 kB / 437 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.7987, allocations: 10.39 kB / 437 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.7987, allocations: 11.81 kB / 437 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7987, allocations: 384 / 437 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.8009, allocations: 0.7648 MB / 437.7 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.801, allocations: 117.5 kB / 437.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.8011, allocations: 9.656 kB / 437.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.8017, allocations: 29.41 kB / 437.9 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.8018, allocations: 26.91 kB / 437.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.8019, allocations: 14.81 kB / 437.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.802, allocations: 99.06 kB / 438 MB, free: 13.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.802, allocations: 0 / 438 MB, free: 13.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007591/0.8028, allocations: 140.6 kB / 438.2 MB, free: 13.93 MB / 378.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.0005946/0.8034, allocations: 225.9 kB / 438.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.8047, allocations: 341.8 kB / 438.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8048, allocations: 0 / 438.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006574/0.8054, allocations: 183.2 kB / 438.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.8063, allocations: 86.67 kB / 439 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.8084, allocations: 0.7307 MB / 439.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.8088, allocations: 0.7397 MB / 440.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006717/0.8094, allocations: 78.41 kB / 440.5 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.8097, allocations: 32.86 kB / 440.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.8097, allocations: 0 / 440.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of Templates: time 0.01394/0.8236, allocations: 5.507 MB / 446.1 MB, free: 12.28 MB / 378.7 MB