Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008673, allocations: 90.31 kB / 16.95 MB, free: 6.453 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.0007927/0.0007927, allocations: 179.5 kB / 17.84 MB, free: 6 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.343/1.343, allocations: 223.2 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1827/0.1827, allocations: 38.1 MB / 331.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 59.16 MB / 459.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002385/0.1173, allocations: 1.772 MB / 461.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.12, allocations: 1.905 MB / 463.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.981e-05/0.1201, allocations: 4 kB / 463.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.1202, allocations: 15.91 kB / 463.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.1203, allocations: 23.84 kB / 463.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1218, allocations: 0.6476 MB / 464.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.122, allocations: 99.58 kB / 464.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.122, allocations: 4.188 kB / 464.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.1221, allocations: 35.84 kB / 464.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.1222, allocations: 35.83 kB / 464.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1222, allocations: 0 / 464.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.1236, allocations: 1.064 MB / 465.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.1236, allocations: 11.92 kB / 465.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.1237, allocations: 29.7 kB / 465.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009154/0.1246, allocations: 0.9047 MB / 466.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1246, allocations: 0 / 466.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1246, allocations: 0 / 466.4 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.1246, allocations: 0 / 466.4 MB, free: 0.8359 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005302/0.1252, allocations: 0.489 MB / 466.9 MB, free: 300 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1252, allocations: 12.03 kB / 466.9 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.1252, allocations: 4 kB / 466.9 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1254, allocations: 194.2 kB / 467.1 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1254, allocations: 0 / 467.1 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.1255, allocations: 4 kB / 467.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1256, allocations: 57.67 kB / 467.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1256, allocations: 0 / 467.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1256, allocations: 3.938 kB / 467.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1257, allocations: 3.984 kB / 467.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.1257, allocations: 23.98 kB / 467.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1259, allocations: 165.6 kB / 467.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.1259, allocations: 50.5 kB / 467.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.126, allocations: 32.88 kB / 467.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.126, allocations: 4 kB / 467.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.126, allocations: 30.56 kB / 467.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.126, allocations: 0 / 467.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002601/0.1263, allocations: 159.4 kB / 467.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.1264, allocations: 85.11 kB / 467.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.1265, allocations: 121.8 kB / 467.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1265, allocations: 29.64 kB / 467.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.1265, allocations: 92.08 kB / 467.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1266, allocations: 31.55 kB / 468 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1266, allocations: 0 / 468 MB, free: 15.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1267, allocations: 322.8 kB / 468.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.1268, allocations: 16.03 kB / 468.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.1268, allocations: 23.98 kB / 468.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.1269, allocations: 65.98 kB / 468.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1269, allocations: 0 / 468.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000146/0.127, allocations: 131.2 kB / 468.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.1271, allocations: 41.69 kB / 468.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1271, allocations: 0 / 468.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1271, allocations: 0 / 468.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.316e-06/0.1271, allocations: 3.984 kB / 468.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1271, allocations: 0 / 468.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.1272, allocations: 8.062 kB / 468.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1272, allocations: 4 kB / 468.6 MB, free: 14.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1273, allocations: 159.4 kB / 468.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.1274, allocations: 15.86 kB / 468.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.1274, allocations: 8.359 kB / 468.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.1274, allocations: 0 / 468.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1274, allocations: 0 / 468.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1274, allocations: 0 / 468.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1275, allocations: 169.7 kB / 468.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1275, allocations: 3.938 kB / 468.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1275, allocations: 4 kB / 468.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1275, allocations: 3.953 kB / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1276, allocations: 7.984 kB / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1276, allocations: 0 / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1276, allocations: 0 / 468.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1278, allocations: 214.7 kB / 469.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.1279, allocations: 89 kB / 469.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1279, allocations: 3.953 kB / 469.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.1279, allocations: 8.031 kB / 469.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.1279, allocations: 0 / 469.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1279, allocations: 4 kB / 469.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.128, allocations: 99.2 kB / 469.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.128, allocations: 0 / 469.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006581/0.1287, allocations: 315.9 kB / 469.7 MB, free: 13.21 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 (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.000746/0.1294, allocations: 366.1 kB / 470 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1297, allocations: 195.3 kB / 470.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1297, allocations: 0 / 470.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1298, allocations: 151.4 kB / 470.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.13, allocations: 4 kB / 470.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.1304, allocations: 304.2 kB / 470.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.1306, allocations: 0.6965 MB / 471.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.1307, allocations: 7.438 kB / 471.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1307, allocations: 0 / 471.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Templates: time 0.009543/0.1402, allocations: 5.775 MB / 477.1 MB, free: 5.645 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0CalcHelperMain.o] Error 1