Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.i.2.|impedance3.p.1.|impedance3.p.2.|impedance3.v.1.|impedance3.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 92.61 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.001814/0.001814, 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.407/1.407, allocations: 223.3 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1921/0.1921, allocations: 38.08 MB / 331.4 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.000413, allocations: 12 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 59.16 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006787/0.1249, allocations: 7.17 MB / 467.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.1304, allocations: 4.421 MB / 472.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.1308, allocations: 15.94 kB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.1312, allocations: 127.1 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.1334, allocations: 1.141 MB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.134, allocations: 295.3 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002202/0.1363, allocations: 2.58 MB / 476.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/0.1383, allocations: 1.254 MB / 477.5 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007271/0.1391, allocations: 477.7 kB / 478 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.1399, allocations: 0.6853 MB / 478.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.14, allocations: 32 kB / 478.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.1424, allocations: 1.59 MB / 480.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.1428, allocations: 446.9 kB / 480.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.1432, allocations: 415.6 kB / 481.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1445, allocations: 1.08 MB / 482.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1445, allocations: 0 / 482.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1445, allocations: 0 / 482.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1446, allocations: 0 / 482.2 MB, free: 1.27 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001419/0.146, allocations: 0.9836 MB / 483.2 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.146, allocations: 12.03 kB / 483.2 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.1489, allocations: 387.4 kB / 483.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/0.1496, allocations: 482.6 kB / 484.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.1496, allocations: 50.38 kB / 484.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1498, allocations: 80.27 kB / 484.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.1515, allocations: 1.176 MB / 485.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.1515, allocations: 4 kB / 485.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.1516, allocations: 27.98 kB / 485.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.581e-05/0.1517, allocations: 69.95 kB / 485.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.1534, allocations: 1.253 MB / 486.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004776/0.1582, allocations: 3.531 MB / 490.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.1597, allocations: 1.069 MB / 491.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/0.1606, allocations: 0.6527 MB / 492 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.1607, allocations: 28.95 kB / 492 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.1607, allocations: 43.56 kB / 492 MB, free: 7.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.795e-06/0.1607, allocations: 0 / 492 MB, free: 7.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006287/0.167, allocations: 3.106 MB / 495.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.1671, allocations: 90.23 kB / 495.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.1675, allocations: 357.7 kB / 495.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/0.1675, allocations: 45.64 kB / 495.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.1678, allocations: 320.1 kB / 495.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.168, allocations: 311.5 kB / 496.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1682, allocations: 73.67 kB / 496.3 MB, free: 2.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1683, allocations: 362.8 kB / 496.7 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.169, allocations: 469.7 kB / 497.1 MB, free: 2.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/0.1697, allocations: 0.5735 MB / 497.7 MB, free: 1.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.1712, allocations: 1.109 MB / 498.8 MB, free: 284 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1713, allocations: 4 kB / 498.8 MB, free: 280 kB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002439/0.1737, allocations: 1.477 MB / 0.4886 GB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1737, allocations: 6.5 kB / 0.4886 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1738, allocations: 4 kB / 0.4886 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009064/0.1747, allocations: 342.3 kB / 0.4889 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/0.1754, allocations: 179.7 kB / 0.4891 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.1803, allocations: 3.864 MB / 0.4929 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000509/0.1809, allocations: 51.94 kB / 0.4929 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.1809, allocations: 35.98 kB / 0.4929 GB, free: 10.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004201/0.1814, allocations: 298.5 kB / 0.4932 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1815, allocations: 55.34 kB / 0.4933 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.1841, allocations: 1.574 MB / 0.4948 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1842, allocations: 12 kB / 0.4948 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1842, allocations: 8 kB / 0.4948 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.1842, allocations: 3.984 kB / 0.4948 GB, free: 8.184 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.1888, allocations: 3.028 MB / 0.4978 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1888, allocations: 4 kB / 0.4978 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.1895, allocations: 171.7 kB / 0.498 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.1902, allocations: 292.9 kB / 0.4982 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.1903, allocations: 24 kB / 0.4983 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004575/0.1949, allocations: 3.607 MB / 0.5018 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1949, allocations: 4 kB / 0.5018 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2674/0.4623, allocations: 1.594 MB / 0.5033 GB, free: 55.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.4627, allocations: 137.6 kB / 0.5035 GB, free: 55.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.4628, allocations: 29.59 kB / 0.5035 GB, free: 55.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.4633, allocations: 39.8 kB / 0.5035 GB, free: 55.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.4635, allocations: 84.22 kB / 0.5036 GB, free: 55.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.852e-05/0.4636, allocations: 37.47 kB / 0.5037 GB, free: 55.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004407/0.4641, allocations: 257.7 kB / 0.5039 GB, free: 55.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4641, allocations: 0 / 0.5039 GB, free: 55.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4652, allocations: 307.2 kB / 0.5042 GB, free: 55.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001865/0.4654, allocations: 130.7 kB / 0.5043 GB, free: 55.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.4679, allocations: 1.39 MB / 0.5057 GB, free: 54.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4679, allocations: 5.375 kB / 0.5057 GB, free: 54.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.4691, allocations: 0.8428 MB / 0.5065 GB, free: 54.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.47, allocations: 106.6 kB / 0.5066 GB, free: 54.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.4732, allocations: 2.248 MB / 0.5088 GB, free: 53.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/0.474, allocations: 1.072 MB / 0.5098 GB, free: 52.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.4742, allocations: 71.69 kB / 0.5099 GB, free: 52.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4742, allocations: 0 / 0.5099 GB, free: 52.85 MB / 382.1 MB Notification: Performance of Templates: time 0.02096/0.4952, allocations: 12.09 MB / 0.5217 GB, free: 49.06 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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.Generic.Network.NetworkLoopCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoopCalcHelperMain.o] Error 1