Running command: translateModel(OpenHPL.Tests.HPTaperedFittingsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.HPTaperedFittingsTest") [: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(OpenHPL): time 2.229/2.229, allocations: 258 MB / 265 MB, free: 15.85 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.677e-05, allocations: 0 / 327.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2909, allocations: 60.22 MB / 387.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4225, allocations: 89.77 MB / 477.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4228, allocations: 83.94 kB / 477.5 MB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.1199/0.5427, allocations: 25.99 MB / 0.4917 GB, free: 3.738 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.521e-05/0.5428, allocations: 27.98 kB / 0.4917 GB, free: 3.711 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.004586/0.5474, allocations: 1.501 MB / 0.4932 GB, free: 2.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5475, allocations: 8.031 kB / 0.4932 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.5486, allocations: 174.3 kB / 0.4934 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.5501, allocations: 0.5994 MB / 0.4939 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.5503, allocations: 165 kB / 0.4941 GB, free: 1.152 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.5506, allocations: 75.91 kB / 0.4942 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002937/0.5535, allocations: 0.9845 MB / 0.4951 GB, free: 92 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.5563, allocations: 0.9866 MB / 0.4961 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.956e-05/0.5564, allocations: 4 kB / 0.4961 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.5566, allocations: 0 / 0.4961 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.5566, allocations: 32 kB / 0.4961 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.5682, allocations: 3.535 MB / 0.4996 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00578/0.574, allocations: 1.206 MB / 0.5008 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5751, allocations: 405.5 kB / 0.5012 GB, free: 9.785 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/0.5764, allocations: 0.8662 MB / 0.502 GB, free: 8.734 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.5764, allocations: 58.55 kB / 0.5021 GB, free: 8.668 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 4.802e-06/0.5765, allocations: 0 / 0.5021 GB, free: 8.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01477/0.5912, allocations: 4.038 MB / 0.506 GB, free: 4.402 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.5914, allocations: 152.4 kB / 0.5061 GB, free: 4.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.5926, allocations: 0.6174 MB / 0.5067 GB, free: 3.598 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001805/0.5928, allocations: 25.7 kB / 0.5068 GB, free: 3.566 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.5932, allocations: 490.2 kB / 0.5072 GB, free: 3.078 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005175/0.5937, allocations: 449.3 kB / 0.5077 GB, free: 2.633 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.5938, allocations: 0 / 0.5077 GB, free: 2.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.5941, allocations: 418.7 kB / 0.5081 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.5953, allocations: 416 kB / 0.5085 GB, free: 1.809 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.5968, allocations: 0.746 MB / 0.5092 GB, free: 0.9336 MB / 442.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe4.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe3.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe2.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe1.M = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01543/0.6123, allocations: 2.687 MB / 0.5118 GB, free: 14.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/0.6123, allocations: 0 / 0.5118 GB, free: 14.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007322/0.6196, allocations: 1.869 MB / 0.5136 GB, free: 12.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6197, allocations: 4 kB / 0.5136 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.6197, allocations: 12 kB / 0.5137 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004265/0.624, allocations: 0.7802 MB / 0.5144 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.6261, allocations: 359.5 kB / 0.5148 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/0.6319, allocations: 3.19 MB / 0.5179 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.6335, allocations: 16 kB / 0.5179 GB, free: 7.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.6337, allocations: 71.92 kB / 0.518 GB, free: 7.742 MB / 458.7 MB Warning: Assuming redundant initial conditions for the following 4 initial equations: $DER.pipe4.M = 0.0 $DER.pipe3.M = 0.0 $DER.pipe2.M = 0.0 $DER.pipe1.M = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: SquareReduction1.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tail3.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tail4.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 11,2 11,2 11,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004358/0.6342, allocations: 160.4 kB / 0.5181 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/0.6346, allocations: 110.6 kB / 0.5182 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006105/0.6407, allocations: 1.526 MB / 0.5197 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.6407, allocations: 12 kB / 0.5197 GB, free: 5.902 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.6408, allocations: 4 kB / 0.5197 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.6408, allocations: 7.969 kB / 0.5197 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009883/0.6507, allocations: 2.887 MB / 0.5226 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.6507, allocations: 4 kB / 0.5226 GB, free: 2.898 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005699/0.6565, allocations: 0.8121 MB / 0.5234 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002475/0.659, allocations: 450.3 kB / 0.5238 GB, free: 1.621 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/0.6592, allocations: 12 kB / 0.5238 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1833/0.8425, allocations: 21.76 MB / 0.545 GB, free: 149.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.8426, allocations: 6.906 kB / 0.545 GB, free: 149.4 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007081/0.8497, allocations: 2.439 MB / 0.5474 GB, free: 148.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.8502, allocations: 184.7 kB / 0.5476 GB, free: 148.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/0.8506, allocations: 7.156 kB / 0.5476 GB, free: 148.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.8518, allocations: 6.25 kB / 0.5476 GB, free: 148.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.852, allocations: 79.75 kB / 0.5477 GB, free: 148.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.8522, allocations: 42.3 kB / 0.5477 GB, free: 148.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007475/0.8529, allocations: 459.2 kB / 0.5482 GB, free: 148.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002576/0.8555, allocations: 445.2 kB / 0.5486 GB, free: 148.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (Resorvoir4.m,tail4.Vdot,tailwater4.m,Resorvoir3.m,tail3.Vdot,tailwater3.m,Resorvoir2.m,tail2.Vdot,tailwater2.m,Resorvoir1.m,tail1.Vdot,tailwater1.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008671/0.8564, allocations: 300.7 kB / 0.5489 GB, free: 148.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003766/0.8602, allocations: 1.167 MB / 0.55 GB, free: 148.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.533e-06/0.8602, allocations: 3.062 kB / 0.55 GB, free: 148.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004175/0.8644, allocations: 1.598 MB / 0.5516 GB, free: 147.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.8662, allocations: 170.5 kB / 0.5517 GB, free: 147.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.873, allocations: 2.339 MB / 0.554 GB, free: 146.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.8745, allocations: 1.311 MB / 0.5553 GB, free: 146 MB / 458.7 MB Notification: Performance of SimCode: time 1.456e-06/0.8745, allocations: 0 / 0.5553 GB, free: 146 MB / 458.7 MB Notification: Performance of Templates: time 0.05314/0.9277, allocations: 21.6 MB / 0.5764 GB, free: 142.2 MB / 458.7 MB