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_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 2.053/2.053, allocations: 209.3 MB / 223.8 MB, free: 0.7734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.278e-05, allocations: 7.281 kB / 276.2 MB, free: 15.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3531, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.05089/0.4041, allocations: 29.5 MB / 354.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.4304, allocations: 13.35 MB / 367.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4315, allocations: 24.19 kB / 367.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.4329, allocations: 333.7 kB / 368.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.4456, allocations: 2.768 MB / 370.9 MB, free: 1.391 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009562/0.4552, allocations: 2.219 MB / 373.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.4576, allocations: 0.8372 MB / 373.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009371/0.4585, allocations: 388.6 kB / 374.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.4602, allocations: 0.5609 MB / 374.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.4611, allocations: 383 kB / 375.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02099/0.4821, allocations: 6.637 MB / 381.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003368/0.4856, allocations: 416 kB / 382.3 MB, free: 6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.4862, allocations: 187.4 kB / 382.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.4865, allocations: 83.94 kB / 382.5 MB, free: 5.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009227/0.4958, allocations: 3.173 MB / 385.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4959, allocations: 0 / 385.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4959, allocations: 0 / 385.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.4959, allocations: 0 / 385.7 MB, free: 2.551 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.005526/0.5014, allocations: 1.404 MB / 387.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5015, allocations: 8.031 kB / 387.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/0.5059, allocations: 354.8 kB / 387.5 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.5074, allocations: 0.524 MB / 388 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.5076, allocations: 108.7 kB / 388.1 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.5077, allocations: 56 kB / 388.1 MB, free: 4 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004395/0.5121, allocations: 1.153 MB / 389.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.5122, allocations: 4 kB / 389.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.5124, allocations: 24 kB / 389.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.591e-05/0.5124, allocations: 37.25 kB / 389.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/0.5172, allocations: 1.09 MB / 390.5 MB, free: 13.64 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.01078/0.528, allocations: 4.953 MB / 395.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.5323, allocations: 0.8476 MB / 396.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1171/0.6494, allocations: 33.24 MB / 429.5 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.6495, allocations: 38.94 kB / 429.5 MB, free: 2.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.788e-06/0.6495, allocations: 0 / 429.5 MB, free: 2.332 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.04899/0.6985, allocations: 5.621 MB / 435.2 MB, free: 12.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.6986, allocations: 111.4 kB / 435.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009608/0.6996, allocations: 497.8 kB / 435.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.6997, allocations: 37.7 kB / 435.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.7001, allocations: 347.6 kB / 436.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.7004, allocations: 201.1 kB / 436.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.7005, allocations: 16 kB / 436.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.7007, allocations: 374.8 kB / 436.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.7027, allocations: 485.7 kB / 437.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.7049, allocations: 0.7142 MB / 437.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.7071, allocations: 0.5174 MB / 438.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.7071, allocations: 0 / 438.4 MB, free: 9.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.006584/0.7137, allocations: 1.625 MB / 440 MB, free: 7.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001258/0.715, allocations: 2.704 MB / 442.7 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.7151, allocations: 8 kB / 442.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004678/0.7198, allocations: 1.189 MB / 443.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.7209, allocations: 151.8 kB / 444.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/0.7285, allocations: 2.835 MB / 446.9 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.7307, allocations: 115.8 kB / 447 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.7308, allocations: 43.98 kB / 447.1 MB, free: 192 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7309, allocations: 4 kB / 447.1 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005865/0.7368, allocations: 1.441 MB / 448.5 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.7368, allocations: 8 kB / 448.5 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003654/0.7405, allocations: 1.026 MB / 449.6 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.7418, allocations: 171.7 kB / 449.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009365/0.7511, allocations: 5.073 MB / 454.8 MB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.7531, allocations: 111.9 kB / 454.9 MB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.7533, allocations: 39.98 kB / 454.9 MB, free: 7.973 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.0007064/0.754, allocations: 245.6 kB / 455.2 MB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.7543, allocations: 71.09 kB / 455.3 MB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.7653, allocations: 4.533 MB / 459.8 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.991e-05/0.7655, allocations: 56 kB / 459.8 MB, free: 3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7655, allocations: 0 / 459.8 MB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.7655, allocations: 11.92 kB / 459.8 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.7816, allocations: 6.489 MB / 466.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.7816, allocations: 0 / 466.3 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/0.7824, allocations: 91.88 kB / 466.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006988/0.7894, allocations: 2.289 MB / 468.7 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.7896, allocations: 20 kB / 468.7 MB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00962/0.7992, allocations: 4.105 MB / 472.8 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7993, allocations: 0 / 472.8 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008583/0.8079, allocations: 3.401 MB / 476.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009675/0.8089, allocations: 382.5 kB / 476.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.8091, allocations: 12 kB / 476.6 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.811, allocations: 103.9 kB / 476.7 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.8113, allocations: 76.58 kB / 476.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.8114, allocations: 31.97 kB / 476.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000999/0.8124, allocations: 471 kB / 477.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.066e-06/0.8125, allocations: 0 / 477.3 MB, free: 1.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.3064/1.119, allocations: 1.328 MB / 478.6 MB, free: 135.9 MB / 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.007683/1.127, allocations: 1.345 MB / 480 MB, free: 135.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01665/1.143, allocations: 2.902 MB / 482.9 MB, free: 135.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.143, allocations: 0 / 482.9 MB, free: 135.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007667/1.151, allocations: 1.416 MB / 484.3 MB, free: 134.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.154, allocations: 282.5 kB / 484.6 MB, free: 134.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007574/1.161, allocations: 3.567 MB / 488.1 MB, free: 132.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.163, allocations: 1.221 MB / 489.4 MB, free: 132.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002913/1.165, allocations: 0.7644 MB / 490.1 MB, free: 132.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.166, allocations: 53.52 kB / 490.2 MB, free: 132.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.323e-06/1.166, allocations: 0 / 490.2 MB, free: 132.1 MB / 410.7 MB Notification: Performance of Templates: time 0.09362/1.259, allocations: 46.05 MB / 0.5237 GB, free: 94.47 MB / 410.7 MB