Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.00095, allocations: 89.98 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.0009089/0.0009089, allocations: 175.5 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.786/1.786, 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.2011/0.2011, allocations: 38.06 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.0005768/0.000577, allocations: 16.56 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3348, allocations: 56.33 MB / 434.1 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004585/0.3394, allocations: 4.488 MB / 438.6 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.3425, allocations: 2.599 MB / 441.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.3427, allocations: 19.88 kB / 441.3 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.3431, allocations: 75.53 kB / 441.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.3437, allocations: 310.9 kB / 441.6 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.3444, allocations: 329.7 kB / 442 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.345, allocations: 0.7794 MB / 442.7 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.3456, allocations: 334.5 kB / 443.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000364/0.346, allocations: 215 kB / 443.3 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.3463, allocations: 231.1 kB / 443.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.3463, allocations: 16 kB / 443.5 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007342/0.3471, allocations: 0.643 MB / 444.2 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3472, allocations: 115.6 kB / 444.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3473, allocations: 192.7 kB / 444.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.3478, allocations: 0.5261 MB / 445 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3478, allocations: 0 / 445 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3478, allocations: 0 / 445 MB, free: 7.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3478, allocations: 0 / 445 MB, free: 7.934 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00112/0.349, allocations: 0.7008 MB / 445.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.349, allocations: 12.03 kB / 445.7 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009582/0.35, allocations: 116.2 kB / 445.8 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.3505, allocations: 411.6 kB / 446.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3505, allocations: 20.92 kB / 446.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.3505, allocations: 32.12 kB / 446.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3513, allocations: 461.2 kB / 446.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3513, allocations: 3.938 kB / 446.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.3513, allocations: 15.97 kB / 446.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.3514, allocations: 20.44 kB / 446.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008604/0.3522, allocations: 0.4973 MB / 447.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3539, allocations: 1.775 MB / 449 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/0.3548, allocations: 421 kB / 449.4 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.3551, allocations: 157.6 kB / 449.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.3552, allocations: 7.984 kB / 449.6 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.3556, allocations: 297.1 kB / 449.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.3557, allocations: 0 / 449.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001193/0.3569, allocations: 0.5442 MB / 450.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.357, allocations: 243.3 kB / 450.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.3573, allocations: 361.5 kB / 451 MB, free: 1.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.3573, allocations: 37.73 kB / 451.1 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3575, allocations: 200.4 kB / 451.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.3575, allocations: 102.6 kB / 451.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.3576, allocations: 37.7 kB / 451.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.3577, allocations: 346.8 kB / 451.7 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.358, allocations: 156.3 kB / 451.9 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.3584, allocations: 301.4 kB / 452.2 MB, free: 292 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008304/0.3593, allocations: 481.6 kB / 452.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.3593, allocations: 4 kB / 452.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001078/0.3604, allocations: 0.5455 MB / 453.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.3604, allocations: 37.69 kB / 453.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3604, allocations: 4 kB / 453.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.3605, allocations: 11.94 kB / 453.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3609, allocations: 95.88 kB / 453.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.3609, allocations: 11.98 kB / 453.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.3612, allocations: 63.78 kB / 453.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3612, allocations: 16 kB / 453.4 MB, free: 14.95 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002449/0.3615, allocations: 189.7 kB / 453.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.3616, allocations: 39.47 kB / 453.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.3617, allocations: 55.2 kB / 453.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.3617, allocations: 8 kB / 453.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3617, allocations: 4 kB / 453.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3617, allocations: 4 kB / 453.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.3626, allocations: 0.8544 MB / 454.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3626, allocations: 0 / 454.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.3629, allocations: 72.02 kB / 454.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.3629, allocations: 4 kB / 454.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.3629, allocations: 15.92 kB / 454.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.363, allocations: 4 kB / 454.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.363, allocations: 0 / 454.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009912/0.364, allocations: 486 kB / 455.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.3641, allocations: 116.6 kB / 455.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.3641, allocations: 19.98 kB / 455.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.3643, allocations: 31.97 kB / 455.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3645, allocations: 35.91 kB / 455.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3645, allocations: 15.98 kB / 455.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.3648, allocations: 251.2 kB / 455.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3648, allocations: 0 / 455.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000418/0.3652, allocations: 91.89 kB / 455.7 MB, free: 12.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001092/0.3663, allocations: 468.5 kB / 456.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.3674, allocations: 443.8 kB / 456.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3674, allocations: 4 kB / 456.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.3678, allocations: 180.5 kB / 456.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/0.3683, allocations: 82.45 kB / 456.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3697, allocations: 0.8675 MB / 457.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3701, allocations: 0.8115 MB / 458.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3702, allocations: 43.42 kB / 458.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3702, allocations: 0 / 458.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of Templates: time 0.008427/0.3787, allocations: 5.469 MB / 464 MB, free: 4.156 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.WindFarmHVDCTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.o] Error 1