Running command: translateModel(OpenHPL.Tests.HPAllTypeFittingsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.HPAllTypeFittingsTest") [: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.077/2.077, allocations: 258 MB / 265 MB, free: 15.95 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.196e-05, allocations: 4 kB / 327.4 MB, free: 1.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2496, allocations: 60.22 MB / 387.6 MB, free: 7.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.3885, allocations: 90.39 MB / 478 MB, free: 13.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.3888, allocations: 83.95 kB / 478.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2545/0.6433, allocations: 47.42 MB / 0.5132 GB, free: 13.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001688/0.6435, allocations: 52 kB / 0.5133 GB, free: 13.64 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.009904/0.6535, allocations: 2.606 MB / 0.5158 GB, free: 10.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6535, allocations: 8.031 kB / 0.5158 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.656, allocations: 344.7 kB / 0.5161 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.6594, allocations: 1.014 MB / 0.5171 GB, free: 9.559 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/0.6599, allocations: 330 kB / 0.5175 GB, free: 9.184 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009348/0.6609, allocations: 155.8 kB / 0.5176 GB, free: 9.031 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008936/0.6698, allocations: 1.965 MB / 0.5195 GB, free: 7.059 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.6808, allocations: 1.948 MB / 0.5214 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/0.681, allocations: 11.84 kB / 0.5214 GB, free: 5.027 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005098/0.6815, allocations: 4 kB / 0.5214 GB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.6816, allocations: 52 kB / 0.5215 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1923/0.8739, allocations: 6.908 MB / 0.5282 GB, free: 154.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/0.8917, allocations: 2.432 MB / 0.5306 GB, free: 154.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.894, allocations: 0.7773 MB / 0.5314 GB, free: 154.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.8951, allocations: 0.8866 MB / 0.5322 GB, free: 153.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.8952, allocations: 72.36 kB / 0.5323 GB, free: 153.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=232): time 6.36e-06/0.8952, allocations: 0 / 0.5323 GB, free: 153.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.02983/0.925, allocations: 9.016 MB / 0.5411 GB, free: 149.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.9251, allocations: 261.4 kB / 0.5414 GB, free: 149.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.9274, allocations: 1.134 MB / 0.5425 GB, free: 149 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004916/0.9279, allocations: 29.08 kB / 0.5425 GB, free: 149 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000478/0.9284, allocations: 0.8781 MB / 0.5433 GB, free: 148.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009235/0.9293, allocations: 0.8769 MB / 0.5442 GB, free: 148 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.9296, allocations: 4.719 kB / 0.5442 GB, free: 148 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.9299, allocations: 434.9 kB / 0.5446 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.9323, allocations: 0.8056 MB / 0.5454 GB, free: 147.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003118/0.9355, allocations: 1.485 MB / 0.5469 GB, free: 146.9 MB / 458.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe8.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe7.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe6.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe5.M = 0.0 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.02961/0.9651, allocations: 5.353 MB / 0.5521 GB, free: 146.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.9652, allocations: 3.531 kB / 0.5521 GB, free: 146.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01346/0.9787, allocations: 3.641 MB / 0.5556 GB, free: 145.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9787, allocations: 3.656 kB / 0.5557 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/0.9788, allocations: 25.62 kB / 0.5557 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008334/0.9871, allocations: 1.532 MB / 0.5572 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003767/0.9909, allocations: 0.7078 MB / 0.5579 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009914/1.001, allocations: 6.369 MB / 0.5641 GB, free: 141.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004297/1.005, allocations: 22.12 kB / 0.5641 GB, free: 141.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008736/1.006, allocations: 140 kB / 0.5642 GB, free: 141.6 MB / 458.7 MB Warning: Assuming redundant initial conditions for the following 8 initial equations: $DER.pipe8.M = 0.0 $DER.pipe7.M = 0.0 $DER.pipe6.M = 0.0 $DER.pipe5.M = 0.0 $DER.pipe4.M = 0.0 $DER.pipe3.M = 0.0 $DER.pipe2.M = 0.0 $DER.pipe1.M = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 344 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 11,2 11,2 11,2 11,2 11,2 11,2 11,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009948/1.007, allocations: 189.8 kB / 0.5644 GB, free: 141.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.008, allocations: 214 kB / 0.5646 GB, free: 141.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.022, allocations: 3.032 MB / 0.5676 GB, free: 140.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/1.022, allocations: 26.12 kB / 0.5676 GB, free: 140.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.123e-05/1.022, allocations: 9.625 kB / 0.5676 GB, free: 140.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.511e-05/1.022, allocations: 12.97 kB / 0.5676 GB, free: 140.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/1.049, allocations: 5.628 MB / 0.5731 GB, free: 138.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.078e-05/1.049, allocations: 5.812 kB / 0.5731 GB, free: 138.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02067/1.07, allocations: 1.626 MB / 0.5747 GB, free: 138.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01031/1.08, allocations: 0.8582 MB / 0.5756 GB, free: 138.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007123/1.081, allocations: 32.3 kB / 0.5756 GB, free: 138.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05058/1.131, allocations: 43.56 MB / 0.6181 GB, free: 92.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-05/1.131, allocations: 11.94 kB / 0.6181 GB, free: 92.47 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0215/1.153, allocations: 4.902 MB / 0.6229 GB, free: 87.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.154, allocations: 285.2 kB / 0.6232 GB, free: 87.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000809/1.155, allocations: 15.28 kB / 0.6232 GB, free: 87.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/1.159, allocations: 8 kB / 0.6232 GB, free: 87.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008131/1.16, allocations: 164.6 kB / 0.6234 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003908/1.16, allocations: 79.94 kB / 0.6234 GB, free: 87.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002296/1.162, allocations: 0.8091 MB / 0.6242 GB, free: 86.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006313/1.169, allocations: 0.7451 MB / 0.625 GB, free: 85.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 24 (Resorvoir8.m,tail8.Vdot,tailwater8.m,Resorvoir7.m,tail7.Vdot,tailwater7.m,Resorvoir6.m,tail6.Vdot,tailwater6.m,Resorvoir5.m,tail5.Vdot,tailwater5.m,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 (208): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 16 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 16 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/1.17, allocations: 318.7 kB / 0.6253 GB, free: 85.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007718/1.178, allocations: 2.35 MB / 0.6276 GB, free: 83.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.713e-06/1.178, allocations: 0 / 0.6276 GB, free: 83.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007685/1.185, allocations: 3.191 MB / 0.6307 GB, free: 80.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.188, allocations: 328.2 kB / 0.631 GB, free: 79.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/1.206, allocations: 4.711 MB / 0.6356 GB, free: 75.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004303/1.21, allocations: 1.93 MB / 0.6375 GB, free: 74.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.045e-06/1.21, allocations: 0 / 0.6375 GB, free: 74.02 MB / 458.7 MB Notification: Performance of Templates: time 0.11/1.32, allocations: 40.87 MB / 0.6774 GB, free: 36.82 MB / 458.7 MB