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.001108/0.001108, allocations: 107.5 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.001001/0.001001, 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1682/0.1682, allocations: 38.04 MB / 329.9 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 59.91 kB / 398.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.116, allocations: 58.06 MB / 456.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005287/0.1213, allocations: 4.526 MB / 461.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1227, allocations: 0.9777 MB / 462.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.1229, allocations: 19.88 kB / 462.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.1231, allocations: 31.77 kB / 462.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.1235, allocations: 151.2 kB / 462.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1237, allocations: 71.92 kB / 462.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.1241, allocations: 0.5257 MB / 463.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1243, allocations: 93.69 kB / 463.2 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1245, allocations: 151.3 kB / 463.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1248, allocations: 191.2 kB / 463.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1249, allocations: 12 kB / 463.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.434e-05/0.1249, allocations: 12 kB / 463.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.125, allocations: 75.8 kB / 463.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1252, allocations: 143.2 kB / 463.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1254, allocations: 211.5 kB / 464 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1254, allocations: 0 / 464 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1254, allocations: 0 / 464 MB, free: 1.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1254, allocations: 0 / 464 MB, free: 1.312 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.0009593/0.1264, allocations: 0.6001 MB / 464.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1264, allocations: 8.031 kB / 464.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.1265, allocations: 32.56 kB / 464.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.127, allocations: 319 kB / 464.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.127, allocations: 16.8 kB / 464.9 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1271, allocations: 40.06 kB / 465 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.1276, allocations: 294.1 kB / 465.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1276, allocations: 7.938 kB / 465.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1276, allocations: 4 kB / 465.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1276, allocations: 8 kB / 465.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1279, allocations: 179.8 kB / 465.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.1295, allocations: 1.28 MB / 466.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1298, allocations: 123.8 kB / 466.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.1299, allocations: 54.62 kB / 466.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.1299, allocations: 4 kB / 466.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.1299, allocations: 30.56 kB / 466.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1299, allocations: 0 / 466.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009525/0.1309, allocations: 0.5273 MB / 467.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.131, allocations: 114.8 kB / 467.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.1312, allocations: 238.7 kB / 467.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1312, allocations: 25.7 kB / 467.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.1314, allocations: 203.5 kB / 468 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.1314, allocations: 39.45 kB / 468.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.1315, allocations: 41.7 kB / 468.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1317, allocations: 334.8 kB / 468.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.1317, allocations: 43.98 kB / 468.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1319, allocations: 130.7 kB / 468.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1321, allocations: 203.7 kB / 468.8 MB, free: 12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1321, allocations: 0 / 468.8 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004005/0.1325, allocations: 229.9 kB / 469 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1326, allocations: 8 kB / 469 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.1326, allocations: 4 kB / 469 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/0.1327, allocations: 28.78 kB / 469.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.133, allocations: 67.88 kB / 469.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.1331, allocations: 11.94 kB / 469.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.1332, allocations: 12.38 kB / 469.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1332, allocations: 8 kB / 469.2 MB, free: 11.62 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.0001571/0.1334, allocations: 149.8 kB / 469.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.1334, allocations: 19.72 kB / 469.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.1337, allocations: 151.2 kB / 469.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1337, allocations: 3.938 kB / 469.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/0.1338, allocations: 4 kB / 469.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1338, allocations: 4 kB / 469.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.1342, allocations: 281.5 kB / 469.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1342, allocations: 0 / 469.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1344, allocations: 31.92 kB / 469.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1344, allocations: 0 / 469.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.1344, allocations: 11.98 kB / 469.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1344, allocations: 3.938 kB / 469.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1344, allocations: 0 / 469.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.1349, allocations: 363.2 kB / 470.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.851e-05/0.1349, allocations: 100.8 kB / 470.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.135, allocations: 4 kB / 470.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.1351, allocations: 7.938 kB / 470.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.1352, allocations: 11.98 kB / 470.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1352, allocations: 4 kB / 470.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.1353, allocations: 174 kB / 470.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1354, allocations: 8 kB / 470.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1357, allocations: 44 kB / 470.5 MB, free: 10.18 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.0001276/0.1358, allocations: 99.25 kB / 470.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.1362, allocations: 217.7 kB / 470.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1362, allocations: 0.8125 kB / 470.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.1363, allocations: 55.92 kB / 470.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.1368, allocations: 44.53 kB / 470.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.138, allocations: 0.725 MB / 471.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1384, allocations: 0.7716 MB / 472.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.1385, allocations: 19.44 kB / 472.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1385, allocations: 0 / 472.4 MB, free: 8.148 MB / 350.1 MB Notification: Performance of Templates: time 0.006278/0.1448, allocations: 3.485 MB / 475.9 MB, free: 4.672 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