Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.0009897, allocations: 110.5 kB / 17.16 MB, free: 6.082 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.001073/0.001073, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1667/0.1667, allocations: 38.04 MB / 329.9 MB, free: 9.062 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 57.44 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1264, allocations: 58.06 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003171/0.1296, allocations: 2.14 MB / 458.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.1325, allocations: 2.183 MB / 461.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.1325, allocations: 0 / 461.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.1327, allocations: 11.92 kB / 461.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.1328, allocations: 35.78 kB / 461.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1342, allocations: 0.6842 MB / 461.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1343, allocations: 119.6 kB / 462 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.1344, allocations: 8.172 kB / 462 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.457e-05/0.1345, allocations: 31.91 kB / 462 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.804e-05/0.1346, allocations: 51.77 kB / 462.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.1346, allocations: 0 / 462.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.1361, allocations: 1.236 MB / 463.3 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.1362, allocations: 35.84 kB / 463.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.1362, allocations: 39.67 kB / 463.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009508/0.1372, allocations: 0.9982 MB / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1372, allocations: 0 / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1372, allocations: 0 / 464.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1372, allocations: 0 / 464.4 MB, free: 0.9336 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006229/0.1379, allocations: 0.5544 MB / 464.9 MB, free: 336 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1379, allocations: 8.031 kB / 464.9 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.1379, allocations: 16.75 kB / 464.9 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1381, allocations: 202.5 kB / 465.1 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1382, allocations: 4 kB / 465.1 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1382, allocations: 3.938 kB / 465.1 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1384, allocations: 93.72 kB / 465.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1384, allocations: 0 / 465.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1384, allocations: 4 kB / 465.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1384, allocations: 0 / 465.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.1385, allocations: 63.77 kB / 465.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1387, allocations: 189.4 kB / 465.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1388, allocations: 106.5 kB / 465.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.1389, allocations: 92.8 kB / 465.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.1389, allocations: 0 / 465.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1389, allocations: 38.56 kB / 465.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 8.22e-07/0.1389, allocations: 0 / 465.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004415/0.1394, allocations: 311.5 kB / 466 MB, free: 15.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.1395, allocations: 101.1 kB / 466.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1396, allocations: 160.5 kB / 466.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1396, allocations: 25.7 kB / 466.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.1397, allocations: 100.6 kB / 466.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.1397, allocations: 82.8 kB / 466.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1398, allocations: 25.7 kB / 466.5 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1399, allocations: 330.8 kB / 466.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.14, allocations: 63.91 kB / 466.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.1401, allocations: 59.97 kB / 467 MB, free: 14.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.1403, allocations: 259.5 kB / 467.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1403, allocations: 0 / 467.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002601/0.1406, allocations: 238.9 kB / 467.4 MB, free: 13.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.1406, allocations: 61.67 kB / 467.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1406, allocations: 0 / 467.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1407, allocations: 0 / 467.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-06/0.1407, allocations: 3.984 kB / 467.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1407, allocations: 0 / 467.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.1407, allocations: 15.84 kB / 467.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.1408, allocations: 4 kB / 467.5 MB, free: 13.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001489/0.1409, allocations: 207.4 kB / 467.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1409, allocations: 11.91 kB / 467.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.141, allocations: 17.16 kB / 467.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-07/0.141, allocations: 0 / 467.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.141, allocations: 4 kB / 467.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.141, allocations: 0 / 467.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.1411, allocations: 205.4 kB / 468 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1411, allocations: 0 / 468 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.1411, allocations: 0 / 468 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.1411, allocations: 0 / 468 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1412, allocations: 12 kB / 468 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1412, allocations: 0 / 468 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1412, allocations: 0 / 468 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.1417, allocations: 0.525 MB / 468.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.1418, allocations: 92.86 kB / 468.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1418, allocations: 4 kB / 468.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.1419, allocations: 7.984 kB / 468.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.1419, allocations: 0 / 468.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.1419, allocations: 12.03 kB / 468.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.142, allocations: 115.2 kB / 468.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.142, allocations: 0 / 468.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000661/0.1427, allocations: 339.9 kB / 469.1 MB, free: 11.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0008408/0.1435, allocations: 381.7 kB / 469.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006559/0.1442, allocations: 0.7101 MB / 470.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1442, allocations: 0 / 470.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.1446, allocations: 0.5735 MB / 470.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.1448, allocations: 19.92 kB / 470.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.1455, allocations: 0.5362 MB / 471.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.1458, allocations: 0.728 MB / 472 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.1458, allocations: 7.438 kB / 472 MB, free: 8.836 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1458, allocations: 4 kB / 472 MB, free: 8.832 MB / 350.1 MB Notification: Performance of Templates: time 0.008496/0.1543, allocations: 6.459 MB / 478.5 MB, free: 2.363 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o] Error 1