Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter0.alpha_v|meter0.p.1.|meter0.v_norm|meter1.alpha_v|meter1.p.1.|meter1.v_norm|meter2.alpha_v|meter2.p.1.|meter2.v_norm",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001048, allocations: 110.2 kB / 17.16 MB, free: 6.324 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.001005/0.001005, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.393/1.393, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1671/0.1671, allocations: 38.03 MB / 329.9 MB, free: 9.105 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 64.67 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, allocations: 58.06 MB / 456.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01458/0.1374, allocations: 10.98 MB / 467.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007762/0.1452, allocations: 3.716 MB / 471.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.1469, allocations: 75.5 kB / 471.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003029/0.15, allocations: 1.008 MB / 472.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.1521, allocations: 0.5912 MB / 473.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.1544, allocations: 0.6472 MB / 473.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003338/0.1578, allocations: 2.464 MB / 476.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.1597, allocations: 0.8808 MB / 477.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.1612, allocations: 0.6184 MB / 477.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.1635, allocations: 0.9931 MB / 478.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.1638, allocations: 72 kB / 478.8 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.1653, allocations: 467.2 kB / 479.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.1664, allocations: 0.639 MB / 479.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.1678, allocations: 0.6723 MB / 480.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.1694, allocations: 1.349 MB / 482 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1694, allocations: 0 / 482 MB, free: 15.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1694, allocations: 0 / 482 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.004e-05/0.1695, allocations: 0 / 482 MB, free: 15.29 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003727/0.1732, allocations: 1.65 MB / 483.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1733, allocations: 8.031 kB / 483.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.175, allocations: 274.9 kB / 483.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.1766, allocations: 0.8402 MB / 484.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.1767, allocations: 86.7 kB / 484.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003824/0.1771, allocations: 156 kB / 485 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.1801, allocations: 1.858 MB / 486.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/0.1801, allocations: 11.88 kB / 486.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.1802, allocations: 52 kB / 486.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003036/0.1806, allocations: 94.16 kB / 487 MB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.183, allocations: 1.491 MB / 488.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009668/0.1927, allocations: 8.292 MB / 496.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.1941, allocations: 1.162 MB / 497.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/0.1948, allocations: 489.9 kB / 498.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.1949, allocations: 20.56 kB / 498.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1949, allocations: 39.22 kB / 498.5 MB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 4.007e-06/0.195, allocations: 3.984 kB / 498.5 MB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.004176/0.1991, allocations: 2.437 MB / 0.4892 GB, free: 11.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.1992, allocations: 89.7 kB / 0.4892 GB, free: 11.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.2002, allocations: 0.8175 MB / 0.49 GB, free: 10.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.2003, allocations: 45.69 kB / 0.4901 GB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.2008, allocations: 0.6841 MB / 0.4908 GB, free: 9.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.2011, allocations: 303.7 kB / 0.491 GB, free: 9.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003447/0.2014, allocations: 259.3 kB / 0.4913 GB, free: 9.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.2017, allocations: 414.7 kB / 0.4917 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.2024, allocations: 451.7 kB / 0.4921 GB, free: 8.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.2034, allocations: 1.008 MB / 0.4931 GB, free: 7.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.2054, allocations: 1.585 MB / 0.4946 GB, free: 5.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.2055, allocations: 4 kB / 0.4947 GB, free: 5.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003132/0.2086, allocations: 1.772 MB / 0.4964 GB, free: 3.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2087, allocations: 12 kB / 0.4964 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001661/0.2103, allocations: 0.992 MB / 0.4974 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008949/0.2112, allocations: 250.7 kB / 0.4976 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/0.2122, allocations: 319.4 kB / 0.4979 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.2167, allocations: 4.786 MB / 0.5026 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.2175, allocations: 51.98 kB / 0.5026 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.2177, allocations: 71.98 kB / 0.5027 GB, free: 12.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007398/0.2184, allocations: 433.2 kB / 0.5031 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.2186, allocations: 98.72 kB / 0.5032 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.2202, allocations: 0.9533 MB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2202, allocations: 15.97 kB / 0.5042 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2202, allocations: 8 kB / 0.5042 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2202, allocations: 3.984 kB / 0.5042 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/0.2239, allocations: 2.119 MB / 0.5062 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2239, allocations: 4 kB / 0.5062 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.2247, allocations: 175.8 kB / 0.5064 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.2248, allocations: 8.188 kB / 0.5064 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.2248, allocations: 27.98 kB / 0.5064 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.2248, allocations: 4 kB / 0.5064 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2249, allocations: 11.88 kB / 0.5065 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2267, allocations: 1.404 MB / 0.5078 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.227, allocations: 163.8 kB / 0.508 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.2271, allocations: 27.89 kB / 0.508 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.2276, allocations: 23.98 kB / 0.508 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.44e-05/0.2277, allocations: 52.52 kB / 0.5081 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/0.2277, allocations: 32 kB / 0.5081 GB, free: 6.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006693/0.2284, allocations: 0.538 MB / 0.5086 GB, free: 6.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2284, allocations: 0 / 0.5086 GB, free: 6.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001084/0.2295, allocations: 296 kB / 0.5089 GB, free: 6.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * 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 (86): * Single equations (assignments): 85 * 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.0002149/0.2297, allocations: 123.2 kB / 0.509 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.2319, allocations: 1.457 MB / 0.5105 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2319, allocations: 1.75 kB / 0.5105 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005418/0.2325, allocations: 411.4 kB / 0.5109 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.2334, allocations: 183.7 kB / 0.511 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.2382, allocations: 3.352 MB / 0.5143 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2026/0.4408, allocations: 1.243 MB / 0.5155 GB, free: 69.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.4413, allocations: 92.8 kB / 0.5156 GB, free: 69.46 MB / 398.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4413, allocations: 0 / 0.5156 GB, free: 69.46 MB / 398.1 MB Notification: Performance of Templates: time 0.03465/0.476, allocations: 20.28 MB / 0.5354 GB, free: 62.63 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.Transmission.VoltageStabilityCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStabilityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStabilityCalcHelperMain.o] Error 1