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.001319/0.001319, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001516/0.001516, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1621/0.1621, allocations: 38.04 MB / 329.9 MB, free: 8.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 62.06 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1235, allocations: 58.06 MB / 456.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007447/0.131, allocations: 6.898 MB / 463.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1337, allocations: 1.547 MB / 465.2 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.134, allocations: 47.69 kB / 465.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1344, allocations: 63.58 kB / 465.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006407/0.135, allocations: 274.7 kB / 465.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.1353, allocations: 127.8 kB / 465.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008394/0.1362, allocations: 0.9501 MB / 466.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.1365, allocations: 148.2 kB / 466.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.1368, allocations: 266.6 kB / 467.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004825/0.1373, allocations: 350.7 kB / 467.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.1374, allocations: 20 kB / 467.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.72e-05/0.1374, allocations: 24 kB / 467.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.1376, allocations: 147.5 kB / 467.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.1378, allocations: 226.8 kB / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1382, allocations: 371.1 kB / 468.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1382, allocations: 0 / 468.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1382, allocations: 0 / 468.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1382, allocations: 0 / 468.2 MB, free: 13.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.001301/0.1395, allocations: 0.7851 MB / 469 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1396, allocations: 16.02 kB / 469 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.1397, allocations: 48.38 kB / 469.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.1403, allocations: 444 kB / 469.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.1403, allocations: 29 kB / 469.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.1404, allocations: 36 kB / 469.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006215/0.141, allocations: 455.6 kB / 470 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.141, allocations: 3.984 kB / 470 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1411, allocations: 16 kB / 470 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1411, allocations: 12 kB / 470 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.1416, allocations: 308.7 kB / 470.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.1434, allocations: 1.771 MB / 472.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.1437, allocations: 139.6 kB / 472.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.026e-05/0.1437, allocations: 58.67 kB / 472.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1438, allocations: 4 kB / 472.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1438, allocations: 34.56 kB / 472.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1438, allocations: 0 / 472.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009527/0.1448, allocations: 0.5999 MB / 472.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.1449, allocations: 106.8 kB / 473 MB, free: 7.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.1452, allocations: 377.6 kB / 473.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1452, allocations: 33.64 kB / 473.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.1454, allocations: 283.3 kB / 473.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.1455, allocations: 59.19 kB / 473.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.1455, allocations: 53.7 kB / 473.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1457, allocations: 350.8 kB / 474.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.1458, allocations: 47.97 kB / 474.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.1459, allocations: 197 kB / 474.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.1462, allocations: 271 kB / 474.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1463, allocations: 0 / 474.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003698/0.1466, allocations: 292.7 kB / 475 MB, free: 5.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1467, allocations: 10.19 kB / 475 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1467, allocations: 7.938 kB / 475 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1467, allocations: 8.625 kB / 475 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.1469, allocations: 75.84 kB / 475.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.147, allocations: 4 kB / 475.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1471, allocations: 15.91 kB / 475.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.1471, allocations: 23.92 kB / 475.1 MB, free: 5.637 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.0001742/0.1473, allocations: 185.6 kB / 475.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.1474, allocations: 35.53 kB / 475.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.1477, allocations: 164.8 kB / 475.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1477, allocations: 4 kB / 475.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1477, allocations: 4.438 kB / 475.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.1477, allocations: 3.984 kB / 475.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.1483, allocations: 0.5265 MB / 476 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1483, allocations: 4 kB / 476 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1485, allocations: 35.92 kB / 476.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1485, allocations: 0 / 476.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1485, allocations: 11.94 kB / 476.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.1485, allocations: 3.984 kB / 476.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1485, allocations: 11.97 kB / 476.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.1489, allocations: 391.9 kB / 476.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.149, allocations: 112.6 kB / 476.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.1491, allocations: 8 kB / 476.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1492, allocations: 7.938 kB / 476.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.1493, allocations: 15.98 kB / 476.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1493, allocations: 4 kB / 476.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002366/0.1495, allocations: 251.2 kB / 476.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 0 / 476.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.1499, allocations: 72 kB / 476.9 MB, free: 3.691 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.0001078/0.15, allocations: 107.1 kB / 477 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1503, allocations: 151.7 kB / 477.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1503, allocations: 4 kB / 477.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.1504, allocations: 55.95 kB / 477.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.151, allocations: 89.62 kB / 477.3 MB, free: 3.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1524, allocations: 1.074 MB / 478.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.1528, allocations: 0.8389 MB / 479.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.1529, allocations: 35.42 kB / 479.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1529, allocations: 3.938 kB / 479.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of Templates: time 0.005984/0.1589, allocations: 4.606 MB / 483.9 MB, free: 12.67 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