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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(Modelica): time 2.239/2.239, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.783e-05, allocations: 0 / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4043, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5647/0.9691, allocations: 143.5 MB / 446.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.975, allocations: 3.057 MB / 449.8 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005692/0.9757, allocations: 8.438 kB / 449.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.9765, allocations: 182 kB / 450 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007816/0.9773, allocations: 236.2 kB / 450.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005081/0.9824, allocations: 1.276 MB / 451.5 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.9835, allocations: 470.8 kB / 452 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.9837, allocations: 69.23 kB / 452.1 MB, free: 1.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.9865, allocations: 0.8784 MB / 452.9 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.987, allocations: 268.4 kB / 453.2 MB, free: 1.156 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007253/0.9943, allocations: 2.992 MB / 456.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008508/0.9952, allocations: 97.44 kB / 456.3 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.9955, allocations: 177.5 kB / 456.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.9959, allocations: 66.47 kB / 456.5 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004219/1, allocations: 1.562 MB / 458.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1, allocations: 0 / 458.1 MB, free: 1.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.026e-06/1, allocations: 3.938 kB / 458.1 MB, free: 1.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.861e-05/1, allocations: 0 / 458.1 MB, free: 1.012 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002928/1.003, allocations: 0.8923 MB / 459 MB, free: 16.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.003, allocations: 11.19 kB / 459 MB, free: 16.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005096/1.004, allocations: 59.66 kB / 459.1 MB, free: 16.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/1.005, allocations: 356.3 kB / 459.4 MB, free: 16.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/1.005, allocations: 28.69 kB / 459.4 MB, free: 16.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/1.005, allocations: 47.47 kB / 459.5 MB, free: 16.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.006, allocations: 0.499 MB / 460 MB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.006, allocations: 0 / 460 MB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/1.006, allocations: 19.06 kB / 460 MB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/1.006, allocations: 11.12 kB / 460 MB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/1.008, allocations: 0.6003 MB / 460.6 MB, free: 16.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/1.013, allocations: 2.167 MB / 462.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/1.015, allocations: 0.5617 MB / 463.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007679/1.015, allocations: 0.6926 MB / 464 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/1.015, allocations: 46.8 kB / 464.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.136e-06/1.016, allocations: 0 / 464.1 MB, free: 13.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.02601/1.042, allocations: 3.804 MB / 467.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.042, allocations: 61.03 kB / 467.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/1.042, allocations: 263.8 kB / 468.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/1.042, allocations: 41.08 kB / 468.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/1.042, allocations: 248.4 kB / 468.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.043, allocations: 224.7 kB / 468.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/1.043, allocations: 11.94 kB / 468.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/1.043, allocations: 332.8 kB / 469 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.044, allocations: 320.5 kB / 469.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/1.046, allocations: 387.9 kB / 469.7 MB, free: 11.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.047, allocations: 353.1 kB / 470.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.047, allocations: 0 / 470.1 MB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003587/1.05, allocations: 0.9561 MB / 471 MB, free: 11.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.051, allocations: 5.938 kB / 471 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.051, allocations: 5.688 kB / 471 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002661/1.053, allocations: 347.6 kB / 471.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.054, allocations: 126.2 kB / 471.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/1.06, allocations: 3.533 MB / 475 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/1.061, allocations: 58.64 kB / 475.1 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.062, allocations: 29.89 kB / 475.1 MB, free: 7.754 MB / 378.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.0004549/1.062, allocations: 196.4 kB / 475.3 MB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.062, allocations: 49.48 kB / 475.4 MB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/1.066, allocations: 1.037 MB / 476.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.066, allocations: 9.062 kB / 476.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.067, allocations: 0 / 476.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003543/1.07, allocations: 1.087 MB / 477.5 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/1.075, allocations: 1.709 MB / 479.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/1.075, allocations: 0 / 479.2 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.076, allocations: 117.4 kB / 479.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/1.079, allocations: 386.4 kB / 479.7 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.08, allocations: 24.42 kB / 479.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/1.082, allocations: 0.8807 MB / 480.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.082, allocations: 0 / 480.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004666/1.087, allocations: 1.369 MB / 482 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/1.087, allocations: 122.1 kB / 482.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.087, allocations: 18.73 kB / 482.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/1.089, allocations: 63.38 kB / 482.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.089, allocations: 46.2 kB / 482.2 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.089, allocations: 34.69 kB / 482.2 MB, free: 4.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003578/1.089, allocations: 223.2 kB / 482.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.089, allocations: 0 / 482.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001751/1.091, allocations: 450.8 kB / 482.9 MB, free: 4.727 MB / 378.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.001982/1.093, allocations: 0.5394 MB / 483.4 MB, free: 4.473 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003595/1.097, allocations: 1.002 MB / 484.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.097, allocations: 2.938 kB / 484.4 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/1.098, allocations: 422.8 kB / 484.9 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/1.101, allocations: 294.8 kB / 485.1 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/1.106, allocations: 1.566 MB / 486.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/1.107, allocations: 0.8648 MB / 487.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/1.107, allocations: 59.3 kB / 487.6 MB, free: 1.895 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/1.107, allocations: 0 / 487.6 MB, free: 1.895 MB / 378.7 MB Notification: Performance of Templates: time 0.04071/1.148, allocations: 17.28 MB / 0.4931 GB, free: 0.7031 MB / 394.7 MB