Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.000918, allocations: 92.61 kB / 17.31 MB, free: 6.535 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.001411/0.001411, allocations: 175 kB / 18.21 MB, free: 5.684 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.778/1.778, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1936/0.1936, allocations: 38.05 MB / 310.7 MB, free: 5.902 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.000579/0.0005791, allocations: 19.28 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3378, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005014/0.3428, allocations: 5.406 MB / 439.5 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.3463, allocations: 2.378 MB / 441.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.3469, allocations: 35.81 kB / 442 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.3473, allocations: 95.2 kB / 442.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.348, allocations: 302.5 kB / 442.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.3488, allocations: 472.9 kB / 442.8 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.3497, allocations: 1.131 MB / 443.9 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/0.3505, allocations: 0.7082 MB / 444.6 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.3509, allocations: 298.4 kB / 444.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.3512, allocations: 334.1 kB / 445.3 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.3513, allocations: 24 kB / 445.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.3518, allocations: 379.1 kB / 445.7 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.3519, allocations: 151.3 kB / 445.8 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.3521, allocations: 343.5 kB / 446.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005473/0.3526, allocations: 0.7949 MB / 446.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3527, allocations: 4 kB / 446.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3527, allocations: 0 / 446.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3527, allocations: 0 / 446.9 MB, free: 5.789 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001574/0.3543, allocations: 0.9933 MB / 447.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3543, allocations: 8.031 kB / 447.9 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.3551, allocations: 159.8 kB / 448.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007547/0.3559, allocations: 0.589 MB / 448.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.3559, allocations: 53.67 kB / 448.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.356, allocations: 60.38 kB / 448.8 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.3571, allocations: 0.7643 MB / 449.6 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.3571, allocations: 4 kB / 449.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.3572, allocations: 27.94 kB / 449.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.3573, allocations: 33.23 kB / 449.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.3583, allocations: 0.6492 MB / 450.3 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.3618, allocations: 2.918 MB / 453.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.3633, allocations: 0.7427 MB / 453.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/0.3638, allocations: 239 kB / 454.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.3639, allocations: 8.438 kB / 454.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3639, allocations: 39 kB / 454.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.073e-06/0.3639, allocations: 0 / 454.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.001622/0.3656, allocations: 0.7366 MB / 455 MB, free: 13.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3657, allocations: 107.2 kB / 455.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008387/0.3665, allocations: 0.5938 MB / 455.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.3666, allocations: 37.7 kB / 455.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.3669, allocations: 356.5 kB / 456 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.367, allocations: 169.5 kB / 456.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.3671, allocations: 49.69 kB / 456.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3673, allocations: 382.8 kB / 456.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.3678, allocations: 217 kB / 456.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.3684, allocations: 352.5 kB / 457.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.3694, allocations: 0.5801 MB / 457.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3694, allocations: 3.938 kB / 457.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001734/0.3712, allocations: 0.824 MB / 458.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.3713, allocations: 195.7 kB / 458.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3713, allocations: 8 kB / 458.8 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004361/0.3718, allocations: 112.8 kB / 458.9 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.3723, allocations: 135.8 kB / 459 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.3752, allocations: 2.268 MB / 461.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.3757, allocations: 83.41 kB / 461.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3758, allocations: 24 kB / 461.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.3758, allocations: 4 kB / 461.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.377, allocations: 0.6201 MB / 462 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.377, allocations: 8.062 kB / 462 MB, free: 6.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.3773, allocations: 101 kB / 462.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.3778, allocations: 135.8 kB / 462.3 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.3799, allocations: 2.025 MB / 464.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.3803, allocations: 75.56 kB / 464.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.3803, allocations: 20 kB / 464.4 MB, free: 3.531 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004101/0.3808, allocations: 312.8 kB / 464.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.3809, allocations: 67.16 kB / 464.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3821, allocations: 0.5889 MB / 465.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3821, allocations: 4 kB / 465.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3821, allocations: 0 / 465.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3821, allocations: 7.984 kB / 465.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.3842, allocations: 1.338 MB / 466.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3842, allocations: 0 / 466.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.3847, allocations: 119.8 kB / 466.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3848, allocations: 0 / 466.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.3848, allocations: 12 kB / 466.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.3848, allocations: 4 kB / 466.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3848, allocations: 3.938 kB / 466.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.3864, allocations: 0.9402 MB / 467.8 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.3867, allocations: 192.2 kB / 468 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.3867, allocations: 8 kB / 468 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.3871, allocations: 39.97 kB / 468 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3872, allocations: 44.31 kB / 468.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.3872, allocations: 16 kB / 468.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000609/0.3879, allocations: 423 kB / 468.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3879, allocations: 4 kB / 468.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008884/0.3888, allocations: 267.2 kB / 468.7 MB, free: 15.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.3889, allocations: 107.2 kB / 468.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.3909, allocations: 1.119 MB / 470 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3909, allocations: 0 / 470 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.3914, allocations: 270.5 kB / 470.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008313/0.3922, allocations: 130.8 kB / 470.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.3951, allocations: 1.926 MB / 472.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.3957, allocations: 0.9458 MB / 473.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3959, allocations: 55.36 kB / 473.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3959, allocations: 0 / 473.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01303/0.4089, allocations: 9.711 MB / 483 MB, free: 0.7188 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1CalcHelperMain.o] Error 1