Running command: "" <> buildModelFMU(OpenHPL.Tests.HPTaperedFittingsTest,fileNamePrefix="OpenHPL_OpenHPL_Tests_HPTaperedFittingsTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.336/2.336, allocations: 258 MB / 265.1 MB, free: 5.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.571e-05, allocations: 4 kB / 327.7 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1306, allocations: 60.25 MB / 388 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4981/0.6288, allocations: 89.82 MB / 477.8 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.6291, allocations: 80.12 kB / 477.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.115/0.7442, allocations: 26.16 MB / 0.4922 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.644e-06/0.7442, allocations: 0 / 0.4922 GB, free: 15.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.122e-05/0.7443, allocations: 27.44 kB / 0.4923 GB, free: 15.53 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.006397/0.7507, allocations: 1.484 MB / 0.4937 GB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.7508, allocations: 8.031 kB / 0.4937 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.7519, allocations: 174.3 kB / 0.4939 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.7533, allocations: 0.6003 MB / 0.4945 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002106/0.7535, allocations: 165 kB / 0.4946 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.7538, allocations: 75.28 kB / 0.4947 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002994/0.7568, allocations: 0.9793 MB / 0.4957 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.7595, allocations: 0.9949 MB / 0.4966 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.7595, allocations: 0 / 0.4966 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.7597, allocations: 4 kB / 0.4966 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.7597, allocations: 28 kB / 0.4967 GB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.7718, allocations: 3.54 MB / 0.5001 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007254/0.7791, allocations: 1.228 MB / 0.5013 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.7801, allocations: 397.8 kB / 0.5017 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.7815, allocations: 0.873 MB / 0.5026 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.7815, allocations: 58.28 kB / 0.5026 GB, free: 6.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=116): time 4.478e-06/0.7816, allocations: 0 / 0.5026 GB, free: 6.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.01481/0.7964, allocations: 4.031 MB / 0.5066 GB, free: 3.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.7965, allocations: 148.5 kB / 0.5067 GB, free: 2.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.7978, allocations: 0.6189 MB / 0.5073 GB, free: 2.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003472/0.7982, allocations: 25.7 kB / 0.5073 GB, free: 2.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.7987, allocations: 0.5773 MB / 0.5079 GB, free: 2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/0.7994, allocations: 447.2 kB / 0.5083 GB, free: 1.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.7995, allocations: 0 / 0.5083 GB, free: 1.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.7998, allocations: 419 kB / 0.5087 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.8011, allocations: 416.7 kB / 0.5091 GB, free: 1.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.8026, allocations: 0.7368 MB / 0.5098 GB, free: 348 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/0.8213, allocations: 2.629 MB / 0.5124 GB, free: 13.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/0.8214, allocations: 7.938 kB / 0.5124 GB, free: 13.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.007934/0.8293, allocations: 1.861 MB / 0.5142 GB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.8294, allocations: 8 kB / 0.5142 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.8294, allocations: 12 kB / 0.5142 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005087/0.8345, allocations: 0.7711 MB / 0.515 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.8375, allocations: 353.6 kB / 0.5153 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00518/0.8427, allocations: 3.146 MB / 0.5184 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.8445, allocations: 19.67 kB / 0.5184 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.8447, allocations: 69.75 kB / 0.5185 GB, free: 8.582 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.0004801/0.8452, allocations: 149.1 kB / 0.5186 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005937/0.8512, allocations: 1.366 MB / 0.52 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.8516, allocations: 114.5 kB / 0.5201 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006461/0.858, allocations: 1.521 MB / 0.5216 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/0.8581, allocations: 12 kB / 0.5216 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/0.8582, allocations: 8 kB / 0.5216 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/0.8582, allocations: 7.969 kB / 0.5216 GB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/0.8691, allocations: 2.875 MB / 0.5244 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.8692, allocations: 0 / 0.5244 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007975/0.8772, allocations: 0.8004 MB / 0.5252 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.88, allocations: 434.2 kB / 0.5256 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002723/0.8804, allocations: 23.94 kB / 0.5256 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/0.9025, allocations: 21.84 MB / 0.5469 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.9026, allocations: 4 kB / 0.5469 GB, free: 9.977 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.9103, allocations: 2.41 MB / 0.5493 GB, free: 7.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003866/0.9107, allocations: 187.6 kB / 0.5495 GB, free: 7.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/0.911, allocations: 8 kB / 0.5495 GB, free: 7.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.9123, allocations: 4.109 kB / 0.5495 GB, free: 7.215 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004359/0.9127, allocations: 119.7 kB / 0.5496 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.9129, allocations: 39.98 kB / 0.5496 GB, free: 7.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000868/0.9138, allocations: 463.1 kB / 0.5501 GB, free: 6.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9138, allocations: 0 / 0.5501 GB, free: 6.605 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002991/0.9168, allocations: 439.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.009794/0.9266, allocations: 3.899 MB / 0.5543 GB, free: 2.172 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004752/0.9314, allocations: 1.165 MB / 0.5554 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.9315, allocations: 4 kB / 0.5554 GB, free: 1.004 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005165/0.9367, allocations: 1.653 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.002007/0.9387, allocations: 178.2 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.008683/0.9474, allocations: 2.512 MB / 0.5597 GB, free: 12.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.9485, allocations: 1.165 MB / 0.5608 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001669/0.9502, allocations: 185.7 kB / 0.561 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.9517, allocations: 0.5149 MB / 0.5615 GB, free: 10.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/0.9517, allocations: 0 / 0.5615 GB, free: 10.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/1.079, allocations: 31.04 MB / 0.5918 GB, free: 11.62 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/1.08, allocations: 114.5 kB / 0.5919 GB, free: 11.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.24/5.32, allocations: 0 / 0.5919 GB, free: 11.43 MB / 490.7 MB