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.0009876/0.0009876, allocations: 109 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.0009692/0.0009694, 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.402/1.402, 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.1687/0.1687, allocations: 38.04 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 62.55 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.111, allocations: 58.06 MB / 456.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005825/0.1169, allocations: 3.709 MB / 460.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.1193, allocations: 1.563 MB / 462.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.1196, allocations: 11.94 kB / 462.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009672/0.1206, allocations: 239.1 kB / 462.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006525/0.1212, allocations: 263.1 kB / 462.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1216, allocations: 119.7 kB / 462.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000643/0.1222, allocations: 0.569 MB / 463.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.1226, allocations: 130.1 kB / 463.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003276/0.1229, allocations: 131.4 kB / 463.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.1232, allocations: 163.4 kB / 463.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.1233, allocations: 12 kB / 463.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006531/0.1239, allocations: 407.1 kB / 464.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1241, allocations: 99.69 kB / 464.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.1242, allocations: 99.47 kB / 464.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.1247, allocations: 267.4 kB / 464.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1247, allocations: 0 / 464.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1247, allocations: 0 / 464.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1247, allocations: 0 / 464.5 MB, free: 0.7812 MB / 334.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.0007952/0.1255, allocations: 0.5181 MB / 465.1 MB, free: 220 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1256, allocations: 12.03 kB / 465.1 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008753/0.1265, allocations: 88.64 kB / 465.1 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1268, allocations: 270.5 kB / 465.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1268, allocations: 16.33 kB / 465.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.1269, allocations: 16.38 kB / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.1274, allocations: 321.8 kB / 465.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1274, allocations: 8 kB / 465.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1275, allocations: 4 kB / 465.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.1275, allocations: 19.98 kB / 465.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.128, allocations: 287.8 kB / 466.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.1297, allocations: 1.271 MB / 467.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.1301, allocations: 237 kB / 467.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1303, allocations: 101.7 kB / 467.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1303, allocations: 0 / 467.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1303, allocations: 34.56 kB / 467.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.1304, allocations: 0 / 467.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008362/0.1312, allocations: 451.4 kB / 468.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1313, allocations: 81.11 kB / 468.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1315, allocations: 198.3 kB / 468.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.1315, allocations: 29.7 kB / 468.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1316, allocations: 155.8 kB / 468.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.663e-05/0.1317, allocations: 59.19 kB / 468.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1318, allocations: 45.7 kB / 468.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.132, allocations: 334.9 kB / 469 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1321, allocations: 83.95 kB / 469.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.1323, allocations: 162.1 kB / 469.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.1327, allocations: 270.3 kB / 469.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1327, allocations: 4 kB / 469.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004145/0.1331, allocations: 291.5 kB / 469.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1331, allocations: 4 kB / 469.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1332, allocations: 7.938 kB / 469.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1332, allocations: 4 kB / 469.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.1334, allocations: 52.19 kB / 469.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1335, allocations: 8 kB / 469.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1336, allocations: 15.98 kB / 469.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.1336, allocations: 8 kB / 469.9 MB, free: 11.04 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.0001472/0.1338, allocations: 153.8 kB / 470.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.1338, allocations: 19.72 kB / 470.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.1342, allocations: 231.3 kB / 470.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1342, allocations: 4 kB / 470.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1342, allocations: 4 kB / 470.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1343, allocations: 3.984 kB / 470.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.1356, allocations: 0.9552 MB / 471.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/0.1356, allocations: 8 kB / 471.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1357, allocations: 32.48 kB / 471.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1358, allocations: 11.94 kB / 471.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.1358, allocations: 15.94 kB / 471.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.1358, allocations: 11.97 kB / 471.4 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1358, allocations: 4 kB / 471.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004432/0.1363, allocations: 419 kB / 471.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.1364, allocations: 96.91 kB / 471.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1364, allocations: 15.94 kB / 471.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1366, allocations: 7.984 kB / 471.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1366, allocations: 31.86 kB / 471.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1367, allocations: 8 kB / 471.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1368, allocations: 151 kB / 472.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1368, allocations: 0 / 472.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.1372, allocations: 52 kB / 472.1 MB, free: 8.625 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.0001213/0.1373, allocations: 111.2 kB / 472.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1377, allocations: 211.7 kB / 472.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1377, allocations: 4 kB / 472.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1378, allocations: 97.02 kB / 472.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.1383, allocations: 41.47 kB / 472.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.1393, allocations: 0.6738 MB / 473.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1398, allocations: 0.7713 MB / 474 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.1399, allocations: 19.44 kB / 474 MB, free: 6.59 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1399, allocations: 3.938 kB / 474.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of Templates: time 0.005122/0.145, allocations: 2.614 MB / 476.7 MB, free: 3.965 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