Running command: "" <> buildModelFMU(OpenHPL.Tests.TorpaHPPAirCushionTest2,fileNamePrefix="OpenHPL_OpenHPL_Tests_TorpaHPPAirCushionTest2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenHPL): time 2.388/2.388, allocations: 258 MB / 265.1 MB, free: 5.465 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.587e-05, allocations: 4 kB / 327.7 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 60.24 MB / 388 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5346/0.6736, allocations: 95.56 MB / 483.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6739, allocations: 80 kB / 483.6 MB, free: 7.688 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Reservoir.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data reservoir.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Reservoir$reservoir. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data intake.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Pipe$intake. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data discharge.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Pipe$discharge. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Reservoir.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data tail.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Reservoir$tail. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/Pipe.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data penstock.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.Pipe$penstock. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/Waterway/SurgeTank.mo:3:3-3:44:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data surgeTank.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.Waterway.SurgeTank$surgeTank. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/OpenHPL 1.1.1/ElectroMech/Turbines/Turbine.mo:3:3-3:56:writable] Warning: No corresponding 'inner' declaration found for component .OpenHPL.Data turbine.data declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: OpenHPL.ElectroMech.Turbines.Turbine$turbine. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.07221/0.7462, allocations: 15.43 MB / 499.1 MB, free: 2.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7462, allocations: 0 / 499.1 MB, free: 2.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.162e-05/0.7463, allocations: 19.09 kB / 499.1 MB, free: 2.352 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002994/0.7493, allocations: 1.005 MB / 0.4884 GB, free: 1.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.7494, allocations: 7.688 kB / 0.4884 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005843/0.75, allocations: 108.7 kB / 0.4885 GB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.7514, allocations: 0.4978 MB / 0.489 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.7514, allocations: 15.38 kB / 0.489 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.7516, allocations: 29.66 kB / 0.489 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001197/0.7528, allocations: 406.6 kB / 0.4894 GB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.7539, allocations: 446.9 kB / 0.4898 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.754, allocations: 4 kB / 0.4898 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/0.754, allocations: 3.812 kB / 0.4898 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.7541, allocations: 15.55 kB / 0.4898 GB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005368/0.7595, allocations: 1.654 MB / 0.4915 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.7621, allocations: 0.4886 MB / 0.4919 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.7627, allocations: 181.1 kB / 0.4921 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.7641, allocations: 0.862 MB / 0.4929 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.7642, allocations: 38.12 kB / 0.493 GB, free: 14.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 3.747e-06/0.7642, allocations: 3.938 kB / 0.493 GB, free: 14.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=60): time 0.007589/0.7718, allocations: 1.666 MB / 0.4946 GB, free: 13.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.7719, allocations: 59.97 kB / 0.4947 GB, free: 13.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.7734, allocations: 0.6486 MB / 0.4953 GB, free: 12.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.7736, allocations: 25.7 kB / 0.4953 GB, free: 12.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.774, allocations: 411.6 kB / 0.4957 GB, free: 12.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.7743, allocations: 212.8 kB / 0.4959 GB, free: 12.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.7744, allocations: 0 / 0.4959 GB, free: 12.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7746, allocations: 336.9 kB / 0.4962 GB, free: 12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.7751, allocations: 187.1 kB / 0.4964 GB, free: 11.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.7758, allocations: 303.4 kB / 0.4967 GB, free: 11.65 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.777, allocations: 283.8 kB / 0.497 GB, free: 11.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.777, allocations: 4 kB / 0.497 GB, free: 11.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003573/0.7806, allocations: 0.8601 MB / 0.4978 GB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.7807, allocations: 8 kB / 0.4978 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.7807, allocations: 7.953 kB / 0.4978 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.7819, allocations: 183.7 kB / 0.498 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.7833, allocations: 154.4 kB / 0.4982 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.7888, allocations: 2.516 MB / 0.5006 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.79, allocations: 15.98 kB / 0.5006 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.7902, allocations: 31.86 kB / 0.5007 GB, free: 8.352 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: surgeTank.Vdot:VARIABLE(start = surgeTank.Vdot_0 unit = "m3/s" ) "Water flow rate" type: Real penstock.Vdot:VARIABLE(start = penstock.Vdot_0 unit = "m3/s" ) "Flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.surgeTank.v:DUMMY_DER(fixed = false ) "Water velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.7905, allocations: 127.7 kB / 0.5008 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003063/0.7936, allocations: 0.6771 MB / 0.5014 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.794, allocations: 86.92 kB / 0.5015 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.7973, allocations: 0.7378 MB / 0.5023 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.7973, allocations: 4 kB / 0.5023 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7974, allocations: 3.984 kB / 0.5023 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.7974, allocations: 4 kB / 0.5023 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.8027, allocations: 1.419 MB / 0.5036 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.8027, allocations: 0 / 0.5036 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/0.8052, allocations: 247.3 kB / 0.5039 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.8066, allocations: 193.8 kB / 0.5041 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.8068, allocations: 7.984 kB / 0.5041 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007643/0.8144, allocations: 4.999 MB / 0.509 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.8145, allocations: 7.969 kB / 0.509 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.8184, allocations: 1.047 MB / 0.51 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.8189, allocations: 169.1 kB / 0.5102 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.8192, allocations: 7.312 kB / 0.5102 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007311/0.8199, allocations: 11.98 kB / 0.5102 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.8201, allocations: 43.75 kB / 0.5102 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.8202, allocations: 22.73 kB / 0.5102 GB, free: 15.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.8213, allocations: 493.2 kB / 0.5107 GB, free: 15.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.8213, allocations: 3.938 kB / 0.5107 GB, free: 15.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001714/0.823, allocations: 270.4 kB / 0.511 GB, free: 15.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (reservoir.m,tail.m,penstock.Vdot,surgeTank.m,surgeTank.Vdot) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.005593/0.8287, allocations: 2.015 MB / 0.5129 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.8311, allocations: 0.688 MB / 0.5136 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.8312, allocations: 0 / 0.5136 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.8332, allocations: 468.4 kB / 0.5141 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.8347, allocations: 140.9 kB / 0.5142 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.8399, allocations: 1.403 MB / 0.5156 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/0.8408, allocations: 0.9927 MB / 0.5165 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008908/0.8417, allocations: 101.2 kB / 0.5166 GB, free: 9.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.8425, allocations: 326.3 kB / 0.5169 GB, free: 9.836 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.8425, allocations: 0 / 0.5169 GB, free: 9.836 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08772/0.9302, allocations: 19.1 MB / 0.5356 GB, free: 6.789 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/0.9306, allocations: 156 kB / 0.5357 GB, free: 6.586 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/4.113, allocations: 4 kB / 0.5357 GB, free: 6.582 MB / 426.7 MB