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.0006408/0.0006408, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008726/0.001513, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000772/0.000772, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009047/0.001677, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9461/0.9461, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08037/1.027, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.1128/0.1128, allocations: 29.43 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1222/0.235, allocations: 9.521 MB / 282.9 MB, free: 12.84 MB / 282.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.583e-06/1.583e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.094e-05, allocations: 4.531 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.00543/0.00545, allocations: 5.961 MB / 290.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.007644, allocations: 1.784 MB / 292 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.007936, allocations: 36.19 kB / 292 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.008348, allocations: 218.7 kB / 292.2 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.009145, allocations: 0.586 MB / 292.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.009472, allocations: 216.7 kB / 293 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.01059, allocations: 1.278 MB / 294.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.01088, allocations: 215.9 kB / 294.5 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.01196, allocations: 0.916 MB / 295.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.01245, allocations: 486.5 kB / 295.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.834e-05/0.01252, allocations: 59.94 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.01261, allocations: 60 kB / 296 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.01282, allocations: 307.2 kB / 296.3 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.01302, allocations: 235.4 kB / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.0135, allocations: 0.5799 MB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.01351, allocations: 4 kB / 297.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01351, allocations: 0 / 297.1 MB, free: 1.848 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.01354, allocations: 7.875 kB / 297.1 MB, free: 1.84 MB / 282.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.001139/0.01468, allocations: 1.264 MB / 298.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.0147, allocations: 8.031 kB / 298.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.01482, allocations: 112.8 kB / 298.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/0.01542, allocations: 0.5634 MB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.01544, allocations: 41.69 kB / 299.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.0155, allocations: 64.38 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.01603, allocations: 0.5971 MB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01604, allocations: 0 / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.01607, allocations: 28 kB / 299.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.01611, allocations: 33.3 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.01637, allocations: 276.3 kB / 300.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.01799, allocations: 1.793 MB / 301.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004971/0.01849, allocations: 409.1 kB / 302.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.01871, allocations: 246.5 kB / 302.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.01873, allocations: 12.5 kB / 302.5 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.01902, allocations: 455.5 kB / 303 MB, free: 11.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 1.543e-06/0.01902, allocations: 0 / 303 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.0007269/0.01975, allocations: 0.8685 MB / 303.9 MB, free: 10.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.01983, allocations: 255.8 kB / 304.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.02011, allocations: 490.9 kB / 304.6 MB, free: 9.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.02013, allocations: 37.7 kB / 304.6 MB, free: 9.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.02027, allocations: 329.6 kB / 304.9 MB, free: 9.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.02038, allocations: 218.1 kB / 305.2 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.02049, allocations: 146.7 kB / 305.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003596/0.02085, allocations: 386.6 kB / 305.7 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.02096, allocations: 140.2 kB / 305.8 MB, free: 8.688 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.02115, allocations: 372.3 kB / 306.2 MB, free: 8.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.0215, allocations: 0.5551 MB / 306.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.02151, allocations: 3.938 kB / 306.7 MB, free: 7.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0005795/0.02208, allocations: 0.6202 MB / 307.4 MB, free: 6.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.02212, allocations: 63.41 kB / 307.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.02213, allocations: 8 kB / 307.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/0.02235, allocations: 99.55 kB / 307.5 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.02264, allocations: 171.7 kB / 307.7 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.02415, allocations: 3.016 MB / 310.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.02435, allocations: 79.44 kB / 310.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.02441, allocations: 51.91 kB / 310.8 MB, free: 3.188 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 85 * 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.0001716/0.02458, allocations: 241.8 kB / 311.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.02464, allocations: 67.94 kB / 311.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.025, allocations: 0.4946 MB / 311.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.025, allocations: 8 kB / 311.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.02501, allocations: 0 / 311.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.02501, allocations: 3.984 kB / 311.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.02609, allocations: 0.9471 MB / 312.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.0261, allocations: 4 kB / 312.6 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.02636, allocations: 123.9 kB / 312.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.02646, allocations: 91.39 kB / 312.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.02647, allocations: 4 kB / 312.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.0265, allocations: 23.92 kB / 312.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.0265, allocations: 4 kB / 312.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.0265, allocations: 3.938 kB / 312.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.02702, allocations: 0.8033 MB / 313.6 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.02707, allocations: 20.03 kB / 313.7 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.02719, allocations: 19.98 kB / 313.7 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.02725, allocations: 44.31 kB / 313.7 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.0273, allocations: 59.91 kB / 313.8 MB, free: 68 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.02743, allocations: 204.4 kB / 314 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02743, allocations: 0 / 314 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.02783, allocations: 211.6 kB / 314.2 MB, free: 15.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (54): * Single equations (assignments): 51 * 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 9.154e-05/0.02792, allocations: 106 kB / 314.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.02861, allocations: 0.8727 MB / 315.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/0.02863, allocations: 8 kB / 315.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.02886, allocations: 383.1 kB / 315.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.02929, allocations: 226 kB / 315.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/0.03682, allocations: 1.385 MB / 317.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.03696, allocations: 207.4 kB / 317.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.03716, allocations: 97.62 kB / 317.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.03743, allocations: 213.3 kB / 317.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03743, allocations: 0 / 317.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01038/0.04781, allocations: 8.354 MB / 326 MB, free: 3.816 MB / 314.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7201174469664693]