Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009499, allocations: 92.72 kB / 17.31 MB, free: 6.535 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.001157/0.001158, allocations: 178.3 kB / 18.21 MB, free: 5.68 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.455/1.455, allocations: 223.3 MB / 242.2 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.182/0.182, allocations: 38.09 MB / 331.5 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 9.844 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 59.17 MB / 460.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006744/0.1236, allocations: 6.477 MB / 467 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.1265, allocations: 1.539 MB / 468.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.1269, allocations: 47.62 kB / 468.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.1271, allocations: 63.53 kB / 468.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.1278, allocations: 270.7 kB / 468.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.1282, allocations: 123.9 kB / 469 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009057/0.1291, allocations: 0.9541 MB / 470 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.1294, allocations: 148.2 kB / 470.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.1298, allocations: 258.6 kB / 470.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.1303, allocations: 318.8 kB / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.1303, allocations: 24 kB / 470.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.1304, allocations: 20 kB / 470.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.1306, allocations: 139.5 kB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1308, allocations: 248.4 kB / 471.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.1312, allocations: 359 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1312, allocations: 0 / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1312, allocations: 0 / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1312, allocations: 4 kB / 471.5 MB, free: 12.07 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001241/0.1325, allocations: 0.7113 MB / 472.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1325, allocations: 8.031 kB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.1326, allocations: 52.28 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.1333, allocations: 440.2 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.1333, allocations: 25 kB / 472.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/0.1334, allocations: 39.91 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.1341, allocations: 463.5 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1341, allocations: 4 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.1342, allocations: 12 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.1342, allocations: 8 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004851/0.1347, allocations: 308.7 kB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.1368, allocations: 1.764 MB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.137, allocations: 143.6 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.1371, allocations: 66.66 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1371, allocations: 3.938 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.1372, allocations: 46.5 kB / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.1372, allocations: 0 / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009454/0.1381, allocations: 0.6037 MB / 476.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1382, allocations: 102.8 kB / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.1386, allocations: 377.6 kB / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1386, allocations: 29.7 kB / 476.6 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1388, allocations: 283.3 kB / 476.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.1389, allocations: 55.28 kB / 477 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.1389, allocations: 33.7 kB / 477 MB, free: 6.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1391, allocations: 346.8 kB / 477.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.1392, allocations: 51.91 kB / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.1393, allocations: 198.5 kB / 477.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1396, allocations: 266.6 kB / 477.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1396, allocations: 0 / 477.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003918/0.14, allocations: 293.2 kB / 478.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1401, allocations: 8 kB / 478.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1401, allocations: 4 kB / 478.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1401, allocations: 8.625 kB / 478.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.1404, allocations: 71.84 kB / 478.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1404, allocations: 12 kB / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.1405, allocations: 11.91 kB / 478.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1406, allocations: 19.98 kB / 478.3 MB, free: 4.742 MB / 350.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 (37): * Single equations (assignments): 37 * 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.0001739/0.1407, allocations: 185.6 kB / 478.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.1408, allocations: 35.53 kB / 478.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1411, allocations: 164.8 kB / 478.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1411, allocations: 4 kB / 478.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1411, allocations: 4 kB / 478.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1411, allocations: 0 / 478.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.1417, allocations: 0.5265 MB / 479.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1418, allocations: 0 / 479.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.1419, allocations: 39.92 kB / 479.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1419, allocations: 4 kB / 479.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.142, allocations: 0 / 479.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.142, allocations: 7.984 kB / 479.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.142, allocations: 3.938 kB / 479.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1424, allocations: 398.4 kB / 479.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.1425, allocations: 120.5 kB / 479.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.1425, allocations: 4 kB / 479.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1427, allocations: 15.88 kB / 479.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.1427, allocations: 11.98 kB / 479.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1428, allocations: 4 kB / 479.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.143, allocations: 259.2 kB / 480 MB, free: 2.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.143, allocations: 0 / 480 MB, free: 2.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003927/0.1434, allocations: 68 kB / 480.1 MB, free: 2.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001012/0.1435, allocations: 99.28 kB / 480.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.1438, allocations: 167.8 kB / 480.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1438, allocations: 0 / 480.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.1439, allocations: 59.86 kB / 480.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.1446, allocations: 91.06 kB / 480.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1461, allocations: 1.133 MB / 481.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1465, allocations: 0.8467 MB / 482.5 MB, free: 340 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.1465, allocations: 31.44 kB / 482.5 MB, free: 308 kB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1465, allocations: 0 / 482.5 MB, free: 308 kB / 350.1 MB Notification: Performance of Templates: time 0.00662/0.1532, allocations: 4.557 MB / 487.1 MB, free: 11.76 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.Introductory.FrequencyCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.FrequencyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.FrequencyCalcHelperMain.o] Error 1