Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001283/0.001283, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.334/1.334, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1721/0.1721, allocations: 38.04 MB / 329.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 54.34 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1133, allocations: 58.06 MB / 456.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005839/0.1192, allocations: 3.67 MB / 460.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.1217, allocations: 1.52 MB / 462 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.122, allocations: 11.94 kB / 462 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009489/0.1229, allocations: 241.4 kB / 462.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.1237, allocations: 255.2 kB / 462.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.124, allocations: 103.7 kB / 462.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.1247, allocations: 0.569 MB / 463.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.125, allocations: 134.1 kB / 463.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1254, allocations: 123.4 kB / 463.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.1257, allocations: 163.5 kB / 463.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.1257, allocations: 8 kB / 463.6 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006619/0.1264, allocations: 387.1 kB / 463.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1266, allocations: 95.75 kB / 464 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.1267, allocations: 99.47 kB / 464.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.1272, allocations: 259.5 kB / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1272, allocations: 0 / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1272, allocations: 3.938 kB / 464.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1272, allocations: 0 / 464.4 MB, free: 0.9297 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.000838/0.1281, allocations: 0.5065 MB / 464.9 MB, free: 384 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1281, allocations: 12.03 kB / 464.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.129, allocations: 92.55 kB / 465 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.1294, allocations: 256.4 kB / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1294, allocations: 20.33 kB / 465.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.1295, allocations: 23.92 kB / 465.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.13, allocations: 310.3 kB / 465.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.13, allocations: 4 kB / 465.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.1301, allocations: 8 kB / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.1301, allocations: 23.97 kB / 465.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.1306, allocations: 287.7 kB / 465.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.1323, allocations: 1.293 MB / 467.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004046/0.1327, allocations: 242.2 kB / 467.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/0.1328, allocations: 57.7 kB / 467.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1329, allocations: 0 / 467.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.1329, allocations: 42.55 kB / 467.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.1329, allocations: 0 / 467.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006529/0.1336, allocations: 284.2 kB / 467.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.1336, allocations: 89.05 kB / 467.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1338, allocations: 190.3 kB / 468.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1339, allocations: 33.64 kB / 468.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.134, allocations: 159.8 kB / 468.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.134, allocations: 55.42 kB / 468.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.1341, allocations: 41.62 kB / 468.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1343, allocations: 330.8 kB / 468.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.1344, allocations: 43.97 kB / 468.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1345, allocations: 141.7 kB / 468.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1348, allocations: 216.7 kB / 469.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1348, allocations: 4 kB / 469.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003318/0.1351, allocations: 228.9 kB / 469.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1352, allocations: 10.92 kB / 469.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1352, allocations: 8 kB / 469.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1352, allocations: 4 kB / 469.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.1354, allocations: 47.92 kB / 469.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.1354, allocations: 4 kB / 469.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1355, allocations: 4 kB / 469.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.1355, allocations: 19.98 kB / 469.4 MB, free: 11.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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.0001494/0.1357, allocations: 158.1 kB / 469.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.1357, allocations: 15.81 kB / 469.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.136, allocations: 155.2 kB / 469.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.136, allocations: 7.938 kB / 469.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.136, allocations: 8 kB / 469.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.136, allocations: 0 / 469.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008656/0.1369, allocations: 0.665 MB / 470.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1369, allocations: 4 kB / 470.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.137, allocations: 36.3 kB / 470.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.137, allocations: 4 kB / 470.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.137, allocations: 8 kB / 470.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1371, allocations: 4 kB / 470.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1371, allocations: 4 kB / 470.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1374, allocations: 335.3 kB / 470.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.678e-05/0.1375, allocations: 100.8 kB / 470.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.1375, allocations: 15.98 kB / 470.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1376, allocations: 4 kB / 470.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.1377, allocations: 19.92 kB / 470.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1377, allocations: 8 kB / 471 MB, free: 9.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1378, allocations: 144.3 kB / 471.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1378, allocations: 0 / 471.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.1382, allocations: 44 kB / 471.1 MB, free: 9.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * Single equations (assignments): 14 * 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.0001205/0.1383, allocations: 107.1 kB / 471.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.1386, allocations: 144.2 kB / 471.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1386, allocations: 0 / 471.4 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.1387, allocations: 63.84 kB / 471.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.1392, allocations: 38.72 kB / 471.5 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.1401, allocations: 0.6174 MB / 472.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1404, allocations: 0.7557 MB / 472.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.1405, allocations: 19.44 kB / 472.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1405, allocations: 4 kB / 472.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of Templates: time 0.004713/0.1452, allocations: 2.265 MB / 475.1 MB, free: 5.465 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTestCalcHelperMain.o] Error 1