Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_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.001052/0.001053, allocations: 109.7 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.0008629/0.0008629, 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 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1562/0.1562, allocations: 38 MB / 309.3 MB, free: 6.23 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 60.48 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1818, allocations: 55.24 MB / 430.5 MB, free: 20.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.00605/0.1879, allocations: 8.952 MB / 439.5 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1901, allocations: 2.28 MB / 441.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.1905, allocations: 63.56 kB / 441.8 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.1909, allocations: 214.9 kB / 442 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006716/0.1916, allocations: 0.5252 MB / 442.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1919, allocations: 195.7 kB / 442.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008937/0.1928, allocations: 1.936 MB / 444.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.1931, allocations: 298.5 kB / 445 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.1935, allocations: 481.6 kB / 445.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/0.194, allocations: 0.6853 MB / 446.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.1941, allocations: 44 kB / 446.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1943, allocations: 40 kB / 446.2 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.1945, allocations: 323.1 kB / 446.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.1947, allocations: 409.8 kB / 446.9 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.1951, allocations: 0.6898 MB / 447.6 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1951, allocations: 0 / 447.6 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1951, allocations: 4 kB / 447.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1951, allocations: 0 / 447.6 MB, free: 2.891 MB / 318.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.001374/0.1965, allocations: 1.221 MB / 448.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.1965, allocations: 8.031 kB / 448.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1966, allocations: 95.81 kB / 448.9 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007298/0.1974, allocations: 0.6603 MB / 449.6 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.1974, allocations: 57.25 kB / 449.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.1975, allocations: 59.98 kB / 449.7 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.1984, allocations: 0.806 MB / 450.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1984, allocations: 7.938 kB / 450.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.1985, allocations: 31.98 kB / 450.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.1985, allocations: 33.3 kB / 450.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.1994, allocations: 0.614 MB / 451.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/0.2023, allocations: 2.633 MB / 453.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008131/0.2032, allocations: 0.6133 MB / 454.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.2037, allocations: 381.7 kB / 454.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.2037, allocations: 8.438 kB / 454.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.2043, allocations: 487 kB / 455.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 1.704e-06/0.2043, allocations: 3.938 kB / 455.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002406/0.2067, allocations: 1.981 MB / 457.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.2068, allocations: 247.8 kB / 457.5 MB, free: 8.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.2073, allocations: 0.5666 MB / 458.1 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.2073, allocations: 37.7 kB / 458.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.2076, allocations: 407.4 kB / 458.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.2077, allocations: 209 kB / 458.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.2079, allocations: 146.6 kB / 458.9 MB, free: 7.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2081, allocations: 390.7 kB / 459.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.2084, allocations: 221.9 kB / 459.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.2088, allocations: 457.9 kB / 459.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.2096, allocations: 0.7934 MB / 460.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/0.2096, allocations: 7.984 kB / 460.7 MB, free: 5.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001327/0.211, allocations: 0.9443 MB / 461.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.211, allocations: 71.52 kB / 461.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.211, allocations: 4 kB / 461.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/0.2114, allocations: 113.5 kB / 461.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.2118, allocations: 143.9 kB / 462 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.2142, allocations: 3.004 MB / 465 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.2145, allocations: 35.97 kB / 465 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.2146, allocations: 51.97 kB / 465.1 MB, free: 380 kB / 334.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.0003317/0.215, allocations: 358.7 kB / 465.4 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.215, allocations: 75.16 kB / 465.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009718/0.216, allocations: 0.7858 MB / 466.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.216, allocations: 4 kB / 466.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.216, allocations: 3.938 kB / 466.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.2161, allocations: 7.984 kB / 466.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.2178, allocations: 1.543 MB / 467.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2178, allocations: 0 / 467.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.2183, allocations: 111.8 kB / 467.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.2183, allocations: 7.938 kB / 468 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.2183, allocations: 20 kB / 468 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2184, allocations: 3.984 kB / 468 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2184, allocations: 7.938 kB / 468 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.2197, allocations: 1.211 MB / 469.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.2199, allocations: 184.2 kB / 469.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.748e-05/0.22, allocations: 16 kB / 469.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.2203, allocations: 23.97 kB / 469.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.2204, allocations: 44.39 kB / 469.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/0.2204, allocations: 63.91 kB / 469.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003458/0.2208, allocations: 391.1 kB / 469.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2208, allocations: 0 / 469.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005014/0.2213, allocations: 180 kB / 470.1 MB, free: 11.2 MB / 350.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.0001292/0.2214, allocations: 131 kB / 470.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.2227, allocations: 1.012 MB / 471.2 MB, free: 10 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2227, allocations: 4.125 kB / 471.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.2232, allocations: 497.2 kB / 471.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.2239, allocations: 147.2 kB / 471.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.226, allocations: 1.9 MB / 473.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.2266, allocations: 1.013 MB / 474.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.2267, allocations: 59.42 kB / 474.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2267, allocations: 0 / 474.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of Templates: time 0.01258/0.2393, allocations: 12.04 MB / 486.9 MB, free: 10.24 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC1ph_DC.Transformation.TapChangerCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChangerCalcHelperMain.o] Error 1