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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.3 MB / 223.8 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.314e-05, allocations: 8 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3637, allocations: 48.69 MB / 324.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2656/0.6295, allocations: 150.1 MB / 475 MB, free: 9.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3736/1.003, allocations: 9.928 MB / 484.9 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/1.004, allocations: 28.19 kB / 485 MB, free: 2.797 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/1.006, allocations: 319.6 kB / 485.3 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007549/1.013, allocations: 1.694 MB / 487 MB, free: 2.762 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006126/1.02, allocations: 1.512 MB / 488.5 MB, free: 2.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002702/1.022, allocations: 0.9771 MB / 489.5 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/1.023, allocations: 425.6 kB / 489.9 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004532/1.028, allocations: 1.251 MB / 491.1 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/1.03, allocations: 0.5626 MB / 491.7 MB, free: 2.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01331/1.043, allocations: 4.42 MB / 496.1 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001964/1.045, allocations: 163 kB / 496.3 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009324/1.046, allocations: 342.4 kB / 496.6 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006284/1.047, allocations: 106.2 kB / 496.7 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007817/1.055, allocations: 2.396 MB / 499.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.055, allocations: 2.531 kB / 499.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.055, allocations: 0 / 499.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.313e-05/1.055, allocations: 4.812 kB / 499.1 MB, free: 2.441 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.006602/1.061, allocations: 1.457 MB / 0.4888 GB, free: 17.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.061, allocations: 16.25 kB / 0.4888 GB, free: 17.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/1.062, allocations: 109.5 kB / 0.4889 GB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.064, allocations: 0.5878 MB / 0.4895 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/1.064, allocations: 114.5 kB / 0.4896 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/1.065, allocations: 74.06 kB / 0.4897 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/1.068, allocations: 1.16 MB / 0.4908 GB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/1.068, allocations: 0 / 0.4908 GB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.068, allocations: 36.75 kB / 0.4909 GB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/1.068, allocations: 61.19 kB / 0.4909 GB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/1.071, allocations: 1.165 MB / 0.4921 GB, free: 17.04 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.01106/1.082, allocations: 4.751 MB / 0.4967 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/1.085, allocations: 0.7788 MB / 0.4975 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/1.087, allocations: 1.557 MB / 0.499 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.087, allocations: 48.94 kB / 0.499 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 3.787e-06/1.087, allocations: 0 / 0.499 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=81): time 0.02372/1.111, allocations: 4.034 MB / 0.503 GB, free: 12.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.111, allocations: 111.4 kB / 0.5031 GB, free: 11.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/1.112, allocations: 0.5448 MB / 0.5036 GB, free: 11.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003166/1.112, allocations: 42.39 kB / 0.5036 GB, free: 11.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/1.113, allocations: 403.2 kB / 0.504 GB, free: 11.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/1.113, allocations: 288.5 kB / 0.5043 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/1.113, allocations: 22.16 kB / 0.5043 GB, free: 11.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002329/1.113, allocations: 391.1 kB / 0.5047 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/1.115, allocations: 475.9 kB / 0.5052 GB, free: 10.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/1.117, allocations: 0.7852 MB / 0.5059 GB, free: 10.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/1.119, allocations: 0.5862 MB / 0.5065 GB, free: 10.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/1.119, allocations: 6.562 kB / 0.5065 GB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00618/1.125, allocations: 1.677 MB / 0.5081 GB, free: 10.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.125, allocations: 12.27 kB / 0.5082 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/1.125, allocations: 11.72 kB / 0.5082 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01309/1.138, allocations: 1.358 MB / 0.5095 GB, free: 9.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.14, allocations: 171 kB / 0.5097 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/1.144, allocations: 1.509 MB / 0.5111 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.146, allocations: 93.48 kB / 0.5112 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/1.146, allocations: 69.42 kB / 0.5113 GB, free: 8.828 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.000803/1.147, allocations: 299.8 kB / 0.5116 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/1.148, allocations: 78.25 kB / 0.5116 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/1.153, allocations: 1.615 MB / 0.5132 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.153, allocations: 13.05 kB / 0.5132 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.153, allocations: 0 / 0.5132 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/1.153, allocations: 3.984 kB / 0.5132 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/1.16, allocations: 2.474 MB / 0.5157 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.16, allocations: 3.984 kB / 0.5157 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002462/1.163, allocations: 262.4 kB / 0.5159 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.166, allocations: 385 kB / 0.5163 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/1.166, allocations: 38.34 kB / 0.5163 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/1.17, allocations: 2.272 MB / 0.5185 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.17, allocations: 5 kB / 0.5185 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/1.176, allocations: 2.016 MB / 0.5205 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/1.177, allocations: 291.2 kB / 0.5208 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/1.177, allocations: 25.17 kB / 0.5208 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.179, allocations: 73.12 kB / 0.5209 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.179, allocations: 57.89 kB / 0.5209 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.179, allocations: 52.39 kB / 0.521 GB, free: 4.367 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008065/1.18, allocations: 453.6 kB / 0.5214 GB, free: 4.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.895e-06/1.18, allocations: 0 / 0.5214 GB, free: 4.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002966/1.183, allocations: 0.6946 MB / 0.5221 GB, free: 4.082 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.003895/1.187, allocations: 0.8636 MB / 0.5229 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004632/1.191, allocations: 1.227 MB / 0.5241 GB, free: 3.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.191, allocations: 4.062 kB / 0.5241 GB, free: 3.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002838/1.194, allocations: 0.682 MB / 0.5248 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/1.198, allocations: 427.8 kB / 0.5252 GB, free: 3.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007878/1.206, allocations: 2.482 MB / 0.5276 GB, free: 1.914 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000893/1.207, allocations: 1.059 MB / 0.5287 GB, free: 1.066 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002131/1.209, allocations: 299.4 kB / 0.529 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/1.209, allocations: 98.03 kB / 0.529 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/1.209, allocations: 4 kB / 0.5291 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of Templates: time 0.08108/1.291, allocations: 31.08 MB / 0.5594 GB, free: 1.805 MB / 458.7 MB