Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007526/0.0007526, allocations: 92.73 kB / 17.31 MB, free: 6.031 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.0008353/0.0008354, allocations: 174.5 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.497/1.497, allocations: 223.3 MB / 242.2 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1835/0.1835, allocations: 38.09 MB / 331.5 MB, free: 8.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 8 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 59.17 MB / 460.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002614/0.1356, allocations: 1.804 MB / 462.3 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1388, allocations: 2.129 MB / 464.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.1389, allocations: 0 / 464.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1391, allocations: 11.92 kB / 464.5 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.1392, allocations: 31.83 kB / 464.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.1412, allocations: 0.6827 MB / 465.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.1413, allocations: 123.6 kB / 465.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.1414, allocations: 4.188 kB / 465.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.1415, allocations: 23.86 kB / 465.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.1416, allocations: 47.77 kB / 465.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1416, allocations: 4 kB / 465.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.1435, allocations: 1.236 MB / 466.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.1435, allocations: 19.92 kB / 466.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1436, allocations: 53.52 kB / 466.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1447, allocations: 0.9787 MB / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1447, allocations: 4 kB / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1447, allocations: 0 / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1447, allocations: 0 / 467.7 MB, free: 15.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006853/0.1454, allocations: 0.5047 MB / 468.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1455, allocations: 8.031 kB / 468.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1455, allocations: 8.844 kB / 468.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.1457, allocations: 203.4 kB / 468.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1457, allocations: 0 / 468.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1458, allocations: 4 kB / 468.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1459, allocations: 61.67 kB / 468.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.146, allocations: 3.938 kB / 468.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.146, allocations: 4 kB / 468.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.146, allocations: 0 / 468.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.402e-05/0.1461, allocations: 31.92 kB / 468.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.1462, allocations: 173.6 kB / 468.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.965e-05/0.1463, allocations: 58.56 kB / 468.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.1464, allocations: 48.88 kB / 468.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.1464, allocations: 0 / 468.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1465, allocations: 34.55 kB / 468.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.1465, allocations: 0 / 468.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003498/0.1468, allocations: 199.3 kB / 469 MB, free: 14.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1469, allocations: 89.09 kB / 469.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.147, allocations: 136 kB / 469.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.147, allocations: 25.7 kB / 469.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.1471, allocations: 92.14 kB / 469.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.1472, allocations: 39.39 kB / 469.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.1472, allocations: 13.72 kB / 469.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1474, allocations: 326.8 kB / 469.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.1474, allocations: 35.98 kB / 469.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.728e-05/0.1475, allocations: 36.3 kB / 469.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1476, allocations: 160.3 kB / 469.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1476, allocations: 0 / 469.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001836/0.1478, allocations: 159.1 kB / 470.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.1479, allocations: 49.69 kB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1479, allocations: 0 / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1479, allocations: 3.984 kB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.1479, allocations: 0 / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1479, allocations: 0 / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.148, allocations: 4 kB / 470.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.148, allocations: 4 kB / 470.2 MB, free: 13.1 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.0001333/0.1482, allocations: 175.5 kB / 470.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.1482, allocations: 15.81 kB / 470.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.666e-05/0.1482, allocations: 4.719 kB / 470.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1482, allocations: 4 kB / 470.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1482, allocations: 0 / 470.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1482, allocations: 0 / 470.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.1484, allocations: 185.5 kB / 470.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1484, allocations: 0 / 470.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.1484, allocations: 0 / 470.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1484, allocations: 0 / 470.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1484, allocations: 8 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1484, allocations: 0 / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.1484, allocations: 7.938 kB / 470.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.1488, allocations: 290.5 kB / 470.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1489, allocations: 92.89 kB / 470.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1489, allocations: 0 / 470.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.045e-05/0.149, allocations: 8 kB / 470.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/0.149, allocations: 0 / 470.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.149, allocations: 12.02 kB / 470.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.1491, allocations: 103.2 kB / 471 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1491, allocations: 0 / 471 MB, free: 12.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009098/0.15, allocations: 331.8 kB / 471.4 MB, free: 11.77 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.0009718/0.151, allocations: 359.2 kB / 471.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.1514, allocations: 299.2 kB / 472 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1514, allocations: 3.938 kB / 472 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1516, allocations: 227.3 kB / 472.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1519, allocations: 10.28 kB / 472.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006958/0.1526, allocations: 368.8 kB / 472.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.153, allocations: 0.7082 MB / 473.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.153, allocations: 7.438 kB / 473.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.153, allocations: 0 / 473.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of Templates: time 0.01229/0.1653, allocations: 5.968 MB / 479.3 MB, free: 3.758 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.o] Error 1