Running command: "" <> buildModelFMU(OpenHPL.Tests.HPSquareFittingsTest,fileNamePrefix="OpenHPL_OpenHPL_Tests_HPSquareFittingsTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.413/2.413, allocations: 257 MB / 269.1 MB, free: 11.76 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.192e-05, allocations: 4 kB / 332.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3918, allocations: 59.96 MB / 392.1 MB, free: 4.508 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.5687, allocations: 90.38 MB / 482.5 MB, free: 9.996 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.569, allocations: 71.97 kB / 482.5 MB, free: 9.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.13/0.6991, allocations: 26.57 MB / 0.4972 GB, free: 15.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6991, allocations: 0 / 0.4972 GB, free: 15.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.387e-05/0.6992, allocations: 35.98 kB / 0.4972 GB, free: 15.27 MB / 442.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.005948/0.7052, allocations: 1.473 MB / 0.4986 GB, free: 13.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.7052, allocations: 8.031 kB / 0.4986 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004843/0.7057, allocations: 169.1 kB / 0.4988 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.7067, allocations: 170.3 kB / 0.499 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.7082, allocations: 0.5994 MB / 0.4996 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.7085, allocations: 209 kB / 0.4998 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.7088, allocations: 123.9 kB / 0.4999 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/0.7123, allocations: 1.136 MB / 0.501 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.7124, allocations: 3.984 kB / 0.501 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.7126, allocations: 44 kB / 0.501 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.7126, allocations: 28 kB / 0.5011 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003379/0.716, allocations: 1.033 MB / 0.5021 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.7291, allocations: 3.691 MB / 0.5057 GB, free: 6.363 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007915/0.7371, allocations: 1.266 MB / 0.5069 GB, free: 5.062 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.7385, allocations: 441.4 kB / 0.5073 GB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.7399, allocations: 0.8739 MB / 0.5082 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.74, allocations: 54.59 kB / 0.5082 GB, free: 3.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 4.298e-06/0.74, allocations: 0 / 0.5082 GB, free: 3.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.01333/0.7533, allocations: 3.944 MB / 0.5121 GB, free: 15.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.7534, allocations: 144.5 kB / 0.5122 GB, free: 15.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.7548, allocations: 0.6565 MB / 0.5129 GB, free: 14.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000263/0.7551, allocations: 49.64 kB / 0.5129 GB, free: 14.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.7556, allocations: 0.5802 MB / 0.5135 GB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005699/0.7562, allocations: 472.8 kB / 0.5139 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.7564, allocations: 36 kB / 0.514 GB, free: 13.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002478/0.7566, allocations: 422.7 kB / 0.5144 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.7581, allocations: 448 kB / 0.5148 GB, free: 12.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.7602, allocations: 0.7767 MB / 0.5155 GB, free: 11.58 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02089/0.7812, allocations: 2.769 MB / 0.5183 GB, free: 8.738 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/0.7813, allocations: 7.938 kB / 0.5183 GB, free: 8.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007622/0.7889, allocations: 1.897 MB / 0.5201 GB, free: 6.812 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.789, allocations: 8.781 kB / 0.5201 GB, free: 6.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/0.789, allocations: 12 kB / 0.5201 GB, free: 6.793 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006647/0.7957, allocations: 0.8892 MB / 0.521 GB, free: 5.891 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/0.7986, allocations: 359.5 kB / 0.5213 GB, free: 5.539 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.803, allocations: 2.948 MB / 0.5242 GB, free: 2.488 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.805, allocations: 48 kB / 0.5243 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.8052, allocations: 71.98 kB / 0.5243 GB, free: 2.371 MB / 458.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. 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.0004297/0.8057, allocations: 212.4 kB / 0.5245 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.806, allocations: 110.7 kB / 0.5246 GB, free: 2.047 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005889/0.8119, allocations: 1.531 MB / 0.5261 GB, free: 492 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.812, allocations: 16 kB / 0.5262 GB, free: 476 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.812, allocations: 4 kB / 0.5262 GB, free: 472 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.985e-05/0.812, allocations: 7.969 kB / 0.5262 GB, free: 464 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3359/1.148, allocations: 2.975 MB / 0.5291 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.148, allocations: 4.062 kB / 0.5291 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008144/1.156, allocations: 0.8061 MB / 0.5299 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/1.159, allocations: 446.9 kB / 0.5303 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/1.159, allocations: 33.31 kB / 0.5303 GB, free: 119.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/1.178, allocations: 22.58 MB / 0.5524 GB, free: 98.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.178, allocations: 3.875 kB / 0.5524 GB, free: 98.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/1.184, allocations: 2.409 MB / 0.5547 GB, free: 97.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/1.185, allocations: 183.2 kB / 0.5549 GB, free: 97.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.185, allocations: 29.97 kB / 0.5549 GB, free: 97.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/1.187, allocations: 27.12 kB / 0.555 GB, free: 97.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/1.187, allocations: 121.4 kB / 0.5551 GB, free: 97.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/1.187, allocations: 44.55 kB / 0.5551 GB, free: 97.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008863/1.188, allocations: 0.49 MB / 0.5556 GB, free: 97.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.188, allocations: 0 / 0.5556 GB, free: 97.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002685/1.191, allocations: 0.4959 MB / 0.5561 GB, free: 97.55 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.007764/1.199, allocations: 3.917 MB / 0.5599 GB, free: 95.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004777/1.203, allocations: 1.239 MB / 0.5611 GB, free: 94.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/1.203, allocations: 4.281 kB / 0.5611 GB, free: 94.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004727/1.208, allocations: 1.67 MB / 0.5628 GB, free: 93.65 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/1.21, allocations: 198.9 kB / 0.5629 GB, free: 93.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/1.218, allocations: 2.611 MB / 0.5655 GB, free: 92.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006643/1.218, allocations: 1.169 MB / 0.5666 GB, free: 91.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001454/1.22, allocations: 183.8 kB / 0.5668 GB, free: 91.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.221, allocations: 0.5176 MB / 0.5673 GB, free: 91.21 MB / 458.7 MB Notification: Performance of SimCode: time 1.774e-06/1.221, allocations: 0 / 0.5673 GB, free: 91.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/1.334, allocations: 32.67 MB / 0.5992 GB, free: 64.96 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/1.335, allocations: 164.2 kB / 0.5994 GB, free: 64.73 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.347/5.682, allocations: 0 / 0.5994 GB, free: 64.73 MB / 458.7 MB