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.0008189/0.0008191, allocations: 95.28 kB / 16.96 MB, free: 6.398 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.0007787/0.0007788, allocations: 175.4 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.332/1.332, allocations: 223.2 MB / 241.8 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1891/0.1891, allocations: 38.1 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003169, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.113, allocations: 59.16 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006397/0.1195, allocations: 5.815 MB / 465.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002706/0.1222, allocations: 1.606 MB / 467.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004041/0.1227, allocations: 39.69 kB / 467.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.1231, allocations: 131 kB / 467.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009417/0.124, allocations: 402 kB / 467.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1245, allocations: 179.8 kB / 468 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000816/0.1253, allocations: 0.9229 MB / 468.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.1256, allocations: 159.1 kB / 469.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.126, allocations: 290.6 kB / 469.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.1266, allocations: 398.7 kB / 469.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.1266, allocations: 20 kB / 469.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.1267, allocations: 20 kB / 469.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1269, allocations: 187.5 kB / 470 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.127, allocations: 121.4 kB / 470.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.1274, allocations: 426.9 kB / 470.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1274, allocations: 0 / 470.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1274, allocations: 0 / 470.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1274, allocations: 0 / 470.5 MB, free: 12.71 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.001355/0.1288, allocations: 0.8062 MB / 471.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1288, allocations: 12.03 kB / 471.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.129, allocations: 59.25 kB / 471.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.1296, allocations: 473.5 kB / 471.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.1297, allocations: 36.94 kB / 471.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/0.1298, allocations: 43.98 kB / 472 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.1305, allocations: 0.5273 MB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1305, allocations: 0 / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.1306, allocations: 24 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.1306, allocations: 17 kB / 472.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.1312, allocations: 395.6 kB / 472.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.1334, allocations: 1.936 MB / 474.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.134, allocations: 341.3 kB / 475.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.1343, allocations: 173.7 kB / 475.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1343, allocations: 8 kB / 475.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.1347, allocations: 272.3 kB / 475.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.1347, allocations: 0 / 475.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001706/0.1364, allocations: 1.179 MB / 476.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/0.1365, allocations: 178.1 kB / 477 MB, free: 5.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.1369, allocations: 381.9 kB / 477.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.1369, allocations: 41.69 kB / 477.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.1371, allocations: 291.5 kB / 477.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.1372, allocations: 118.4 kB / 477.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.1372, allocations: 8 kB / 477.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1374, allocations: 362.7 kB / 478.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1376, allocations: 125.1 kB / 478.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1379, allocations: 282.2 kB / 478.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.1381, allocations: 177.6 kB / 478.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1381, allocations: 8 kB / 478.7 MB, free: 4 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006908/0.1388, allocations: 0.5043 MB / 479.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.1389, allocations: 33.7 kB / 479.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1389, allocations: 11.94 kB / 479.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1389, allocations: 8 kB / 479.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.1393, allocations: 107.8 kB / 479.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.1394, allocations: 11.98 kB / 479.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.1396, allocations: 27.95 kB / 479.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.1397, allocations: 31.97 kB / 479.5 MB, free: 3.25 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,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.1399, allocations: 256.2 kB / 479.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.14, allocations: 47.44 kB / 479.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.1407, allocations: 455.2 kB / 480.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1407, allocations: 4 kB / 480.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1407, allocations: 0 / 480.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1407, allocations: 3.938 kB / 480.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1419, allocations: 0.9731 MB / 481.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.1419, allocations: 4 kB / 481.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.1422, allocations: 63.89 kB / 481.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1422, allocations: 0 / 481.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.1422, allocations: 16 kB / 481.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1423, allocations: 0 / 481.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1423, allocations: 3.953 kB / 481.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.1432, allocations: 0.7097 MB / 482 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.1433, allocations: 148.5 kB / 482.1 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.1434, allocations: 8 kB / 482.1 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1436, allocations: 20.05 kB / 482.1 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.1437, allocations: 31.86 kB / 482.2 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.1437, allocations: 27.97 kB / 482.2 MB, free: 360 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.144, allocations: 271.2 kB / 482.5 MB, free: 92 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 482.5 MB, free: 92 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.1445, allocations: 104 kB / 482.6 MB, free: 15.98 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 (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.0001378/0.1446, allocations: 115.1 kB / 482.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.1452, allocations: 400.4 kB / 483.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1452, allocations: 0 / 483.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.1455, allocations: 267 kB / 483.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006067/0.1462, allocations: 89.81 kB / 483.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.1479, allocations: 1.238 MB / 484.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.1484, allocations: 0.8742 MB / 485.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1486, allocations: 51.36 kB / 485.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1486, allocations: 0 / 485.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.008769/0.1573, allocations: 5.857 MB / 491.4 MB, free: 7.043 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++ 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.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