Running command: translateModel(OpenHPL.Tests.HPSquareFittingsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.HPSquareFittingsTest") [: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.101/2.101, allocations: 258 MB / 265 MB, free: 15.95 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.386e-05, allocations: 0 / 327.4 MB, free: 1.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2671, allocations: 60.23 MB / 387.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4029, allocations: 89.75 MB / 477.4 MB, free: 13.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4032, allocations: 91.94 kB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.13/0.5333, allocations: 25.99 MB / 0.4917 GB, free: 3.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.928e-05/0.5334, allocations: 27.98 kB / 0.4917 GB, free: 3.738 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.00542/0.5388, allocations: 1.501 MB / 0.4932 GB, free: 2.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5389, allocations: 8.031 kB / 0.4932 GB, free: 2.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.5402, allocations: 182.3 kB / 0.4934 GB, free: 2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.5421, allocations: 0.5955 MB / 0.4939 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.5424, allocations: 169 kB / 0.4941 GB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004917/0.5429, allocations: 71.91 kB / 0.4942 GB, free: 1.102 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003699/0.5466, allocations: 0.9845 MB / 0.4951 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.5501, allocations: 0.9867 MB / 0.4961 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.5502, allocations: 7.938 kB / 0.4961 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.5504, allocations: 4 kB / 0.4961 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.5504, allocations: 24 kB / 0.4961 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/0.5628, allocations: 3.531 MB / 0.4996 GB, free: 11.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006167/0.5691, allocations: 1.207 MB / 0.5008 GB, free: 10.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.5704, allocations: 409.4 kB / 0.5012 GB, free: 9.809 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.5717, allocations: 0.8662 MB / 0.502 GB, free: 8.758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.5718, allocations: 50.56 kB / 0.502 GB, free: 8.699 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 5.072e-06/0.5718, allocations: 0 / 0.502 GB, free: 8.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01589/0.5877, allocations: 4.049 MB / 0.506 GB, free: 4.422 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.5879, allocations: 144.5 kB / 0.5061 GB, free: 4.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5891, allocations: 0.6135 MB / 0.5067 GB, free: 3.629 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.5894, allocations: 25.7 kB / 0.5068 GB, free: 3.598 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.5899, allocations: 494.2 kB / 0.5072 GB, free: 3.105 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/0.5905, allocations: 449.3 kB / 0.5077 GB, free: 2.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.5906, allocations: 0 / 0.5077 GB, free: 2.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002972/0.591, allocations: 418.7 kB / 0.5081 GB, free: 2.242 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.5923, allocations: 420 kB / 0.5085 GB, free: 1.832 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.594, allocations: 0.7421 MB / 0.5092 GB, free: 0.9609 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.01643/0.6105, allocations: 2.683 MB / 0.5118 GB, free: 14.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/0.6105, allocations: 11.94 kB / 0.5118 GB, free: 14.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.008139/0.6187, allocations: 1.861 MB / 0.5136 GB, free: 12.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6187, allocations: 4.312 kB / 0.5136 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.6188, allocations: 19.98 kB / 0.5137 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/0.6232, allocations: 0.7682 MB / 0.5144 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/0.6254, allocations: 363.5 kB / 0.5148 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.6317, allocations: 3.195 MB / 0.5179 GB, free: 7.848 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.6334, allocations: 12 kB / 0.5179 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/0.6338, allocations: 67.98 kB / 0.518 GB, free: 7.77 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.0004977/0.6343, allocations: 156.4 kB / 0.5181 GB, free: 7.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.6348, allocations: 114.6 kB / 0.5182 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006611/0.6414, allocations: 1.523 MB / 0.5197 GB, free: 5.945 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/0.6415, allocations: 16 kB / 0.5197 GB, free: 5.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/0.6415, allocations: 4 kB / 0.5197 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/0.6415, allocations: 11.95 kB / 0.5197 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.6525, allocations: 2.883 MB / 0.5225 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.6526, allocations: 4 kB / 0.5226 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005847/0.6585, allocations: 0.816 MB / 0.5233 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.6611, allocations: 442.4 kB / 0.5238 GB, free: 1.656 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/0.6614, allocations: 8 kB / 0.5238 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.159/0.8204, allocations: 21.77 MB / 0.545 GB, free: 149.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.236e-06/0.8204, allocations: 2.438 kB / 0.545 GB, free: 149.7 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007055/0.8275, allocations: 2.44 MB / 0.5474 GB, free: 149 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004477/0.828, allocations: 186.5 kB / 0.5476 GB, free: 148.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004677/0.8285, allocations: 9 kB / 0.5476 GB, free: 148.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.8298, allocations: 9.25 kB / 0.5476 GB, free: 148.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.8301, allocations: 79.77 kB / 0.5477 GB, free: 148.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.8303, allocations: 38.59 kB / 0.5477 GB, free: 148.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007692/0.831, allocations: 464 kB / 0.5482 GB, free: 148.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002929/0.834, allocations: 445.6 kB / 0.5486 GB, free: 148.7 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.001007/0.835, allocations: 298.3 kB / 0.5489 GB, free: 148.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004181/0.8392, allocations: 1.167 MB / 0.55 GB, free: 148.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.623e-06/0.8393, allocations: 0 / 0.55 GB, free: 148.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00432/0.8436, allocations: 1.591 MB / 0.5516 GB, free: 147.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.8455, allocations: 175.3 kB / 0.5517 GB, free: 147.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.8521, allocations: 2.335 MB / 0.554 GB, free: 147.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/0.8536, allocations: 1.307 MB / 0.5553 GB, free: 146.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.849e-06/0.8537, allocations: 3.5 kB / 0.5553 GB, free: 146.3 MB / 458.7 MB Notification: Performance of Templates: time 0.05316/0.9068, allocations: 21.61 MB / 0.5764 GB, free: 142.5 MB / 458.7 MB