Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,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_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,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_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 89.58 kB / 16.95 MB, free: 5.66 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.00137/0.00137, allocations: 184.1 kB / 17.85 MB, free: 5.312 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.341/1.341, allocations: 223.2 MB / 241.9 MB, free: 14.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1702/0.1702, allocations: 38.09 MB / 331.1 MB, free: 8.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 8 kB / 400.7 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1121, allocations: 59.16 MB / 459.9 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.00698/0.1191, allocations: 6.761 MB / 466.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.1247, allocations: 4.123 MB / 470.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.1252, allocations: 11.94 kB / 470.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.1257, allocations: 143 kB / 470.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.1282, allocations: 0.8795 MB / 471.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007461/0.129, allocations: 227.4 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.1308, allocations: 1.917 MB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.133, allocations: 1.177 MB / 475.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.1339, allocations: 489.7 kB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008564/0.1348, allocations: 0.6581 MB / 476.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.1349, allocations: 32 kB / 476.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.1364, allocations: 0.7441 MB / 477 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.1368, allocations: 454.9 kB / 477.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.137, allocations: 169.3 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1382, allocations: 1.029 MB / 478.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1382, allocations: 0 / 478.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1382, allocations: 0 / 478.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1382, allocations: 0 / 478.6 MB, free: 4.547 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.001341/0.1396, allocations: 0.9913 MB / 479.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1396, allocations: 15.97 kB / 479.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/0.1424, allocations: 386.5 kB / 480 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.1431, allocations: 477.4 kB / 480.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.545e-05/0.1431, allocations: 53.98 kB / 480.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.1432, allocations: 68 kB / 480.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.145, allocations: 1.172 MB / 481.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.1451, allocations: 3.938 kB / 481.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.1452, allocations: 31.98 kB / 481.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-05/0.1453, allocations: 77.89 kB / 481.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.147, allocations: 1.233 MB / 483.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.1521, allocations: 3.523 MB / 486.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.1537, allocations: 1.068 MB / 487.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008512/0.1546, allocations: 0.6567 MB / 488.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.836e-05/0.1547, allocations: 20.97 kB / 488.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1547, allocations: 47.56 kB / 488.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.766e-06/0.1547, allocations: 0 / 488.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006126/0.1608, allocations: 3.048 MB / 491.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.1609, allocations: 90.23 kB / 491.6 MB, free: 7.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.1614, allocations: 357.7 kB / 491.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.1614, allocations: 45.64 kB / 492 MB, free: 6.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.1616, allocations: 324.1 kB / 492.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.162, allocations: 311.4 kB / 492.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.162, allocations: 12 kB / 492.6 MB, free: 6.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1622, allocations: 370.7 kB / 493 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000902/0.1631, allocations: 465.7 kB / 493.4 MB, free: 5.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.1642, allocations: 0.5734 MB / 494 MB, free: 4.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.1654, allocations: 0.534 MB / 494.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.1654, allocations: 4 kB / 494.5 MB, free: 4.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002872/0.1683, allocations: 1.465 MB / 496 MB, free: 2.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1683, allocations: 4 kB / 496 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1683, allocations: 7.984 kB / 496 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008715/0.1692, allocations: 334.4 kB / 496.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.1698, allocations: 187.7 kB / 496.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004945/0.1748, allocations: 3.86 MB / 0.4887 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.1753, allocations: 52.02 kB / 0.4887 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.1754, allocations: 35.98 kB / 0.4887 GB, free: 14.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004255/0.1758, allocations: 294.4 kB / 0.489 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1759, allocations: 63.25 kB / 0.4891 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002523/0.1785, allocations: 1.559 MB / 0.4906 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.1785, allocations: 8 kB / 0.4906 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1785, allocations: 8 kB / 0.4906 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.1785, allocations: 3.984 kB / 0.4906 GB, free: 12.23 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.004489/0.183, allocations: 3.028 MB / 0.4936 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.183, allocations: 4 kB / 0.4936 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005797/0.1836, allocations: 172.2 kB / 0.4937 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007242/0.1843, allocations: 292.4 kB / 0.494 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.1844, allocations: 23.98 kB / 0.494 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004513/0.1889, allocations: 3.609 MB / 0.4976 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.189, allocations: 4 kB / 0.4976 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.1913, allocations: 1.589 MB / 0.4991 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.1915, allocations: 148.3 kB / 0.4993 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/0.1916, allocations: 23.98 kB / 0.4993 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.192, allocations: 35.97 kB / 0.4993 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.1921, allocations: 88.78 kB / 0.4994 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.1922, allocations: 35.98 kB / 0.4994 GB, free: 2.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002925/0.1925, allocations: 255.2 kB / 0.4997 GB, free: 2.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1925, allocations: 0 / 0.4997 GB, free: 2.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001038/0.1936, allocations: 304 kB / 0.5 GB, free: 2.289 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.1938, allocations: 135 kB / 0.5001 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.1958, allocations: 1.382 MB / 0.5015 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1958, allocations: 4.062 kB / 0.5015 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2056/0.4015, allocations: 0.8305 MB / 0.5023 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.4025, allocations: 105.8 kB / 0.5024 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.4056, allocations: 2.169 MB / 0.5045 GB, free: 54.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.4063, allocations: 1.069 MB / 0.5055 GB, free: 53.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.4065, allocations: 71.16 kB / 0.5056 GB, free: 53.9 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4065, allocations: 1.094 kB / 0.5056 GB, free: 53.9 MB / 382.1 MB Notification: Performance of Templates: time 0.01769/0.4242, allocations: 12.11 MB / 0.5174 GB, free: 50.79 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dqCalcHelperMain.o] Error 1