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.384/2.384, allocations: 258 MB / 271.8 MB, free: 13.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.317e-05/4.321e-05, allocations: 19.92 kB / 335.8 MB, free: 1.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 60.24 MB / 396 MB, free: 5.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.647, allocations: 91.14 MB / 487.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.6474, allocations: 87.45 kB / 487.3 MB, free: 8.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2432/0.8905, allocations: 48.54 MB / 0.5233 GB, free: 9.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.8906, allocations: 0 / 0.5233 GB, free: 9.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002235/0.8909, allocations: 51.98 kB / 0.5233 GB, free: 9.879 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.01243/0.9033, allocations: 2.556 MB / 0.5258 GB, free: 7.266 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.9034, allocations: 8.031 kB / 0.5258 GB, free: 7.258 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001448/0.9048, allocations: 312.5 kB / 0.5261 GB, free: 6.941 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.9074, allocations: 336.8 kB / 0.5264 GB, free: 6.609 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003674/0.9111, allocations: 1.026 MB / 0.5274 GB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.9118, allocations: 414 kB / 0.5278 GB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.9131, allocations: 243.8 kB / 0.5281 GB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009133/0.9222, allocations: 2.313 MB / 0.5303 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.9224, allocations: 7.984 kB / 0.5303 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005551/0.923, allocations: 92 kB / 0.5304 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-05/0.9231, allocations: 56 kB / 0.5305 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008074/0.9312, allocations: 2.156 MB / 0.5326 GB, free: 132 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/0.9594, allocations: 7.221 MB / 0.5396 GB, free: 8.809 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/0.9761, allocations: 2.624 MB / 0.5422 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/0.9778, allocations: 0.8916 MB / 0.5431 GB, free: 5.043 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.907e-05/0.9779, allocations: 70.5 kB / 0.5431 GB, free: 4.965 MB / 458.7 MB Notification: Performance of pre-optimization done (n=232): time 6.242e-06/0.978, allocations: 0 / 0.5431 GB, free: 4.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.03466/1.013, allocations: 10.26 MB / 0.5531 GB, free: 10.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.013, allocations: 271.2 kB / 0.5534 GB, free: 9.773 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002755/1.016, allocations: 1.223 MB / 0.5546 GB, free: 8.547 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006879/1.016, allocations: 69.7 kB / 0.5547 GB, free: 8.473 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.017, allocations: 1.083 MB / 0.5557 GB, free: 7.375 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001554/1.019, allocations: 0.9165 MB / 0.5566 GB, free: 6.445 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005428/1.02, allocations: 72 kB / 0.5567 GB, free: 6.375 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002977/1.02, allocations: 441.4 kB / 0.5571 GB, free: 5.938 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/1.024, allocations: 0.905 MB / 0.558 GB, free: 5.031 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/1.028, allocations: 1.595 MB / 0.5596 GB, free: 3.172 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04292/1.071, allocations: 5.576 MB / 0.565 GB, free: 13.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.07e-05/1.072, allocations: 8 kB / 0.565 GB, free: 13.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01635/1.088, allocations: 3.811 MB / 0.5687 GB, free: 9.594 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/1.088, allocations: 12 kB / 0.5687 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/1.088, allocations: 20 kB / 0.5688 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01398/1.102, allocations: 1.79 MB / 0.5705 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005764/1.108, allocations: 0.7022 MB / 0.5712 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009282/1.117, allocations: 5.914 MB / 0.577 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/1.121, allocations: 92 kB / 0.5771 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009051/1.122, allocations: 144.2 kB / 0.5772 GB, free: 0.6914 MB / 490.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.002029/1.124, allocations: 436.2 kB / 0.5776 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008305/1.125, allocations: 217.3 kB / 0.5778 GB, free: 44 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.139, allocations: 3.064 MB / 0.5808 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.718e-05/1.139, allocations: 32 kB / 0.5808 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-05/1.139, allocations: 8 kB / 0.5808 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.983e-05/1.14, allocations: 15.95 kB / 0.5809 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0237/1.163, allocations: 5.856 MB / 0.5866 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/1.163, allocations: 4 kB / 0.5866 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01685/1.18, allocations: 1.628 MB / 0.5882 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/1.185, allocations: 0.7665 MB / 0.5889 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007204/1.186, allocations: 63.98 kB / 0.589 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3846/1.571, allocations: 45.45 MB / 0.6334 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.571, allocations: 10.12 kB / 0.6334 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/1.587, allocations: 4.951 MB / 0.6382 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/1.588, allocations: 290.1 kB / 0.6385 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.589, allocations: 51.75 kB / 0.6385 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.592, allocations: 52.08 kB / 0.6386 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001191/1.594, allocations: 244.9 kB / 0.6388 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002863/1.594, allocations: 75.44 kB / 0.6389 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002281/1.596, allocations: 0.9017 MB / 0.6398 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.91e-07/1.596, allocations: 0 / 0.6398 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006363/1.603, allocations: 0.8611 MB / 0.6406 GB, free: 119.8 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.M,tailwater8.m,Resorvoir7.m,tail7.M,tailwater7.m,Resorvoir6.m,tail6.M,tailwater6.m,Resorvoir5.m,tail5.M,tailwater5.m,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 (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.01832/1.621, allocations: 7.229 MB / 0.6477 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.011/1.632, allocations: 2.577 MB / 0.6502 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.632, allocations: 1.375 kB / 0.6502 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01064/1.643, allocations: 3.485 MB / 0.6536 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/1.647, allocations: 387.1 kB / 0.654 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04558/1.692, allocations: 29.26 MB / 0.6825 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.694, allocations: 1.658 MB / 0.6842 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003261/1.697, allocations: 377.8 kB / 0.6845 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002861/1.7, allocations: 1.067 MB / 0.6856 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/1.7, allocations: 0 / 0.6856 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1518/1.852, allocations: 61.48 MB / 0.7456 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/1.852, allocations: 166.8 kB / 0.7458 GB, free: 50.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.268/8.12, allocations: 0 / 0.7458 GB, free: 50.35 MB / 0.5105 GB