Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,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.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,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.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007996/0.0007997, allocations: 92.64 kB / 17.31 MB, free: 6.023 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.0008246/0.0008247, allocations: 174.8 kB / 18.21 MB, free: 5.41 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.376/1.376, allocations: 223.3 MB / 242.2 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.174/0.174, allocations: 38.09 MB / 331.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 11.98 kB / 401.4 MB, free: 34.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 59.16 MB / 460.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004063/0.1385, allocations: 3.322 MB / 463.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1405, allocations: 1.477 MB / 465.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1407, allocations: 11.94 kB / 465.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.1408, allocations: 35.7 kB / 465.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.1414, allocations: 263.2 kB / 465.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1416, allocations: 103.8 kB / 465.7 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005562/0.1422, allocations: 0.5612 MB / 466.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006111/0.1428, allocations: 318.9 kB / 466.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.143, allocations: 127.4 kB / 466.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.1433, allocations: 151.5 kB / 466.9 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1433, allocations: 8 kB / 466.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.1439, allocations: 383 kB / 467.3 MB, free: 340 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.362e-05/0.144, allocations: 87.77 kB / 467.3 MB, free: 252 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1441, allocations: 121.2 kB / 467.5 MB, free: 124 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1444, allocations: 259.4 kB / 467.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1444, allocations: 0 / 467.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1444, allocations: 4 kB / 467.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.748e-06/0.1444, allocations: 0 / 467.7 MB, free: 15.86 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005259/0.145, allocations: 470.8 kB / 468.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.145, allocations: 12.03 kB / 468.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/0.1458, allocations: 92.55 kB / 468.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.1461, allocations: 258.4 kB / 468.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1461, allocations: 24.31 kB / 468.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.1461, allocations: 19.94 kB / 468.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.1466, allocations: 322.3 kB / 468.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1466, allocations: 7.844 kB / 468.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.1466, allocations: 11.98 kB / 468.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.1467, allocations: 16 kB / 468.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.1471, allocations: 283.8 kB / 469.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1486, allocations: 1.285 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.149, allocations: 242.3 kB / 470.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.1491, allocations: 61.69 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1491, allocations: 0 / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1492, allocations: 34.5 kB / 470.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.514e-06/0.1492, allocations: 11.97 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006088/0.1498, allocations: 292.5 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.1499, allocations: 85.23 kB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1501, allocations: 190.3 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1501, allocations: 29.7 kB / 471.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1502, allocations: 155.8 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.1502, allocations: 55.28 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1503, allocations: 25.7 kB / 471.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1504, allocations: 322.8 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.1505, allocations: 47.97 kB / 472 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1507, allocations: 149.7 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1509, allocations: 220.6 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1509, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003078/0.1513, allocations: 225.1 kB / 472.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1513, allocations: 8 kB / 472.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1513, allocations: 4.062 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1513, allocations: 8 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1515, allocations: 47.92 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1515, allocations: 7.984 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.1516, allocations: 12.38 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1516, allocations: 12 kB / 472.7 MB, free: 10.47 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.1518, allocations: 158.1 kB / 472.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1518, allocations: 15.81 kB / 472.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1521, allocations: 152.8 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1521, allocations: 0 / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1521, allocations: 4 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1521, allocations: 3.984 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.1529, allocations: 0.6689 MB / 473.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.153, allocations: 4 kB / 473.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.1531, allocations: 31.86 kB / 473.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1531, allocations: 4 kB / 473.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1531, allocations: 8 kB / 473.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1531, allocations: 11.94 kB / 473.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1531, allocations: 4 kB / 473.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.1534, allocations: 335.6 kB / 474.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.1535, allocations: 100.8 kB / 474.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.1535, allocations: 8 kB / 474.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1537, allocations: 4 kB / 474.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1537, allocations: 27.86 kB / 474.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1537, allocations: 8 kB / 474.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1539, allocations: 144.3 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1539, allocations: 0 / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000342/0.1542, allocations: 47.94 kB / 474.4 MB, free: 8.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001221/0.1544, allocations: 111.1 kB / 474.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1546, allocations: 135.8 kB / 474.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1546, allocations: 0 / 474.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1547, allocations: 73.53 kB / 474.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.1552, allocations: 31.98 kB / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.1561, allocations: 0.6287 MB / 475.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.1565, allocations: 0.7634 MB / 476.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.1565, allocations: 19.44 kB / 476.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1565, allocations: 0 / 476.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of Templates: time 0.004/0.1606, allocations: 2.253 MB / 478.4 MB, free: 4.445 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTestCalcHelperMain.o] Error 1