Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7406,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=7406,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007798/0.0007796, allocations: 91.69 kB / 17.3 MB, free: 5.59 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.0008697/0.0008697, allocations: 177.5 kB / 18.21 MB, free: 5.191 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.415/1.415, allocations: 223.2 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1898/0.1898, allocations: 38.09 MB / 331.5 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003344/0.0003344, allocations: 8.188 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.133, allocations: 59.17 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.0051/0.1382, allocations: 4.144 MB / 464.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1397, allocations: 0.9662 MB / 465.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1399, allocations: 19.88 kB / 465.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1401, allocations: 35.7 kB / 465.7 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.1405, allocations: 147.3 kB / 465.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1407, allocations: 63.94 kB / 465.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000493/0.1412, allocations: 0.5219 MB / 466.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1414, allocations: 93.69 kB / 466.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.1416, allocations: 155.2 kB / 466.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.142, allocations: 179.3 kB / 466.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.142, allocations: 12 kB / 466.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.892e-05/0.1421, allocations: 8 kB / 466.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.1422, allocations: 79.72 kB / 466.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.1423, allocations: 153 kB / 467.1 MB, free: 472 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1426, allocations: 215.2 kB / 467.3 MB, free: 256 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1426, allocations: 0 / 467.3 MB, free: 256 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1426, allocations: 4 kB / 467.3 MB, free: 252 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1426, allocations: 0 / 467.3 MB, free: 252 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009817/0.1436, allocations: 0.5428 MB / 467.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1436, allocations: 12.03 kB / 467.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.1437, allocations: 36.56 kB / 467.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.1442, allocations: 322.8 kB / 468.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.1442, allocations: 16.81 kB / 468.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1443, allocations: 36.12 kB / 468.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.1448, allocations: 290 kB / 468.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1448, allocations: 4 kB / 468.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1448, allocations: 8 kB / 468.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1448, allocations: 8 kB / 468.6 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.1451, allocations: 187.8 kB / 468.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.1466, allocations: 1.276 MB / 470 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1469, allocations: 123.8 kB / 470.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/0.147, allocations: 46.62 kB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.147, allocations: 8 kB / 470.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.147, allocations: 34.56 kB / 470.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.147, allocations: 0 / 470.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008925/0.1479, allocations: 0.527 MB / 470.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.148, allocations: 111 kB / 470.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1482, allocations: 238.7 kB / 471.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1483, allocations: 29.7 kB / 471.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1484, allocations: 199.5 kB / 471.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1484, allocations: 39.45 kB / 471.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.1485, allocations: 25.7 kB / 471.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1486, allocations: 338.8 kB / 471.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.1487, allocations: 39.98 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1488, allocations: 131.8 kB / 471.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.149, allocations: 199.8 kB / 472.1 MB, free: 11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1491, allocations: 0 / 472.1 MB, free: 11 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003862/0.1494, allocations: 234 kB / 472.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1495, allocations: 8 kB / 472.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1495, allocations: 96 / 472.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.1496, allocations: 32.78 kB / 472.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.15, allocations: 67.83 kB / 472.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.15, allocations: 4 kB / 472.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1501, allocations: 8 kB / 472.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1501, allocations: 12.17 kB / 472.4 MB, free: 10.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.1503, allocations: 149.8 kB / 472.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.1503, allocations: 23.72 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.1506, allocations: 147.2 kB / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.1506, allocations: 11.92 kB / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1507, allocations: 0 / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1507, allocations: 0 / 472.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.151, allocations: 289.5 kB / 473 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1511, allocations: 4 kB / 473 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.1512, allocations: 31.92 kB / 473.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1512, allocations: 0 / 473.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1512, allocations: 0 / 473.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.1513, allocations: 7.938 kB / 473.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1513, allocations: 0 / 473.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.1516, allocations: 370.8 kB / 473.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1517, allocations: 96.86 kB / 473.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1517, allocations: 4 kB / 473.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.1519, allocations: 3.938 kB / 473.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1519, allocations: 15.98 kB / 473.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.1519, allocations: 0 / 473.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.1521, allocations: 174 kB / 473.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1521, allocations: 0 / 473.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000342/0.1524, allocations: 48 kB / 473.8 MB, free: 9.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.0001093/0.1526, allocations: 103.2 kB / 473.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1529, allocations: 205.8 kB / 474.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1529, allocations: 0 / 474.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.153, allocations: 48.73 kB / 474.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.1536, allocations: 59.83 kB / 474.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.1547, allocations: 0.8091 MB / 475 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.155, allocations: 0.7716 MB / 475.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.1551, allocations: 27.42 kB / 475.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1551, allocations: 0 / 475.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of Templates: time 0.005781/0.1609, allocations: 3.444 MB / 479.2 MB, free: 3.625 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.AC1ph_DC.Elementary.LoadDCCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDCCalcHelperMain.o] Error 1