Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.946/1.946, allocations: 209.3 MB / 224.4 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.52e-05, allocations: 8 kB / 276.2 MB, free: 15.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.351, allocations: 48.7 MB / 324.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2647/0.6158, allocations: 150.1 MB / 475 MB, free: 9.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.357/0.9729, allocations: 9.92 MB / 484.9 MB, free: 2.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.9741, allocations: 28.78 kB / 484.9 MB, free: 2.824 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.9756, allocations: 313 kB / 485.2 MB, free: 2.824 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007229/0.9829, allocations: 1.698 MB / 486.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006263/0.9892, allocations: 1.517 MB / 488.4 MB, free: 2.734 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002709/0.9919, allocations: 0.9786 MB / 489.4 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.993, allocations: 420.6 kB / 489.8 MB, free: 2.715 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/0.9976, allocations: 1.256 MB / 491.1 MB, free: 2.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.9996, allocations: 0.5677 MB / 491.7 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/1.013, allocations: 4.417 MB / 496.1 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001891/1.015, allocations: 163 kB / 496.2 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009198/1.016, allocations: 338.5 kB / 496.6 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006585/1.017, allocations: 106.5 kB / 496.7 MB, free: 2.652 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007421/1.024, allocations: 2.401 MB / 499.1 MB, free: 2.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.024, allocations: 4.875 kB / 499.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.024, allocations: 0 / 499.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.015e-05/1.024, allocations: 0 / 499.1 MB, free: 2.465 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.006276/1.031, allocations: 1.459 MB / 0.4888 GB, free: 17.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.031, allocations: 9.094 kB / 0.4888 GB, free: 17.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/1.032, allocations: 112.6 kB / 0.4889 GB, free: 17.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/1.033, allocations: 0.5889 MB / 0.4895 GB, free: 17.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/1.034, allocations: 117.8 kB / 0.4896 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/1.034, allocations: 69.77 kB / 0.4897 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/1.037, allocations: 1.155 MB / 0.4908 GB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/1.037, allocations: 9.625 kB / 0.4908 GB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/1.037, allocations: 32.12 kB / 0.4908 GB, free: 17.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/1.037, allocations: 55.98 kB / 0.4909 GB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/1.04, allocations: 1.165 MB / 0.492 GB, free: 17.07 MB / 426.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.009985/1.05, allocations: 4.754 MB / 0.4967 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/1.052, allocations: 0.7776 MB / 0.4974 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/1.054, allocations: 1.562 MB / 0.499 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/1.054, allocations: 47.62 kB / 0.499 GB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 3.797e-06/1.054, allocations: 0 / 0.499 GB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02884/1.083, allocations: 4.031 MB / 0.5029 GB, free: 12.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.083, allocations: 115.5 kB / 0.5031 GB, free: 11.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/1.085, allocations: 0.5466 MB / 0.5036 GB, free: 11.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/1.085, allocations: 41.02 kB / 0.5036 GB, free: 11.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/1.085, allocations: 431.3 kB / 0.504 GB, free: 11.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/1.086, allocations: 286.5 kB / 0.5043 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/1.086, allocations: 23.34 kB / 0.5043 GB, free: 11.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/1.086, allocations: 354.6 kB / 0.5047 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/1.089, allocations: 479.8 kB / 0.5051 GB, free: 10.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/1.091, allocations: 0.7819 MB / 0.5059 GB, free: 10.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/1.094, allocations: 0.5866 MB / 0.5065 GB, free: 10.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.094, allocations: 2.75 kB / 0.5065 GB, free: 10.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.007409/1.102, allocations: 1.639 MB / 0.5081 GB, free: 9.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/1.102, allocations: 12.95 kB / 0.5081 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/1.102, allocations: 10.84 kB / 0.5081 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01738/1.119, allocations: 1.364 MB / 0.5094 GB, free: 9.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.121, allocations: 172.3 kB / 0.5096 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/1.125, allocations: 1.507 MB / 0.5111 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/1.127, allocations: 93.64 kB / 0.5111 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.128, allocations: 64.94 kB / 0.5112 GB, free: 8.793 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0007616/1.128, allocations: 296.6 kB / 0.5115 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/1.129, allocations: 84.67 kB / 0.5116 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005513/1.134, allocations: 1.613 MB / 0.5131 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/1.134, allocations: 8.25 kB / 0.5132 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.134, allocations: 0 / 0.5132 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/1.134, allocations: 3.984 kB / 0.5132 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0069/1.141, allocations: 2.48 MB / 0.5156 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/1.141, allocations: 2.938 kB / 0.5156 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.144, allocations: 262.1 kB / 0.5158 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/1.147, allocations: 393.3 kB / 0.5162 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/1.147, allocations: 32.75 kB / 0.5162 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/1.151, allocations: 2.267 MB / 0.5185 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.151, allocations: 4.906 kB / 0.5185 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005976/1.157, allocations: 2.014 MB / 0.5204 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008828/1.158, allocations: 290.6 kB / 0.5207 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/1.158, allocations: 21.72 kB / 0.5207 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.16, allocations: 74.31 kB / 0.5208 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.16, allocations: 60.09 kB / 0.5209 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.16, allocations: 50.62 kB / 0.5209 GB, free: 4.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008146/1.161, allocations: 457.4 kB / 0.5213 GB, free: 4.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/1.161, allocations: 0 / 0.5213 GB, free: 4.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00318/1.164, allocations: 0.6965 MB / 0.522 GB, free: 4.051 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003496/1.168, allocations: 0.8781 MB / 0.5229 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004303/1.172, allocations: 1.217 MB / 0.5241 GB, free: 3.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.172, allocations: 0 / 0.5241 GB, free: 3.492 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/1.175, allocations: 0.6707 MB / 0.5247 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/1.179, allocations: 425.3 kB / 0.5251 GB, free: 3.238 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/1.186, allocations: 2.546 MB / 0.5276 GB, free: 1.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/1.187, allocations: 1.066 MB / 0.5287 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/1.188, allocations: 102.1 kB / 0.5287 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/1.188, allocations: 0 / 0.5287 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of Templates: time 0.06484/1.253, allocations: 28.22 MB / 0.5563 GB, free: 4.906 MB / 458.7 MB