Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,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_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,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_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 92.94 kB / 17.31 MB, free: 6.535 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.001684/0.001684, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.492/1.492, allocations: 223.2 MB / 242.2 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.181/0.181, allocations: 38.1 MB / 331.5 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003706, allocations: 12.86 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 59.16 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002526/0.1338, allocations: 1.756 MB / 462.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.1346, allocations: 0.5182 MB / 462.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.1347, allocations: 0 / 462.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1348, allocations: 11.92 kB / 462.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1349, allocations: 27.89 kB / 462.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.1352, allocations: 59.86 kB / 462.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1354, allocations: 119.6 kB / 463 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.1354, allocations: 4 kB / 463 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.1355, allocations: 19.92 kB / 463 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.1356, allocations: 31.84 kB / 463.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1356, allocations: 8 kB / 463.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.1358, allocations: 71.83 kB / 463.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.1358, allocations: 19.92 kB / 463.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.1359, allocations: 49.52 kB / 463.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.136, allocations: 84.09 kB / 463.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.136, allocations: 0 / 463.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.136, allocations: 0 / 463.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1361, allocations: 0 / 463.3 MB, free: 4.262 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.0003878/0.1364, allocations: 389 kB / 463.7 MB, free: 3.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1365, allocations: 8.031 kB / 463.7 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1366, allocations: 12.84 kB / 463.7 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.1367, allocations: 172.3 kB / 463.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1368, allocations: 4.375 kB / 463.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.1368, allocations: 4.125 kB / 463.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1369, allocations: 65.61 kB / 463.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1369, allocations: 3.938 kB / 463.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.137, allocations: 7.984 kB / 464 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.137, allocations: 0 / 464 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.137, allocations: 31.92 kB / 464 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.1372, allocations: 165.6 kB / 464.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.351e-05/0.1373, allocations: 58.56 kB / 464.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.1373, allocations: 44.81 kB / 464.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1373, allocations: 4 kB / 464.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1374, allocations: 30.56 kB / 464.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.484e-06/0.1374, allocations: 0 / 464.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003027/0.1377, allocations: 187.1 kB / 464.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.1378, allocations: 89.14 kB / 464.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1379, allocations: 129.9 kB / 464.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1379, allocations: 25.7 kB / 464.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.138, allocations: 88.14 kB / 464.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.138, allocations: 39.44 kB / 464.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.138, allocations: 21.7 kB / 464.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1382, allocations: 314.8 kB / 465.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.1382, allocations: 27.98 kB / 465.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.1383, allocations: 35.98 kB / 465.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1384, allocations: 156.2 kB / 465.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1384, allocations: 0 / 465.4 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001864/0.1386, allocations: 147.2 kB / 465.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.1387, allocations: 49.67 kB / 465.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1387, allocations: 0 / 465.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1387, allocations: 4 kB / 465.6 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1387, allocations: 3.938 kB / 465.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1387, allocations: 4 kB / 465.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.1388, allocations: 3.906 kB / 465.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1388, allocations: 8.062 kB / 465.6 MB, free: 1.707 MB / 334.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.0001361/0.1389, allocations: 163.5 kB / 465.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.139, allocations: 15.84 kB / 465.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.673e-05/0.139, allocations: 8.359 kB / 465.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.139, allocations: 0 / 465.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.139, allocations: 0 / 465.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.139, allocations: 0 / 465.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1392, allocations: 177.5 kB / 465.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1392, allocations: 3.984 kB / 465.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-06/0.1392, allocations: 4 kB / 466 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1392, allocations: 7.938 kB / 466 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1392, allocations: 0 / 466 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1392, allocations: 0 / 466 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.1392, allocations: 4 kB / 466 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.1395, allocations: 271.5 kB / 466.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.1396, allocations: 85.02 kB / 466.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1396, allocations: 7.938 kB / 466.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.1397, allocations: 8.016 kB / 466.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.1397, allocations: 4 kB / 466.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.1397, allocations: 3.938 kB / 466.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.1397, allocations: 99.2 kB / 466.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 0 / 466.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.14, allocations: 32 kB / 466.5 MB, free: 0.7188 MB / 334.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.0001726/0.1402, allocations: 119.2 kB / 466.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.1405, allocations: 287.2 kB / 466.9 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1405, allocations: 4.062 kB / 466.9 MB, free: 304 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.1407, allocations: 219.3 kB / 467.1 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.141, allocations: 19.92 kB / 467.1 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.1415, allocations: 322.8 kB / 467.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1418, allocations: 0.7004 MB / 468.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.1418, allocations: 11.44 kB / 468.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.647e-06/0.1418, allocations: 0 / 468.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of Templates: time 0.003044/0.1449, allocations: 1.235 MB / 469.4 MB, free: 13.73 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o] Error 1