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.001012/0.001012, allocations: 108.5 kB / 17.16 MB, free: 6.324 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.0009369/0.0009369, 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.323/1.323, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1649/0.1649, allocations: 38.04 MB / 329.9 MB, free: 9.062 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 55.92 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1184, allocations: 58.06 MB / 456.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004825/0.1232, allocations: 3.674 MB / 460.5 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1252, allocations: 1.59 MB / 462.1 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1254, allocations: 11.94 kB / 462.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.1261, allocations: 235.2 kB / 462.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004821/0.1266, allocations: 267.1 kB / 462.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1269, allocations: 111.7 kB / 462.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005001/0.1274, allocations: 0.565 MB / 463.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.1277, allocations: 138.1 kB / 463.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1279, allocations: 123.4 kB / 463.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1281, allocations: 159.5 kB / 463.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1282, allocations: 8 kB / 463.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005422/0.1287, allocations: 423 kB / 464.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.1288, allocations: 103.7 kB / 464.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1289, allocations: 95.48 kB / 464.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1293, allocations: 275.4 kB / 464.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1293, allocations: 0 / 464.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1293, allocations: 0 / 464.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1293, allocations: 0 / 464.5 MB, free: 0.7461 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.0006343/0.1299, allocations: 0.5065 MB / 465 MB, free: 196 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.13, allocations: 12.02 kB / 465 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008656/0.1309, allocations: 104.5 kB / 465.1 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1312, allocations: 256.5 kB / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1312, allocations: 16.33 kB / 465.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.1312, allocations: 27.92 kB / 465.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1317, allocations: 314.4 kB / 465.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1317, allocations: 3.938 kB / 465.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1318, allocations: 8 kB / 465.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.1318, allocations: 19.98 kB / 465.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.1322, allocations: 299.8 kB / 466.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.1338, allocations: 1.297 MB / 467.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.1341, allocations: 206.2 kB / 467.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.1342, allocations: 45.95 kB / 467.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1342, allocations: 3.938 kB / 467.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1342, allocations: 34.56 kB / 467.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.1343, allocations: 0 / 467.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002917/0.1346, allocations: 137.4 kB / 467.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1346, allocations: 85.09 kB / 467.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1348, allocations: 207.7 kB / 468.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1348, allocations: 29.7 kB / 468.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1349, allocations: 171.5 kB / 468.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.135, allocations: 31.56 kB / 468.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.135, allocations: 41.83 kB / 468.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1352, allocations: 330.8 kB / 468.7 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.1352, allocations: 39.97 kB / 468.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1354, allocations: 128.9 kB / 468.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.1356, allocations: 200.8 kB / 469 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1356, allocations: 4 kB / 469 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002685/0.1359, allocations: 205.1 kB / 469.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1359, allocations: 4 kB / 469.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1359, allocations: 8.422 kB / 469.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1359, allocations: 8 kB / 469.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1361, allocations: 51.91 kB / 469.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1361, allocations: 4 kB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1362, allocations: 35.69 kB / 469.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.1362, allocations: 8 kB / 469.3 MB, free: 11.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.1364, allocations: 157.7 kB / 469.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.1364, allocations: 15.81 kB / 469.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1366, allocations: 119 kB / 469.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1366, allocations: 8 kB / 469.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1366, allocations: 0 / 469.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1367, allocations: 0 / 469.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.1373, allocations: 0.5758 MB / 470.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1373, allocations: 4 kB / 470.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.1374, allocations: 23.92 kB / 470.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1374, allocations: 3.938 kB / 470.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1375, allocations: 8 kB / 470.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1375, allocations: 4 kB / 470.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1375, allocations: 4 kB / 470.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1377, allocations: 288.2 kB / 470.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.1378, allocations: 100.9 kB / 470.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1378, allocations: 11.88 kB / 470.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1379, allocations: 4 kB / 470.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.138, allocations: 15.92 kB / 470.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.138, allocations: 8.188 kB / 470.7 MB, free: 10 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1381, allocations: 157.5 kB / 470.8 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1381, allocations: 3.938 kB / 470.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1385, allocations: 51.84 kB / 470.9 MB, free: 9.793 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 (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.0001021/0.1386, allocations: 107.1 kB / 471 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1388, allocations: 112.5 kB / 471.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1388, allocations: 0 / 471.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.1389, allocations: 47.84 kB / 471.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1393, allocations: 41.55 kB / 471.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.14, allocations: 0.5386 MB / 471.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1404, allocations: 0.7557 MB / 472.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.1404, allocations: 23.42 kB / 472.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of SimCode: time 1.283e-06/0.1404, allocations: 0 / 472.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Templates: time 0.003649/0.1441, allocations: 2.181 MB / 474.7 MB, free: 5.891 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++ -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.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