Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.0008962, allocations: 94.77 kB / 17.31 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.001102/0.001103, allocations: 177.7 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.454/1.454, allocations: 223.2 MB / 242.2 MB, free: 14.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1812/0.1812, allocations: 38.09 MB / 331.5 MB, free: 8.5 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003708, allocations: 11.98 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 59.17 MB / 460.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005574/0.1328, allocations: 5.356 MB / 465.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1352, allocations: 1.527 MB / 467.4 MB, free: 112 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.1355, allocations: 31.75 kB / 467.5 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.1359, allocations: 115.3 kB / 467.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006418/0.1366, allocations: 306.7 kB / 467.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.137, allocations: 135.8 kB / 468 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000907/0.1379, allocations: 1.068 MB / 469.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1381, allocations: 123.6 kB / 469.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.1385, allocations: 254.8 kB / 469.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.1391, allocations: 442.7 kB / 469.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.616e-05/0.1391, allocations: 24 kB / 469.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.1392, allocations: 24 kB / 469.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.1395, allocations: 219.4 kB / 470.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.1397, allocations: 276.4 kB / 470.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.1402, allocations: 482.8 kB / 470.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1402, allocations: 0 / 470.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1402, allocations: 0 / 470.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1402, allocations: 4 kB / 470.9 MB, free: 12.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00169/0.1419, allocations: 0.8505 MB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1419, allocations: 12.03 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1421, allocations: 52.38 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.1431, allocations: 0.5955 MB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.1431, allocations: 28.66 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/0.1433, allocations: 39.91 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.1441, allocations: 0.5479 MB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1441, allocations: 3.938 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.1442, allocations: 15.98 kB / 473 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000316/0.1445, allocations: 84.53 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.1451, allocations: 366.3 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.1479, allocations: 2.058 MB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000826/0.1488, allocations: 381.2 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.1493, allocations: 309.6 kB / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1493, allocations: 7.938 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1494, allocations: 38.5 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.1494, allocations: 0 / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004542/0.1539, allocations: 2.538 MB / 478.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.154, allocations: 81.11 kB / 478.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.1544, allocations: 381.6 kB / 479.2 MB, free: 3.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1545, allocations: 29.7 kB / 479.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.1547, allocations: 260.2 kB / 479.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1548, allocations: 130.2 kB / 479.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.1549, allocations: 53.69 kB / 479.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1551, allocations: 362.7 kB / 480 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1554, allocations: 245 kB / 480.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.1559, allocations: 374.6 kB / 480.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000895/0.1568, allocations: 0.6196 MB / 481.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1568, allocations: 0 / 481.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001757/0.1586, allocations: 1.006 MB / 482.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.1586, allocations: 7.938 kB / 482.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1586, allocations: 4 kB / 482.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.1598, allocations: 417.5 kB / 482.7 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.1601, allocations: 83.89 kB / 482.8 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/0.1652, allocations: 4.722 MB / 487.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.1656, allocations: 51.94 kB / 487.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.1657, allocations: 20 kB / 487.6 MB, free: 11.06 MB / 366.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000289/0.1659, allocations: 197.7 kB / 487.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.166, allocations: 47.44 kB / 487.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.1675, allocations: 0.8348 MB / 488.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1675, allocations: 4 kB / 488.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.1675, allocations: 11.92 kB / 488.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1675, allocations: 0 / 488.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.1696, allocations: 1.418 MB / 490.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1696, allocations: 0 / 490.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.1698, allocations: 39.97 kB / 490.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/0.1709, allocations: 449.3 kB / 490.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.171, allocations: 31.97 kB / 490.6 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005343/0.1763, allocations: 6.253 MB / 496.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1763, allocations: 0 / 496.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.1782, allocations: 1.132 MB / 498 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.1784, allocations: 116.5 kB / 498.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.1785, allocations: 31.92 kB / 498.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.1788, allocations: 39.94 kB / 498.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.1789, allocations: 39.89 kB / 498.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.1789, allocations: 11.98 kB / 498.2 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003281/0.1793, allocations: 267.1 kB / 498.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1793, allocations: 0 / 498.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007446/0.18, allocations: 156 kB / 498.6 MB, free: 15.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002353/0.1803, allocations: 129.4 kB / 498.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.1819, allocations: 0.9002 MB / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1819, allocations: 0 / 499.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.1834, allocations: 1.083 MB / 0.489 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.1841, allocations: 125.4 kB / 0.4891 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.1872, allocations: 2.273 MB / 0.4913 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.1877, allocations: 0.8859 MB / 0.4922 GB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.1878, allocations: 31.44 kB / 0.4922 GB, free: 9.625 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1878, allocations: 0 / 0.4922 GB, free: 9.625 MB / 382.1 MB Notification: Performance of Templates: time 0.2618/0.4496, allocations: 13.2 MB / 0.5051 GB, free: 55.62 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.LineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LineCalcHelperMain.o] Error 1