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.0007786/0.0007785, allocations: 97.11 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.0008485/0.0008485, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.337/1.337, allocations: 223.2 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1733/0.1733, allocations: 38.09 MB / 331.1 MB, free: 8.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 11.98 kB / 400.7 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 59.17 MB / 459.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004817/0.1283, allocations: 4.284 MB / 464.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.1318, allocations: 2.507 MB / 466.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.1321, allocations: 23.81 kB / 466.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.1326, allocations: 95.38 kB / 466.8 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.1333, allocations: 290.6 kB / 467.1 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.1341, allocations: 294.3 kB / 467.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.1348, allocations: 0.6584 MB / 468 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.1353, allocations: 290 kB / 468.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.1357, allocations: 211 kB / 468.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.136, allocations: 231.2 kB / 468.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.1361, allocations: 20 kB / 468.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.1367, allocations: 279.3 kB / 469 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1368, allocations: 111.6 kB / 469.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.1369, allocations: 89.52 kB / 469.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.1374, allocations: 0.4988 MB / 469.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.1374, allocations: 4 kB / 469.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1375, allocations: 0 / 469.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1375, allocations: 0 / 469.7 MB, free: 13.49 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.001119/0.1386, allocations: 0.7199 MB / 470.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1386, allocations: 8.031 kB / 470.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009525/0.1396, allocations: 115.4 kB / 470.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.1401, allocations: 394.6 kB / 470.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.1402, allocations: 24.5 kB / 471 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.1402, allocations: 20 kB / 471 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007812/0.141, allocations: 465.2 kB / 471.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.141, allocations: 3.938 kB / 471.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.1411, allocations: 15.98 kB / 471.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.1411, allocations: 20.42 kB / 471.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.1421, allocations: 0.5051 MB / 472 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1441, allocations: 1.775 MB / 473.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.145, allocations: 405.1 kB / 474.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.1454, allocations: 151.3 kB / 474.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.1454, allocations: 19.97 kB / 474.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005407/0.146, allocations: 285.2 kB / 474.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.146, allocations: 0 / 474.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001239/0.1472, allocations: 0.5479 MB / 475.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.1474, allocations: 243.6 kB / 475.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.1478, allocations: 349.7 kB / 475.7 MB, free: 7.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.1479, allocations: 33.7 kB / 475.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.148, allocations: 204.2 kB / 476 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.1481, allocations: 106.6 kB / 476.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.1482, allocations: 7.938 kB / 476.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1483, allocations: 350.8 kB / 476.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.1487, allocations: 156.2 kB / 476.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.1491, allocations: 285.8 kB / 476.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.1495, allocations: 218.5 kB / 477.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1495, allocations: 0 / 477.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009872/0.1505, allocations: 0.5413 MB / 477.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.1506, allocations: 38.12 kB / 477.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1506, allocations: 11.95 kB / 477.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1506, allocations: 8 kB / 477.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.151, allocations: 95.89 kB / 477.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.151, allocations: 15.92 kB / 477.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.1513, allocations: 59.66 kB / 477.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.1513, allocations: 16 kB / 477.8 MB, free: 4.883 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 ($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.0002206/0.1515, allocations: 193.6 kB / 478 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.1516, allocations: 35.53 kB / 478.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.1517, allocations: 51.27 kB / 478.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.1517, allocations: 11.95 kB / 478.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1518, allocations: 0 / 478.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1518, allocations: 4 kB / 478.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008535/0.1526, allocations: 0.8508 MB / 479 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1526, allocations: 0 / 479 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.1529, allocations: 76 kB / 479 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1529, allocations: 4 kB / 479.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.1529, allocations: 11.98 kB / 479.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.1529, allocations: 4 kB / 479.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.153, allocations: 0 / 479.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008603/0.1538, allocations: 489.4 kB / 479.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.1539, allocations: 120.5 kB / 479.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.154, allocations: 11.98 kB / 479.7 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1542, allocations: 31.97 kB / 479.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.1543, allocations: 43.89 kB / 479.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1543, allocations: 8 kB / 479.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002741/0.1546, allocations: 255.2 kB / 480 MB, free: 2.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1546, allocations: 0 / 480 MB, free: 2.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000426/0.1551, allocations: 87.94 kB / 480.1 MB, free: 2.488 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 (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.001059/0.1561, allocations: 466 kB / 480.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000858/0.157, allocations: 432.2 kB / 481 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.157, allocations: 4.125 kB / 481 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.1574, allocations: 195.7 kB / 481.2 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.1579, allocations: 81.55 kB / 481.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.1591, allocations: 0.8442 MB / 482.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.1596, allocations: 0.8037 MB / 482.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.1597, allocations: 47.42 kB / 482.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1597, allocations: 0 / 482.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Templates: time 0.008004/0.1677, allocations: 5.479 MB / 488.4 MB, free: 10.26 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++ 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/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/c/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