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.0007576/0.0007576, allocations: 93.88 kB / 16.95 MB, free: 5.574 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.0008276/0.0008277, allocations: 185.5 kB / 17.85 MB, free: 5.246 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.315/1.315, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1699/0.1699, allocations: 38.09 MB / 331.1 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 8 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 59.16 MB / 459.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002724/0.1235, allocations: 1.772 MB / 461.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1266, allocations: 1.912 MB / 463.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.1267, allocations: 0 / 463.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1268, allocations: 11.92 kB / 463.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1269, allocations: 27.83 kB / 463.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.1291, allocations: 0.6437 MB / 464.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1293, allocations: 95.64 kB / 464.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.465e-05/0.1293, allocations: 12.11 kB / 464.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1294, allocations: 31.84 kB / 464.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.939e-05/0.1295, allocations: 47.83 kB / 464.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1296, allocations: 0 / 464.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.1316, allocations: 1.06 MB / 465.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/0.1316, allocations: 15.92 kB / 465.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.1317, allocations: 29.7 kB / 465.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.133, allocations: 0.9086 MB / 466.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.133, allocations: 4 kB / 466.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.133, allocations: 0 / 466.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1331, allocations: 4 kB / 466.4 MB, free: 0.8477 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.0008392/0.1339, allocations: 0.5045 MB / 466.9 MB, free: 296 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1339, allocations: 8.031 kB / 466.9 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.134, allocations: 7.906 kB / 466.9 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1342, allocations: 193.1 kB / 467.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1343, allocations: 4 kB / 467.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.1343, allocations: 0 / 467.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1345, allocations: 69.61 kB / 467.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1345, allocations: 8 kB / 467.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1345, allocations: 3.938 kB / 467.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1345, allocations: 3.984 kB / 467.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/0.1346, allocations: 31.98 kB / 467.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.1348, allocations: 177.5 kB / 467.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.755e-05/0.1349, allocations: 58.56 kB / 467.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1349, allocations: 40.88 kB / 467.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.135, allocations: 0 / 467.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.135, allocations: 38.56 kB / 467.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.135, allocations: 0 / 467.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000343/0.1354, allocations: 191.2 kB / 467.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1354, allocations: 89.11 kB / 467.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1355, allocations: 130 kB / 468 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1356, allocations: 25.7 kB / 468 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.1356, allocations: 96.34 kB / 468.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.1357, allocations: 39.39 kB / 468.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.1357, allocations: 7.969 kB / 468.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1359, allocations: 322.8 kB / 468.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.1359, allocations: 31.98 kB / 468.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.136, allocations: 27.98 kB / 468.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.136, allocations: 77.67 kB / 468.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1361, allocations: 0 / 468.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001953/0.1363, allocations: 159.6 kB / 468.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.1363, allocations: 49.67 kB / 468.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1363, allocations: 3.938 kB / 468.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1364, allocations: 8.062 kB / 468.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.1364, allocations: 0 / 468.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1364, allocations: 0 / 468.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.1364, allocations: 7.906 kB / 468.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.1364, allocations: 4 kB / 468.8 MB, free: 14.21 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.0001371/0.1366, allocations: 163.5 kB / 469 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1366, allocations: 11.86 kB / 469 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.1366, allocations: 16.64 kB / 469 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1367, allocations: 0 / 469 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1367, allocations: 4 kB / 469 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1367, allocations: 0 / 469 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1368, allocations: 177.6 kB / 469.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1368, allocations: 0 / 469.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.1368, allocations: 4 kB / 469.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1368, allocations: 3.953 kB / 469.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1369, allocations: 4 kB / 469.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1369, allocations: 3.984 kB / 469.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1369, allocations: 0 / 469.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003296/0.1372, allocations: 294.4 kB / 469.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.1373, allocations: 88.95 kB / 469.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1373, allocations: 3.953 kB / 469.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.1373, allocations: 4 kB / 469.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.1374, allocations: 4 kB / 469.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1374, allocations: 4 kB / 469.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.389e-05/0.1374, allocations: 105.6 kB / 469.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1374, allocations: 0 / 469.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009247/0.1384, allocations: 319.8 kB / 470 MB, free: 12.92 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.001046/0.1394, allocations: 358.2 kB / 470.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.1398, allocations: 295.3 kB / 470.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1398, allocations: 0 / 470.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.14, allocations: 223.3 kB / 470.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.1402, allocations: 20.05 kB / 470.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.1408, allocations: 364.5 kB / 471.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.141, allocations: 0.7083 MB / 471.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.1411, allocations: 7.438 kB / 471.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1411, allocations: 4 kB / 471.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Templates: time 0.009553/0.1506, allocations: 5.968 MB / 477.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++ 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_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