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.001085/0.001085, 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.0009663/0.0009663, 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.34/1.34, 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.1641/0.1641, allocations: 38.03 MB / 329.9 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 58.91 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1082, allocations: 58.06 MB / 456.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003561/0.1118, allocations: 2.144 MB / 458.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.1149, allocations: 2.176 MB / 461.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.115, allocations: 4 kB / 461.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.1151, allocations: 7.922 kB / 461.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.506e-05/0.1152, allocations: 19.91 kB / 461.1 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1169, allocations: 0.6933 MB / 461.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.117, allocations: 127.6 kB / 462 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1171, allocations: 4.172 kB / 462 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.1172, allocations: 27.86 kB / 462 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.1172, allocations: 43.83 kB / 462 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1173, allocations: 0 / 462 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001612/0.1189, allocations: 1.24 MB / 463.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1189, allocations: 27.86 kB / 463.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.119, allocations: 23.81 kB / 463.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.12, allocations: 0.9749 MB / 464.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.12, allocations: 0 / 464.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.12, allocations: 0 / 464.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.12, allocations: 0 / 464.3 MB, free: 0.9883 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006533/0.1207, allocations: 0.5203 MB / 464.8 MB, free: 424 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1207, allocations: 12.03 kB / 464.8 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1208, allocations: 12.78 kB / 464.8 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.121, allocations: 191.5 kB / 465 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.121, allocations: 0 / 465 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.121, allocations: 4 kB / 465 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1212, allocations: 61.67 kB / 465.1 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1212, allocations: 0 / 465.1 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1212, allocations: 4 kB / 465.1 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1212, allocations: 0 / 465.1 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.1213, allocations: 31.97 kB / 465.1 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.1215, allocations: 177.5 kB / 465.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.1216, allocations: 66.52 kB / 465.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.1216, allocations: 44.84 kB / 465.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.1216, allocations: 0 / 465.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1217, allocations: 30.56 kB / 465.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.1217, allocations: 0 / 465.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000319/0.122, allocations: 207.3 kB / 465.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.1221, allocations: 85.11 kB / 465.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1222, allocations: 128 kB / 465.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1222, allocations: 25.7 kB / 465.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.1223, allocations: 96.12 kB / 466 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.1223, allocations: 39.39 kB / 466 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.1224, allocations: 21.72 kB / 466 MB, free: 15.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1225, allocations: 326.8 kB / 466.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.733e-05/0.1225, allocations: 36.02 kB / 466.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.1226, allocations: 32.31 kB / 466.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1228, allocations: 160.2 kB / 466.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1228, allocations: 0 / 466.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001846/0.1229, allocations: 167 kB / 466.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.123, allocations: 45.67 kB / 466.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.123, allocations: 0 / 466.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.123, allocations: 0 / 466.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.123, allocations: 0 / 466.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1231, allocations: 4 kB / 466.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.1231, allocations: 4.062 kB / 466.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.1231, allocations: 7.938 kB / 466.8 MB, free: 14.22 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.000128/0.1233, allocations: 171.5 kB / 467 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.1233, allocations: 15.88 kB / 467 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.1233, allocations: 12.72 kB / 467 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1233, allocations: 0 / 467 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1233, allocations: 0 / 467 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1233, allocations: 0 / 467 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1235, allocations: 181.5 kB / 467.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1235, allocations: 4 kB / 467.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1235, allocations: 0 / 467.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1235, allocations: 4 kB / 467.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1235, allocations: 7.984 kB / 467.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1235, allocations: 0 / 467.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1235, allocations: 4 kB / 467.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.1238, allocations: 290.4 kB / 467.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1239, allocations: 88.95 kB / 467.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1239, allocations: 4.031 kB / 467.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.546e-05/0.1239, allocations: 4 kB / 467.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.124, allocations: 4 kB / 467.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.124, allocations: 4 kB / 467.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.1241, allocations: 103.2 kB / 467.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1241, allocations: 0 / 467.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007594/0.1248, allocations: 327.8 kB / 468 MB, free: 12.91 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.0008479/0.1257, allocations: 363 kB / 468.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.126, allocations: 299.2 kB / 468.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.126, allocations: 0 / 468.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1262, allocations: 223.3 kB / 468.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1265, allocations: 17.11 kB / 468.9 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.127, allocations: 354.8 kB / 469.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.1272, allocations: 0.7043 MB / 469.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.261e-05/0.1272, allocations: 7.438 kB / 469.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1273, allocations: 4 kB / 469.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Templates: time 0.008969/0.1362, allocations: 5.969 MB / 475.9 MB, free: 4.902 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