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.0008549/0.0008549, allocations: 93.89 kB / 16.96 MB, free: 6.406 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.0007997/0.0007996, allocations: 179 kB / 17.84 MB, free: 5.969 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.369/1.369, allocations: 223.2 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1671/0.1671, allocations: 38.09 MB / 331.1 MB, free: 8.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 10.03 kB / 400.7 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 59.18 MB / 459.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006981/0.1274, allocations: 6.107 MB / 466 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.1306, allocations: 1.493 MB / 467.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.1311, allocations: 47.62 kB / 467.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1314, allocations: 111.1 kB / 467.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009038/0.1324, allocations: 373.9 kB / 468 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.1328, allocations: 207.7 kB / 468.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007638/0.1336, allocations: 0.7746 MB / 469 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.1339, allocations: 130.5 kB / 469.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003314/0.1342, allocations: 254.7 kB / 469.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.1347, allocations: 318.9 kB / 469.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1347, allocations: 16 kB / 469.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.1348, allocations: 20 kB / 469.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.1349, allocations: 139.6 kB / 469.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.135, allocations: 113.4 kB / 469.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.1353, allocations: 359 kB / 470.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1354, allocations: 4 kB / 470.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1354, allocations: 0 / 470.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1354, allocations: 0 / 470.3 MB, free: 12.91 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.001186/0.1366, allocations: 0.7189 MB / 471 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.1366, allocations: 12.03 kB / 471 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.1367, allocations: 55.34 kB / 471.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.1373, allocations: 419.3 kB / 471.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.1373, allocations: 29 kB / 471.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.1374, allocations: 36 kB / 471.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.138, allocations: 455.6 kB / 472 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.138, allocations: 3.938 kB / 472 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.1381, allocations: 16 kB / 472 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.1381, allocations: 12 kB / 472 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.1385, allocations: 300.7 kB / 472.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.1403, allocations: 1.771 MB / 474.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1405, allocations: 151.6 kB / 474.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.725e-05/0.1406, allocations: 54.62 kB / 474.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1407, allocations: 12 kB / 474.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1407, allocations: 30.56 kB / 474.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.026e-06/0.1407, allocations: 0 / 474.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009055/0.1416, allocations: 0.6075 MB / 474.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1417, allocations: 110.9 kB / 475.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.1421, allocations: 369.5 kB / 475.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1421, allocations: 29.7 kB / 475.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1423, allocations: 279.4 kB / 475.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.1423, allocations: 51.27 kB / 475.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.1423, allocations: 8 kB / 475.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1425, allocations: 350.7 kB / 476.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.1426, allocations: 47.97 kB / 476.2 MB, free: 6.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1428, allocations: 191.2 kB / 476.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1429, allocations: 79.92 kB / 476.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1429, allocations: 0 / 476.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003849/0.1433, allocations: 289.1 kB / 476.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1433, allocations: 8 kB / 476.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1433, allocations: 4.078 kB / 476.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1434, allocations: 8.625 kB / 476.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.1436, allocations: 71.91 kB / 476.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.1436, allocations: 19.86 kB / 476.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1438, allocations: 19.84 kB / 476.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1438, allocations: 16 kB / 476.9 MB, free: 5.891 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.144, allocations: 181.7 kB / 477 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.011e-05/0.144, allocations: 35.53 kB / 477.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.1443, allocations: 172.7 kB / 477.2 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1443, allocations: 4 kB / 477.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1443, allocations: 4 kB / 477.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1444, allocations: 3.953 kB / 477.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.145, allocations: 0.5188 MB / 477.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.145, allocations: 3.938 kB / 477.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.1452, allocations: 31.98 kB / 477.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1452, allocations: 0 / 477.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1452, allocations: 11.98 kB / 477.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1452, allocations: 3.953 kB / 477.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1452, allocations: 8.031 kB / 477.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.1456, allocations: 392.8 kB / 478.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.1457, allocations: 116.6 kB / 478.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.1458, allocations: 8.438 kB / 478.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1459, allocations: 3.938 kB / 478.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.146, allocations: 19.94 kB / 478.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.146, allocations: 12 kB / 478.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002431/0.1462, allocations: 247.2 kB / 478.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1462, allocations: 0 / 478.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000395/0.1466, allocations: 72 kB / 478.7 MB, free: 3.953 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001033/0.1467, allocations: 107.2 kB / 478.8 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.147, allocations: 151.7 kB / 478.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.147, allocations: 0 / 478.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.1471, allocations: 51.92 kB / 479 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.1478, allocations: 91 kB / 479.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1494, allocations: 1.125 MB / 480.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1498, allocations: 0.8389 MB / 481 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.1499, allocations: 39.42 kB / 481.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1499, allocations: 0 / 481.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of Templates: time 0.006539/0.1564, allocations: 4.563 MB / 485.6 MB, free: 12.93 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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