Running command: translateModel(OpenHPL.Tests.HPSquareFittingsTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Tests.HPSquareFittingsTest") Notification: Performance of loadModel(OpenHPL): time 2.331/2.331, allocations: 258 MB / 265.1 MB, free: 5.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.465e-05, allocations: 8 kB / 327.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 60.25 MB / 387.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5503, allocations: 89.83 MB / 477.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.5505, allocations: 81.84 kB / 477.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1534/0.704, allocations: 26.16 MB / 0.4922 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.032e-06/0.704, allocations: 0 / 0.4922 GB, free: 15.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.7041, allocations: 27.75 kB / 0.4922 GB, free: 15.88 MB / 394.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.004402/0.7085, allocations: 1.476 MB / 0.4936 GB, free: 14.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.7086, allocations: 8.031 kB / 0.4936 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/0.7095, allocations: 174.3 kB / 0.4938 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.7109, allocations: 0.5964 MB / 0.4944 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.7111, allocations: 168.3 kB / 0.4945 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.7114, allocations: 79.77 kB / 0.4946 GB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002727/0.7142, allocations: 0.975 MB / 0.4956 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.7166, allocations: 0.9976 MB / 0.4965 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.868e-05/0.7167, allocations: 3.984 kB / 0.4965 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.7169, allocations: 3.984 kB / 0.4966 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.7169, allocations: 28 kB / 0.4966 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.7276, allocations: 3.537 MB / 0.5 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005503/0.7332, allocations: 1.229 MB / 0.5012 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.7344, allocations: 406.1 kB / 0.5016 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.7357, allocations: 0.87 MB / 0.5025 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.7358, allocations: 49.41 kB / 0.5025 GB, free: 7.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 7.98e-06/0.7359, allocations: 4 kB / 0.5025 GB, free: 7.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.02239/0.7583, allocations: 4.022 MB / 0.5065 GB, free: 3.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.7585, allocations: 152.4 kB / 0.5066 GB, free: 3.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.7604, allocations: 0.6187 MB / 0.5072 GB, free: 2.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003198/0.7607, allocations: 25.7 kB / 0.5072 GB, free: 2.793 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007353/0.7615, allocations: 0.5757 MB / 0.5078 GB, free: 2.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008876/0.7624, allocations: 445.9 kB / 0.5082 GB, free: 1.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.7626, allocations: 0 / 0.5082 GB, free: 1.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00039/0.763, allocations: 419.9 kB / 0.5086 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.765, allocations: 414.6 kB / 0.509 GB, free: 1.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.7676, allocations: 0.7455 MB / 0.5097 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02062/0.7883, allocations: 2.626 MB / 0.5123 GB, free: 14.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/0.7883, allocations: 0 / 0.5123 GB, free: 14.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.006993/0.7953, allocations: 1.864 MB / 0.5141 GB, free: 12.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.7954, allocations: 12 kB / 0.5141 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.7954, allocations: 11.94 kB / 0.5141 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/0.7995, allocations: 0.7721 MB / 0.5149 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.8015, allocations: 364.6 kB / 0.5152 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005107/0.8066, allocations: 3.141 MB / 0.5183 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.8082, allocations: 12 kB / 0.5183 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.8084, allocations: 65.19 kB / 0.5184 GB, free: 8.941 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $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.0004576/0.8089, allocations: 159.8 kB / 0.5185 GB, free: 8.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.8092, allocations: 114.6 kB / 0.5186 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/0.8147, allocations: 1.506 MB / 0.5201 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.8148, allocations: 19.95 kB / 0.5201 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.8148, allocations: 4 kB / 0.5201 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.4e-05/0.8149, allocations: 7.969 kB / 0.5201 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009782/0.8247, allocations: 2.882 MB / 0.523 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.8247, allocations: 8 kB / 0.523 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005455/0.8302, allocations: 0.7964 MB / 0.5237 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.8326, allocations: 433.9 kB / 0.5242 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002229/0.8329, allocations: 19.98 kB / 0.5242 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/0.8561, allocations: 21.84 MB / 0.5455 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/0.8561, allocations: 4.031 kB / 0.5455 GB, free: 11.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006829/0.863, allocations: 2.417 MB / 0.5479 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.8635, allocations: 183.7 kB / 0.548 GB, free: 8.781 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.8637, allocations: 11.98 kB / 0.5481 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.8647, allocations: 4 kB / 0.5481 GB, free: 8.766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.8651, allocations: 119.7 kB / 0.5482 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.8652, allocations: 36.11 kB / 0.5482 GB, free: 8.613 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008107/0.866, allocations: 467.1 kB / 0.5487 GB, free: 8.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.77e-07/0.8661, allocations: 0 / 0.5487 GB, free: 8.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002554/0.8686, allocations: 447.8 kB / 0.5491 GB, free: 7.719 MB / 442.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.000908/0.8695, allocations: 285.3 kB / 0.5494 GB, free: 7.441 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.8734, allocations: 1.169 MB / 0.5505 GB, free: 6.281 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.713e-06/0.8734, allocations: 3.938 kB / 0.5505 GB, free: 6.277 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.8776, allocations: 1.653 MB / 0.5521 GB, free: 4.547 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.8792, allocations: 175.5 kB / 0.5523 GB, free: 4.375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005421/0.8846, allocations: 2.276 MB / 0.5545 GB, free: 2.027 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.8857, allocations: 1.161 MB / 0.5556 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001303/0.887, allocations: 185.7 kB / 0.5558 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.8876, allocations: 119.4 kB / 0.5559 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/0.8876, allocations: 4 kB / 0.5559 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of Templates: time 0.04945/0.9371, allocations: 20.4 MB / 0.5759 GB, free: 12.21 MB / 474.7 MB