Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.000963/0.000963, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1752/0.1752, allocations: 38.04 MB / 329.9 MB, free: 9.086 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 62.69 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.115, allocations: 58.06 MB / 456.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006018/0.121, allocations: 5.073 MB / 461.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002591/0.1236, allocations: 1.624 MB / 463.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.1239, allocations: 27.81 kB / 463.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.1249, allocations: 344.3 kB / 463.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.1255, allocations: 239 kB / 464.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.1261, allocations: 219.6 kB / 464.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000721/0.1268, allocations: 0.8615 MB / 465.2 MB, free: 152 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.1273, allocations: 280.7 kB / 465.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1276, allocations: 215 kB / 465.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.1281, allocations: 374.9 kB / 466 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1281, allocations: 32 kB / 466 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.1286, allocations: 247.5 kB / 466.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.1288, allocations: 227.5 kB / 466.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.129, allocations: 246.7 kB / 466.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.1295, allocations: 0.4989 MB / 467.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1295, allocations: 0 / 467.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1295, allocations: 0 / 467.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1295, allocations: 0 / 467.2 MB, free: 14.06 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00134/0.1309, allocations: 0.7701 MB / 468 MB, free: 13.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1309, allocations: 8.031 kB / 468 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005472/0.1315, allocations: 92.22 kB / 468.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.132, allocations: 399.2 kB / 468.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1321, allocations: 29.38 kB / 468.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1322, allocations: 52.05 kB / 468.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008836/0.1331, allocations: 0.6842 MB / 469.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1331, allocations: 0 / 469.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.1332, allocations: 16 kB / 469.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/0.1334, allocations: 56.95 kB / 469.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.1343, allocations: 0.6674 MB / 470 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.1375, allocations: 2.517 MB / 472.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005049/0.138, allocations: 337.3 kB / 472.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.1383, allocations: 225.9 kB / 473.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1383, allocations: 7.984 kB / 473.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1383, allocations: 46.5 kB / 473.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.1383, allocations: 0 / 473.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.001948/0.1403, allocations: 1.341 MB / 474.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1404, allocations: 85.05 kB / 474.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1406, allocations: 300.6 kB / 474.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1407, allocations: 37.69 kB / 474.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1408, allocations: 259.5 kB / 475.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1409, allocations: 149.8 kB / 475.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.1411, allocations: 94.16 kB / 475.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1412, allocations: 350.8 kB / 475.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/0.1415, allocations: 197 kB / 475.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.1418, allocations: 365.1 kB / 476.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.1425, allocations: 0.6099 MB / 476.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1425, allocations: 0 / 476.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008571/0.1434, allocations: 0.6464 MB / 477.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1434, allocations: 8 kB / 477.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1435, allocations: 8.031 kB / 477.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1435, allocations: 8 kB / 477.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.1439, allocations: 111.8 kB / 477.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.1439, allocations: 11.94 kB / 477.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.1441, allocations: 23.97 kB / 477.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.1442, allocations: 20 kB / 477.7 MB, free: 3.043 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * 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.0002331/0.1444, allocations: 217.6 kB / 477.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.1445, allocations: 35.56 kB / 477.9 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/0.1452, allocations: 0.4964 MB / 478.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.1453, allocations: 8 kB / 478.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1453, allocations: 0 / 478.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1453, allocations: 7.984 kB / 478.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.1469, allocations: 1.104 MB / 479.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1469, allocations: 0 / 479.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.1472, allocations: 71.89 kB / 479.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1472, allocations: 4 kB / 479.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.1473, allocations: 8 kB / 479.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1473, allocations: 7.984 kB / 479.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1473, allocations: 0 / 479.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.1483, allocations: 0.8435 MB / 480.5 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.14e-05/0.1484, allocations: 112.7 kB / 480.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.1485, allocations: 8.047 kB / 480.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1486, allocations: 11.94 kB / 480.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1487, allocations: 27.91 kB / 480.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.1487, allocations: 12 kB / 480.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001868/0.1489, allocations: 215 kB / 480.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1489, allocations: 0 / 480.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.1494, allocations: 108 kB / 481 MB, free: 15.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002231/0.1496, allocations: 135.1 kB / 481.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.1503, allocations: 0.4887 MB / 481.6 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1503, allocations: 3.938 kB / 481.6 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.1506, allocations: 223.8 kB / 481.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.1511, allocations: 66.56 kB / 481.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1528, allocations: 1.356 MB / 483.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1532, allocations: 0.8743 MB / 484.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1534, allocations: 39.44 kB / 484.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1534, allocations: 0 / 484.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of Templates: time 0.007386/0.1608, allocations: 5.494 MB / 489.7 MB, free: 6.891 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.Introductory.ReferenceSynchronCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchronCalcHelperMain.o] Error 1