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.000969/0.000969, allocations: 89.91 kB / 17.31 MB, free: 5.59 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.001258/0.001258, allocations: 182 kB / 18.21 MB, free: 5.191 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.777/1.777, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1721/0.1721, allocations: 38.05 MB / 310.7 MB, free: 5.906 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.0007453/0.0007451, allocations: 12.61 kB / 377.8 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3203, allocations: 56.34 MB / 434.1 MB, free: 18.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.006259/0.3266, allocations: 6.092 MB / 440.2 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.3315, allocations: 2.923 MB / 443.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.3328, allocations: 39.75 kB / 443.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.3333, allocations: 103.1 kB / 443.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.3345, allocations: 430.2 kB / 443.7 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.3359, allocations: 0.5111 MB / 444.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.3373, allocations: 1.397 MB / 445.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.3385, allocations: 0.845 MB / 446.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.3389, allocations: 354.2 kB / 446.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.3394, allocations: 405.9 kB / 447.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.3394, allocations: 28 kB / 447.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008677/0.3403, allocations: 0.5806 MB / 447.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3405, allocations: 187.3 kB / 448 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.3408, allocations: 383.3 kB / 448.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.3414, allocations: 0.9197 MB / 449.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3415, allocations: 4 kB / 449.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3415, allocations: 3.938 kB / 449.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.3415, allocations: 0 / 449.3 MB, free: 3.668 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.001849/0.3433, allocations: 1.064 MB / 450.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3434, allocations: 12.03 kB / 450.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.3446, allocations: 207.5 kB / 450.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000874/0.3455, allocations: 0.6086 MB / 451.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.3455, allocations: 53.62 kB / 451.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3456, allocations: 80.25 kB / 451.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.347, allocations: 0.886 MB / 452.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3471, allocations: 0 / 452.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.3472, allocations: 39.97 kB / 452.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.3472, allocations: 29.31 kB / 452.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.3487, allocations: 0.8092 MB / 453.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.3537, allocations: 3.288 MB / 456.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.3555, allocations: 0.9916 MB / 457.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.3561, allocations: 327.2 kB / 457.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.592e-05/0.3562, allocations: 8.562 kB / 457.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.3562, allocations: 39.11 kB / 457.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 3.276e-06/0.3562, allocations: 0 / 457.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.005535/0.3618, allocations: 2.623 MB / 460.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.3619, allocations: 111.4 kB / 460.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.3628, allocations: 0.5899 MB / 461.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.3629, allocations: 37.7 kB / 461.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.3631, allocations: 376.3 kB / 461.5 MB, free: 7.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.3633, allocations: 220.8 kB / 461.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.3635, allocations: 61.69 kB / 461.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3636, allocations: 382.8 kB / 462.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.3642, allocations: 277.8 kB / 462.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.3649, allocations: 433.8 kB / 462.8 MB, free: 5.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.3663, allocations: 0.7162 MB / 463.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3663, allocations: 4 kB / 463.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001776/0.3681, allocations: 0.8543 MB / 464.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.3682, allocations: 213 kB / 464.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3683, allocations: 8 kB / 464.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/0.3686, allocations: 56.81 kB / 464.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.3693, allocations: 179.8 kB / 464.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.3709, allocations: 1.623 MB / 466.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.3715, allocations: 63.95 kB / 466.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.3715, allocations: 23.94 kB / 466.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.3715, allocations: 4 kB / 466.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/0.373, allocations: 0.7402 MB / 467.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.373, allocations: 7.938 kB / 467.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001987/0.3732, allocations: 56.81 kB / 467.3 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.3738, allocations: 179.9 kB / 467.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.3756, allocations: 1.634 MB / 469.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.3761, allocations: 51.95 kB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3762, allocations: 28 kB / 469.2 MB, free: 14.78 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005399/0.3768, allocations: 332.8 kB / 469.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3769, allocations: 79 kB / 469.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.3786, allocations: 0.7919 MB / 470.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3787, allocations: 8 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3787, allocations: 0 / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.3787, allocations: 11.86 kB / 470.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.3828, allocations: 2.19 MB / 472.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.3829, allocations: 8 kB / 472.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.3835, allocations: 139.9 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000201/0.3837, allocations: 60.69 kB / 472.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.3837, allocations: 20 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.3853, allocations: 1.592 MB / 474.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/0.3853, allocations: 7.938 kB / 474.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.3878, allocations: 1.361 MB / 475.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.3881, allocations: 200.1 kB / 476 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.223e-05/0.3882, allocations: 23.98 kB / 476 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.3887, allocations: 63.95 kB / 476.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.3888, allocations: 71.73 kB / 476.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.3889, allocations: 24 kB / 476.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006679/0.3895, allocations: 427 kB / 476.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3896, allocations: 0 / 476.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001216/0.3908, allocations: 248 kB / 476.8 MB, free: 6.746 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.391, allocations: 131 kB / 477 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.3936, allocations: 1.286 MB / 478.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3936, allocations: 4.125 kB / 478.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008982/0.3945, allocations: 0.4957 MB / 478.8 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.396, allocations: 155.8 kB / 478.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.3991, allocations: 2.15 MB / 481.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.3998, allocations: 0.9861 MB / 482 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.4, allocations: 59.42 kB / 482.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4, allocations: 0 / 482.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of Templates: time 0.01795/0.4179, allocations: 12.44 MB / 494.5 MB, free: 4.855 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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