Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.303/2.303, allocations: 234.9 MB / 250.1 MB, free: 10.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.988e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3732, allocations: 54.86 MB / 362.9 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.2119/0.5851, allocations: 124.9 MB / 487.7 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.6035, allocations: 8.585 MB / 496.3 MB, free: 7.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.6048, allocations: 43.62 kB / 496.3 MB, free: 7.938 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.6063, allocations: 334.2 kB / 496.7 MB, free: 7.609 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.6106, allocations: 0.9967 MB / 497.7 MB, free: 6.609 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007059/0.6177, allocations: 1.773 MB / 499.4 MB, free: 4.832 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.6207, allocations: 1.136 MB / 0.4888 GB, free: 3.691 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.6219, allocations: 0.5238 MB / 0.4894 GB, free: 3.168 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001883/0.6238, allocations: 0.6781 MB / 0.49 GB, free: 2.488 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.6258, allocations: 0.717 MB / 0.4907 GB, free: 1.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3614/0.9872, allocations: 1.814 MB / 0.4925 GB, free: 3.914 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.9884, allocations: 117.1 kB / 0.4926 GB, free: 3.914 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.9895, allocations: 317.4 kB / 0.4929 GB, free: 3.914 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.9905, allocations: 102.5 kB / 0.493 GB, free: 3.914 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005415/0.996, allocations: 1.831 MB / 0.4948 GB, free: 3.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.996, allocations: 0.8438 kB / 0.4948 GB, free: 3.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.996, allocations: 0 / 0.4948 GB, free: 3.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.806e-05/0.9961, allocations: 0 / 0.4948 GB, free: 3.777 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005558/1.002, allocations: 1.277 MB / 0.496 GB, free: 3.027 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.002, allocations: 9.875 kB / 0.496 GB, free: 3.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.003, allocations: 121.8 kB / 0.4962 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/1.005, allocations: 0.7037 MB / 0.4968 GB, free: 2.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/1.005, allocations: 120.8 kB / 0.497 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/1.006, allocations: 61.42 kB / 0.497 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/1.01, allocations: 1.197 MB / 0.4982 GB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/1.01, allocations: 0.9062 kB / 0.4982 GB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/1.01, allocations: 31.59 kB / 0.4982 GB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/1.01, allocations: 75.03 kB / 0.4983 GB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003521/1.014, allocations: 1.204 MB / 0.4995 GB, free: 2.496 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.01476/1.028, allocations: 5.045 MB / 0.5044 GB, free: 16.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.031, allocations: 0.6483 MB / 0.505 GB, free: 16.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006529/1.037, allocations: 2.497 MB / 0.5075 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.344e-05/1.037, allocations: 41.09 kB / 0.5075 GB, free: 14.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 6.301e-06/1.038, allocations: 0 / 0.5075 GB, free: 14.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.01836/1.056, allocations: 2.914 MB / 0.5104 GB, free: 14.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.056, allocations: 165 kB / 0.5105 GB, free: 14.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/1.059, allocations: 0.7868 MB / 0.5113 GB, free: 13.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000321/1.059, allocations: 41.02 kB / 0.5113 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/1.06, allocations: 0.49 MB / 0.5118 GB, free: 13.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/1.06, allocations: 199 kB / 0.512 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.06, allocations: 18.12 kB / 0.512 GB, free: 13.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/1.061, allocations: 348.9 kB / 0.5123 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/1.063, allocations: 432.6 kB / 0.5127 GB, free: 13.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/1.065, allocations: 0.7465 MB / 0.5135 GB, free: 12.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/1.067, allocations: 0.509 MB / 0.514 GB, free: 12.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-05/1.068, allocations: 2.938 kB / 0.514 GB, free: 12.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.006836/1.074, allocations: 1.47 MB / 0.5154 GB, free: 12.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002319/1.077, allocations: 3.748 MB / 0.5191 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-05/1.077, allocations: 11.84 kB / 0.5191 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004235/1.081, allocations: 0.5128 MB / 0.5196 GB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/1.084, allocations: 200.3 kB / 0.5198 GB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/1.09, allocations: 2.926 MB / 0.5226 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/1.093, allocations: 61.48 kB / 0.5227 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004677/1.094, allocations: 50.02 kB / 0.5227 GB, free: 6.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.094, allocations: 2.875 kB / 0.5227 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006685/1.1, allocations: 1.325 MB / 0.524 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-05/1.1, allocations: 7.906 kB / 0.524 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002165/1.103, allocations: 327.7 kB / 0.5244 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.105, allocations: 203 kB / 0.5245 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/1.11, allocations: 2.685 MB / 0.5272 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.112, allocations: 53.38 kB / 0.5272 GB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/1.112, allocations: 48.45 kB / 0.5273 GB, free: 3.73 MB / 442.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 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001336/1.114, allocations: 304.8 kB / 0.5276 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/1.114, allocations: 95.34 kB / 0.5276 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006656/1.121, allocations: 1.359 MB / 0.529 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.121, allocations: 4.969 kB / 0.529 GB, free: 3.328 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/1.121, allocations: 3.953 kB / 0.529 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.939e-05/1.121, allocations: 3.328 kB / 0.529 GB, free: 3.324 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/1.131, allocations: 2.304 MB / 0.5312 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.131, allocations: 3.609 kB / 0.5312 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.133, allocations: 90.5 kB / 0.5313 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/1.137, allocations: 0.5087 MB / 0.5318 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.137, allocations: 18.05 kB / 0.5318 GB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005585/1.143, allocations: 2.922 MB / 0.5347 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.143, allocations: 0 / 0.5347 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007293/1.15, allocations: 1.763 MB / 0.5364 GB, free: 148 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.152, allocations: 294.4 kB / 0.5367 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005353/1.152, allocations: 10.91 kB / 0.5367 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.154, allocations: 44.55 kB / 0.5368 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/1.155, allocations: 61.86 kB / 0.5368 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.155, allocations: 26.55 kB / 0.5368 GB, free: 15.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001858/1.157, allocations: 0.594 MB / 0.5374 GB, free: 15.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.483e-06/1.157, allocations: 0 / 0.5374 GB, free: 15.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005713/1.163, allocations: 0.781 MB / 0.5382 GB, free: 15.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003833/1.166, allocations: 0.6252 MB / 0.5388 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009292/1.176, allocations: 1.851 MB / 0.5406 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/1.176, allocations: 0 / 0.5406 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003462/1.179, allocations: 0.5691 MB / 0.5412 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004527/1.184, allocations: 334.9 kB / 0.5415 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009713/1.194, allocations: 2.29 MB / 0.5437 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.195, allocations: 1.073 MB / 0.5448 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007992/1.196, allocations: 103 kB / 0.5449 GB, free: 13.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.064e-06/1.196, allocations: 0 / 0.5449 GB, free: 13.39 MB / 458.7 MB Notification: Performance of Templates: time 0.06686/1.263, allocations: 30.21 MB / 0.5744 GB, free: 3.207 MB / 474.7 MB