Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|impedance3.i.1.|impedance3.p.1.|impedance3.v.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008287/0.0008285, allocations: 90.56 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.0008021/0.0008021, allocations: 183.2 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.363/1.363, allocations: 223.2 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1683/0.1683, allocations: 38.1 MB / 331.1 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 59.16 MB / 459.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007068/0.127, allocations: 6.886 MB / 466.8 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005298/0.1324, allocations: 3.917 MB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.1329, allocations: 15.94 kB / 470.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.1333, allocations: 135 kB / 470.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1352, allocations: 0.7976 MB / 471.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.1359, allocations: 223.4 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.1377, allocations: 1.874 MB / 473.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.1382, allocations: 312.1 kB / 474 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.1389, allocations: 465.7 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007328/0.1396, allocations: 0.5683 MB / 475 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.1397, allocations: 20 kB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1407, allocations: 474.3 kB / 475.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.141, allocations: 251.3 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1411, allocations: 117.4 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.1418, allocations: 0.5767 MB / 476.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1418, allocations: 3.938 kB / 476.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1418, allocations: 4 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1418, allocations: 4 kB / 476.5 MB, free: 6.746 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009538/0.1428, allocations: 0.7181 MB / 477.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1428, allocations: 12.03 kB / 477.2 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.1442, allocations: 123.3 kB / 477.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.1446, allocations: 317.2 kB / 477.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.1447, allocations: 36.98 kB / 477.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.1447, allocations: 43.94 kB / 477.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.1455, allocations: 0.5827 MB / 478.3 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1456, allocations: 3.938 kB / 478.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.861e-05/0.1456, allocations: 16 kB / 478.3 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.1457, allocations: 32.62 kB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005245/0.1462, allocations: 386.1 kB / 478.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002242/0.1484, allocations: 2.611 MB / 481.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/0.1491, allocations: 438.2 kB / 481.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.1494, allocations: 206.4 kB / 482 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1495, allocations: 7.984 kB / 482 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.1495, allocations: 34.56 kB / 482 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.325e-06/0.1495, allocations: 0 / 482 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001611/0.1511, allocations: 0.7618 MB / 482.8 MB, free: 96 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.1512, allocations: 106.8 kB / 482.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.1516, allocations: 320.5 kB / 483.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.1516, allocations: 33.7 kB / 483.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1518, allocations: 247.8 kB / 483.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.1519, allocations: 114.4 kB / 483.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/0.1519, allocations: 8.062 kB / 483.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.152, allocations: 350.8 kB / 483.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1522, allocations: 128.7 kB / 484 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.1525, allocations: 276 kB / 484.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.1527, allocations: 181.2 kB / 484.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1527, allocations: 0 / 484.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007964/0.1535, allocations: 0.562 MB / 485 MB, free: 13.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1536, allocations: 4 kB / 485.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1536, allocations: 8 kB / 485.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003204/0.1539, allocations: 113.3 kB / 485.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.1542, allocations: 79.84 kB / 485.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.1565, allocations: 2.336 MB / 487.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1567, allocations: 47.47 kB / 487.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1568, allocations: 20 kB / 487.6 MB, free: 10.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.157, allocations: 205.7 kB / 487.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.1571, allocations: 39.53 kB / 487.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.846e-05/0.1572, allocations: 47.95 kB / 487.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1572, allocations: 4 kB / 487.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.1572, allocations: 4 kB / 487.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1573, allocations: 3.984 kB / 487.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.1585, allocations: 0.9377 MB / 488.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1585, allocations: 7.984 kB / 488.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.1586, allocations: 35.98 kB / 488.9 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.1588, allocations: 100.9 kB / 489 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.1589, allocations: 15.94 kB / 489 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00229/0.1612, allocations: 2.326 MB / 491.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1612, allocations: 4.031 kB / 491.4 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.1619, allocations: 0.6342 MB / 492 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.162, allocations: 112.7 kB / 492.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.162, allocations: 15.94 kB / 492.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.1622, allocations: 4 kB / 492.1 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1622, allocations: 23.97 kB / 492.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1622, allocations: 8 kB / 492.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.1624, allocations: 223 kB / 492.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1625, allocations: 0 / 492.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006286/0.1631, allocations: 155.8 kB / 492.5 MB, free: 5.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001124/0.1632, allocations: 112.5 kB / 492.6 MB, free: 5.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007473/0.164, allocations: 0.5111 MB / 493.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.164, allocations: 0 / 493.2 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.1644, allocations: 334.4 kB / 493.5 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.1649, allocations: 53.8 kB / 493.5 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.1661, allocations: 1.024 MB / 494.6 MB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1666, allocations: 0.8785 MB / 495.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.1666, allocations: 23.44 kB / 495.5 MB, free: 2.727 MB / 366.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1667, allocations: 4.188 kB / 495.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of Templates: time 0.007717/0.1744, allocations: 6.079 MB / 0.4898 GB, free: 12.63 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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_dCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_dCalcHelperMain.o] Error 1