Running command: "" <> buildModelFMU(OpenHPL.Tests.HPAllTypeFittingsTest,fileNamePrefix="OpenHPL_OpenHPL_Tests_HPAllTypeFittingsTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.529/2.529, allocations: 257 MB / 269.1 MB, free: 11.78 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.3e-05, allocations: 11.98 kB / 332.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3833, allocations: 59.97 MB / 392.1 MB, free: 4.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.5706, allocations: 90.99 MB / 483.1 MB, free: 9.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.571, allocations: 79.95 kB / 483.2 MB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2491/0.8201, allocations: 48.27 MB / 0.519 GB, free: 9.047 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8202, allocations: 0 / 0.519 GB, free: 9.047 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002252/0.8204, allocations: 55.98 kB / 0.519 GB, free: 8.992 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.01282/0.8332, allocations: 2.548 MB / 0.5215 GB, free: 6.387 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.8333, allocations: 8.031 kB / 0.5215 GB, free: 6.379 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001456/0.8348, allocations: 320.4 kB / 0.5218 GB, free: 6.055 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.8375, allocations: 336.8 kB / 0.5221 GB, free: 5.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.8413, allocations: 1.022 MB / 0.5231 GB, free: 4.645 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006973/0.842, allocations: 410 kB / 0.5235 GB, free: 4.191 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.8434, allocations: 243.8 kB / 0.5238 GB, free: 3.953 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009615/0.853, allocations: 2.262 MB / 0.526 GB, free: 1.621 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001304/0.8532, allocations: 0 / 0.526 GB, free: 1.621 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000606/0.8538, allocations: 92 kB / 0.5261 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.8539, allocations: 56 kB / 0.5261 GB, free: 1.477 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.335/1.189, allocations: 2.054 MB / 0.5281 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/1.222, allocations: 7.215 MB / 0.5352 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/1.237, allocations: 2.549 MB / 0.5377 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/1.24, allocations: 0.8536 MB / 0.5385 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/1.241, allocations: 0.8921 MB / 0.5394 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/1.242, allocations: 63.03 kB / 0.5394 GB, free: 103.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=232): time 6.222e-06/1.242, allocations: 3.875 kB / 0.5394 GB, free: 103.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.02682/1.268, allocations: 8.827 MB / 0.548 GB, free: 99.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.269, allocations: 262.5 kB / 0.5483 GB, free: 99.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002378/1.271, allocations: 1.207 MB / 0.5495 GB, free: 99.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006704/1.272, allocations: 76.08 kB / 0.5495 GB, free: 99.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/1.272, allocations: 1.078 MB / 0.5506 GB, free: 98.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/1.274, allocations: 0.9173 MB / 0.5515 GB, free: 97.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/1.274, allocations: 70.97 kB / 0.5516 GB, free: 97.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/1.274, allocations: 434.9 kB / 0.552 GB, free: 97.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/1.277, allocations: 0.8813 MB / 0.5528 GB, free: 96.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/1.281, allocations: 1.546 MB / 0.5543 GB, free: 95.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03948/1.32, allocations: 5.546 MB / 0.5598 GB, free: 94.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.31e-05/1.32, allocations: 7.812 kB / 0.5598 GB, free: 94.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01402/1.334, allocations: 3.69 MB / 0.5634 GB, free: 92.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/1.334, allocations: 13.84 kB / 0.5634 GB, free: 92.97 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.453e-05/1.335, allocations: 21 kB / 0.5634 GB, free: 92.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/1.347, allocations: 1.767 MB / 0.5651 GB, free: 92.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/1.353, allocations: 0.7128 MB / 0.5658 GB, free: 91.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/1.36, allocations: 5.884 MB / 0.5716 GB, free: 85.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/1.365, allocations: 94.72 kB / 0.5717 GB, free: 85.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007099/1.366, allocations: 142.9 kB / 0.5718 GB, free: 85.53 MB / 458.7 MB Warning: The initial conditions are over specified. The following 8 initial equations are redundant, so they are removed from the initialization sytem: $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.0007568/1.366, allocations: 303.7 kB / 0.5721 GB, free: 85.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006916/1.367, allocations: 217.3 kB / 0.5723 GB, free: 85.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/1.379, allocations: 3.023 MB / 0.5752 GB, free: 82.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-05/1.379, allocations: 28 kB / 0.5753 GB, free: 82.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.611e-05/1.379, allocations: 8 kB / 0.5753 GB, free: 82.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-05/1.379, allocations: 15.44 kB / 0.5753 GB, free: 82.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01982/1.399, allocations: 5.81 MB / 0.581 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/1.399, allocations: 4 kB / 0.581 GB, free: 77.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01577/1.415, allocations: 1.599 MB / 0.5825 GB, free: 76.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005611/1.42, allocations: 0.8631 MB / 0.5834 GB, free: 75.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006454/1.421, allocations: 71.23 kB / 0.5834 GB, free: 75.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03649/1.457, allocations: 45.17 MB / 0.6276 GB, free: 27.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/1.458, allocations: 8 kB / 0.6276 GB, free: 27.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/1.472, allocations: 4.871 MB / 0.6323 GB, free: 22.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008532/1.473, allocations: 292.9 kB / 0.6326 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008544/1.474, allocations: 56 kB / 0.6327 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/1.477, allocations: 52 kB / 0.6327 GB, free: 21.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/1.478, allocations: 235.8 kB / 0.6329 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.478, allocations: 82.52 kB / 0.633 GB, free: 21.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001763/1.48, allocations: 0.8835 MB / 0.6339 GB, free: 20.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.48, allocations: 3.938 kB / 0.6339 GB, free: 20.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005644/1.486, allocations: 0.8629 MB / 0.6347 GB, free: 20 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.01599/1.502, allocations: 7.163 MB / 0.6417 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009689/1.512, allocations: 2.475 MB / 0.6441 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.512, allocations: 128 / 0.6441 GB, free: 10.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009631/1.521, allocations: 3.345 MB / 0.6474 GB, free: 7.254 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/1.525, allocations: 388.6 kB / 0.6478 GB, free: 6.941 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.542, allocations: 5.187 MB / 0.6528 GB, free: 2.305 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.543, allocations: 1.661 MB / 0.6545 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00308/1.546, allocations: 375.7 kB / 0.6548 GB, free: 0.707 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004237/1.55, allocations: 1.156 MB / 0.6559 GB, free: 15.95 MB / 474.7 MB Notification: Performance of SimCode: time 1.492e-06/1.55, allocations: 0 / 0.6559 GB, free: 15.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1686/1.719, allocations: 61.62 MB / 0.7161 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003568/1.719, allocations: 161.6 kB / 0.7163 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.165/7.884, allocations: 0 / 0.7163 GB, free: 2.516 MB / 0.5105 GB