Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|windFarm.p.1.|windFarm.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|windFarm.p.1.|windFarm.p.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 108.3 kB / 17.16 MB, free: 6.082 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.0009717/0.0009717, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.32/1.32, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1675/0.1675, allocations: 38.04 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 58.58 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1175, allocations: 58.06 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005414/0.123, allocations: 4.122 MB / 460.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1259, allocations: 2.195 MB / 463.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.1261, allocations: 19.88 kB / 463.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007539/0.1269, allocations: 211.2 kB / 463.3 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.1274, allocations: 247.1 kB / 463.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.128, allocations: 259.5 kB / 463.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005385/0.1286, allocations: 0.6235 MB / 464.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1289, allocations: 191.8 kB / 464.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.1293, allocations: 198.2 kB / 464.8 MB, free: 484 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1296, allocations: 210.8 kB / 465 MB, free: 276 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.1296, allocations: 20 kB / 465.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006606/0.1303, allocations: 455 kB / 465.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1304, allocations: 119.6 kB / 465.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.1306, allocations: 167 kB / 465.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.1311, allocations: 491 kB / 466.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1311, allocations: 3.938 kB / 466.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1311, allocations: 4 kB / 466.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1311, allocations: 0 / 466.3 MB, free: 15.04 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001195/0.1323, allocations: 0.7432 MB / 467 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1324, allocations: 8.031 kB / 467 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.1332, allocations: 108.3 kB / 467.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.1337, allocations: 403.6 kB / 467.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1337, allocations: 24.81 kB / 467.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.1338, allocations: 28.11 kB / 467.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.1346, allocations: 446.8 kB / 468 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1346, allocations: 0 / 468 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1347, allocations: 12 kB / 468 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.1347, allocations: 16.42 kB / 468 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009278/0.1356, allocations: 0.4973 MB / 468.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.1376, allocations: 1.686 MB / 470.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.1385, allocations: 365.1 kB / 470.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.1388, allocations: 139.3 kB / 470.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1389, allocations: 15.98 kB / 470.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/0.1394, allocations: 278.9 kB / 471 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.1394, allocations: 8 kB / 471 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001259/0.1407, allocations: 0.5199 MB / 471.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.1408, allocations: 298.7 kB / 471.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.1412, allocations: 332.4 kB / 472.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1412, allocations: 37.7 kB / 472.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.1414, allocations: 196.4 kB / 472.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.1415, allocations: 102.6 kB / 472.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1416, allocations: 77.62 kB / 472.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1417, allocations: 342.8 kB / 472.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1421, allocations: 139.9 kB / 473 MB, free: 7.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.1425, allocations: 280 kB / 473.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.1433, allocations: 474.3 kB / 473.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1433, allocations: 0 / 473.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009683/0.1442, allocations: 0.5062 MB / 474.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.1443, allocations: 41.69 kB / 474.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1443, allocations: 4.562 kB / 474.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1443, allocations: 8 kB / 474.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.1446, allocations: 83.83 kB / 474.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.1447, allocations: 15.97 kB / 474.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1449, allocations: 47.67 kB / 474.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.145, allocations: 23.98 kB / 474.5 MB, free: 6.281 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 (43): * Single equations (assignments): 42 * 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.000191/0.1452, allocations: 193.6 kB / 474.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.1452, allocations: 43.47 kB / 474.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.1453, allocations: 59.09 kB / 474.8 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.1454, allocations: 4 kB / 474.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1454, allocations: 4 kB / 474.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1454, allocations: 0 / 474.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008315/0.1462, allocations: 1.038 MB / 475.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1462, allocations: 0 / 475.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.1465, allocations: 63.89 kB / 475.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1465, allocations: 4 kB / 475.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.1465, allocations: 12 kB / 475.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1465, allocations: 8 kB / 475.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1465, allocations: 0 / 475.9 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/0.1474, allocations: 471.5 kB / 476.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.1474, allocations: 112.7 kB / 476.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.1475, allocations: 15.98 kB / 476.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1477, allocations: 27.97 kB / 476.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.1478, allocations: 35.91 kB / 476.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.1479, allocations: 19.98 kB / 476.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1481, allocations: 231 kB / 476.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.1481, allocations: 0 / 476.8 MB, free: 3.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.1485, allocations: 91.84 kB / 476.9 MB, free: 3.727 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 26 * 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.0009522/0.1494, allocations: 474.3 kB / 477.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008196/0.1502, allocations: 407.4 kB / 477.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1503, allocations: 7.938 kB / 477.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005487/0.1508, allocations: 182.2 kB / 477.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.1513, allocations: 72.7 kB / 478 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1525, allocations: 0.8618 MB / 478.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1529, allocations: 0.8037 MB / 479.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.153, allocations: 51.36 kB / 479.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.153, allocations: 0 / 479.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of Templates: time 0.007216/0.1602, allocations: 5.367 MB / 485.1 MB, free: 11.63 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTestCalcHelperMain.o] Error 1