Running command: "" <> buildModelFMU(OpenHPL.Tests.Fittings,fileNamePrefix="OpenHPL_OpenHPL_Tests_Fittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.469/2.469, allocations: 256.4 MB / 268.5 MB, free: 12.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.193e-05, allocations: 8 kB / 331.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 59.8 MB / 391.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.5675, allocations: 89.87 MB / 481 MB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.5679, allocations: 83.94 kB / 481.1 MB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08426/0.6522, allocations: 16.34 MB / 497.4 MB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6522, allocations: 0 / 497.4 MB, free: 10.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.041e-05/0.6523, allocations: 15.98 kB / 497.4 MB, free: 10.88 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003266/0.6556, allocations: 0.9312 MB / 498.3 MB, free: 9.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.6557, allocations: 8.031 kB / 498.4 MB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.6559, allocations: 102.5 kB / 498.5 MB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004823/0.6564, allocations: 83.14 kB / 498.5 MB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.6572, allocations: 387.2 kB / 498.9 MB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.6573, allocations: 41.31 kB / 499 MB, free: 9.238 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.6575, allocations: 67.89 kB / 499 MB, free: 9.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.6591, allocations: 0.5852 MB / 499.6 MB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.6592, allocations: 4 kB / 499.6 MB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.6593, allocations: 20 kB / 499.6 MB, free: 8.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.6593, allocations: 12 kB / 499.6 MB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.661, allocations: 0.5022 MB / 0.4884 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007101/0.6681, allocations: 1.878 MB / 0.4903 GB, free: 6.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/0.6724, allocations: 0.5907 MB / 0.4908 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.6732, allocations: 202.6 kB / 0.491 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.6843, allocations: 9.306 MB / 0.5001 GB, free: 9.895 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.6844, allocations: 46.97 kB / 0.5002 GB, free: 9.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=56): time 3.897e-06/0.6844, allocations: 0 / 0.5002 GB, free: 9.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.00625/0.6907, allocations: 1.756 MB / 0.5019 GB, free: 7.977 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.6908, allocations: 89.05 kB / 0.502 GB, free: 7.871 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008224/0.6917, allocations: 407.7 kB / 0.5023 GB, free: 7.461 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.6918, allocations: 37.69 kB / 0.5024 GB, free: 7.418 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.6922, allocations: 343.3 kB / 0.5027 GB, free: 7.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.6924, allocations: 224.8 kB / 0.5029 GB, free: 6.852 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.6925, allocations: 20 kB / 0.5029 GB, free: 6.832 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.6928, allocations: 374.7 kB / 0.5033 GB, free: 6.457 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006938/0.6935, allocations: 214 kB / 0.5035 GB, free: 6.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/0.6943, allocations: 390.3 kB / 0.5039 GB, free: 5.805 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/0.7048, allocations: 1.356 MB / 0.5052 GB, free: 4.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.7049, allocations: 8 kB / 0.5052 GB, free: 4.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003188/0.7081, allocations: 0.8979 MB / 0.5061 GB, free: 3.492 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.7082, allocations: 8 kB / 0.5061 GB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.7082, allocations: 11.94 kB / 0.5061 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/0.7115, allocations: 369.5 kB / 0.5065 GB, free: 3.105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.713, allocations: 191.7 kB / 0.5066 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.7151, allocations: 1.417 MB / 0.508 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009517/0.7161, allocations: 27.94 kB / 0.508 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.7162, allocations: 36 kB / 0.5081 GB, free: 1.387 MB / 442.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe2.M = 0.0 $DER.pipe1.M = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.7165, allocations: 156.6 kB / 0.5082 GB, free: 1.227 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.7166, allocations: 59.25 kB / 0.5083 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.7194, allocations: 0.715 MB / 0.509 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.7194, allocations: 8 kB / 0.509 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.7195, allocations: 7.953 kB / 0.509 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.7195, allocations: 3.984 kB / 0.509 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.7244, allocations: 1.478 MB / 0.5104 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.7245, allocations: 4 kB / 0.5105 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004193/0.7287, allocations: 407.8 kB / 0.5108 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.73, allocations: 177.5 kB / 0.511 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.7301, allocations: 12 kB / 0.511 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.7404, allocations: 8.623 MB / 0.5194 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.7405, allocations: 12.03 kB / 0.5195 GB, free: 4.855 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.7439, allocations: 1.128 MB / 0.5206 GB, free: 3.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.7443, allocations: 136.4 kB / 0.5207 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.7444, allocations: 12 kB / 0.5207 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.7451, allocations: 12 kB / 0.5207 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.7453, allocations: 51.88 kB / 0.5208 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.7454, allocations: 23.94 kB / 0.5208 GB, free: 3.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005924/0.746, allocations: 309.6 kB / 0.5211 GB, free: 3.113 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.746, allocations: 4 kB / 0.5211 GB, free: 3.109 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001602/0.7476, allocations: 311.8 kB / 0.5214 GB, free: 2.805 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (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 (52): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004693/0.7523, allocations: 2.17 MB / 0.5235 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3783/1.131, allocations: 0.5955 MB / 0.5241 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/1.131, allocations: 0.75 kB / 0.5241 GB, free: 129 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.133, allocations: 0.6136 MB / 0.5247 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.135, allocations: 106.7 kB / 0.5248 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/1.139, allocations: 1.332 MB / 0.5261 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/1.14, allocations: 0.92 MB / 0.527 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000873/1.141, allocations: 96.34 kB / 0.5271 GB, free: 127.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/1.141, allocations: 258.8 kB / 0.5273 GB, free: 127.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/1.141, allocations: 0 / 0.5273 GB, free: 127.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0699/1.211, allocations: 17.14 MB / 0.5441 GB, free: 121.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/1.212, allocations: 149 kB / 0.5442 GB, free: 121.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.326, allocations: 0 / 0.5442 GB, free: 121.4 MB / 458.7 MB