Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007747/0.0007747, allocations: 93.31 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.0008255/0.0008255, 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.43/1.43, allocations: 223.2 MB / 242.2 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2182/0.2182, allocations: 38.09 MB / 331.5 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003222, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 59.17 MB / 460.5 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002639/0.1295, allocations: 1.753 MB / 462.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.1303, allocations: 0.5182 MB / 462.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.1303, allocations: 0 / 462.8 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.1305, allocations: 15.92 kB / 462.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.1306, allocations: 23.91 kB / 462.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.1309, allocations: 59.84 kB / 462.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.131, allocations: 115.6 kB / 463 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.1311, allocations: 7.984 kB / 463 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.494e-05/0.1312, allocations: 19.92 kB / 463 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.1312, allocations: 39.83 kB / 463.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1312, allocations: 0 / 463.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.1314, allocations: 71.84 kB / 463.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.1315, allocations: 35.84 kB / 463.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.1316, allocations: 57.44 kB / 463.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1317, allocations: 92.09 kB / 463.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1317, allocations: 0 / 463.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1317, allocations: 0 / 463.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1318, allocations: 3.938 kB / 463.3 MB, free: 4.211 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004261/0.1322, allocations: 428.8 kB / 463.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1322, allocations: 12.03 kB / 463.8 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.1323, allocations: 8.844 kB / 463.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1325, allocations: 188.1 kB / 464 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1325, allocations: 12.31 kB / 464 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1325, allocations: 4.125 kB / 464 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1327, allocations: 85.67 kB / 464.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1327, allocations: 0 / 464.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1327, allocations: 4 kB / 464.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1327, allocations: 0 / 464.1 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.1328, allocations: 51.98 kB / 464.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.133, allocations: 189.5 kB / 464.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.1331, allocations: 98.5 kB / 464.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.1332, allocations: 92.8 kB / 464.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.1332, allocations: 0 / 464.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1332, allocations: 34.56 kB / 464.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 8.92e-07/0.1332, allocations: 0 / 464.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004334/0.1337, allocations: 295.5 kB / 464.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.1338, allocations: 97.09 kB / 464.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1339, allocations: 136.2 kB / 465 MB, free: 2.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1339, allocations: 25.7 kB / 465.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.134, allocations: 96.56 kB / 465.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.134, allocations: 74.81 kB / 465.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.1341, allocations: 21.72 kB / 465.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1342, allocations: 326.8 kB / 465.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.1343, allocations: 59.97 kB / 465.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.1343, allocations: 55.98 kB / 465.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.1346, allocations: 246.1 kB / 465.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1346, allocations: 4.031 kB / 465.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000219/0.1348, allocations: 230.3 kB / 466.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.1349, allocations: 61.66 kB / 466.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1349, allocations: 0 / 466.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1349, allocations: 4 kB / 466.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-06/0.1349, allocations: 4 kB / 466.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1349, allocations: 3.938 kB / 466.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.135, allocations: 11.84 kB / 466.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.135, allocations: 7.938 kB / 466.2 MB, free: 1.043 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.0001637/0.1352, allocations: 203.4 kB / 466.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.1352, allocations: 11.91 kB / 466.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.1352, allocations: 13.19 kB / 466.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1352, allocations: 0 / 466.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1352, allocations: 3.938 kB / 466.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1352, allocations: 0 / 466.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.1354, allocations: 205.4 kB / 466.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1354, allocations: 0 / 466.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1354, allocations: 0 / 466.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1354, allocations: 0 / 466.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1354, allocations: 4 kB / 466.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1354, allocations: 4 kB / 466.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1354, allocations: 0 / 466.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.136, allocations: 0.5099 MB / 467.2 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.136, allocations: 92.86 kB / 467.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1361, allocations: 4 kB / 467.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.487e-05/0.1361, allocations: 4 kB / 467.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.1361, allocations: 7.938 kB / 467.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1362, allocations: 12.03 kB / 467.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.931e-05/0.1362, allocations: 101.4 kB / 467.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1362, allocations: 0 / 467.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1365, allocations: 48 kB / 467.5 MB, free: 15.73 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.0001936/0.1367, allocations: 111.2 kB / 467.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.1374, allocations: 0.7023 MB / 468.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1374, allocations: 0 / 468.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.1379, allocations: 0.5655 MB / 468.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1382, allocations: 28.05 kB / 468.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.1388, allocations: 0.4996 MB / 469.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1392, allocations: 0.7202 MB / 470.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.1392, allocations: 7.438 kB / 470.1 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1392, allocations: 0 / 470.1 MB, free: 13 MB / 350.1 MB Notification: Performance of Templates: time 0.003615/0.1428, allocations: 1.71 MB / 471.8 MB, free: 11.29 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o] Error 1