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.001329/0.001329, allocations: 108.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.002107/0.002107, 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1753/0.1753, allocations: 38.03 MB / 329.9 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001095, allocations: 57.59 kB / 398.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1223, allocations: 58.06 MB / 456.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007188/0.1295, allocations: 5.754 MB / 462.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.1323, allocations: 1.547 MB / 464.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.1328, allocations: 35.75 kB / 464.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.1332, allocations: 111.3 kB / 464.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006553/0.134, allocations: 306.7 kB / 464.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1344, allocations: 143.8 kB / 464.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008935/0.1353, allocations: 1.067 MB / 465.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002247/0.1355, allocations: 131.5 kB / 465.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.1359, allocations: 258.9 kB / 466.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005732/0.1365, allocations: 454.6 kB / 466.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.912e-05/0.1365, allocations: 28 kB / 466.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.1366, allocations: 28 kB / 466.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.1369, allocations: 219.5 kB / 466.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.1372, allocations: 262.7 kB / 467.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.1376, allocations: 495 kB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1376, allocations: 0 / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1376, allocations: 0 / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.1376, allocations: 0 / 467.6 MB, free: 13.68 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.001893/0.1395, allocations: 0.9479 MB / 468.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1396, allocations: 8.031 kB / 468.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.1397, allocations: 60.27 kB / 468.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.1407, allocations: 0.5838 MB / 469.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1407, allocations: 32.66 kB / 469.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/0.1409, allocations: 40 kB / 469.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.1416, allocations: 0.5479 MB / 469.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.1417, allocations: 11.94 kB / 469.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.205e-05/0.1417, allocations: 16 kB / 469.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/0.142, allocations: 80.53 kB / 469.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.1425, allocations: 362.3 kB / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.1453, allocations: 2.062 MB / 472.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.1462, allocations: 388.3 kB / 472.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/0.1467, allocations: 313.6 kB / 473 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1468, allocations: 7.938 kB / 473 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1468, allocations: 42.5 kB / 473.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.1468, allocations: 0 / 473.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004272/0.1511, allocations: 2.538 MB / 475.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.1511, allocations: 85.11 kB / 475.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.1515, allocations: 377.6 kB / 476 MB, free: 4.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1515, allocations: 29.7 kB / 476.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1517, allocations: 256.2 kB / 476.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1518, allocations: 134.1 kB / 476.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.152, allocations: 94.25 kB / 476.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1521, allocations: 366.7 kB / 476.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.1524, allocations: 245 kB / 477.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.1529, allocations: 374.5 kB / 477.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.1537, allocations: 0.6196 MB / 478.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1537, allocations: 0 / 478.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001581/0.1553, allocations: 1.01 MB / 479.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1553, allocations: 16 kB / 479.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1553, allocations: 4 kB / 479.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009265/0.1562, allocations: 409.2 kB / 479.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1565, allocations: 83.89 kB / 479.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/0.1612, allocations: 4.734 MB / 484.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.1615, allocations: 39.94 kB / 484.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.1616, allocations: 20 kB / 484.4 MB, free: 11.94 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.0002582/0.1618, allocations: 201.7 kB / 484.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.1619, allocations: 43.59 kB / 484.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.1633, allocations: 0.8387 MB / 485.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1633, allocations: 4 kB / 485.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1633, allocations: 7.938 kB / 485.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1633, allocations: 4 kB / 485.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.1653, allocations: 1.41 MB / 486.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1653, allocations: 0 / 486.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.1655, allocations: 44 kB / 487 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.1666, allocations: 445.2 kB / 487.4 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.1667, allocations: 31.97 kB / 487.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00499/0.1717, allocations: 6.257 MB / 493.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1717, allocations: 0 / 493.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1733, allocations: 1.124 MB / 494.8 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1735, allocations: 124.5 kB / 494.9 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/0.1735, allocations: 31.92 kB / 495 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1738, allocations: 35.94 kB / 495 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.1739, allocations: 35.89 kB / 495 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.174, allocations: 15.98 kB / 495.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1742, allocations: 271.1 kB / 495.3 MB, free: 300 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1742, allocations: 0 / 495.3 MB, free: 300 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006138/0.1748, allocations: 156 kB / 495.5 MB, free: 144 kB / 366.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.0001534/0.175, allocations: 123 kB / 495.6 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.1765, allocations: 0.9119 MB / 496.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1765, allocations: 0 / 496.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.1779, allocations: 1.079 MB / 497.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.1786, allocations: 123.5 kB / 497.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.1813, allocations: 2.052 MB / 499.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.1817, allocations: 0.8742 MB / 0.4889 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.1818, allocations: 39.42 kB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1818, allocations: 0 / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01426/0.1961, allocations: 13.25 MB / 0.5019 GB, free: 13.49 MB / 398.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