Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007568/0.0007565, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.0009023/0.0009024, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.46/1.46, allocations: 223.2 MB / 242.2 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1789/0.1789, allocations: 38.1 MB / 331.5 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 8.844 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 59.17 MB / 460.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.007662/0.1464, allocations: 5.609 MB / 466.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1507, allocations: 1.994 MB / 468.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.1513, allocations: 27.81 kB / 468.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.1519, allocations: 115.1 kB / 468.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.1527, allocations: 282.8 kB / 468.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1538, allocations: 331.4 kB / 468.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.1549, allocations: 1.072 MB / 469.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.1559, allocations: 0.6189 MB / 470.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.1564, allocations: 274.8 kB / 470.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000654/0.1571, allocations: 446.7 kB / 471.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.1572, allocations: 28 kB / 471.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.1575, allocations: 159.7 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.1578, allocations: 259.2 kB / 471.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.1581, allocations: 324.1 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.1587, allocations: 0.6118 MB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1588, allocations: 0 / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1588, allocations: 0 / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1588, allocations: 4 kB / 472.6 MB, free: 10.86 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001581/0.1604, allocations: 0.8046 MB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1604, allocations: 8.031 kB / 473.5 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1614, allocations: 136 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.1623, allocations: 0.5004 MB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.1624, allocations: 37.11 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.1627, allocations: 139.8 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.1641, allocations: 0.8509 MB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.1641, allocations: 4 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.1642, allocations: 23.98 kB / 475.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004611/0.1647, allocations: 76.88 kB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009812/0.1657, allocations: 0.6204 MB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.1701, allocations: 3.8 MB / 479.6 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1712, allocations: 0.5422 MB / 480.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.1717, allocations: 319 kB / 480.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.1717, allocations: 16.31 kB / 480.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1718, allocations: 42.94 kB / 480.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 3.797e-06/0.1718, allocations: 0 / 480.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.003225/0.175, allocations: 1.838 MB / 482.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.1751, allocations: 85.58 kB / 482.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.1757, allocations: 413.8 kB / 482.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.1758, allocations: 41.64 kB / 482.9 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.176, allocations: 323.7 kB / 483.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.1762, allocations: 205.2 kB / 483.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1764, allocations: 73.69 kB / 483.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1765, allocations: 378.6 kB / 483.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.1771, allocations: 373.5 kB / 484.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/0.1779, allocations: 0.6018 MB / 484.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.1793, allocations: 1.061 MB / 485.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1793, allocations: 0 / 485.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00473/0.184, allocations: 2.007 MB / 487.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1841, allocations: 8 kB / 487.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.1841, allocations: 12 kB / 487.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.1867, allocations: 0.9733 MB / 488.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004932/0.1872, allocations: 115.8 kB / 489 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.1978, allocations: 7.395 MB / 496.4 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.1985, allocations: 40.03 kB / 496.4 MB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.1986, allocations: 32 kB / 496.5 MB, free: 2.062 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.199, allocations: 253.5 kB / 496.7 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1991, allocations: 51.38 kB / 496.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.2004, allocations: 0.7256 MB / 497.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2004, allocations: 8 kB / 497.5 MB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2004, allocations: 4 kB / 497.5 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2004, allocations: 0 / 497.5 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.2029, allocations: 1.532 MB / 499 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2029, allocations: 0 / 499 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.204, allocations: 187.8 kB / 499.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.204, allocations: 12.03 kB / 499.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/0.2041, allocations: 31.97 kB / 499.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.2041, allocations: 4 kB / 499.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.2041, allocations: 0 / 499.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2057, allocations: 0.9931 MB / 0.4885 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.2058, allocations: 124.5 kB / 0.4887 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/0.2059, allocations: 27.98 kB / 0.4887 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.2063, allocations: 27.97 kB / 0.4887 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.2064, allocations: 36.52 kB / 0.4887 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.2064, allocations: 8 kB / 0.4888 GB, free: 13.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003294/0.2067, allocations: 287.1 kB / 0.489 GB, free: 13.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.2067, allocations: 0 / 0.489 GB, free: 13.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009296/0.2077, allocations: 216 kB / 0.4892 GB, free: 13.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * 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.0002049/0.2079, allocations: 135 kB / 0.4894 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.2105, allocations: 1.453 MB / 0.4908 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2105, allocations: 0 / 0.4908 GB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.211, allocations: 306.9 kB / 0.4911 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.2118, allocations: 117.7 kB / 0.4912 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.2168, allocations: 3.302 MB / 0.4944 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.2175, allocations: 0.9804 MB / 0.4954 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.2178, allocations: 55.42 kB / 0.4954 GB, free: 6.969 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2178, allocations: 0 / 0.4954 GB, free: 6.969 MB / 382.1 MB Notification: Performance of Templates: time 0.2563/0.4741, allocations: 10.86 MB / 0.506 GB, free: 54.66 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.LineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o] Error 1