Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.1 kB / 17.17 MB, free: 6.32 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.001009/0.001009, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1676/0.1676, allocations: 38.05 MB / 329.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 60.27 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1167, allocations: 58.06 MB / 456.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004574/0.1214, allocations: 3.666 MB / 460.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1231, allocations: 1.512 MB / 462 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1233, allocations: 15.94 kB / 462 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.1239, allocations: 231.2 kB / 462.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.1244, allocations: 267.2 kB / 462.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.1246, allocations: 91.77 kB / 462.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.1251, allocations: 0.5689 MB / 463.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002875/0.1254, allocations: 134.1 kB / 463.3 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1256, allocations: 127.4 kB / 463.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.1258, allocations: 171.4 kB / 463.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1258, allocations: 8 kB / 463.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.1263, allocations: 371.1 kB / 463.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1264, allocations: 103.7 kB / 464 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1265, allocations: 99.48 kB / 464.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1268, allocations: 259.4 kB / 464.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1268, allocations: 0 / 464.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1268, allocations: 0 / 464.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1268, allocations: 0 / 464.4 MB, free: 0.918 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006452/0.1275, allocations: 0.5065 MB / 464.9 MB, free: 372 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1275, allocations: 8.031 kB / 464.9 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007938/0.1283, allocations: 92.55 kB / 465 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1286, allocations: 258.1 kB / 465.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1287, allocations: 24.31 kB / 465.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.1287, allocations: 19.94 kB / 465.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.1291, allocations: 318.3 kB / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1292, allocations: 0 / 465.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.1292, allocations: 11.98 kB / 465.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.1292, allocations: 19.98 kB / 465.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.1296, allocations: 291.7 kB / 465.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.1311, allocations: 1.297 MB / 467.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.1316, allocations: 213.2 kB / 467.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.926e-05/0.1317, allocations: 61.69 kB / 467.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1317, allocations: 4 kB / 467.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1318, allocations: 34.56 kB / 467.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.1318, allocations: 4 kB / 467.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000896/0.1327, allocations: 434.8 kB / 467.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1327, allocations: 81.11 kB / 468 MB, free: 12.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1329, allocations: 194.3 kB / 468.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1329, allocations: 25.7 kB / 468.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.133, allocations: 160 kB / 468.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.1331, allocations: 55.28 kB / 468.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.1331, allocations: 49.61 kB / 468.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1332, allocations: 334.8 kB / 468.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.1333, allocations: 47.97 kB / 468.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1335, allocations: 157.7 kB / 469 MB, free: 11.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.1337, allocations: 224.7 kB / 469.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1337, allocations: 4 kB / 469.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003865/0.1341, allocations: 262.3 kB / 469.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1341, allocations: 10.5 kB / 469.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1341, allocations: 4 kB / 469.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.1344, allocations: 36.83 kB / 469.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1345, allocations: 47.84 kB / 469.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009637/0.1355, allocations: 1.335 MB / 470.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1356, allocations: 11.98 kB / 470.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.1356, allocations: 16 kB / 471 MB, free: 9.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.1358, allocations: 158.3 kB / 471.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.1358, allocations: 15.81 kB / 471.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.1362, allocations: 194.5 kB / 471.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1362, allocations: 4 kB / 471.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1362, allocations: 0 / 471.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1362, allocations: 0 / 471.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006965/0.1369, allocations: 0.5678 MB / 471.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1369, allocations: 4.062 kB / 471.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.137, allocations: 23.92 kB / 471.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.1371, allocations: 32.83 kB / 471.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1372, allocations: 4.094 kB / 472 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008373/0.138, allocations: 1.327 MB / 473.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.138, allocations: 0 / 473.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1383, allocations: 295.5 kB / 473.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.1384, allocations: 92.92 kB / 473.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.1384, allocations: 11.98 kB / 473.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.1385, allocations: 0 / 473.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.1386, allocations: 15.98 kB / 473.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1386, allocations: 4 kB / 473.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.466e-05/0.1387, allocations: 140.3 kB / 473.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1387, allocations: 0 / 473.8 MB, free: 6.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.139, allocations: 52 kB / 473.9 MB, free: 6.59 MB / 350.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 (14): * Single equations (assignments): 12 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.1391, allocations: 107.1 kB / 474 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004016/0.1395, allocations: 266.4 kB / 474.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1395, allocations: 0.875 kB / 474.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.1398, allocations: 182.7 kB / 474.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1401, allocations: 30.56 kB / 474.5 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.1408, allocations: 0.5621 MB / 475 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1412, allocations: 0.7557 MB / 475.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.1412, allocations: 19.44 kB / 475.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1412, allocations: 0 / 475.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of Templates: time 0.004361/0.1456, allocations: 3.171 MB / 479 MB, free: 1.395 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Test.ImpedanceTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTestCalcHelperMain.o] Error 1