Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009178, allocations: 92.61 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.001157/0.001157, allocations: 178.9 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.414/1.414, allocations: 223.3 MB / 242.2 MB, free: 14.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.1847/0.1847, allocations: 38.09 MB / 331.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 11.03 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 59.16 MB / 460.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006744/0.122, allocations: 6.139 MB / 466.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1247, allocations: 1.675 MB / 468.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.1251, allocations: 35.75 kB / 468.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.1254, allocations: 119.3 kB / 468.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007268/0.1262, allocations: 346.5 kB / 468.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1265, allocations: 131.9 kB / 469 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1275, allocations: 1.157 MB / 470.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.1278, allocations: 184.8 kB / 470.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.1283, allocations: 282.5 kB / 470.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.1288, allocations: 394.6 kB / 471 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.146e-05/0.1289, allocations: 27.94 kB / 471 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.806e-05/0.129, allocations: 20 kB / 471 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.1292, allocations: 191.5 kB / 471.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.1295, allocations: 276.2 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.1299, allocations: 426.9 kB / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1299, allocations: 0 / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1299, allocations: 0 / 471.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1299, allocations: 3.938 kB / 471.9 MB, free: 11.63 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001349/0.1313, allocations: 0.7986 MB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1313, allocations: 8.031 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1314, allocations: 64.19 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.1322, allocations: 486.6 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.1322, allocations: 32.94 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.1323, allocations: 40 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008489/0.1332, allocations: 0.5351 MB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.1332, allocations: 4 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.1333, allocations: 19.94 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.1333, allocations: 20.94 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.1339, allocations: 395.7 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.1363, allocations: 1.947 MB / 476.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.1368, allocations: 325.4 kB / 476.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.1372, allocations: 185.7 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1372, allocations: 3.938 kB / 476.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003964/0.1376, allocations: 280.3 kB / 477 MB, free: 6.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/0.1376, allocations: 0 / 477 MB, free: 6.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001813/0.1394, allocations: 1.183 MB / 478.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.318e-05/0.1395, allocations: 170.2 kB / 478.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.1399, allocations: 389.9 kB / 478.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.14, allocations: 33.7 kB / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.1402, allocations: 299.5 kB / 479.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.1403, allocations: 114.4 kB / 479.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.1404, allocations: 49.69 kB / 479.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1405, allocations: 354.8 kB / 479.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1407, allocations: 125 kB / 479.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.141, allocations: 290.1 kB / 480 MB, free: 3.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.1416, allocations: 485.3 kB / 480.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1416, allocations: 0 / 480.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007/0.1423, allocations: 0.5177 MB / 481 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.1423, allocations: 37.69 kB / 481 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.1424, allocations: 8 kB / 481 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1424, allocations: 8 kB / 481 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.1428, allocations: 111.8 kB / 481.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.1428, allocations: 12.41 kB / 481.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.1431, allocations: 31.92 kB / 481.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.1431, allocations: 31.98 kB / 481.2 MB, free: 1.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.000265/0.1434, allocations: 248.2 kB / 481.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.1435, allocations: 51.38 kB / 481.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007198/0.1442, allocations: 451.2 kB / 481.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1442, allocations: 4 kB / 481.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1442, allocations: 4 kB / 481.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1443, allocations: 3.984 kB / 481.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.1456, allocations: 0.9731 MB / 482.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1456, allocations: 0 / 482.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.1459, allocations: 67.91 kB / 483 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1459, allocations: 0 / 483 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.146, allocations: 11.98 kB / 483 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.146, allocations: 7.938 kB / 483 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.146, allocations: 8.016 kB / 483 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.1469, allocations: 0.7133 MB / 483.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.1471, allocations: 136.5 kB / 483.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.1472, allocations: 12.06 kB / 483.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1474, allocations: 19.98 kB / 483.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.1475, allocations: 24.03 kB / 483.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.1475, allocations: 31.97 kB / 483.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.1478, allocations: 267.1 kB / 484.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1478, allocations: 0 / 484.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004565/0.1483, allocations: 111.9 kB / 484.3 MB, free: 14.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.000144/0.1484, allocations: 107.2 kB / 484.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006093/0.1491, allocations: 406.9 kB / 484.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1491, allocations: 0 / 484.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003192/0.1494, allocations: 267 kB / 485.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/0.1501, allocations: 98.94 kB / 485.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1518, allocations: 1.27 MB / 486.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.1523, allocations: 0.882 MB / 487.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1524, allocations: 39.44 kB / 487.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1524, allocations: 0 / 487.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Templates: time 0.009589/0.162, allocations: 5.836 MB / 493.2 MB, free: 5.484 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.TransformerCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.TransformerCalcHelperMain.o] Error 1