Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.361e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3774, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06126/0.4387, allocations: 32.9 MB / 395.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.4516, allocations: 3.867 MB / 399.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.4531, allocations: 27.81 kB / 399.7 MB, free: 8.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.4548, allocations: 262.6 kB / 399.9 MB, free: 8.723 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004278/0.4591, allocations: 0.6268 MB / 400.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00464/0.4638, allocations: 0.6391 MB / 401.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.4672, allocations: 0.8287 MB / 402 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.4683, allocations: 311.6 kB / 402.3 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2828/0.7512, allocations: 71.82 MB / 474.1 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04778/0.799, allocations: 13.27 MB / 487.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3708/1.17, allocations: 18.46 MB / 0.494 GB, free: 99.3 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003844/1.17, allocations: 32.62 kB / 0.494 GB, free: 99.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004224/1.171, allocations: 205.5 kB / 0.4942 GB, free: 99.3 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003594/1.171, allocations: 76.94 kB / 0.4943 GB, free: 99.3 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/1.173, allocations: 0.7565 MB / 0.4951 GB, free: 99.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.173, allocations: 0 / 0.4951 GB, free: 99.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.816e-06/1.173, allocations: 0 / 0.4951 GB, free: 99.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.711e-05/1.173, allocations: 0.8125 kB / 0.4951 GB, free: 99.25 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003005/1.176, allocations: 0.8566 MB / 0.4959 GB, free: 98.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.176, allocations: 9.469 kB / 0.4959 GB, free: 98.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000736/1.177, allocations: 95.62 kB / 0.496 GB, free: 98.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.178, allocations: 0.4932 MB / 0.4965 GB, free: 98.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/1.179, allocations: 98.84 kB / 0.4966 GB, free: 98.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/1.179, allocations: 52.72 kB / 0.4966 GB, free: 98.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/1.181, allocations: 0.8095 MB / 0.4974 GB, free: 98.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/1.181, allocations: 5.844 kB / 0.4974 GB, free: 98.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.181, allocations: 24.8 kB / 0.4974 GB, free: 98.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-05/1.181, allocations: 39.83 kB / 0.4975 GB, free: 98.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/1.183, allocations: 0.6371 MB / 0.4981 GB, free: 98.15 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.007142/1.19, allocations: 4.221 MB / 0.5022 GB, free: 95.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/1.191, allocations: 411.3 kB / 0.5026 GB, free: 95.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/1.192, allocations: 0.4943 MB / 0.5031 GB, free: 94.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.192, allocations: 43.97 kB / 0.5031 GB, free: 94.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.377e-06/1.192, allocations: 0 / 0.5031 GB, free: 94.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.005062/1.197, allocations: 1.504 MB / 0.5046 GB, free: 94.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.197, allocations: 135.1 kB / 0.5047 GB, free: 94.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000881/1.198, allocations: 494.1 kB / 0.5052 GB, free: 94.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001349/1.198, allocations: 33.95 kB / 0.5052 GB, free: 94.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/1.199, allocations: 403.3 kB / 0.5056 GB, free: 93.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/1.199, allocations: 169.3 kB / 0.5058 GB, free: 93.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/1.199, allocations: 11.69 kB / 0.5058 GB, free: 93.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/1.199, allocations: 348.4 kB / 0.5061 GB, free: 93.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/1.2, allocations: 220.2 kB / 0.5063 GB, free: 93.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/1.2, allocations: 0.5355 MB / 0.5069 GB, free: 92.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/1.201, allocations: 319 kB / 0.5072 GB, free: 92.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.201, allocations: 3.031 kB / 0.5072 GB, free: 92.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002892/1.204, allocations: 0.9507 MB / 0.5081 GB, free: 92.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/1.204, allocations: 7.219 kB / 0.5081 GB, free: 92.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.204, allocations: 10.09 kB / 0.5081 GB, free: 92.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/1.206, allocations: 262.8 kB / 0.5084 GB, free: 92.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/1.207, allocations: 137 kB / 0.5085 GB, free: 92.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/1.208, allocations: 0.8542 MB / 0.5093 GB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.209, allocations: 45.97 kB / 0.5094 GB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.209, allocations: 39.56 kB / 0.5094 GB, free: 92.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005024/1.21, allocations: 248.2 kB / 0.5096 GB, free: 92.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/1.21, allocations: 67.62 kB / 0.5097 GB, free: 92.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/1.212, allocations: 0.7055 MB / 0.5104 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/1.212, allocations: 6.125 kB / 0.5104 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.212, allocations: 0 / 0.5104 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.212, allocations: 4.859 kB / 0.5104 GB, free: 92.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/1.216, allocations: 1.387 MB / 0.5118 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/1.216, allocations: 7.25 kB / 0.5118 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.218, allocations: 189.9 kB / 0.5119 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/1.218, allocations: 59.38 kB / 0.512 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/1.218, allocations: 19.62 kB / 0.512 GB, free: 91.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/1.221, allocations: 2.798 MB / 0.5148 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.221, allocations: 7.344 kB / 0.5148 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/1.223, allocations: 1.067 MB / 0.5158 GB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005605/1.224, allocations: 212.3 kB / 0.516 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/1.224, allocations: 15.02 kB / 0.516 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007196/1.225, allocations: 30.83 kB / 0.5161 GB, free: 88.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.225, allocations: 33.02 kB / 0.5161 GB, free: 88.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/1.225, allocations: 26.42 kB / 0.5161 GB, free: 88.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006333/1.226, allocations: 377 kB / 0.5165 GB, free: 88.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.226, allocations: 0 / 0.5165 GB, free: 88.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001281/1.227, allocations: 215 kB / 0.5167 GB, free: 88.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000651/1.228, allocations: 232.3 kB / 0.5169 GB, free: 88.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/1.229, allocations: 0.6005 MB / 0.5175 GB, free: 88.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/1.23, allocations: 4 kB / 0.5175 GB, free: 88.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/1.231, allocations: 460 kB / 0.5179 GB, free: 88.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/1.235, allocations: 290.8 kB / 0.5182 GB, free: 87.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/1.241, allocations: 1.697 MB / 0.5199 GB, free: 86.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/1.242, allocations: 0.9466 MB / 0.5208 GB, free: 85.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/1.242, allocations: 66.05 kB / 0.5208 GB, free: 85.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/1.242, allocations: 0 / 0.5208 GB, free: 85.56 MB / 426.7 MB Notification: Performance of Templates: time 0.02891/1.271, allocations: 14.69 MB / 0.5352 GB, free: 71.06 MB / 426.7 MB