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.0009437/0.0009439, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.000936/0.000936, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.193/1.193, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1548/0.1548, allocations: 37.99 MB / 309.2 MB, free: 6.246 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.001155/0.001155, allocations: 63.91 kB / 375.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.189, allocations: 55.25 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004198/0.1932, allocations: 4.885 MB / 435.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1959, allocations: 2.642 MB / 438 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.1961, allocations: 27.81 kB / 438.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008514/0.197, allocations: 314.9 kB / 438.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005474/0.1975, allocations: 306.9 kB / 438.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.1982, allocations: 342.3 kB / 439 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.1986, allocations: 0.7755 MB / 439.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.1989, allocations: 185.6 kB / 440 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.1992, allocations: 223 kB / 440.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1994, allocations: 239 kB / 440.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/0.1994, allocations: 20 kB / 440.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006506/0.2001, allocations: 0.643 MB / 441.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.2002, allocations: 123.6 kB / 441.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2003, allocations: 175 kB / 441.4 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.2007, allocations: 0.5263 MB / 441.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2007, allocations: 0 / 441.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2007, allocations: 0 / 441.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2008, allocations: 0 / 441.9 MB, free: 8.379 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.0009759/0.2017, allocations: 0.7746 MB / 442.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.2018, allocations: 8.031 kB / 442.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008962/0.2027, allocations: 116.3 kB / 442.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.2031, allocations: 407.6 kB / 443.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2031, allocations: 24.91 kB / 443.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.2032, allocations: 32.06 kB / 443.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.2038, allocations: 449.2 kB / 443.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2038, allocations: 3.938 kB / 443.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.2039, allocations: 8 kB / 443.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.2039, allocations: 24.42 kB / 443.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.2047, allocations: 485.3 kB / 444.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.2061, allocations: 1.783 MB / 446 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.2069, allocations: 381.1 kB / 446.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.2072, allocations: 145.6 kB / 446.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.2073, allocations: 7.984 kB / 446.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.2077, allocations: 281.1 kB / 446.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.214e-06/0.2077, allocations: 0 / 446.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.00108/0.2088, allocations: 0.5172 MB / 447.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.2089, allocations: 243.3 kB / 447.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.2091, allocations: 353.6 kB / 447.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2092, allocations: 37.98 kB / 447.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.2093, allocations: 208.3 kB / 448.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.2093, allocations: 98.64 kB / 448.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.571e-05/0.2094, allocations: 69.69 kB / 448.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.2095, allocations: 350.8 kB / 448.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.2098, allocations: 140.3 kB / 448.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.2101, allocations: 289.4 kB / 449 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.2107, allocations: 469.6 kB / 449.5 MB, free: 264 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2107, allocations: 0 / 449.5 MB, free: 264 kB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009048/0.2117, allocations: 0.526 MB / 450 MB, free: 15.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.2117, allocations: 33.7 kB / 450.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2117, allocations: 7.984 kB / 450.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2117, allocations: 8 kB / 450.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.2121, allocations: 87.89 kB / 450.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2121, allocations: 15.92 kB / 450.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.2124, allocations: 47.58 kB / 450.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.2124, allocations: 19.98 kB / 450.2 MB, free: 15.49 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.0001823/0.2126, allocations: 197.7 kB / 450.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.2126, allocations: 35.56 kB / 450.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.78e-05/0.2128, allocations: 55.27 kB / 450.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2128, allocations: 4 kB / 450.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2128, allocations: 0 / 450.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2128, allocations: 7.938 kB / 450.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.2135, allocations: 0.8583 MB / 451.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2135, allocations: 0 / 451.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.2137, allocations: 67.89 kB / 451.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2137, allocations: 0 / 451.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.2138, allocations: 11.98 kB / 451.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2138, allocations: 0 / 451.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2138, allocations: 4.125 kB / 451.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.2146, allocations: 469.9 kB / 451.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.2147, allocations: 108.7 kB / 452 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.2148, allocations: 16 kB / 452.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.215, allocations: 23.97 kB / 452.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.2151, allocations: 43.83 kB / 452.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.2151, allocations: 12 kB / 452.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002398/0.2153, allocations: 255.1 kB / 452.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2153, allocations: 0 / 452.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.2157, allocations: 95.84 kB / 452.5 MB, free: 13.11 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.0008916/0.2166, allocations: 467.1 kB / 452.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008101/0.2174, allocations: 408.2 kB / 453.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.2175, allocations: 12.06 kB / 453.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003886/0.2179, allocations: 175.7 kB / 453.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.2183, allocations: 77.86 kB / 453.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2194, allocations: 0.8489 MB / 454.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.2197, allocations: 0.8115 MB / 455.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.2199, allocations: 43.42 kB / 455.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2199, allocations: 0 / 455.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Templates: time 0.00675/0.2266, allocations: 5.493 MB / 460.8 MB, free: 4.762 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