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.001029/0.001028, allocations: 103 kB / 17.16 MB, free: 6.32 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.0009447/0.0009448, allocations: 190.9 kB / 18.07 MB, free: 5.414 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1672/0.1672, allocations: 38.04 MB / 329.9 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 58.11 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1159, allocations: 58.06 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007608/0.1236, allocations: 6.553 MB / 463.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.1266, allocations: 1.687 MB / 465 MB, free: 264 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.1269, allocations: 39.75 kB / 465.1 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004644/0.1274, allocations: 127.3 kB / 465.2 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007635/0.1282, allocations: 342.6 kB / 465.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.1285, allocations: 135.8 kB / 465.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009968/0.1295, allocations: 1.161 MB / 466.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002884/0.1298, allocations: 180.8 kB / 467 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.1302, allocations: 290.6 kB / 467.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005626/0.1308, allocations: 430.5 kB / 467.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.1309, allocations: 28 kB / 467.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.131, allocations: 28 kB / 467.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.1312, allocations: 199.4 kB / 468 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.1314, allocations: 254.6 kB / 468.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.1319, allocations: 446.8 kB / 468.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1319, allocations: 4 kB / 468.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1319, allocations: 0 / 468.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1319, allocations: 4 kB / 468.6 MB, free: 12.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.001519/0.1334, allocations: 0.8764 MB / 469.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1335, allocations: 8.031 kB / 469.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1336, allocations: 64.19 kB / 469.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.1343, allocations: 494.5 kB / 470.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.1344, allocations: 36.92 kB / 470.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.1344, allocations: 40 kB / 470.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/0.1352, allocations: 0.5352 MB / 470.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1352, allocations: 3.938 kB / 470.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.1353, allocations: 16 kB / 470.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.1353, allocations: 24.98 kB / 470.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.1359, allocations: 387.6 kB / 471.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.1382, allocations: 1.936 MB / 473 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.1388, allocations: 333.3 kB / 473.4 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.1391, allocations: 197.6 kB / 473.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1392, allocations: 4 kB / 473.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.1396, allocations: 272.3 kB / 473.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.1396, allocations: 4 kB / 473.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.001829/0.1414, allocations: 1.187 MB / 475 MB, free: 5.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.1415, allocations: 166.2 kB / 475.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.1419, allocations: 393.9 kB / 475.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/0.142, allocations: 33.7 kB / 475.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.1422, allocations: 295.6 kB / 475.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.1423, allocations: 118.6 kB / 476 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1425, allocations: 90.16 kB / 476.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1426, allocations: 358.8 kB / 476.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.1428, allocations: 117.1 kB / 476.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.1432, allocations: 294.1 kB / 476.9 MB, free: 3.906 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005234/0.1437, allocations: 481.3 kB / 477.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1437, allocations: 0 / 477.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006688/0.1444, allocations: 0.5253 MB / 477.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.1444, allocations: 33.7 kB / 477.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1445, allocations: 4.688 kB / 477.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1445, allocations: 8 kB / 477.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003908/0.1449, allocations: 115.8 kB / 478 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.1449, allocations: 15.88 kB / 478 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1451, allocations: 27.92 kB / 478 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.1452, allocations: 27.98 kB / 478.1 MB, free: 2.578 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.0002395/0.1454, allocations: 248.2 kB / 478.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.1455, allocations: 51.38 kB / 478.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.1462, allocations: 455.2 kB / 478.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1462, allocations: 4 kB / 478.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.1462, allocations: 0 / 478.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1462, allocations: 3.984 kB / 478.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.1474, allocations: 0.9769 MB / 479.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1474, allocations: 0 / 479.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.1477, allocations: 67.95 kB / 479.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1477, allocations: 8.031 kB / 479.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.1478, allocations: 12 kB / 479.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1478, allocations: 4 kB / 479.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1478, allocations: 0 / 479.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.1487, allocations: 0.7133 MB / 480.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1488, allocations: 136.5 kB / 480.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.1489, allocations: 16.05 kB / 480.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1491, allocations: 12 kB / 480.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.1492, allocations: 27.95 kB / 480.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.1492, allocations: 31.95 kB / 480.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.1495, allocations: 271.1 kB / 481.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1495, allocations: 0 / 481.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.1499, allocations: 103.9 kB / 481.2 MB, free: 15.32 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.0001377/0.1501, allocations: 117.2 kB / 481.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005591/0.1506, allocations: 410.9 kB / 481.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1506, allocations: 1.375 kB / 481.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.1509, allocations: 259.1 kB / 482 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000585/0.1515, allocations: 104 kB / 482.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1532, allocations: 1.221 MB / 483.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.1537, allocations: 0.882 MB / 484.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.572e-05/0.1538, allocations: 39.44 kB / 484.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1538, allocations: 0 / 484.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of Templates: time 0.008772/0.1625, allocations: 5.884 MB / 490.1 MB, free: 6.352 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