Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009779, allocations: 109.7 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.0009868/0.0009868, 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1785/0.1785, allocations: 38.04 MB / 329.9 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.58 kB / 398.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 58.06 MB / 456.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003653/0.1143, allocations: 2.143 MB / 458.9 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.1177, allocations: 2.176 MB / 461.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.1178, allocations: 4 kB / 461.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.118, allocations: 7.922 kB / 461.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.1181, allocations: 31.83 kB / 461.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.1201, allocations: 0.684 MB / 461.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1202, allocations: 127.6 kB / 462 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.1203, allocations: 12.12 kB / 462 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.1204, allocations: 27.91 kB / 462 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.1205, allocations: 55.75 kB / 462.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1205, allocations: 4 kB / 462.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.1224, allocations: 1.236 MB / 463.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.1225, allocations: 47.83 kB / 463.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.1226, allocations: 55.5 kB / 463.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.1238, allocations: 1.01 MB / 464.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1239, allocations: 3.938 kB / 464.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1239, allocations: 0 / 464.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.1239, allocations: 0 / 464.4 MB, free: 0.8711 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006841/0.1246, allocations: 0.6019 MB / 465 MB, free: 220 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1246, allocations: 8.031 kB / 465 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.1247, allocations: 20.66 kB / 465 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1249, allocations: 207.5 kB / 465.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1249, allocations: 3.938 kB / 465.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.1249, allocations: 4 kB / 465.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1251, allocations: 146.5 kB / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1252, allocations: 0 / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1252, allocations: 0 / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1252, allocations: 3.938 kB / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1253, allocations: 96.28 kB / 465.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.1255, allocations: 217.5 kB / 465.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1257, allocations: 154.5 kB / 465.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1258, allocations: 152.8 kB / 466 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.1258, allocations: 0 / 466 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1258, allocations: 30.56 kB / 466 MB, free: 15.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 8.72e-07/0.1259, allocations: 0 / 466 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006438/0.1265, allocations: 0.4917 MB / 466.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.1266, allocations: 101.1 kB / 466.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1267, allocations: 170.9 kB / 466.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1268, allocations: 25.7 kB / 466.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.1268, allocations: 108.8 kB / 466.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1269, allocations: 130.1 kB / 467.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.127, allocations: 33.7 kB / 467.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1271, allocations: 338.8 kB / 467.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1272, allocations: 95.97 kB / 467.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.1273, allocations: 100.9 kB / 467.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.1277, allocations: 380.2 kB / 468 MB, free: 13.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1277, allocations: 0 / 468 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003563/0.1281, allocations: 350.9 kB / 468.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.1282, allocations: 81.62 kB / 468.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1282, allocations: 3.938 kB / 468.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1282, allocations: 4 kB / 468.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-06/0.1282, allocations: 0 / 468.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1282, allocations: 0 / 468.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.1283, allocations: 19.75 kB / 468.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.1283, allocations: 12 kB / 468.4 MB, free: 12.57 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.0001942/0.1285, allocations: 235.4 kB / 468.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1286, allocations: 23.84 kB / 468.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.1286, allocations: 10.66 kB / 468.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1286, allocations: 7.938 kB / 468.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1286, allocations: 4 kB / 468.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1286, allocations: 0 / 468.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.1288, allocations: 245.2 kB / 469 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1288, allocations: 0 / 469 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-06/0.1288, allocations: 3.984 kB / 469 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1288, allocations: 3.984 kB / 469 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1288, allocations: 8 kB / 469 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1289, allocations: 3.938 kB / 469 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1289, allocations: 4 kB / 469 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009195/0.1298, allocations: 0.912 MB / 469.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1298, allocations: 100.8 kB / 470 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.1299, allocations: 4 kB / 470 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.1299, allocations: 11.98 kB / 470 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.13, allocations: 4 kB / 470 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.13, allocations: 8 kB / 470 MB, free: 10.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.244e-05/0.1301, allocations: 136.3 kB / 470.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1301, allocations: 0 / 470.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008178/0.1309, allocations: 355.9 kB / 470.5 MB, free: 10.41 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.0008576/0.1318, allocations: 369.8 kB / 470.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.1331, allocations: 1.6 MB / 472.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1331, allocations: 4.062 kB / 472.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.1341, allocations: 1.37 MB / 473.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1343, allocations: 19.98 kB / 473.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009229/0.1353, allocations: 0.7596 MB / 474.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1356, allocations: 0.752 MB / 475.4 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.1356, allocations: 15.44 kB / 475.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1356, allocations: 0 / 475.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of Templates: time 0.0107/0.1463, allocations: 7.095 MB / 482.5 MB, free: 14.33 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o] Error 1