Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pMeter.I|pMeter.P|pMeter.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008285/0.0008287, allocations: 94.64 kB / 16.96 MB, free: 6.41 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.0008773/0.0008774, allocations: 179.6 kB / 17.84 MB, free: 5.969 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.359/1.359, allocations: 223.2 MB / 241.8 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1712/0.1712, allocations: 38.09 MB / 331 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 9.281 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 59.17 MB / 459.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004019/0.1172, allocations: 3.183 MB / 463.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1192, allocations: 1.455 MB / 464.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.1193, allocations: 11.94 kB / 464.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.1195, allocations: 39.69 kB / 464.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.12, allocations: 227.1 kB / 464.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.1203, allocations: 91.75 kB / 464.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.1208, allocations: 438.8 kB / 465.3 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005853/0.1213, allocations: 307.1 kB / 465.6 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1216, allocations: 131.4 kB / 465.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.1218, allocations: 143.5 kB / 465.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1218, allocations: 8 kB / 465.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.1222, allocations: 175.5 kB / 466 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.604e-05/0.1223, allocations: 91.75 kB / 466.1 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.1224, allocations: 61.58 kB / 466.2 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1226, allocations: 247.4 kB / 466.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1227, allocations: 0 / 466.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1227, allocations: 4 kB / 466.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1227, allocations: 4 kB / 466.4 MB, free: 0.8086 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005997/0.1233, allocations: 478.5 kB / 466.9 MB, free: 300 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1233, allocations: 8.031 kB / 466.9 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.1242, allocations: 111.6 kB / 467 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.1245, allocations: 257.2 kB / 467.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1245, allocations: 19.91 kB / 467.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1246, allocations: 20 kB / 467.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.1251, allocations: 322.3 kB / 467.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1251, allocations: 0 / 467.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.1252, allocations: 11.94 kB / 467.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/0.1252, allocations: 12 kB / 467.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.1257, allocations: 303.7 kB / 468 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1273, allocations: 1.293 MB / 469.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1276, allocations: 202.5 kB / 469.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.1277, allocations: 41.77 kB / 469.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1277, allocations: 7.938 kB / 469.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1277, allocations: 34.52 kB / 469.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1277, allocations: 4 kB / 469.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002909/0.128, allocations: 137.4 kB / 469.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.1281, allocations: 81.05 kB / 469.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1283, allocations: 215.7 kB / 470 MB, free: 13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1283, allocations: 25.7 kB / 470 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1285, allocations: 167.6 kB / 470.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1285, allocations: 35.55 kB / 470.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.1285, allocations: 4 kB / 470.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1287, allocations: 331 kB / 470.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.1287, allocations: 35.97 kB / 470.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1289, allocations: 132.9 kB / 470.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.129, allocations: 63.91 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.129, allocations: 4 kB / 470.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002901/0.1293, allocations: 197.5 kB / 470.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1293, allocations: 12.39 kB / 470.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1294, allocations: 8.094 kB / 470.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1294, allocations: 7.938 kB / 471 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1296, allocations: 51.91 kB / 471 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1296, allocations: 4 kB / 471 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.1297, allocations: 27.75 kB / 471 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.1297, allocations: 16 kB / 471.1 MB, free: 11.82 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 (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.1299, allocations: 149.8 kB / 471.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.1299, allocations: 15.81 kB / 471.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.1301, allocations: 130.9 kB / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1302, allocations: 0 / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1302, allocations: 4 kB / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1302, allocations: 0 / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.1309, allocations: 0.572 MB / 471.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1309, allocations: 0 / 471.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.131, allocations: 19.98 kB / 471.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.131, allocations: 7.938 kB / 471.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.131, allocations: 8 kB / 472 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.131, allocations: 4 kB / 472 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.1311, allocations: 320 / 472 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.1314, allocations: 287.8 kB / 472.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.1314, allocations: 100.9 kB / 472.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1315, allocations: 4 kB / 472.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1316, allocations: 4 kB / 472.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.1316, allocations: 23.88 kB / 472.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1316, allocations: 8 kB / 472.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1318, allocations: 149.5 kB / 472.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1318, allocations: 0 / 472.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003461/0.1321, allocations: 51.84 kB / 472.6 MB, free: 10.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001075/0.1323, allocations: 103.2 kB / 472.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1325, allocations: 116 kB / 472.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.1325, allocations: 0 / 472.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.1326, allocations: 43.86 kB / 472.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.133, allocations: 35.91 kB / 472.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.1338, allocations: 0.545 MB / 473.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1342, allocations: 0.7558 MB / 474.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.1342, allocations: 15.44 kB / 474.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1342, allocations: 7.938 kB / 474.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of Templates: time 0.003766/0.138, allocations: 2.186 MB / 476.4 MB, free: 6.238 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTestCalcHelperMain.o] Error 1