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.0008488/0.0008487, allocations: 100.7 kB / 16.96 MB, free: 5.297 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.0009509/0.0009509, allocations: 185.6 kB / 17.85 MB, free: 4.934 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.314/1.314, allocations: 223.2 MB / 241.9 MB, free: 116 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1834/0.1834, allocations: 38.09 MB / 331.1 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 11.98 kB / 400.7 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09642/0.09671, allocations: 59.16 MB / 459.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00646/0.1032, allocations: 6.753 MB / 466.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005095/0.1083, allocations: 4.123 MB / 470.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.1088, allocations: 15.94 kB / 470.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.1092, allocations: 139 kB / 470.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.1112, allocations: 0.8834 MB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.1119, allocations: 231.4 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.114, allocations: 1.909 MB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.1161, allocations: 1.181 MB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/0.1171, allocations: 489.8 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.1179, allocations: 0.6581 MB / 476.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.868e-05/0.118, allocations: 32 kB / 476.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.1196, allocations: 0.7402 MB / 477 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003882/0.12, allocations: 446.9 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.1202, allocations: 173.3 kB / 477.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.1214, allocations: 1.033 MB / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1214, allocations: 0 / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1214, allocations: 0 / 478.6 MB, free: 4.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1214, allocations: 0 / 478.6 MB, free: 4.527 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.001326/0.1227, allocations: 0.9913 MB / 479.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1228, allocations: 8.031 kB / 479.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002808/0.1256, allocations: 390.5 kB / 480 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.1263, allocations: 473.5 kB / 480.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.1264, allocations: 53.94 kB / 480.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.1265, allocations: 79.92 kB / 480.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.1282, allocations: 1.168 MB / 481.8 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.1282, allocations: 4 kB / 481.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.1283, allocations: 31.97 kB / 481.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.951e-05/0.1284, allocations: 73.91 kB / 481.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.1302, allocations: 1.233 MB / 483.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/0.1353, allocations: 3.527 MB / 486.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.1369, allocations: 1.069 MB / 487.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/0.1378, allocations: 0.6528 MB / 488.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.1378, allocations: 16.97 kB / 488.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1379, allocations: 43.56 kB / 488.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.786e-06/0.1379, allocations: 3.938 kB / 488.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006182/0.1441, allocations: 3.056 MB / 491.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.1442, allocations: 90.05 kB / 491.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.1445, allocations: 353.7 kB / 491.9 MB, free: 6.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.1446, allocations: 41.7 kB / 492 MB, free: 6.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1448, allocations: 324.1 kB / 492.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.1451, allocations: 311.4 kB / 492.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.1451, allocations: 16 kB / 492.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1453, allocations: 378.7 kB / 493 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.146, allocations: 461.7 kB / 493.4 MB, free: 5.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.1467, allocations: 0.5734 MB / 494 MB, free: 4.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.1476, allocations: 0.5301 MB / 494.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1476, allocations: 0 / 494.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002395/0.15, allocations: 1.469 MB / 496 MB, free: 2.797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.15, allocations: 8 kB / 496 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.15, allocations: 0 / 496 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008737/0.1509, allocations: 338.4 kB / 496.3 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.1516, allocations: 175.7 kB / 496.5 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/0.1563, allocations: 3.874 MB / 0.4886 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1568, allocations: 47.95 kB / 0.4887 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.1569, allocations: 39.95 kB / 0.4887 GB, free: 14.16 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.0004701/0.1574, allocations: 298.5 kB / 0.489 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1575, allocations: 59.25 kB / 0.4891 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.1601, allocations: 1.559 MB / 0.4906 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1601, allocations: 12 kB / 0.4906 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1601, allocations: 4 kB / 0.4906 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.1601, allocations: 7.969 kB / 0.4906 GB, free: 12.21 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.004642/0.1648, allocations: 3.024 MB / 0.4936 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.1648, allocations: 8 kB / 0.4936 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.1654, allocations: 163.8 kB / 0.4937 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/0.1662, allocations: 288.9 kB / 0.494 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/0.1662, allocations: 31.92 kB / 0.494 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.1708, allocations: 3.591 MB / 0.4975 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.1708, allocations: 12 kB / 0.4976 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.1731, allocations: 1.588 MB / 0.4991 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.1733, allocations: 144.3 kB / 0.4992 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.1734, allocations: 24 kB / 0.4993 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.1738, allocations: 43.95 kB / 0.4993 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.1739, allocations: 80.8 kB / 0.4994 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/0.174, allocations: 35.98 kB / 0.4994 GB, free: 2.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.1742, allocations: 259.1 kB / 0.4997 GB, free: 2.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1743, allocations: 0 / 0.4997 GB, free: 2.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000948/0.1752, allocations: 308 kB / 0.5 GB, free: 2.273 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.0001607/0.1754, allocations: 130.9 kB / 0.5001 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.1775, allocations: 1.382 MB / 0.5014 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1775, allocations: 4 kB / 0.5014 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1897/0.3672, allocations: 0.8325 MB / 0.5023 GB, free: 55.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/0.3682, allocations: 105 kB / 0.5024 GB, free: 55.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.3712, allocations: 2.172 MB / 0.5045 GB, free: 55.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006658/0.3719, allocations: 1.071 MB / 0.5055 GB, free: 54.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.3721, allocations: 70.14 kB / 0.5056 GB, free: 54.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3722, allocations: 0.5469 kB / 0.5056 GB, free: 54.39 MB / 382.1 MB Notification: Performance of Templates: time 0.01756/0.3897, allocations: 12.11 MB / 0.5174 GB, free: 51.24 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++ 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.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