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.498/2.498, allocations: 258 MB / 265.1 MB, free: 5.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.545e-05, allocations: 4 kB / 327.7 MB, free: 9.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 60.26 MB / 388 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5567/0.6888, allocations: 90.43 MB / 478.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.6892, allocations: 83.62 kB / 478.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2392/0.9284, allocations: 47.52 MB / 0.5137 GB, free: 14.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.9285, allocations: 0 / 0.5137 GB, free: 14.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002315/0.9287, allocations: 51.83 kB / 0.5138 GB, free: 14.29 MB / 410.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.01593/0.9447, allocations: 2.554 MB / 0.5162 GB, free: 11.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.976e-05/0.9448, allocations: 12.03 kB / 0.5163 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/0.9483, allocations: 331.3 kB / 0.5166 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004637/0.953, allocations: 1.021 MB / 0.5176 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007543/0.9538, allocations: 329.5 kB / 0.5179 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.9553, allocations: 147.2 kB / 0.518 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01133/0.9667, allocations: 1.963 MB / 0.5199 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.9777, allocations: 1.967 MB / 0.5219 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.978, allocations: 4 kB / 0.5219 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00061/0.9786, allocations: 0 / 0.5219 GB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.9787, allocations: 56 kB / 0.5219 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03269/1.011, allocations: 6.926 MB / 0.5287 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01596/1.027, allocations: 2.466 MB / 0.5311 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/1.03, allocations: 0.7851 MB / 0.5319 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/1.032, allocations: 0.8968 MB / 0.5327 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.785e-05/1.032, allocations: 70.48 kB / 0.5328 GB, free: 11.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=232): time 6.222e-06/1.032, allocations: 0 / 0.5328 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.0346/1.067, allocations: 8.964 MB / 0.5416 GB, free: 2.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.067, allocations: 259.3 kB / 0.5418 GB, free: 1.973 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/1.07, allocations: 1.126 MB / 0.5429 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006854/1.071, allocations: 25.7 kB / 0.5429 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/1.072, allocations: 1.079 MB / 0.544 GB, free: 15.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001616/1.073, allocations: 0.8814 MB / 0.5448 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004933/1.074, allocations: 0 / 0.5448 GB, free: 14.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003157/1.074, allocations: 441.3 kB / 0.5453 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/1.077, allocations: 0.8115 MB / 0.5461 GB, free: 13.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004122/1.082, allocations: 1.483 MB / 0.5475 GB, free: 11.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0702/1.152, allocations: 5.255 MB / 0.5526 GB, free: 6.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-05/1.152, allocations: 8 kB / 0.5526 GB, free: 6.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.03068/1.183, allocations: 3.612 MB / 0.5562 GB, free: 2.773 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/1.183, allocations: 12 kB / 0.5562 GB, free: 2.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.445e-05/1.183, allocations: 20 kB / 0.5562 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/1.196, allocations: 1.521 MB / 0.5577 GB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008046/1.205, allocations: 0.706 MB / 0.5584 GB, free: 500 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/1.22, allocations: 6.275 MB / 0.5645 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005573/1.226, allocations: 24 kB / 0.5645 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.227, allocations: 140.2 kB / 0.5647 GB, free: 9.848 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.00109/1.228, allocations: 198.8 kB / 0.5649 GB, free: 9.648 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01865/1.247, allocations: 2.698 MB / 0.5675 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/1.249, allocations: 221.3 kB / 0.5677 GB, free: 6.676 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/1.266, allocations: 3.008 MB / 0.5706 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-05/1.266, allocations: 24 kB / 0.5707 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.958e-05/1.267, allocations: 15.98 kB / 0.5707 GB, free: 3.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.93e-05/1.267, allocations: 11.95 kB / 0.5707 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.291, allocations: 5.603 MB / 0.5762 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.962e-05/1.291, allocations: 8 kB / 0.5762 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01647/1.308, allocations: 1.593 MB / 0.5777 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/1.314, allocations: 0.8597 MB / 0.5786 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006695/1.314, allocations: 31.98 kB / 0.5786 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04712/1.362, allocations: 43.68 MB / 0.6212 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/1.362, allocations: 8 kB / 0.6213 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.379, allocations: 4.876 MB / 0.626 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009454/1.38, allocations: 286.2 kB / 0.6263 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008678/1.381, allocations: 19.98 kB / 0.6263 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.383, allocations: 8 kB / 0.6263 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.385, allocations: 235.5 kB / 0.6265 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.385, allocations: 83.94 kB / 0.6266 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001899/1.387, allocations: 0.8081 MB / 0.6274 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.51e-07/1.387, allocations: 0 / 0.6274 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00566/1.392, allocations: 0.7459 MB / 0.6281 GB, free: 4.637 MB / 0.5105 GB 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.3641/1.757, allocations: 7.116 MB / 0.6351 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009893/1.766, allocations: 2.347 MB / 0.6374 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.767, allocations: 1.344 kB / 0.6374 GB, free: 145.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009909/1.776, allocations: 3.307 MB / 0.6406 GB, free: 144 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/1.781, allocations: 341.8 kB / 0.6409 GB, free: 144 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.798, allocations: 4.982 MB / 0.6458 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/1.8, allocations: 1.656 MB / 0.6474 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003832/1.804, allocations: 375.9 kB / 0.6478 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003474/1.807, allocations: 1.067 MB / 0.6488 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of SimCode: time 2.024e-06/1.807, allocations: 0 / 0.6488 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1845/1.992, allocations: 59.06 MB / 0.7065 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/1.992, allocations: 118.7 kB / 0.7066 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.085/8.078, allocations: 0 / 0.7066 GB, free: 115.3 MB / 0.5105 GB