Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_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.0009983/0.0009986, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009859/0.000986, allocations: 194.9 kB / 18.08 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 241.7 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1628/0.1628, allocations: 38.03 MB / 329.9 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.00104, allocations: 59.25 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09871, allocations: 58.05 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005695/0.1044, allocations: 4.883 MB / 461.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003423/0.1079, allocations: 2.711 MB / 464.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.1082, allocations: 27.81 kB / 464.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.109, allocations: 320.9 kB / 464.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.1096, allocations: 310.9 kB / 465 MB, free: 268 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/0.1104, allocations: 351.2 kB / 465.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006112/0.111, allocations: 0.7872 MB / 466.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1113, allocations: 181.6 kB / 466.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.1117, allocations: 223 kB / 466.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.112, allocations: 239.1 kB / 466.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.112, allocations: 20 kB / 466.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008616/0.1129, allocations: 0.6547 MB / 467.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.113, allocations: 115.6 kB / 467.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1132, allocations: 167 kB / 467.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.1137, allocations: 0.5379 MB / 468.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1137, allocations: 0 / 468.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1138, allocations: 0 / 468.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1138, allocations: 3.938 kB / 468.3 MB, free: 13 MB / 350.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.001178/0.1149, allocations: 0.7707 MB / 469 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.115, allocations: 8.031 kB / 469.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009996/0.116, allocations: 112.4 kB / 469.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.1165, allocations: 411.6 kB / 469.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1165, allocations: 20.94 kB / 469.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1166, allocations: 24.12 kB / 469.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/0.1173, allocations: 449.2 kB / 470.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1174, allocations: 0 / 470.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.1174, allocations: 15.98 kB / 470.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.1174, allocations: 16.44 kB / 470.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009076/0.1184, allocations: 497.2 kB / 470.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.1202, allocations: 1.779 MB / 472.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.1212, allocations: 389.1 kB / 472.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.1215, allocations: 143.2 kB / 472.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.1215, allocations: 8 kB / 472.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.122, allocations: 281.2 kB / 473.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.1221, allocations: 0 / 473.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001305/0.1234, allocations: 0.5078 MB / 473.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.1235, allocations: 251.5 kB / 473.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1239, allocations: 357.6 kB / 474.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.1239, allocations: 33.7 kB / 474.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1241, allocations: 204.2 kB / 474.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.1242, allocations: 98.78 kB / 474.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1243, allocations: 69.61 kB / 474.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1244, allocations: 350.8 kB / 475 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/0.1248, allocations: 148.2 kB / 475.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.1252, allocations: 277.8 kB / 475.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.126, allocations: 466.3 kB / 475.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.126, allocations: 0 / 475.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009602/0.1269, allocations: 0.5219 MB / 476.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.127, allocations: 33.7 kB / 476.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.127, allocations: 8 kB / 476.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.127, allocations: 4 kB / 476.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.1274, allocations: 91.81 kB / 476.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1274, allocations: 8 kB / 476.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.1277, allocations: 59.97 kB / 476.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.1277, allocations: 19.94 kB / 476.6 MB, free: 4.137 MB / 350.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.0001972/0.1279, allocations: 193.6 kB / 476.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.128, allocations: 51.44 kB / 476.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1281, allocations: 51.27 kB / 476.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1281, allocations: 4 kB / 476.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1281, allocations: 4 kB / 476.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1281, allocations: 7.984 kB / 476.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.1289, allocations: 0.8508 MB / 477.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1289, allocations: 0 / 477.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.1291, allocations: 63.89 kB / 477.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1291, allocations: 128 / 477.8 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.1292, allocations: 16 kB / 477.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1292, allocations: 3.938 kB / 477.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1292, allocations: 4 kB / 477.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008309/0.13, allocations: 465.5 kB / 478.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.1301, allocations: 108.7 kB / 478.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.1302, allocations: 15.98 kB / 478.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.1304, allocations: 27.97 kB / 478.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.1305, allocations: 35.91 kB / 478.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.1305, allocations: 11.98 kB / 478.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.1307, allocations: 251.2 kB / 478.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1307, allocations: 4 kB / 478.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000378/0.1311, allocations: 95.83 kB / 478.8 MB, free: 1.762 MB / 350.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.0009376/0.1321, allocations: 459.5 kB / 479.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008195/0.1329, allocations: 420 kB / 479.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1329, allocations: 3.938 kB / 479.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.1333, allocations: 176.6 kB / 479.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1337, allocations: 73.94 kB / 479.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1349, allocations: 0.8642 MB / 480.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1352, allocations: 0.8114 MB / 481.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1354, allocations: 47.42 kB / 481.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1354, allocations: 0 / 481.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Templates: time 0.006982/0.1424, allocations: 5.507 MB / 487.2 MB, free: 9.535 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile make -j1 -f PowerSystems_latest_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.o] Error 1