Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007989/0.0007987, allocations: 90.94 kB / 16.95 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008054/0.0008055, allocations: 174.5 kB / 17.84 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1715/0.1715, allocations: 38.05 MB / 310.3 MB, free: 6.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.0005253, allocations: 15.12 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 56.33 MB / 433.5 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005005/0.2847, allocations: 5.742 MB / 439.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.2888, allocations: 2.791 MB / 442 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.2895, allocations: 39.75 kB / 442 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.2901, allocations: 127 kB / 442.2 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009394/0.291, allocations: 393.9 kB / 442.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2921, allocations: 420.1 kB / 443 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009591/0.2931, allocations: 1.194 MB / 444.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.2942, allocations: 0.7096 MB / 444.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.2948, allocations: 358.3 kB / 445.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004652/0.2953, allocations: 398.1 kB / 445.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.2954, allocations: 28 kB / 445.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006087/0.296, allocations: 263.3 kB / 445.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.2961, allocations: 195.3 kB / 446.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2963, allocations: 169.3 kB / 446.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007543/0.2971, allocations: 0.9079 MB / 447.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.2971, allocations: 0 / 447.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2971, allocations: 0 / 447.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2971, allocations: 0 / 447.2 MB, free: 5.074 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001707/0.2988, allocations: 1.075 MB / 448.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2989, allocations: 8.031 kB / 448.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.2999, allocations: 202.6 kB / 448.4 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.3007, allocations: 0.596 MB / 449 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.3008, allocations: 49.31 kB / 449.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3009, allocations: 71.98 kB / 449.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.3021, allocations: 0.8818 MB / 450 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.3022, allocations: 4 kB / 450 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.416e-05/0.3023, allocations: 31.98 kB / 450.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.3023, allocations: 33.27 kB / 450.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.3035, allocations: 0.8053 MB / 450.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00419/0.3077, allocations: 3.272 MB / 454.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.3094, allocations: 0.9959 MB / 455.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.31, allocations: 319.3 kB / 455.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.862e-05/0.3101, allocations: 12.55 kB / 455.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3101, allocations: 47.11 kB / 455.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 2.565e-06/0.3101, allocations: 0 / 455.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.004963/0.3151, allocations: 2.6 MB / 458.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3152, allocations: 115.4 kB / 458.3 MB, free: 9.492 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008483/0.3161, allocations: 0.5821 MB / 458.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.3161, allocations: 37.7 kB / 458.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.3164, allocations: 376.2 kB / 459.2 MB, free: 8.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.3166, allocations: 216.8 kB / 459.5 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.3167, allocations: 16 kB / 459.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002321/0.3169, allocations: 378.8 kB / 459.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.3175, allocations: 281.8 kB / 460.1 MB, free: 7.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.3181, allocations: 425.8 kB / 460.5 MB, free: 7.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.3188, allocations: 333.9 kB / 460.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3188, allocations: 0 / 460.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00158/0.3204, allocations: 0.854 MB / 461.7 MB, free: 5.941 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.3206, allocations: 201.4 kB / 461.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3206, allocations: 4 kB / 461.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/0.3209, allocations: 68.75 kB / 462 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.3216, allocations: 187.7 kB / 462.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.3232, allocations: 1.611 MB / 463.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.3236, allocations: 64.02 kB / 463.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.3237, allocations: 24 kB / 463.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.3237, allocations: 4 kB / 463.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001355/0.3251, allocations: 0.7399 MB / 464.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3251, allocations: 4 kB / 464.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.3253, allocations: 61.19 kB / 464.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.3259, allocations: 179.8 kB / 464.8 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.3275, allocations: 1.623 MB / 466.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.3281, allocations: 60.02 kB / 466.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.3281, allocations: 24 kB / 466.5 MB, free: 0.7812 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004964/0.3286, allocations: 332.7 kB / 466.9 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.3288, allocations: 71.14 kB / 466.9 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.3304, allocations: 0.7997 MB / 467.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.3304, allocations: 11.95 kB / 467.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3304, allocations: 4 kB / 467.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3304, allocations: 3.984 kB / 467.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/0.3345, allocations: 2.189 MB / 469.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3345, allocations: 8 kB / 470 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.3351, allocations: 135.8 kB / 470.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.3353, allocations: 61.25 kB / 470.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.3353, allocations: 16 kB / 470.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.3368, allocations: 1.58 MB / 471.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3368, allocations: 8 kB / 471.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.3389, allocations: 1.361 MB / 473.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.3392, allocations: 200.2 kB / 473.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.3393, allocations: 27.98 kB / 473.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.3398, allocations: 55.95 kB / 473.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.3399, allocations: 71.75 kB / 473.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.34, allocations: 24 kB / 473.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006052/0.3406, allocations: 419 kB / 473.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3406, allocations: 0 / 473.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001094/0.3417, allocations: 252 kB / 474.1 MB, free: 8.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.3419, allocations: 131.8 kB / 474.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.3442, allocations: 1.282 MB / 475.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3443, allocations: 0 / 475.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.3452, allocations: 0.492 MB / 476 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.3461, allocations: 166.9 kB / 476.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.3492, allocations: 2.06 MB / 478.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.35, allocations: 0.9822 MB / 479.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.3502, allocations: 59.42 kB / 479.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3502, allocations: 3.938 kB / 479.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of Templates: time 0.01802/0.3683, allocations: 12.46 MB / 491.8 MB, free: 6.953 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3CalcHelperMain.o] Error 1