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.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 1.991/1.991, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.365e-05, allocations: 8 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3485, allocations: 48.69 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.051/0.3996, allocations: 29.51 MB / 354.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0266/0.4262, allocations: 13.35 MB / 367.7 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.4273, allocations: 25.16 kB / 367.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.4287, allocations: 340.6 kB / 368.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.4409, allocations: 2.761 MB / 370.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009692/0.4507, allocations: 2.21 MB / 373 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002491/0.4532, allocations: 0.8373 MB / 373.9 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/0.4542, allocations: 388.5 kB / 374.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.456, allocations: 0.5688 MB / 374.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.457, allocations: 374.9 kB / 375.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02075/0.4778, allocations: 6.641 MB / 381.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003278/0.4811, allocations: 420 kB / 382.2 MB, free: 6.094 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.4817, allocations: 191.4 kB / 382.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.4821, allocations: 80 kB / 382.5 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00946/0.4916, allocations: 3.172 MB / 385.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4917, allocations: 0 / 385.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.4917, allocations: 3.938 kB / 385.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.4917, allocations: 0 / 385.7 MB, free: 2.645 MB / 314.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.005643/0.4974, allocations: 1.396 MB / 387.1 MB, free: 1.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.4974, allocations: 8.031 kB / 387.1 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.5019, allocations: 358.8 kB / 387.4 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.5035, allocations: 0.5162 MB / 388 MB, free: 288 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.5037, allocations: 116.7 kB / 388.1 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.5039, allocations: 52 kB / 388.1 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004418/0.5083, allocations: 1.146 MB / 389.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.5084, allocations: 7.938 kB / 389.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.5085, allocations: 31.98 kB / 389.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-05/0.5086, allocations: 33.25 kB / 389.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004641/0.5133, allocations: 1.086 MB / 390.4 MB, free: 13.75 MB / 330.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.01076/0.5241, allocations: 4.96 MB / 395.4 MB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/0.5282, allocations: 0.843 MB / 396.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.118/0.6462, allocations: 33.23 MB / 429.5 MB, free: 2.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.6463, allocations: 42.94 kB / 429.5 MB, free: 2.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.999e-06/0.6464, allocations: 4 kB / 429.5 MB, free: 2.441 MB / 362.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.0493/0.6957, allocations: 5.614 MB / 435.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/0.6958, allocations: 115.4 kB / 435.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.6968, allocations: 493.8 kB / 435.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001684/0.697, allocations: 33.7 kB / 435.7 MB, free: 12.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.6974, allocations: 393.9 kB / 436.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.6977, allocations: 209.1 kB / 436.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.809e-05/0.6978, allocations: 12 kB / 436.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.698, allocations: 342.8 kB / 436.7 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.7, allocations: 489.7 kB / 437.2 MB, free: 10.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.7023, allocations: 0.7064 MB / 437.9 MB, free: 9.793 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00213/0.7045, allocations: 0.5136 MB / 438.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.7045, allocations: 4 kB / 438.4 MB, free: 9.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.006446/0.711, allocations: 1.598 MB / 440 MB, free: 7.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001373/0.7124, allocations: 2.72 MB / 442.7 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.7124, allocations: 4 kB / 442.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004748/0.7172, allocations: 1.189 MB / 443.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.7183, allocations: 147.7 kB / 444 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007632/0.726, allocations: 2.828 MB / 446.9 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.7281, allocations: 111.8 kB / 447 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.7283, allocations: 47.97 kB / 447 MB, free: 332 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.7284, allocations: 8 kB / 447 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006298/0.7347, allocations: 1.441 MB / 448.5 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.317e-05/0.7348, allocations: 8.531 kB / 448.5 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004626/0.7394, allocations: 1.026 MB / 449.5 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.7407, allocations: 167.8 kB / 449.7 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.7509, allocations: 5.089 MB / 454.8 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.7529, allocations: 107.9 kB / 454.9 MB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.7531, allocations: 43.98 kB / 454.9 MB, free: 8.09 MB / 394.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.0007007/0.7539, allocations: 253.5 kB / 455.1 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.7542, allocations: 63.25 kB / 455.2 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.7664, allocations: 4.541 MB / 459.7 MB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.983e-05/0.7666, allocations: 59.86 kB / 459.8 MB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7666, allocations: 3.938 kB / 459.8 MB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.7666, allocations: 3.984 kB / 459.8 MB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.7833, allocations: 6.489 MB / 466.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.87e-05/0.7834, allocations: 0 / 466.3 MB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.7841, allocations: 91.97 kB / 466.4 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00722/0.7913, allocations: 2.293 MB / 468.7 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/0.7916, allocations: 16 kB / 468.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00951/0.8011, allocations: 4.105 MB / 472.8 MB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.8012, allocations: 4 kB / 472.8 MB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008947/0.8101, allocations: 3.397 MB / 476.2 MB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000949/0.8111, allocations: 382.5 kB / 476.6 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.8115, allocations: 15.94 kB / 476.6 MB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/0.8134, allocations: 107.9 kB / 476.7 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.8137, allocations: 72.5 kB / 476.8 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.8139, allocations: 31.98 kB / 476.8 MB, free: 1.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000926/0.8148, allocations: 467 kB / 477.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.8148, allocations: 0 / 477.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005293/0.8201, allocations: 1.324 MB / 478.6 MB, free: 40 kB / 410.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.2693/1.09, allocations: 1.346 MB / 479.9 MB, free: 135.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01634/1.106, allocations: 2.878 MB / 482.8 MB, free: 135 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.106, allocations: 6.906 kB / 482.8 MB, free: 135 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007492/1.113, allocations: 1.406 MB / 484.2 MB, free: 134.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.116, allocations: 287.4 kB / 484.5 MB, free: 134.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/1.124, allocations: 3.601 MB / 488.1 MB, free: 132.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.125, allocations: 1.216 MB / 489.3 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/1.125, allocations: 63 kB / 489.4 MB, free: 131.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.402e-06/1.125, allocations: 0 / 489.4 MB, free: 131.8 MB / 410.7 MB Notification: Performance of Templates: time 0.08611/1.211, allocations: 47.35 MB / 0.5241 GB, free: 94.03 MB / 410.7 MB