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.341/2.341, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.099e-05/5.109e-05, allocations: 8 kB / 335.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 60.24 MB / 396.1 MB, free: 5.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.6219, allocations: 90.52 MB / 486.6 MB, free: 9.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.6223, allocations: 84.64 kB / 486.7 MB, free: 9.254 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1768/0.7991, allocations: 26.72 MB / 0.5014 GB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.7992, allocations: 4 kB / 0.5014 GB, free: 404 kB / 410.7 MB Notification: Performance of Transformations before backend: time 7.399e-05/0.7992, allocations: 24 kB / 0.5014 GB, free: 380 kB / 410.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.005779/0.805, allocations: 1.475 MB / 0.5028 GB, free: 14.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.8051, allocations: 12.03 kB / 0.5028 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004641/0.8056, allocations: 169.1 kB / 0.503 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000913/0.8065, allocations: 174.3 kB / 0.5032 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.8079, allocations: 0.5994 MB / 0.5037 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.8082, allocations: 209 kB / 0.5039 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.8085, allocations: 119.9 kB / 0.5041 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.8118, allocations: 1.175 MB / 0.5052 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.758e-05/0.8119, allocations: 3.906 kB / 0.5052 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.812, allocations: 48 kB / 0.5053 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-05/0.8121, allocations: 28 kB / 0.5053 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.8156, allocations: 1.074 MB / 0.5063 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.8286, allocations: 3.691 MB / 0.5099 GB, free: 7.363 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008101/0.8367, allocations: 1.297 MB / 0.5112 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/0.8382, allocations: 0.8759 MB / 0.5121 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.8383, allocations: 50.5 kB / 0.5121 GB, free: 4.914 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 6.202e-06/0.8383, allocations: 0 / 0.5121 GB, free: 4.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.01573/0.854, allocations: 4.667 MB / 0.5167 GB, free: 15.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.8541, allocations: 140.5 kB / 0.5168 GB, free: 15.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.8555, allocations: 0.6719 MB / 0.5175 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.8557, allocations: 49.7 kB / 0.5175 GB, free: 15.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.8563, allocations: 0.5763 MB / 0.5181 GB, free: 14.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005426/0.8568, allocations: 473.2 kB / 0.5185 GB, free: 13.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.857, allocations: 36 kB / 0.5185 GB, free: 13.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.8572, allocations: 422.7 kB / 0.519 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.8588, allocations: 463.8 kB / 0.5194 GB, free: 13.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.8607, allocations: 0.8 MB / 0.5202 GB, free: 12.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02057/0.8813, allocations: 2.797 MB / 0.5229 GB, free: 9.285 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.8813, allocations: 4 kB / 0.5229 GB, free: 9.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.008077/0.8894, allocations: 1.959 MB / 0.5248 GB, free: 7.301 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.8895, allocations: 10.19 kB / 0.5248 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.8895, allocations: 15.94 kB / 0.5248 GB, free: 7.277 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00679/0.8963, allocations: 0.8972 MB / 0.5257 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/0.8993, allocations: 367.4 kB / 0.5261 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/0.904, allocations: 2.963 MB / 0.529 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002103/0.9062, allocations: 48 kB / 0.529 GB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/0.9066, allocations: 75.98 kB / 0.5291 GB, free: 2.82 MB / 442.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.0008086/0.9074, allocations: 269.2 kB / 0.5293 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.9077, allocations: 110.6 kB / 0.5294 GB, free: 2.438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006619/0.9144, allocations: 1.551 MB / 0.531 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/0.9145, allocations: 12 kB / 0.531 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/0.9145, allocations: 8 kB / 0.531 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.467e-05/0.9146, allocations: 7.984 kB / 0.531 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.9263, allocations: 3.007 MB / 0.5339 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/0.9264, allocations: 4 kB / 0.5339 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008543/0.935, allocations: 0.8121 MB / 0.5347 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.9376, allocations: 410.4 kB / 0.5351 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003086/0.938, allocations: 28 kB / 0.5351 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02452/0.9625, allocations: 22.72 MB / 0.5573 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.9626, allocations: 7.938 kB / 0.5573 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008356/0.9709, allocations: 2.457 MB / 0.5597 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.9715, allocations: 183.6 kB / 0.5599 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005992/0.9721, allocations: 27.98 kB / 0.5599 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.9737, allocations: 24 kB / 0.56 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004514/0.9741, allocations: 123.7 kB / 0.5601 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.9743, allocations: 40 kB / 0.5601 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001044/0.9753, allocations: 0.5029 MB / 0.5606 GB, free: 92 kB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9754, allocations: 0 / 0.5606 GB, free: 92 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.003055/0.9784, allocations: 499.9 kB / 0.5611 GB, free: 15.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (Resorvoir4.m,tail4.M,tailwater4.m,Resorvoir3.m,tail3.M,tailwater3.m,Resorvoir2.m,tail2.M,tailwater2.m,Resorvoir1.m,tail1.M,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.009369/0.9878, allocations: 3.941 MB / 0.5649 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005605/0.9935, allocations: 1.3 MB / 0.5662 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.9935, allocations: 3.938 kB / 0.5662 GB, free: 10.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006046/0.9996, allocations: 1.761 MB / 0.5679 GB, free: 8.379 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.002, allocations: 205.1 kB / 0.5681 GB, free: 8.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/1.026, allocations: 14.3 MB / 0.5821 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.027, allocations: 1.16 MB / 0.5832 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001624/1.029, allocations: 185.7 kB / 0.5834 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/1.03, allocations: 0.5149 MB / 0.5839 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of SimCode: time 1.452e-06/1.03, allocations: 0 / 0.5839 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4247/1.455, allocations: 32.61 MB / 0.6157 GB, free: 162.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/1.455, allocations: 161.5 kB / 0.6159 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.424/5.879, allocations: 0 / 0.6159 GB, free: 162.1 MB / 0.5105 GB