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.001534/0.001534, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001517/0.001517, allocations: 164.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.579/1.579, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] 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.1808/0.1808, allocations: 29.43 MB / 290.1 MB, free: 3.309 MB / 270.1 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.443e-06/1.443e-06, allocations: 0 / 430.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.666e-05/2.81e-05, allocations: 9.453 kB / 430.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008618/0.008646, allocations: 6.866 MB / 437.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.01158, allocations: 1.675 MB / 439.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.01188, allocations: 35.69 kB / 439.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.01254, allocations: 230.3 kB / 439.5 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.01378, allocations: 0.5944 MB / 440.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.01419, allocations: 219.6 kB / 440.3 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.01565, allocations: 1.289 MB / 441.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.01603, allocations: 223 kB / 441.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.01708, allocations: 0.7476 MB / 442.6 MB, free: 6.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009814/0.01806, allocations: 0.6038 MB / 443.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01818, allocations: 64 kB / 443.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.01834, allocations: 64 kB / 443.3 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.01871, allocations: 363 kB / 443.7 MB, free: 4.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.01909, allocations: 291.2 kB / 443.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.02025, allocations: 0.9151 MB / 444.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.02026, allocations: 0 / 444.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.02026, allocations: 0 / 444.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.02028, allocations: 0 / 444.9 MB, free: 3.754 MB / 366.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.002232/0.02251, allocations: 1.183 MB / 446 MB, free: 2.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.02255, allocations: 11.98 kB / 446.1 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.02271, allocations: 104.3 kB / 446.2 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.02399, allocations: 0.6309 MB / 446.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.02404, allocations: 49.67 kB / 446.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.02416, allocations: 68.36 kB / 446.9 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.02562, allocations: 0.8717 MB / 447.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.02564, allocations: 7.875 kB / 447.8 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.02571, allocations: 28 kB / 447.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/0.02576, allocations: 33.3 kB / 447.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1965/0.2223, allocations: 0.6643 MB / 448.5 MB, free: 30.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003757/0.2261, allocations: 2.257 MB / 450.8 MB, free: 29.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000977/0.227, allocations: 0.615 MB / 451.4 MB, free: 29.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.2277, allocations: 402 kB / 451.8 MB, free: 28.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.2277, allocations: 5.562 kB / 451.8 MB, free: 28.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006007/0.2283, allocations: 0.5368 MB / 452.3 MB, free: 28.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.807e-06/0.2283, allocations: 0 / 452.3 MB, free: 28.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.003368/0.2317, allocations: 2.064 MB / 454.4 MB, free: 27.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.199e-05/0.2318, allocations: 256.7 kB / 454.6 MB, free: 27.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.2325, allocations: 0.5557 MB / 455.2 MB, free: 26.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.2326, allocations: 41.66 kB / 455.2 MB, free: 26.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.2329, allocations: 408.5 kB / 455.6 MB, free: 26.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.233, allocations: 210 kB / 455.8 MB, free: 26.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.2333, allocations: 148.6 kB / 456 MB, free: 26.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2334, allocations: 385.3 kB / 456.3 MB, free: 25.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.2338, allocations: 276.8 kB / 456.6 MB, free: 25.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.2343, allocations: 0.5014 MB / 457.1 MB, free: 25.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008297/0.2351, allocations: 0.7975 MB / 457.9 MB, free: 24.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2351, allocations: 2.188 kB / 457.9 MB, free: 24.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001622/0.2367, allocations: 1.008 MB / 458.9 MB, free: 24.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.2368, allocations: 66.84 kB / 459 MB, free: 24.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.2368, allocations: 6.344 kB / 459 MB, free: 24.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004394/0.2372, allocations: 113.5 kB / 459.1 MB, free: 24.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.2378, allocations: 143.6 kB / 459.3 MB, free: 24.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.2403, allocations: 3.293 MB / 462.5 MB, free: 21.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/0.2409, allocations: 41.64 kB / 462.6 MB, free: 21.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.241, allocations: 57.22 kB / 462.6 MB, free: 21.21 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.0004688/0.2414, allocations: 357.4 kB / 463 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.2415, allocations: 74.66 kB / 463.1 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2429, allocations: 0.8509 MB / 463.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.2429, allocations: 8.25 kB / 463.9 MB, free: 20.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.2429, allocations: 5.094 kB / 463.9 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.2429, allocations: 2.672 kB / 463.9 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.2452, allocations: 1.462 MB / 465.4 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.2452, allocations: 1.828 kB / 465.4 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.2457, allocations: 117.3 kB / 465.5 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.2457, allocations: 3.062 kB / 465.5 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.2458, allocations: 20.47 kB / 465.5 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2458, allocations: 3.672 kB / 465.5 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2458, allocations: 5.125 kB / 465.5 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.2474, allocations: 1.334 MB / 466.9 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.2477, allocations: 114 kB / 467 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.2478, allocations: 16.61 kB / 467 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.2482, allocations: 28.86 kB / 467 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.2483, allocations: 42.05 kB / 467.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.2485, allocations: 62.48 kB / 467.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005521/0.249, allocations: 379 kB / 467.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.249, allocations: 0 / 467.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008732/0.2499, allocations: 178 kB / 467.7 MB, free: 18.72 MB / 366.1 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.0001632/0.25, allocations: 120.8 kB / 467.8 MB, free: 18.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.2517, allocations: 1.092 MB / 468.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2517, allocations: 0 / 468.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.2522, allocations: 498.2 kB / 469.4 MB, free: 17.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.2532, allocations: 159.5 kB / 469.5 MB, free: 17.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.2557, allocations: 1.555 MB / 471.1 MB, free: 16.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.2563, allocations: 423.7 kB / 471.5 MB, free: 16.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004644/0.2567, allocations: 148.1 kB / 471.6 MB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.2569, allocations: 51.08 kB / 471.7 MB, free: 16.58 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.2569, allocations: 0 / 471.7 MB, free: 16.58 MB / 366.1 MB Notification: Performance of Templates: time 0.016/0.2729, allocations: 7.55 MB / 479.2 MB, free: 12.94 MB / 366.1 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.240710187703371] Failed to read output from testmodel.py, exit status != 0: 0.2816115915775299 0.29256547799999993 0.269503933 Calling exit ...