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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007741/0.0007741, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003172/0.003172, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8613/0.8613, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2064/0.2064, allocations: 29.41 MB / 290.8 MB, free: 2.41 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.998e-05, allocations: 4.109 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006318/0.006348, allocations: 6.866 MB / 438.3 MB, free: 6.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00299/0.009338, allocations: 1.671 MB / 440 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.009727, allocations: 35.69 kB / 440 MB, free: 4.465 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.01026, allocations: 226.3 kB / 440.3 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.01131, allocations: 0.606 MB / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.01169, allocations: 219.5 kB / 441.1 MB, free: 3.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.01287, allocations: 1.3 MB / 442.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/0.01317, allocations: 211 kB / 442.6 MB, free: 1.898 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009788/0.01415, allocations: 0.7515 MB / 443.3 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007783/0.01493, allocations: 0.6038 MB / 443.9 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.262e-05/0.01502, allocations: 64 kB / 444 MB, free: 488 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.01514, allocations: 64 kB / 444.1 MB, free: 424 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.01537, allocations: 351 kB / 444.4 MB, free: 72 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1629/0.1783, allocations: 296.1 kB / 444.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008455/0.1791, allocations: 0.9147 MB / 445.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.1791, allocations: 0 / 445.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1791, allocations: 0 / 445.6 MB, free: 45.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1791, allocations: 3.219 kB / 445.6 MB, free: 45.06 MB / 410.7 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.001158/0.1803, allocations: 1.168 MB / 446.8 MB, free: 44.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1803, allocations: 13.33 kB / 446.8 MB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.1804, allocations: 102.6 kB / 446.9 MB, free: 44.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.1811, allocations: 0.6341 MB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.1811, allocations: 45.64 kB / 447.6 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.1812, allocations: 64.38 kB / 447.6 MB, free: 44.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.1819, allocations: 0.8714 MB / 448.5 MB, free: 43.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1819, allocations: 6.375 kB / 448.5 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.1819, allocations: 30.22 kB / 448.6 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.182, allocations: 33.02 kB / 448.6 MB, free: 43.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005686/0.1825, allocations: 0.672 MB / 449.3 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.1842, allocations: 2.257 MB / 451.5 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.1848, allocations: 0.6204 MB / 452.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.1851, allocations: 388 kB / 452.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1852, allocations: 7.062 kB / 452.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.1855, allocations: 0.5383 MB / 453.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=63): time 2.976e-06/0.1855, allocations: 3.062 kB / 453.1 MB, free: 42.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.001692/0.1872, allocations: 2.064 MB / 455.1 MB, free: 41.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.1873, allocations: 254.2 kB / 455.4 MB, free: 41.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1876, allocations: 0.5628 MB / 455.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1876, allocations: 37.23 kB / 456 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.1877, allocations: 411.8 kB / 456.4 MB, free: 40.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.1878, allocations: 214.6 kB / 456.6 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1879, allocations: 145.1 kB / 456.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.188, allocations: 386.1 kB / 457.1 MB, free: 39.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1882, allocations: 281.7 kB / 457.4 MB, free: 39.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.1884, allocations: 0.496 MB / 457.9 MB, free: 39.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.1889, allocations: 0.8065 MB / 458.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1889, allocations: 0 / 458.7 MB, free: 38.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008019/0.1897, allocations: 1.006 MB / 459.7 MB, free: 38.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.1897, allocations: 61.03 kB / 459.7 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1897, allocations: 7.219 kB / 459.8 MB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.19, allocations: 116.9 kB / 459.9 MB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.1902, allocations: 147.2 kB / 460 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1916, allocations: 3.289 MB / 463.3 MB, free: 35.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1919, allocations: 35.34 kB / 463.3 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.1919, allocations: 57.69 kB / 463.4 MB, free: 35.23 MB / 410.7 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.000243/0.1922, allocations: 360 kB / 463.7 MB, free: 34.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.1922, allocations: 72.94 kB / 463.8 MB, free: 34.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.1928, allocations: 0.8527 MB / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1928, allocations: 10.34 kB / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1928, allocations: 0 / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1928, allocations: 3.281 kB / 464.7 MB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1939, allocations: 1.469 MB / 466.2 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1939, allocations: 0 / 466.2 MB, free: 33.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.1941, allocations: 111.9 kB / 466.3 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1942, allocations: 3.281 kB / 466.3 MB, free: 33.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.1942, allocations: 24.95 kB / 466.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1942, allocations: 2.938 kB / 466.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1942, allocations: 3.125 kB / 466.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.195, allocations: 1.335 MB / 467.6 MB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1951, allocations: 104.7 kB / 467.7 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1951, allocations: 21.81 kB / 467.8 MB, free: 32.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1953, allocations: 28.56 kB / 467.8 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.1953, allocations: 39.08 kB / 467.8 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.1954, allocations: 60.56 kB / 467.9 MB, free: 32.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002133/0.1956, allocations: 381.2 kB / 468.2 MB, free: 32.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1956, allocations: 0 / 468.2 MB, free: 32.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004316/0.196, allocations: 178.1 kB / 468.4 MB, free: 32.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0001038/0.1961, allocations: 125.7 kB / 468.5 MB, free: 32.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007713/0.1969, allocations: 1.094 MB / 469.6 MB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1969, allocations: 0.5625 kB / 469.6 MB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.1972, allocations: 0.4893 MB / 470.1 MB, free: 31.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.1977, allocations: 164.4 kB / 470.3 MB, free: 31.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1991, allocations: 1.617 MB / 471.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1993, allocations: 415.1 kB / 472.3 MB, free: 30.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.987e-05/0.1994, allocations: 57.39 kB / 472.4 MB, free: 30.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1994, allocations: 0 / 472.4 MB, free: 30.65 MB / 410.7 MB Notification: Performance of Templates: time 0.01071/0.2101, allocations: 12.4 MB / 484.8 MB, free: 29.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.74592296499759] Failed to read output from testmodel.py, exit status != 0: 0.2159863980486989 0.223903662 0.043056455 Calling exit ...