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.0007854/0.000786, allocations: 94.09 kB / 17.31 MB, free: 6.535 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.0008646/0.0008646, allocations: 174.7 kB / 18.21 MB, free: 5.684 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.44/1.44, allocations: 223.3 MB / 242.2 MB, free: 14.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.1818/0.1818, allocations: 38.09 MB / 331.4 MB, free: 8.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 8 kB / 401.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 59.17 MB / 460.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004941/0.1332, allocations: 3.751 MB / 464.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.1365, allocations: 2.144 MB / 466.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.1368, allocations: 19.88 kB / 466.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.1372, allocations: 55.62 kB / 466.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006346/0.1379, allocations: 255.1 kB / 466.7 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007081/0.1386, allocations: 251.5 kB / 467 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006608/0.1393, allocations: 0.6274 MB / 467.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007084/0.14, allocations: 376.6 kB / 468 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.1404, allocations: 191.1 kB / 468.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.1407, allocations: 191.2 kB / 468.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1407, allocations: 16 kB / 468.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000703/0.1415, allocations: 455 kB / 468.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1416, allocations: 107.7 kB / 468.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1418, allocations: 180.8 kB / 469.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000503/0.1423, allocations: 486.8 kB / 469.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1423, allocations: 4 kB / 469.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1423, allocations: 4 kB / 469.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1423, allocations: 0 / 469.6 MB, free: 13.91 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.001225/0.1435, allocations: 0.6849 MB / 470.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1436, allocations: 12.03 kB / 470.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/0.1445, allocations: 104.4 kB / 470.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.145, allocations: 403.6 kB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.1451, allocations: 20.8 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.1451, allocations: 24.12 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008455/0.146, allocations: 458.8 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.146, allocations: 7.938 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.146, allocations: 8 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/0.1461, allocations: 28.41 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1471, allocations: 0.5169 MB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.1491, allocations: 1.682 MB / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/0.1501, allocations: 389 kB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.1505, allocations: 163.2 kB / 474.1 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.1506, allocations: 4 kB / 474.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.1511, allocations: 302.9 kB / 474.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.1512, allocations: 7.938 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001406/0.1526, allocations: 0.5562 MB / 474.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/0.1528, allocations: 294.7 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.1531, allocations: 332.5 kB / 475.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.1531, allocations: 37.69 kB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1533, allocations: 192.4 kB / 475.8 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.312e-05/0.1534, allocations: 102.5 kB / 475.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.1534, allocations: 37.7 kB / 475.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1536, allocations: 350.8 kB / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.154, allocations: 155.9 kB / 476.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.1544, allocations: 293 kB / 476.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008159/0.1552, allocations: 486.3 kB / 477.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1553, allocations: 4 kB / 477.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001021/0.1563, allocations: 0.5377 MB / 477.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.1563, allocations: 37.69 kB / 477.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1564, allocations: 4 kB / 477.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1564, allocations: 8.312 kB / 477.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.1567, allocations: 95.83 kB / 477.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1567, allocations: 4 kB / 477.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.157, allocations: 55.66 kB / 477.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.1571, allocations: 19.98 kB / 477.9 MB, free: 5.039 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.0002027/0.1573, allocations: 201.6 kB / 478.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.1573, allocations: 39.47 kB / 478.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1574, allocations: 51.16 kB / 478.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1575, allocations: 8 kB / 478.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1575, allocations: 0 / 478.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1575, allocations: 4 kB / 478.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.1584, allocations: 1.038 MB / 479.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1584, allocations: 0 / 479.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.1586, allocations: 72.09 kB / 479.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1586, allocations: 7.922 kB / 479.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1587, allocations: 12 kB / 479.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.1587, allocations: 4 kB / 479.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1587, allocations: 0 / 479.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.1597, allocations: 499.3 kB / 479.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.1598, allocations: 116.7 kB / 479.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.1599, allocations: 12 kB / 480 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1601, allocations: 31.97 kB / 480 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1602, allocations: 43.83 kB / 480 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.1602, allocations: 12 kB / 480 MB, free: 2.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.1605, allocations: 243 kB / 480.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1605, allocations: 0 / 480.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.161, allocations: 87.89 kB / 480.4 MB, free: 2.438 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.001324/0.1623, allocations: 479.2 kB / 480.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.1633, allocations: 437.5 kB / 481.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.1633, allocations: 4 kB / 481.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.1638, allocations: 196.7 kB / 481.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.1644, allocations: 65.05 kB / 481.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1659, allocations: 0.8719 MB / 482.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.1664, allocations: 0.8115 MB / 483.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.1665, allocations: 39.42 kB / 483.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1665, allocations: 0 / 483.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Templates: time 0.00926/0.1758, allocations: 5.333 MB / 488.6 MB, free: 10.34 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