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.406/2.406, allocations: 258 MB / 265.1 MB, free: 5.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.923e-05, allocations: 8.875 kB / 327.7 MB, free: 9.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1268, allocations: 60.24 MB / 388 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.6363, allocations: 89.83 MB / 477.8 MB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.6366, allocations: 77.44 kB / 477.9 MB, free: 8.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1171/0.7537, allocations: 26.17 MB / 0.4922 GB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7537, allocations: 0 / 0.4922 GB, free: 15.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.076e-05/0.7538, allocations: 23.69 kB / 0.4923 GB, free: 15.55 MB / 394.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.006126/0.7599, allocations: 1.48 MB / 0.4937 GB, free: 14.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.76, allocations: 12.03 kB / 0.4937 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.7612, allocations: 174.3 kB / 0.4939 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.763, allocations: 0.5969 MB / 0.4945 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.7632, allocations: 162.2 kB / 0.4946 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.7636, allocations: 79.41 kB / 0.4947 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00315/0.7667, allocations: 0.9866 MB / 0.4957 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.7696, allocations: 0.9884 MB / 0.4966 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.7697, allocations: 4 kB / 0.4966 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.7698, allocations: 0 / 0.4966 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.7699, allocations: 31.98 kB / 0.4967 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.7827, allocations: 3.536 MB / 0.5001 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007772/0.7905, allocations: 1.225 MB / 0.5013 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.7918, allocations: 406.6 kB / 0.5017 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.7932, allocations: 0.8733 MB / 0.5026 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.7933, allocations: 45.94 kB / 0.5026 GB, free: 6.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 4.388e-06/0.7933, allocations: 4 kB / 0.5026 GB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.01576/0.8091, allocations: 4.034 MB / 0.5065 GB, free: 3.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.8092, allocations: 144.5 kB / 0.5067 GB, free: 2.953 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.8105, allocations: 0.6179 MB / 0.5073 GB, free: 2.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003222/0.8109, allocations: 33.69 kB / 0.5073 GB, free: 2.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.8114, allocations: 0.5742 MB / 0.5079 GB, free: 2.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006194/0.8121, allocations: 447.2 kB / 0.5083 GB, free: 1.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.8122, allocations: 0 / 0.5083 GB, free: 1.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002656/0.8125, allocations: 418.7 kB / 0.5087 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.8137, allocations: 418.4 kB / 0.5091 GB, free: 1.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.8153, allocations: 0.737 MB / 0.5098 GB, free: 360 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01893/0.8343, allocations: 2.633 MB / 0.5124 GB, free: 13.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-05/0.8344, allocations: 4 kB / 0.5124 GB, free: 13.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.008466/0.8428, allocations: 1.86 MB / 0.5142 GB, free: 12.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.8429, allocations: 8 kB / 0.5142 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.843, allocations: 15.94 kB / 0.5142 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005248/0.8482, allocations: 0.7661 MB / 0.515 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.8513, allocations: 370.8 kB / 0.5153 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.8572, allocations: 3.137 MB / 0.5184 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.8593, allocations: 8 kB / 0.5184 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/0.8598, allocations: 81.05 kB / 0.5185 GB, free: 8.59 MB / 410.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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: SquareReduction1.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tail3.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tail4.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real 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.000526/0.8603, allocations: 152.6 kB / 0.5186 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006583/0.8669, allocations: 1.359 MB / 0.52 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006272/0.8676, allocations: 114.5 kB / 0.5201 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006953/0.8746, allocations: 1.521 MB / 0.5216 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.8746, allocations: 12 kB / 0.5216 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.8747, allocations: 4 kB / 0.5216 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.015e-05/0.8747, allocations: 7.984 kB / 0.5216 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.8863, allocations: 2.875 MB / 0.5244 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.8864, allocations: 4 kB / 0.5244 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008339/0.8947, allocations: 0.8043 MB / 0.5252 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/0.8977, allocations: 430.5 kB / 0.5256 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003001/0.8981, allocations: 15.95 kB / 0.5256 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02429/0.9224, allocations: 21.85 MB / 0.5469 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.9224, allocations: 4 kB / 0.5469 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008339/0.9308, allocations: 2.41 MB / 0.5493 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005833/0.9314, allocations: 183.6 kB / 0.5495 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/0.9318, allocations: 8 kB / 0.5495 GB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.9332, allocations: 4.109 kB / 0.5495 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/0.9337, allocations: 119.7 kB / 0.5496 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.9338, allocations: 43.98 kB / 0.5496 GB, free: 7.062 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009587/0.9348, allocations: 455.2 kB / 0.5501 GB, free: 6.617 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.9348, allocations: 3.938 kB / 0.5501 GB, free: 6.613 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003101/0.9379, allocations: 447.8 kB / 0.5505 GB, free: 6.176 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (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 (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.0101/0.9481, allocations: 3.893 MB / 0.5543 GB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004939/0.9531, allocations: 1.173 MB / 0.5554 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.9531, allocations: 0 / 0.5554 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005286/0.9584, allocations: 1.661 MB / 0.5571 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.9605, allocations: 175.1 kB / 0.5572 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008813/0.9694, allocations: 2.508 MB / 0.5597 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.9705, allocations: 1.161 MB / 0.5608 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001647/0.9722, allocations: 189.7 kB / 0.561 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/0.9737, allocations: 0.5113 MB / 0.5615 GB, free: 10.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9737, allocations: 4 kB / 0.5615 GB, free: 10.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/1.093, allocations: 31.04 MB / 0.5918 GB, free: 11.63 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/1.093, allocations: 105.3 kB / 0.5919 GB, free: 11.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.18/5.273, allocations: 0 / 0.5919 GB, free: 11.44 MB / 490.7 MB