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.0008315/0.0008315, allocations: 95.98 kB / 16.95 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.0007728/0.0007729, 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.322/1.322, allocations: 223.3 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1649/0.1649, allocations: 38.1 MB / 331.1 MB, free: 8.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003153, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 59.17 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003869/0.1223, allocations: 3.214 MB / 463.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1242, allocations: 1.435 MB / 464.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1244, allocations: 7.938 kB / 464.5 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1246, allocations: 35.7 kB / 464.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006004/0.1252, allocations: 223.1 kB / 464.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.1255, allocations: 103.7 kB / 464.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.126, allocations: 438.7 kB / 465.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006524/0.1267, allocations: 323.1 kB / 465.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1269, allocations: 119.4 kB / 465.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1271, allocations: 151.5 kB / 465.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1272, allocations: 4 kB / 465.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1275, allocations: 179.5 kB / 466.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.1276, allocations: 95.73 kB / 466.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.1277, allocations: 65.58 kB / 466.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.128, allocations: 247.5 kB / 466.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.128, allocations: 0 / 466.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.128, allocations: 0 / 466.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.128, allocations: 0 / 466.5 MB, free: 0.7656 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.0006661/0.1287, allocations: 0.4907 MB / 467 MB, free: 232 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1288, allocations: 8.031 kB / 467 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.1296, allocations: 87.7 kB / 467 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.1299, allocations: 258.5 kB / 467.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.13, allocations: 19.91 kB / 467.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.13, allocations: 27.94 kB / 467.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.1305, allocations: 305.7 kB / 467.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1305, allocations: 4 kB / 467.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1306, allocations: 4 kB / 467.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.1306, allocations: 27.92 kB / 467.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004209/0.131, allocations: 287.8 kB / 468 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.1326, allocations: 1.268 MB / 469.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.1331, allocations: 233.1 kB / 469.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.1332, allocations: 97.72 kB / 469.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1333, allocations: 4 kB / 469.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1333, allocations: 38.56 kB / 469.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.1333, allocations: 0 / 469.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008102/0.1341, allocations: 439.6 kB / 470 MB, free: 12.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1342, allocations: 81.23 kB / 470.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1344, allocations: 202.3 kB / 470.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1344, allocations: 33.64 kB / 470.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.1345, allocations: 159.8 kB / 470.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.1346, allocations: 63.17 kB / 470.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.1346, allocations: 4 kB / 470.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1347, allocations: 322.8 kB / 470.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1349, allocations: 91.89 kB / 471 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.1351, allocations: 154.2 kB / 471.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.1352, allocations: 118.4 kB / 471.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1353, allocations: 0 / 471.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004156/0.1357, allocations: 289.1 kB / 471.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1357, allocations: 4 kB / 471.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1357, allocations: 4 kB / 471.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1357, allocations: 12.27 kB / 471.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.136, allocations: 55.91 kB / 471.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.136, allocations: 7.953 kB / 471.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.1361, allocations: 11.98 kB / 471.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1362, allocations: 12 kB / 471.6 MB, free: 11.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.1363, allocations: 149.8 kB / 471.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1364, allocations: 15.81 kB / 471.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.1368, allocations: 233.3 kB / 472 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1368, allocations: 4 kB / 472 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1368, allocations: 4 kB / 472 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1368, allocations: 7.938 kB / 472 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.1383, allocations: 0.9442 MB / 473 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1383, allocations: 4.031 kB / 473 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.1384, allocations: 43.92 kB / 473 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1384, allocations: 4 kB / 473 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1384, allocations: 4 kB / 473 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1385, allocations: 8 kB / 473 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.1385, allocations: 7.984 kB / 473 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.1389, allocations: 412.8 kB / 473.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.139, allocations: 108.8 kB / 473.5 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.139, allocations: 4 kB / 473.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1392, allocations: 15.98 kB / 473.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1392, allocations: 31.81 kB / 473.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1393, allocations: 8 kB / 473.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1394, allocations: 151 kB / 473.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1394, allocations: 0 / 473.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003876/0.1398, allocations: 52 kB / 473.8 MB, free: 8.902 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 (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.0001336/0.1399, allocations: 111.2 kB / 473.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.1403, allocations: 211.6 kB / 474.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1403, allocations: 0 / 474.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1404, allocations: 97.2 kB / 474.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.1409, allocations: 44.34 kB / 474.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.1419, allocations: 0.6804 MB / 474.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1423, allocations: 0.7712 MB / 475.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.1424, allocations: 23.42 kB / 475.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1424, allocations: 0 / 475.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of Templates: time 0.004452/0.1468, allocations: 2.61 MB / 478.3 MB, free: 4.25 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++ 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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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