Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Volume.ports.1..m_flow|Volume.ports.1..p|Volume.ports.1..h_outflow|Volume.ports.2..m_flow|Volume.ports.2..p|Volume.ports.2..h_outflow|Volume.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|Volume.ports_H_flow.1.|Volume.ports_H_flow.2.|Volume.ports_E_flow.1.|Volume.ports_E_flow.2.|Volume.ports_penetration.1.|Volume.ports_penetration.2.|Volume.portsData_diameter_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.2.|Volume.portsData_diameter.1.|Volume.portsData_diameter.2.|Volume.portsData_height.1.|Volume.portsData_height.2.|Volume.portsData_zeta_in.1.|Volume.portsData_zeta_in.2.|Volume.portsData_zeta_out.1.|Volume.portsData_zeta_out.2.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 2.679/2.679, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.989e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4197, allocations: 54.87 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.05307/0.4729, allocations: 29.69 MB / 392.6 MB, free: 84 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0266/0.4995, allocations: 13.47 MB / 406 MB, free: 2.578 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.5006, allocations: 27.75 kB / 406.1 MB, free: 2.551 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.5018, allocations: 334.3 kB / 406.4 MB, free: 2.223 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.5131, allocations: 2.785 MB / 409.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008996/0.5222, allocations: 2.255 MB / 411.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002208/0.5244, allocations: 0.8641 MB / 412.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008594/0.5253, allocations: 388.5 kB / 412.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.5271, allocations: 0.5687 MB / 413.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009276/0.528, allocations: 379 kB / 413.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01976/0.5478, allocations: 6.747 MB / 420.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002891/0.5508, allocations: 436 kB / 420.8 MB, free: 3.801 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.5512, allocations: 195.4 kB / 421 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.5516, allocations: 80 kB / 421 MB, free: 3.531 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009193/0.5608, allocations: 3.208 MB / 424.3 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5608, allocations: 0 / 424.3 MB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.919e-06/0.5608, allocations: 4 kB / 424.3 MB, free: 320 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.5609, allocations: 0 / 424.3 MB, free: 320 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.005803/0.5667, allocations: 1.416 MB / 425.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5668, allocations: 12.03 kB / 425.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004341/0.5711, allocations: 370.8 kB / 426.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5724, allocations: 0.5279 MB / 426.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.5726, allocations: 112.7 kB / 426.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.5728, allocations: 59.98 kB / 426.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/0.577, allocations: 1.15 MB / 427.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.5771, allocations: 0 / 427.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.5772, allocations: 27.98 kB / 427.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/0.5773, allocations: 33.3 kB / 428 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004578/0.5819, allocations: 1.086 MB / 429 MB, free: 11.37 MB / 362.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.01014/0.592, allocations: 4.964 MB / 434 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.5961, allocations: 0.8527 MB / 434.9 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1198/0.716, allocations: 33.26 MB / 468.1 MB, free: 64 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.7161, allocations: 34.94 kB / 468.2 MB, free: 20 kB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.175e-06/0.7161, allocations: 3.938 kB / 468.2 MB, free: 16 kB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.04951/0.7656, allocations: 5.614 MB / 473.8 MB, free: 10.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.7657, allocations: 115.3 kB / 473.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.7668, allocations: 497.8 kB / 474.4 MB, free: 9.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.7669, allocations: 37.7 kB / 474.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.7673, allocations: 374.1 kB / 474.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.7676, allocations: 213 kB / 475 MB, free: 9.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7677, allocations: 16 kB / 475 MB, free: 9.004 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7679, allocations: 342.8 kB / 475.3 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.7699, allocations: 489.7 kB / 475.8 MB, free: 8.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.7721, allocations: 0.7064 MB / 476.5 MB, free: 7.367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.7742, allocations: 0.5175 MB / 477 MB, free: 6.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.7743, allocations: 4 kB / 477 MB, free: 6.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.006335/0.7806, allocations: 1.602 MB / 478.6 MB, free: 5.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.7819, allocations: 2.7 MB / 481.3 MB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.7819, allocations: 8 kB / 481.3 MB, free: 2.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/0.7866, allocations: 1.185 MB / 482.5 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7878, allocations: 155.7 kB / 482.7 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.7957, allocations: 2.828 MB / 485.5 MB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.7979, allocations: 119.8 kB / 485.6 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.7982, allocations: 43.98 kB / 485.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.7982, allocations: 5.406 kB / 485.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006153/0.8044, allocations: 1.437 MB / 487.1 MB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.8045, allocations: 4 kB / 487.1 MB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003722/0.8082, allocations: 1.038 MB / 488.2 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.8095, allocations: 167.7 kB / 488.3 MB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009571/0.8191, allocations: 5.085 MB / 493.4 MB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.821, allocations: 108 kB / 493.5 MB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.8212, allocations: 47.92 kB / 493.6 MB, free: 5.668 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007109/0.822, allocations: 253.5 kB / 493.8 MB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.8222, allocations: 67.2 kB / 493.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.8336, allocations: 4.533 MB / 498.4 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-05/0.8338, allocations: 51.92 kB / 498.5 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8338, allocations: 0 / 498.5 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.8338, allocations: 3.984 kB / 498.5 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3475/1.181, allocations: 6.494 MB / 0.4931 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/1.181, allocations: 0 / 0.4931 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/1.182, allocations: 93.14 kB / 0.4932 GB, free: 124.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006435/1.189, allocations: 2.281 MB / 0.4954 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/1.189, allocations: 23.7 kB / 0.4955 GB, free: 124.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008492/1.197, allocations: 4.106 MB / 0.4995 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.197, allocations: 0 / 0.4995 GB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007714/1.205, allocations: 3.412 MB / 0.5028 GB, free: 120 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/1.206, allocations: 374.3 kB / 0.5032 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/1.206, allocations: 12 kB / 0.5032 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.208, allocations: 104.8 kB / 0.5033 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.209, allocations: 72.55 kB / 0.5033 GB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/1.209, allocations: 28.67 kB / 0.5034 GB, free: 119.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008045/1.209, allocations: 478.8 kB / 0.5038 GB, free: 119 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.21, allocations: 0 / 0.5038 GB, free: 119 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005075/1.215, allocations: 1.332 MB / 0.5051 GB, free: 117.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.007827/1.222, allocations: 1.349 MB / 0.5064 GB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01587/1.238, allocations: 2.884 MB / 0.5093 GB, free: 113.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.238, allocations: 3.719 kB / 0.5093 GB, free: 113.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007341/1.246, allocations: 1.413 MB / 0.5106 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/1.249, allocations: 290.1 kB / 0.5109 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/1.255, allocations: 3.602 MB / 0.5144 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/1.256, allocations: 1.218 MB / 0.5156 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/1.257, allocations: 55.44 kB / 0.5157 GB, free: 107.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.257, allocations: 3.438 kB / 0.5157 GB, free: 107.4 MB / 426.7 MB Notification: Performance of Templates: time 0.08641/1.343, allocations: 47.53 MB / 0.5621 GB, free: 59.86 MB / 426.7 MB