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_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.255e-05, allocations: 0 / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2852, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0376/0.3229, allocations: 20.91 MB / 324.2 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.326, allocations: 1.513 MB / 325.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3262, allocations: 0 / 325.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.3265, allocations: 47.77 kB / 325.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.3268, allocations: 99.61 kB / 325.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01338/0.3402, allocations: 3.848 MB / 329.7 MB, free: 3.133 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.3406, allocations: 135.7 kB / 329.9 MB, free: 3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.3406, allocations: 7.922 kB / 329.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.341, allocations: 127.7 kB / 330 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.3412, allocations: 83.8 kB / 330.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02118/0.3624, allocations: 8.154 MB / 338.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002622/0.3651, allocations: 416 kB / 338.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3653, allocations: 59.86 kB / 338.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3654, allocations: 24 kB / 338.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007936/0.3733, allocations: 2.916 MB / 341.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3734, allocations: 0 / 341.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3734, allocations: 0 / 341.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.3734, allocations: 0 / 341.6 MB, free: 7.211 MB / 282.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.004326/0.3777, allocations: 1.049 MB / 342.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3778, allocations: 12.03 kB / 342.7 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.378, allocations: 19.8 kB / 342.7 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3784, allocations: 206.9 kB / 342.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.3784, allocations: 12.28 kB / 342.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.3785, allocations: 23.91 kB / 342.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3795, allocations: 269.5 kB / 343.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.3796, allocations: 0 / 343.2 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.3796, allocations: 7.938 kB / 343.2 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.3797, allocations: 8 kB / 343.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.3809, allocations: 291.6 kB / 343.5 MB, free: 5.227 MB / 282.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.002026/0.383, allocations: 0.7893 MB / 344.3 MB, free: 4.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3841, allocations: 318.2 kB / 344.6 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02034/0.4044, allocations: 10.42 MB / 355 MB, free: 7.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.4045, allocations: 34.56 kB / 355.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.966e-06/0.4045, allocations: 0 / 355.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.004641/0.4092, allocations: 0.6919 MB / 355.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.4093, allocations: 85.05 kB / 355.8 MB, free: 6.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4094, allocations: 116.9 kB / 356 MB, free: 6.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.4095, allocations: 33.7 kB / 356 MB, free: 6.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.4096, allocations: 108.8 kB / 356.1 MB, free: 6.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.4097, allocations: 126.1 kB / 356.2 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.4098, allocations: 8 kB / 356.2 MB, free: 6.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4099, allocations: 330.8 kB / 356.6 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.4106, allocations: 131.9 kB / 356.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008031/0.4114, allocations: 203.6 kB / 356.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.4122, allocations: 154.7 kB / 357 MB, free: 5.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4122, allocations: 0 / 357 MB, free: 5.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001916/0.4142, allocations: 421.5 kB / 357.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4142, allocations: 8 kB / 357.4 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4142, allocations: 3.984 kB / 357.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4143, allocations: 4 kB / 357.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/0.4151, allocations: 91.88 kB / 357.5 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.4152, allocations: 12.16 kB / 357.6 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.4157, allocations: 23.89 kB / 357.6 MB, free: 4.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.4158, allocations: 23.92 kB / 357.6 MB, free: 4.93 MB / 298.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.0001985/0.416, allocations: 137.7 kB / 357.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.4162, allocations: 27.77 kB / 357.8 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.4169, allocations: 174.4 kB / 357.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.4169, allocations: 4 kB / 357.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4169, allocations: 4 kB / 357.9 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.417, allocations: 3.984 kB / 357.9 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.4201, allocations: 0.9368 MB / 358.9 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.4201, allocations: 3.984 kB / 358.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008001/0.4209, allocations: 87.83 kB / 359 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.421, allocations: 4 kB / 359 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.421, allocations: 16.09 kB / 359 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.421, allocations: 8 kB / 359 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4211, allocations: 3.984 kB / 359 MB, free: 3.438 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.4236, allocations: 0.7798 MB / 359.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.4238, allocations: 124.8 kB / 359.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.4239, allocations: 8 kB / 359.9 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.4245, allocations: 24 kB / 359.9 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.4246, allocations: 31.95 kB / 360 MB, free: 2.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.4247, allocations: 12 kB / 360 MB, free: 2.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.4248, allocations: 99.2 kB / 360.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4248, allocations: 0 / 360.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003255/0.428, allocations: 0.9096 MB / 361 MB, free: 1.367 MB / 298.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.005682/0.4338, allocations: 1.156 MB / 362.1 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.4355, allocations: 340 kB / 362.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4356, allocations: 4 kB / 362.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007934/0.4364, allocations: 181.1 kB / 362.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/0.4373, allocations: 90.55 kB / 362.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.4393, allocations: 0.7216 MB / 363.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.4397, allocations: 0.7374 MB / 364.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007147/0.4404, allocations: 85.83 kB / 364.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.4407, allocations: 35.42 kB / 364.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of SimCode: time 2.775e-06/0.4407, allocations: 0 / 364.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Templates: time 0.06455/0.5052, allocations: 29.01 MB / 393.3 MB, free: 0.9258 MB / 330.7 MB