Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 1.671/1.671, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.743e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.0788, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4858/0.5647, allocations: 143.4 MB / 410.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006385/0.5712, allocations: 3.046 MB / 413.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.5716, allocations: 7.938 kB / 413.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.5724, allocations: 179.2 kB / 413.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006755/0.5731, allocations: 239.3 kB / 413.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.5779, allocations: 1.286 MB / 415.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.579, allocations: 468.1 kB / 415.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.5792, allocations: 72.31 kB / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.5819, allocations: 0.8691 MB / 416.5 MB, free: 12.56 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.5825, allocations: 263.3 kB / 416.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007797/0.5904, allocations: 2.981 MB / 419.7 MB, free: 9.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008411/0.5913, allocations: 96 kB / 419.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003646/0.5916, allocations: 179.5 kB / 420 MB, free: 9.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002662/0.5919, allocations: 64 kB / 420 MB, free: 8.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.5961, allocations: 1.563 MB / 421.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5962, allocations: 0 / 421.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5962, allocations: 0 / 421.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5962, allocations: 0 / 421.6 MB, free: 7.422 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002705/0.5989, allocations: 0.8892 MB / 422.5 MB, free: 6.484 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.599, allocations: 12.03 kB / 422.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.5995, allocations: 59.42 kB / 422.6 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007271/0.6002, allocations: 346.2 kB / 422.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.6003, allocations: 40.89 kB / 422.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6004, allocations: 47.89 kB / 423 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6019, allocations: 0.5061 MB / 423.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.6019, allocations: 0 / 423.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.602, allocations: 20 kB / 423.5 MB, free: 5.418 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.602, allocations: 12 kB / 423.5 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.6037, allocations: 0.5895 MB / 424.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/0.6087, allocations: 1.996 MB / 426.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.6108, allocations: 0.5554 MB / 426.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007783/0.6116, allocations: 0.6892 MB / 427.4 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.6116, allocations: 43 kB / 427.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 3.246e-06/0.6117, allocations: 0 / 427.4 MB, free: 1.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.02633/0.638, allocations: 3.805 MB / 431.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.6381, allocations: 59.91 kB / 431.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.6386, allocations: 269.8 kB / 431.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.6388, allocations: 37.7 kB / 431.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.639, allocations: 185.2 kB / 431.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.6393, allocations: 236.6 kB / 432 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.6394, allocations: 8 kB / 432 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6396, allocations: 362.7 kB / 432.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.6409, allocations: 313.1 kB / 432.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.6422, allocations: 384.2 kB / 433 MB, free: 11.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6437, allocations: 359.1 kB / 433.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6437, allocations: 0 / 433.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003954/0.6477, allocations: 0.9717 MB / 434.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.6477, allocations: 8 kB / 434.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6477, allocations: 0 / 434.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002711/0.6505, allocations: 346.3 kB / 434.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.6517, allocations: 123.8 kB / 434.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005631/0.6573, allocations: 3.542 MB / 438.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.6586, allocations: 60.05 kB / 438.4 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.6587, allocations: 23.98 kB / 438.4 MB, free: 5.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004513/0.6592, allocations: 201.6 kB / 438.6 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.6594, allocations: 47.48 kB / 438.7 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.6638, allocations: 1.04 MB / 439.7 MB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.6639, allocations: 4 kB / 439.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6639, allocations: 0 / 439.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003703/0.6676, allocations: 1.083 MB / 440.8 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/0.6729, allocations: 1.702 MB / 442.5 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.673, allocations: 0 / 442.5 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.674, allocations: 111.9 kB / 442.6 MB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/0.6772, allocations: 392.3 kB / 443 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.6774, allocations: 27.94 kB / 443 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/0.6798, allocations: 0.8802 MB / 443.9 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.6798, allocations: 0 / 443.9 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2163/0.8961, allocations: 1.364 MB / 445.3 MB, free: 140.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.8963, allocations: 124.8 kB / 445.4 MB, free: 140.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.8965, allocations: 24.33 kB / 445.4 MB, free: 140.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.8978, allocations: 60.86 kB / 445.5 MB, free: 140.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8979, allocations: 43.42 kB / 445.5 MB, free: 140.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.898, allocations: 29.2 kB / 445.5 MB, free: 140.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003746/0.8984, allocations: 223.6 kB / 445.8 MB, free: 140.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.8984, allocations: 0 / 445.8 MB, free: 140.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001824/0.9003, allocations: 447.9 kB / 446.2 MB, free: 140.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002144/0.9025, allocations: 0.5294 MB / 446.7 MB, free: 140.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.906, allocations: 1.011 MB / 447.7 MB, free: 140.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.9061, allocations: 1.062 kB / 447.7 MB, free: 140.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.9078, allocations: 425.1 kB / 448.2 MB, free: 139.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.9105, allocations: 288.9 kB / 448.4 MB, free: 139.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.9154, allocations: 1.527 MB / 450 MB, free: 139.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.9159, allocations: 0.864 MB / 450.8 MB, free: 138.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001129/0.9171, allocations: 125.8 kB / 451 MB, free: 138.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.9174, allocations: 59.72 kB / 451 MB, free: 138.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.9174, allocations: 0 / 451 MB, free: 138.4 MB / 362.7 MB Notification: Performance of Templates: time 0.04514/0.9625, allocations: 19.81 MB / 470.8 MB, free: 125.3 MB / 362.7 MB