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.0008139/0.0008141, allocations: 91.69 kB / 16.96 MB, free: 6.453 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.000809/0.0008089, allocations: 184.3 kB / 17.85 MB, free: 6 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.301/1.301, allocations: 223.2 MB / 241.9 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1774/0.1774, allocations: 38.09 MB / 331.1 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002758/0.0002758, allocations: 9.469 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 59.17 MB / 459.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004795/0.1131, allocations: 3.967 MB / 463.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1151, allocations: 0.9276 MB / 464.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.1154, allocations: 19.88 kB / 464.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.1156, allocations: 51.61 kB / 464.8 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.1161, allocations: 171 kB / 465 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1164, allocations: 95.81 kB / 465.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.1169, allocations: 430.5 kB / 465.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.1171, allocations: 81.12 kB / 465.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.1174, allocations: 147.2 kB / 465.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.1177, allocations: 167.4 kB / 465.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.1177, allocations: 12 kB / 465.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.114e-05/0.1178, allocations: 15.94 kB / 465.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.278e-05/0.1179, allocations: 71.78 kB / 466 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.118, allocations: 77.58 kB / 466.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1182, allocations: 211.4 kB / 466.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1182, allocations: 0 / 466.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1182, allocations: 0 / 466.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1182, allocations: 0 / 466.3 MB, free: 0.9766 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009698/0.1192, allocations: 0.5581 MB / 466.8 MB, free: 376 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1193, allocations: 8.031 kB / 466.8 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.1193, allocations: 31.62 kB / 466.9 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.1198, allocations: 317.7 kB / 467.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.1198, allocations: 16.44 kB / 467.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.12, allocations: 35.92 kB / 467.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.1204, allocations: 286 kB / 467.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1204, allocations: 4 kB / 467.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.1204, allocations: 8 kB / 467.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1205, allocations: 8 kB / 467.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.1208, allocations: 187.8 kB / 467.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1222, allocations: 1.28 MB / 469 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1225, allocations: 115.8 kB / 469.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.1226, allocations: 42.64 kB / 469.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1226, allocations: 4 kB / 469.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1227, allocations: 34.55 kB / 469.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1227, allocations: 0 / 469.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009349/0.1236, allocations: 0.535 MB / 469.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.1237, allocations: 106.8 kB / 469.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.1239, allocations: 238.7 kB / 470.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.124, allocations: 25.7 kB / 470.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1241, allocations: 199.5 kB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1241, allocations: 35.45 kB / 470.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/0.1241, allocations: 8 kB / 470.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1243, allocations: 334.8 kB / 470.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.212e-05/0.1244, allocations: 47.91 kB / 470.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1245, allocations: 135 kB / 470.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1246, allocations: 52 kB / 470.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1246, allocations: 4 kB / 470.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000378/0.125, allocations: 229.9 kB / 471.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.125, allocations: 4 kB / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.125, allocations: 4 kB / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.1252, allocations: 37.25 kB / 471.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1255, allocations: 59.89 kB / 471.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1255, allocations: 11.94 kB / 471.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1256, allocations: 11.98 kB / 471.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.1256, allocations: 11.95 kB / 471.3 MB, free: 11.58 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.1258, allocations: 149.7 kB / 471.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.1258, allocations: 19.72 kB / 471.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.1261, allocations: 147.3 kB / 471.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1261, allocations: 96 / 471.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1261, allocations: 7.938 kB / 471.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1261, allocations: 3.984 kB / 471.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.1265, allocations: 285.5 kB / 471.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1265, allocations: 4 kB / 471.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1267, allocations: 27.92 kB / 471.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1267, allocations: 0 / 471.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1267, allocations: 8 kB / 471.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1267, allocations: 0 / 471.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1267, allocations: 8 kB / 471.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.1271, allocations: 367.2 kB / 472.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.1272, allocations: 100.9 kB / 472.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.1272, allocations: 0 / 472.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1274, allocations: 7.938 kB / 472.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.1274, allocations: 16.05 kB / 472.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1274, allocations: 4 kB / 472.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1276, allocations: 170 kB / 472.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 0 / 472.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.1279, allocations: 44 kB / 472.6 MB, free: 10.13 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 (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.0001158/0.128, allocations: 99.25 kB / 472.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.1284, allocations: 210.2 kB / 472.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1284, allocations: 4 kB / 472.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.1285, allocations: 47.92 kB / 472.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.129, allocations: 48.47 kB / 473 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1301, allocations: 0.7978 MB / 473.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1304, allocations: 0.7716 MB / 474.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.641e-05/0.1305, allocations: 23.44 kB / 474.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1305, allocations: 0 / 474.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Templates: time 0.005451/0.136, allocations: 3.461 MB / 478 MB, free: 4.582 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++ 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.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