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.001161/0.001161, allocations: 105.6 kB / 17.16 MB, free: 6.082 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.001029/0.001029, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1759/0.1759, allocations: 38.05 MB / 329.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 62.09 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1165, allocations: 58.05 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007631/0.1242, allocations: 7.751 MB / 464.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.1293, allocations: 4.245 MB / 468.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005131/0.1299, allocations: 15.94 kB / 468.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.1322, allocations: 0.987 MB / 469.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.1347, allocations: 1.055 MB / 470.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.1355, allocations: 271.3 kB / 471.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00236/0.1379, allocations: 2.549 MB / 473.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.1384, allocations: 276.7 kB / 473.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006909/0.1391, allocations: 457.7 kB / 474.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007205/0.1398, allocations: 0.6306 MB / 475 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.1398, allocations: 24 kB / 475 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.1418, allocations: 1.247 MB / 476.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.1421, allocations: 263.3 kB / 476.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.1423, allocations: 234.9 kB / 476.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008094/0.1431, allocations: 0.612 MB / 477.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1431, allocations: 7.875 kB / 477.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1431, allocations: 4 kB / 477.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1431, allocations: 0 / 477.4 MB, free: 3.875 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.001083/0.1442, allocations: 0.804 MB / 478.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1443, allocations: 8.031 kB / 478.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.1458, allocations: 128.3 kB / 478.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1462, allocations: 322.4 kB / 478.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1462, allocations: 33.36 kB / 478.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.1463, allocations: 40.36 kB / 478.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007407/0.147, allocations: 0.5938 MB / 479.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.147, allocations: 0 / 479.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.1471, allocations: 23.98 kB / 479.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/0.1471, allocations: 32.62 kB / 479.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005143/0.1476, allocations: 386.1 kB / 479.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.1499, allocations: 2.611 MB / 482.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.1505, allocations: 423.8 kB / 482.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1507, allocations: 207.1 kB / 483 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1508, allocations: 11.94 kB / 483 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1508, allocations: 42.48 kB / 483 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.1508, allocations: 3.938 kB / 483 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001575/0.1524, allocations: 0.7564 MB / 483.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.1525, allocations: 106.8 kB / 483.9 MB, free: 13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.1528, allocations: 324.8 kB / 484.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1528, allocations: 33.7 kB / 484.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1529, allocations: 247.8 kB / 484.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/0.153, allocations: 118.3 kB / 484.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.1531, allocations: 78.12 kB / 484.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1533, allocations: 342.8 kB / 485 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1534, allocations: 132.8 kB / 485.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.1537, allocations: 277.3 kB / 485.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.1542, allocations: 460.1 kB / 485.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1542, allocations: 4 kB / 485.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007723/0.155, allocations: 0.5621 MB / 486.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.155, allocations: 8 kB / 486.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.155, allocations: 4 kB / 486.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.1554, allocations: 124.7 kB / 486.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.1556, allocations: 67.91 kB / 486.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.1579, allocations: 2.348 MB / 489 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1581, allocations: 47.53 kB / 489 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.1581, allocations: 23.94 kB / 489 MB, free: 7.516 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 (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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.1583, allocations: 198.7 kB / 489.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.1584, allocations: 39.53 kB / 489.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/0.1585, allocations: 47.95 kB / 489.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1585, allocations: 8.062 kB / 489.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1585, allocations: 4 kB / 489.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1585, allocations: 3.984 kB / 489.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.1597, allocations: 0.9377 MB / 490.3 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1597, allocations: 8.062 kB / 490.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.1598, allocations: 27.98 kB / 490.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.1601, allocations: 112.7 kB / 490.4 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.1601, allocations: 8 kB / 490.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.1622, allocations: 2.341 MB / 492.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1622, allocations: 0 / 492.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.1629, allocations: 0.6301 MB / 493.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.163, allocations: 112.7 kB / 493.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.163, allocations: 11.94 kB / 493.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1632, allocations: 4 kB / 493.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.1633, allocations: 27.91 kB / 493.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1633, allocations: 12 kB / 493.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.1635, allocations: 223 kB / 493.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1635, allocations: 0 / 493.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006278/0.1641, allocations: 159.8 kB / 493.9 MB, free: 2.344 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 (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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.1643, allocations: 107.1 kB / 494 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007533/0.165, allocations: 0.507 MB / 494.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.165, allocations: 0 / 494.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.1655, allocations: 346.6 kB / 494.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.1661, allocations: 63.03 kB / 494.9 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1674, allocations: 1.036 MB / 496 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.1678, allocations: 0.8785 MB / 496.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1678, allocations: 27.44 kB / 496.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1679, allocations: 0 / 496.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of Templates: time 0.007459/0.1753, allocations: 6.088 MB / 0.4912 GB, free: 9.184 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++ -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.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