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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 1.707/1.707, allocations: 209.3 MB / 216.3 MB, free: 6.766 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.321e-05/1.337e-05, allocations: 4 kB / 267.3 MB, free: 5.203 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09526, allocations: 48.69 MB / 316 MB, free: 4.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.043/5.138, allocations: 2.485 GB / 2.793 GB, free: 97.72 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/5.139, allocations: 88.27 kB / 2.793 GB, free: 97.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.512/6.65, allocations: 343.8 MB / 3.129 GB, free: 48.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.269e-05/6.65, allocations: 19 kB / 3.129 GB, free: 48.27 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006519/6.657, allocations: 1.622 MB / 3.131 GB, free: 47.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/6.657, allocations: 12.44 kB / 3.131 GB, free: 47.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/6.663, allocations: 433.5 kB / 3.131 GB, free: 47.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/6.665, allocations: 0.5804 MB / 3.132 GB, free: 47.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/6.665, allocations: 95.88 kB / 3.132 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/6.665, allocations: 31.94 kB / 3.132 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001815/6.667, allocations: 0.7454 MB / 3.133 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/6.669, allocations: 0.8382 MB / 3.133 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/6.669, allocations: 10.53 kB / 3.133 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/6.669, allocations: 0 / 3.133 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/6.669, allocations: 41.39 kB / 3.133 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1129/6.782, allocations: 37.19 MB / 3.17 GB, free: 27.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/6.783, allocations: 397.4 kB / 3.17 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004474/6.783, allocations: 266.1 kB / 3.17 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08574/6.869, allocations: 31.53 MB / 3.201 GB, free: 24.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/6.869, allocations: 36.38 kB / 3.201 GB, free: 24.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 5.218e-06/6.869, allocations: 0 / 3.201 GB, free: 24.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.02332/6.892, allocations: 3.407 MB / 3.205 GB, free: 23.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/6.892, allocations: 108.8 kB / 3.205 GB, free: 23.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/6.893, allocations: 416.9 kB / 3.205 GB, free: 23.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/6.893, allocations: 26.83 kB / 3.205 GB, free: 23.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/6.894, allocations: 315.2 kB / 3.205 GB, free: 23.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/6.894, allocations: 182 kB / 3.206 GB, free: 23.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/6.894, allocations: 0 / 3.206 GB, free: 23.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/6.894, allocations: 370.5 kB / 3.206 GB, free: 22.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009241/6.895, allocations: 442.1 kB / 3.206 GB, free: 22.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/6.896, allocations: 0.6535 MB / 3.207 GB, free: 22.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/6.9, allocations: 0.7437 MB / 3.208 GB, free: 22.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/6.9, allocations: 1.656 kB / 3.208 GB, free: 22.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.008063/6.908, allocations: 2.019 MB / 3.21 GB, free: 22.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001331/6.909, allocations: 2.699 MB / 3.212 GB, free: 19.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/6.909, allocations: 7.281 kB / 3.212 GB, free: 19.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/6.912, allocations: 1.098 MB / 3.213 GB, free: 19.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009012/6.913, allocations: 148.2 kB / 3.213 GB, free: 19.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006735/6.92, allocations: 3.103 MB / 3.217 GB, free: 17.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/6.921, allocations: 100.3 kB / 3.217 GB, free: 17.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/6.922, allocations: 45.33 kB / 3.217 GB, free: 17.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/6.922, allocations: 2.75 kB / 3.217 GB, free: 17.87 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004472/6.926, allocations: 1.079 MB / 3.218 GB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/6.926, allocations: 7.312 kB / 3.218 GB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/6.927, allocations: 256 kB / 3.218 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/6.928, allocations: 198 kB / 3.218 GB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/6.933, allocations: 4.051 MB / 3.222 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/6.934, allocations: 63.5 kB / 3.222 GB, free: 30.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/6.934, allocations: 47.86 kB / 3.222 GB, free: 30.33 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real 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 (73): * Single equations (assignments): 70 * 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.0004541/6.935, allocations: 134.4 kB / 3.222 GB, free: 30.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00163/6.936, allocations: 298.1 kB / 3.223 GB, free: 30.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007824/6.944, allocations: 3.855 MB / 3.226 GB, free: 28.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/6.944, allocations: 35.7 kB / 3.226 GB, free: 28.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.914e-06/6.944, allocations: 0 / 3.226 GB, free: 28.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/6.944, allocations: 3.797 kB / 3.226 GB, free: 28.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/6.956, allocations: 5.459 MB / 3.232 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/6.956, allocations: 3.906 kB / 3.232 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/6.956, allocations: 70.44 kB / 3.232 GB, free: 25.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003671/6.96, allocations: 1.929 MB / 3.234 GB, free: 23.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/6.96, allocations: 15.52 kB / 3.234 GB, free: 23.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007144/6.967, allocations: 4.119 MB / 3.238 GB, free: 20.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.083e-06/6.967, allocations: 3.312 kB / 3.238 GB, free: 20.08 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007316/6.975, allocations: 3.235 MB / 3.241 GB, free: 17.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/6.975, allocations: 310.8 kB / 3.241 GB, free: 16.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002552/6.976, allocations: 7.938 kB / 3.241 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/6.977, allocations: 70.38 kB / 3.241 GB, free: 16.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/6.977, allocations: 66.75 kB / 3.241 GB, free: 16.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/6.977, allocations: 27.84 kB / 3.241 GB, free: 16.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.000606/6.978, allocations: 361.2 kB / 3.242 GB, free: 16.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006806/6.985, allocations: 1.367 MB / 3.243 GB, free: 15.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01027/6.995, allocations: 1.803 MB / 3.245 GB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006768/7.002, allocations: 2.471 MB / 3.247 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.313e-06/7.002, allocations: 0 / 3.247 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004064/7.006, allocations: 1.454 MB / 3.249 GB, free: 10.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/7.008, allocations: 260.1 kB / 3.249 GB, free: 10 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2089/7.217, allocations: 15.26 MB / 3.264 GB, free: 111.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/7.218, allocations: 1.181 MB / 3.265 GB, free: 110.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.9e-06/7.218, allocations: 0 / 3.265 GB, free: 110.7 MB / 458.7 MB Notification: Performance of Templates: time 0.09436/7.312, allocations: 50.21 MB / 3.314 GB, free: 109.6 MB / 458.7 MB