Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|line.i.1.|line.i.2.|line.p.1.|line.p.2.|line.v.1.|line.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007889/0.0007889, allocations: 92.61 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.0008027/0.0008029, allocations: 179.2 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.379/1.379, allocations: 223.3 MB / 242.2 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1742/0.1742, allocations: 38.09 MB / 331.4 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.000355, allocations: 8 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1224, allocations: 59.17 MB / 460.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004776/0.1272, allocations: 3.342 MB / 463.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1295, allocations: 1.535 MB / 465.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.1297, allocations: 11.94 kB / 465.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1299, allocations: 31.77 kB / 465.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007078/0.1306, allocations: 259.2 kB / 465.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.131, allocations: 115.7 kB / 465.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000699/0.1317, allocations: 0.5728 MB / 466.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008594/0.1326, allocations: 322.9 kB / 466.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.133, allocations: 123.4 kB / 466.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.1334, allocations: 151.5 kB / 467 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.1334, allocations: 11.98 kB / 467 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008688/0.1343, allocations: 403.1 kB / 467.4 MB, free: 148 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.1345, allocations: 87.77 kB / 467.5 MB, free: 60 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.1347, allocations: 133.2 kB / 467.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.1352, allocations: 263.3 kB / 467.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1353, allocations: 0 / 467.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1353, allocations: 0 / 467.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1353, allocations: 0 / 467.9 MB, free: 15.66 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008312/0.1361, allocations: 486.7 kB / 468.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1362, allocations: 16.03 kB / 468.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.1372, allocations: 88.64 kB / 468.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.1375, allocations: 266 kB / 468.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1376, allocations: 16.27 kB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.1376, allocations: 20.31 kB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.1382, allocations: 325.8 kB / 469 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1382, allocations: 0 / 469 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.1382, allocations: 8 kB / 469.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.1383, allocations: 15.98 kB / 469.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.1387, allocations: 295.7 kB / 469.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.1405, allocations: 1.283 MB / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.1409, allocations: 229.1 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1411, allocations: 97.72 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1411, allocations: 7.984 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.1411, allocations: 34.56 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/0.1412, allocations: 0 / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008688/0.142, allocations: 443.6 kB / 471.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1421, allocations: 81.11 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1423, allocations: 194.3 kB / 471.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1423, allocations: 29.7 kB / 471.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1425, allocations: 163.8 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.1425, allocations: 59.19 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.1426, allocations: 21.84 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1427, allocations: 334.8 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1428, allocations: 83.95 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.143, allocations: 154.2 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.1433, allocations: 266.7 kB / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1433, allocations: 0 / 472.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004249/0.1438, allocations: 301.1 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.1438, allocations: 4 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1438, allocations: 7.938 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1438, allocations: 7.984 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.1441, allocations: 56.19 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1441, allocations: 0 / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1443, allocations: 19.92 kB / 473.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.1443, allocations: 12 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.0001469/0.1444, allocations: 153.8 kB / 473.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1445, allocations: 15.81 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.1449, allocations: 233.6 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1449, allocations: 0 / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1449, allocations: 8 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1449, allocations: 3.984 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1462, allocations: 0.9476 MB / 474.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.1462, allocations: 8.438 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1464, allocations: 35.92 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1464, allocations: 8 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1464, allocations: 15.94 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1464, allocations: 7.938 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1464, allocations: 7.984 kB / 474.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.1468, allocations: 408.9 kB / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.1469, allocations: 100.9 kB / 475.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.1469, allocations: 11.94 kB / 475.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1471, allocations: 11.98 kB / 475.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1472, allocations: 31.86 kB / 475.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1472, allocations: 8 kB / 475.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1473, allocations: 147 kB / 475.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1473, allocations: 0 / 475.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003563/0.1477, allocations: 52 kB / 475.4 MB, free: 7.578 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001257/0.1478, allocations: 107.2 kB / 475.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.1481, allocations: 219.6 kB / 475.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.1482, allocations: 0 / 475.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1483, allocations: 96.95 kB / 475.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.1488, allocations: 44.41 kB / 475.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.1497, allocations: 0.713 MB / 476.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1501, allocations: 0.7596 MB / 477.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.1501, allocations: 23.42 kB / 477.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1501, allocations: 0 / 477.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of Templates: time 0.004195/0.1543, allocations: 2.606 MB / 479.9 MB, free: 2.895 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.o] Error 1