Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter12.i|meter12.p|meter12.v|meter22.i|meter22.p|meter22.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008643/0.0008642, allocations: 95.22 kB / 17.31 MB, free: 6.359 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.0008842/0.0008842, allocations: 177 kB / 18.21 MB, free: 5.523 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.435/1.435, allocations: 223.2 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1916/0.1916, allocations: 38.09 MB / 331.5 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003344, allocations: 8 kB / 401.4 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1452, allocations: 59.16 MB / 460.5 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.009615/0.1548, allocations: 8.49 MB / 469 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.1597, allocations: 2.205 MB / 471.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.1608, allocations: 59.62 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.1615, allocations: 210.8 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.1631, allocations: 0.5252 MB / 472 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.1636, allocations: 195.8 kB / 472.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.1657, allocations: 1.944 MB / 474.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.1662, allocations: 298.5 kB / 474.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008899/0.1671, allocations: 453.8 kB / 474.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009999/0.1681, allocations: 0.6578 MB / 475.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.879e-05/0.1682, allocations: 36 kB / 475.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1683, allocations: 36 kB / 475.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.1687, allocations: 303.1 kB / 475.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.1691, allocations: 419.4 kB / 476.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006757/0.1698, allocations: 0.6624 MB / 477 MB, free: 6.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1698, allocations: 0 / 477 MB, free: 6.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1698, allocations: 0 / 477 MB, free: 6.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1698, allocations: 0 / 477 MB, free: 6.555 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001974/0.1718, allocations: 1.081 MB / 478.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1719, allocations: 8.031 kB / 478.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.172, allocations: 95.81 kB / 478.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.1731, allocations: 0.668 MB / 478.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.1732, allocations: 53.19 kB / 478.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.1733, allocations: 63.98 kB / 478.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.1745, allocations: 0.8138 MB / 479.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.1746, allocations: 0 / 479.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.1746, allocations: 28 kB / 479.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/0.1747, allocations: 29.31 kB / 479.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009958/0.1757, allocations: 0.6218 MB / 480.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.1794, allocations: 2.641 MB / 483.1 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.1804, allocations: 0.6067 MB / 483.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.181, allocations: 372 kB / 484 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.181, allocations: 8.438 kB / 484.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/0.1817, allocations: 483 kB / 484.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.053e-06/0.1817, allocations: 4 kB / 484.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.00315/0.1848, allocations: 1.985 MB / 486.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.185, allocations: 259.8 kB / 486.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.1857, allocations: 0.5625 MB / 487.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.1858, allocations: 37.7 kB / 487.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.1862, allocations: 403.4 kB / 487.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.1864, allocations: 213.2 kB / 488 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1865, allocations: 73.67 kB / 488 MB, free: 10.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.1867, allocations: 386.8 kB / 488.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.1871, allocations: 221.9 kB / 488.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/0.1877, allocations: 453.8 kB / 489.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009611/0.1886, allocations: 0.8012 MB / 489.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1886, allocations: 0 / 489.9 MB, free: 8.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001552/0.1902, allocations: 0.9482 MB / 490.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.1903, allocations: 67.39 kB / 490.9 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.1903, allocations: 8 kB / 490.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.1907, allocations: 113.8 kB / 491 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.1912, allocations: 143.7 kB / 491.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.1946, allocations: 3 MB / 494.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.1954, allocations: 47.97 kB / 494.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.1955, allocations: 51.97 kB / 494.3 MB, free: 4.227 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006566/0.1961, allocations: 362.6 kB / 494.6 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.1963, allocations: 75.06 kB / 494.7 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.1976, allocations: 0.7857 MB / 495.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1976, allocations: 11.98 kB / 495.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1976, allocations: 0 / 495.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1976, allocations: 3.984 kB / 495.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.1998, allocations: 1.543 MB / 497 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1998, allocations: 4.031 kB / 497 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.2004, allocations: 107.9 kB / 497.1 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.2004, allocations: 7.984 kB / 497.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.2004, allocations: 16 kB / 497.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.2004, allocations: 4 kB / 497.2 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2005, allocations: 3.938 kB / 497.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.2021, allocations: 1.214 MB / 498.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.2024, allocations: 184.1 kB / 498.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.841e-05/0.2024, allocations: 16 kB / 498.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.2028, allocations: 35.97 kB / 498.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.2029, allocations: 40.33 kB / 498.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.605e-05/0.203, allocations: 59.98 kB / 498.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004834/0.2035, allocations: 391 kB / 499.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2035, allocations: 0 / 499.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007488/0.2042, allocations: 184 kB / 499.3 MB, free: 15.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.0001793/0.2044, allocations: 123.9 kB / 499.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.2061, allocations: 1.012 MB / 0.4887 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.2061, allocations: 4.5 kB / 0.4887 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00057/0.2066, allocations: 497.2 kB / 0.4892 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.2075, allocations: 147.2 kB / 0.4893 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.2106, allocations: 1.964 MB / 0.4912 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.2112, allocations: 1.013 MB / 0.4922 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.2114, allocations: 55.44 kB / 0.4923 GB, free: 10.08 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.2114, allocations: 4 kB / 0.4923 GB, free: 10.08 MB / 382.1 MB Notification: Performance of Templates: time 0.2656/0.477, allocations: 11.95 MB / 0.5039 GB, free: 55.36 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.Transformation.TapChangerCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Transformation.TapChangerCalcHelperMain.o] Error 1