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.0008524/0.0008526, allocations: 97.08 kB / 16.96 MB, free: 6.41 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.0009683/0.0009684, allocations: 179.7 kB / 17.84 MB, free: 5.969 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.609/1.609, 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.1777/0.1777, allocations: 38.04 MB / 310.3 MB, free: 6.043 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.0005339/0.0005339, allocations: 23.12 kB / 377.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2933, allocations: 56.32 MB / 433.5 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004043/0.2974, allocations: 4.276 MB / 437.8 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.3002, allocations: 2.453 MB / 440.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.3005, allocations: 23.81 kB / 440.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004368/0.3009, allocations: 95.38 kB / 440.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000645/0.3016, allocations: 290.6 kB / 440.6 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.3023, allocations: 271.3 kB / 440.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.3029, allocations: 0.6506 MB / 441.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/0.3034, allocations: 294 kB / 441.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.3038, allocations: 221.6 kB / 442 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.304, allocations: 219.2 kB / 442.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.449e-05/0.3041, allocations: 19.98 kB / 442.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.3046, allocations: 283.2 kB / 442.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.3047, allocations: 111.7 kB / 442.6 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.3047, allocations: 85.52 kB / 442.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.3052, allocations: 0.5105 MB / 443.2 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3052, allocations: 0 / 443.2 MB, free: 9.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3052, allocations: 0 / 443.2 MB, free: 9.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3053, allocations: 0 / 443.2 MB, free: 9.031 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.001064/0.3063, allocations: 0.7199 MB / 444 MB, free: 8.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3064, allocations: 8.031 kB / 444 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009102/0.3073, allocations: 115.4 kB / 444.1 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.3078, allocations: 406.6 kB / 444.5 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3078, allocations: 16.56 kB / 444.5 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.3079, allocations: 20 kB / 444.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.3085, allocations: 461.2 kB / 445 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3086, allocations: 0 / 445 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.3086, allocations: 11.98 kB / 445 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.3086, allocations: 28.38 kB / 445 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007895/0.3094, allocations: 0.5012 MB / 445.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3111, allocations: 1.783 MB / 447.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.3119, allocations: 393.2 kB / 447.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.3123, allocations: 165.6 kB / 447.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.3123, allocations: 7.938 kB / 447.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004518/0.3128, allocations: 285.1 kB / 448.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.023e-06/0.3128, allocations: 7.938 kB / 448.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001105/0.3139, allocations: 0.544 MB / 448.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.314, allocations: 251.5 kB / 448.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.3143, allocations: 357.5 kB / 449.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3143, allocations: 41.7 kB / 449.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3144, allocations: 200.3 kB / 449.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.213e-05/0.3145, allocations: 98.64 kB / 449.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.3145, allocations: 12 kB / 449.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.3146, allocations: 346.8 kB / 449.9 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.3149, allocations: 156.3 kB / 450.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.3153, allocations: 297.5 kB / 450.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.3156, allocations: 209.5 kB / 450.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3156, allocations: 4 kB / 450.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008248/0.3164, allocations: 0.534 MB / 451.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.3165, allocations: 37.8 kB / 451.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3165, allocations: 4 kB / 451.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3165, allocations: 4 kB / 451.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.3168, allocations: 103.8 kB / 451.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3168, allocations: 7.984 kB / 451.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.3171, allocations: 63.58 kB / 451.3 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.3171, allocations: 23.98 kB / 451.4 MB, free: 432 kB / 318.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 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.3173, allocations: 197.3 kB / 451.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.3174, allocations: 35.62 kB / 451.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.976e-05/0.3175, allocations: 51.27 kB / 451.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3175, allocations: 4 kB / 451.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3175, allocations: 0 / 451.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3175, allocations: 4 kB / 451.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.3184, allocations: 0.8507 MB / 452.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3184, allocations: 0 / 452.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.3186, allocations: 72.08 kB / 452.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3187, allocations: 4 kB / 452.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3187, allocations: 11.98 kB / 452.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3187, allocations: 7.938 kB / 452.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3187, allocations: 7.953 kB / 452.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008509/0.3196, allocations: 486.1 kB / 453.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.675e-05/0.3197, allocations: 116.7 kB / 453.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.3197, allocations: 19.98 kB / 453.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3199, allocations: 27.98 kB / 453.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/0.32, allocations: 35.91 kB / 453.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.3201, allocations: 23.92 kB / 453.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.3204, allocations: 243.2 kB / 453.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3204, allocations: 0 / 453.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004265/0.3208, allocations: 95.83 kB / 453.6 MB, free: 14.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/0.3218, allocations: 473.9 kB / 454.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.3227, allocations: 431.9 kB / 454.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3227, allocations: 4.062 kB / 454.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.3231, allocations: 187.8 kB / 454.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3236, allocations: 70.22 kB / 454.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3249, allocations: 0.8401 MB / 455.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.3253, allocations: 0.8076 MB / 456.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3255, allocations: 47.36 kB / 456.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3255, allocations: 0 / 456.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of Templates: time 0.008629/0.3341, allocations: 5.479 MB / 461.9 MB, free: 5.652 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++ 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.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