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.001459/0.001459, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001669/0.001669, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9584/0.9584, allocations: 177.2 MB / 205 MB, free: 5.301 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.2513/0.2513, allocations: 29.41 MB / 290.9 MB, free: 2.449 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.283e-06/1.283e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.835e-05, allocations: 6.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01454/0.01456, allocations: 5.935 MB / 375.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.0167, allocations: 1.722 MB / 377.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009047/0.02575, allocations: 43.69 kB / 377.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.02632, allocations: 210.5 kB / 377.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009426/0.02726, allocations: 0.5944 MB / 378.1 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.02758, allocations: 215.5 kB / 378.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.02868, allocations: 1.288 MB / 379.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.03898, allocations: 215 kB / 379.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.04008, allocations: 0.8962 MB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.04078, allocations: 0.5024 MB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.685e-05/0.04086, allocations: 56 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.04097, allocations: 60 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.04123, allocations: 351 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.04151, allocations: 283.3 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.05118, allocations: 0.6265 MB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.05119, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05119, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.0512, allocations: 0 / 382.6 MB, free: 14 MB / 362.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.001413/0.05261, allocations: 1.272 MB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.05265, allocations: 11.98 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.05283, allocations: 152.3 kB / 384 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.05358, allocations: 0.6129 MB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009207/0.06279, allocations: 45.69 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.06288, allocations: 68.36 kB / 384.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.0637, allocations: 0.6611 MB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.06371, allocations: 0 / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.426e-05/0.06377, allocations: 31.98 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.06382, allocations: 33.3 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.06435, allocations: 370.9 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003438/0.06779, allocations: 2.507 MB / 388.4 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.06865, allocations: 0.4884 MB / 388.8 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.0692, allocations: 304.1 kB / 389.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.06923, allocations: 8.5 kB / 389.2 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.06981, allocations: 482.9 kB / 389.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.837e-06/0.06981, allocations: 0 / 389.6 MB, free: 6.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.002636/0.07245, allocations: 1.713 MB / 391.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.07259, allocations: 255.8 kB / 391.6 MB, free: 4.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.07327, allocations: 0.5727 MB / 392.2 MB, free: 3.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.07332, allocations: 41.7 kB / 392.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.07367, allocations: 463 kB / 392.7 MB, free: 3.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.07384, allocations: 218.2 kB / 392.9 MB, free: 3.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.07404, allocations: 152.3 kB / 393 MB, free: 3.043 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.07426, allocations: 0.5664 MB / 393.6 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.07451, allocations: 173.3 kB / 393.8 MB, free: 2.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.07495, allocations: 499.8 kB / 394.2 MB, free: 1.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.07574, allocations: 0.6897 MB / 394.9 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.557e-06/0.07574, allocations: 4 kB / 394.9 MB, free: 0.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001397/0.07714, allocations: 0.8234 MB / 395.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.0772, allocations: 75.39 kB / 395.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.07721, allocations: 8 kB / 395.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.07764, allocations: 103.2 kB / 395.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.07812, allocations: 159.8 kB / 396.1 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.08114, allocations: 4.244 MB / 400.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.08155, allocations: 31.98 kB / 400.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/0.08164, allocations: 63.89 kB / 400.4 MB, free: 10.99 MB / 378.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.0003266/0.08197, allocations: 281.9 kB / 400.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.08209, allocations: 99.47 kB / 400.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009439/0.08303, allocations: 0.7129 MB / 401.5 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.08304, allocations: 12.03 kB / 401.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.08304, allocations: 0 / 401.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.08304, allocations: 0 / 401.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.08511, allocations: 1.368 MB / 402.9 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.08512, allocations: 4 kB / 402.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.08564, allocations: 111.8 kB / 403 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.08565, allocations: 8.094 kB / 403 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.08568, allocations: 19.98 kB / 403 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.08569, allocations: 4 kB / 403 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.08569, allocations: 0 / 403 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009694/0.08666, allocations: 1.152 MB / 404.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.0868, allocations: 107.5 kB / 404.3 MB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.08684, allocations: 16 kB / 404.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.08699, allocations: 23.97 kB / 404.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.08707, allocations: 40.44 kB / 404.4 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.08712, allocations: 59.92 kB / 404.4 MB, free: 6.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002437/0.08737, allocations: 362.7 kB / 404.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08737, allocations: 0 / 404.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000496/0.08786, allocations: 176 kB / 405 MB, free: 6.25 MB / 378.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.0001196/0.08798, allocations: 116.1 kB / 405.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009431/0.08893, allocations: 1.068 MB / 406.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.08893, allocations: 0 / 406.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.08921, allocations: 419.2 kB / 406.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.08972, allocations: 163.2 kB / 406.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.0919, allocations: 1.445 MB / 408.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.09204, allocations: 207.4 kB / 408.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000229/0.09227, allocations: 129.6 kB / 408.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/0.09237, allocations: 56.48 kB / 408.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.09237, allocations: 0 / 408.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of Templates: time 0.01074/0.1031, allocations: 7.981 MB / 416.5 MB, free: 10.6 MB / 394.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: 3.1347571020014584]