Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 93.44 kB / 16.95 MB, free: 5.953 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.00127/0.00127, allocations: 178.4 kB / 17.84 MB, free: 5.621 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.348/1.348, allocations: 223.2 MB / 241.9 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1702/0.1702, allocations: 38.1 MB / 331.1 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 11.98 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 59.17 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005911/0.1251, allocations: 4.611 MB / 464.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1275, allocations: 1.403 MB / 465.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.1278, allocations: 23.88 kB / 465.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1281, allocations: 99.28 kB / 466 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000628/0.1288, allocations: 270.6 kB / 466.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1292, allocations: 163.7 kB / 466.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007592/0.13, allocations: 0.662 MB / 467.1 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008297/0.1308, allocations: 0.5192 MB / 467.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.1311, allocations: 203 kB / 467.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004656/0.1316, allocations: 279.1 kB / 468.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.1317, allocations: 16 kB / 468.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.1319, allocations: 83.8 kB / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.1322, allocations: 175.5 kB / 468.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1323, allocations: 105.4 kB / 468.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.1328, allocations: 387 kB / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.1328, allocations: 0 / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1328, allocations: 3.938 kB / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1328, allocations: 0 / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001028/0.1338, allocations: 0.6327 MB / 469.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1339, allocations: 12.03 kB / 469.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00054/0.1344, allocations: 87.44 kB / 469.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.135, allocations: 378 kB / 469.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1351, allocations: 29 kB / 470 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.1352, allocations: 43.98 kB / 470 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.1361, allocations: 476.8 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1361, allocations: 0 / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.1362, allocations: 12 kB / 470.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.1363, allocations: 28.98 kB / 470.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.1368, allocations: 335.7 kB / 470.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.139, allocations: 1.71 MB / 472.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1393, allocations: 153.1 kB / 472.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.1395, allocations: 101.7 kB / 472.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1395, allocations: 4 kB / 472.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.1396, allocations: 30.56 kB / 472.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.1396, allocations: 0 / 472.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001407/0.141, allocations: 0.8564 MB / 473.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.141, allocations: 85.09 kB / 473.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1413, allocations: 304.4 kB / 474.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1414, allocations: 29.83 kB / 474.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1415, allocations: 251.4 kB / 474.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.1416, allocations: 63.19 kB / 474.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.1416, allocations: 8 kB / 474.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1418, allocations: 338.8 kB / 474.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.142, allocations: 88.22 kB / 474.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1423, allocations: 197.2 kB / 475 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1425, allocations: 130.7 kB / 475.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1425, allocations: 0 / 475.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008727/0.1434, allocations: 451.7 kB / 475.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1434, allocations: 8 kB / 475.6 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005323/0.1439, allocations: 299.6 kB / 475.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.1444, allocations: 132.7 kB / 476 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.1446, allocations: 55.91 kB / 476.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.1472, allocations: 2.146 MB / 478.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1473, allocations: 15.94 kB / 478.2 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.1474, allocations: 16 kB / 478.3 MB, free: 4.379 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.1476, allocations: 181.7 kB / 478.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.1476, allocations: 27.67 kB / 478.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.1481, allocations: 256.3 kB / 478.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1481, allocations: 4 kB / 478.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1481, allocations: 0 / 478.7 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1481, allocations: 3.984 kB / 478.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1491, allocations: 0.7234 MB / 479.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1491, allocations: 3.938 kB / 479.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.1493, allocations: 39.98 kB / 479.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.159e-05/0.1494, allocations: 36.83 kB / 479.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1495, allocations: 7.984 kB / 479.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.1506, allocations: 1.478 MB / 481 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1506, allocations: 3.953 kB / 481 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.1512, allocations: 420.7 kB / 481.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.1512, allocations: 108.8 kB / 481.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.1513, allocations: 3.953 kB / 481.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1514, allocations: 11.98 kB / 481.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1515, allocations: 19.92 kB / 481.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1515, allocations: 8 kB / 481.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.1517, allocations: 211.1 kB / 481.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1517, allocations: 0 / 481.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.1522, allocations: 88 kB / 481.9 MB, free: 0.5117 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.1523, allocations: 99.23 kB / 482 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000639/0.1529, allocations: 390.3 kB / 482.3 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.153, allocations: 0 / 482.3 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.1533, allocations: 232.5 kB / 482.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1537, allocations: 49.06 kB / 482.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.1552, allocations: 1.138 MB / 483.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.1557, allocations: 0.8461 MB / 484.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.1558, allocations: 27.38 kB / 484.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1558, allocations: 0 / 484.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.008402/0.1642, allocations: 5.672 MB / 490.3 MB, free: 7.969 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.o] Error 1