Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.00115/0.00115, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001299/0.001299, allocations: 159.7 kB / 25.6 MB, free: 8.59 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.9819/0.9819, allocations: 177.1 MB / 206 MB, free: 4.477 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.1207/0.1207, allocations: 29.42 MB / 292 MB, free: 2.617 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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.861e-05, allocations: 2.312 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.004633/0.004652, allocations: 7.723 MB / 378.6 MB, free: 24.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.007422, allocations: 3.318 MB / 381.9 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.007696, allocations: 51.56 kB / 382 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.008385, allocations: 441.2 kB / 382.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009567/0.009342, allocations: 1.139 MB / 383.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.01003, allocations: 0.7283 MB / 384.3 MB, free: 18.89 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.01111, allocations: 2.425 MB / 386.7 MB, free: 16.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004452/0.01156, allocations: 0.6547 MB / 387.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009401/0.0125, allocations: 1.484 MB / 388.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.01323, allocations: 1.227 MB / 390 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/0.01333, allocations: 120 kB / 390.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.01385, allocations: 0.616 MB / 390.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.01425, allocations: 0.9859 MB / 391.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.01459, allocations: 0.604 MB / 392.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009245/0.01551, allocations: 1.725 MB / 394.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01551, allocations: 4 kB / 394.1 MB, free: 8.992 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01551, allocations: 0 / 394.1 MB, free: 8.992 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.01553, allocations: 0 / 394.1 MB, free: 8.992 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.001454/0.01698, allocations: 2.046 MB / 396.1 MB, free: 6.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.606e-05/0.01701, allocations: 12.02 kB / 396.2 MB, free: 6.871 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.01811, allocations: 0.4954 MB / 396.6 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.01883, allocations: 0.8819 MB / 397.5 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.01887, allocations: 103.1 kB / 397.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.01905, allocations: 160.8 kB / 397.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.02004, allocations: 1.549 MB / 399.3 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.02007, allocations: 15.88 kB / 399.4 MB, free: 3.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.02015, allocations: 63.97 kB / 399.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002227/0.02037, allocations: 202.8 kB / 399.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/0.02104, allocations: 0.7411 MB / 400.4 MB, free: 2.398 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005137/0.02618, allocations: 9.326 MB / 409.7 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.02706, allocations: 0.8553 MB / 410.5 MB, free: 7.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.02733, allocations: 317.7 kB / 410.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.02738, allocations: 25 kB / 410.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.0279, allocations: 0.6667 MB / 411.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=130): time 2.505e-06/0.0279, allocations: 0 / 411.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.002275/0.03018, allocations: 2.182 MB / 413.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.03028, allocations: 286.3 kB / 414 MB, free: 4.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.03087, allocations: 0.9031 MB / 414.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.03092, allocations: 49.7 kB / 414.9 MB, free: 3.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.03131, allocations: 0.8502 MB / 415.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.03157, allocations: 488 kB / 416.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.03184, allocations: 340.9 kB / 416.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.03199, allocations: 0.5393 MB / 417.1 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.03224, allocations: 255.2 kB / 417.4 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.03286, allocations: 1.095 MB / 418.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009744/0.03383, allocations: 1.504 MB / 420 MB, free: 13.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.03384, allocations: 4 kB / 420 MB, free: 13.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001857/0.03569, allocations: 1.728 MB / 421.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.03574, allocations: 75.61 kB / 421.8 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001036/0.03677, allocations: 0.8323 MB / 422.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008651/0.03764, allocations: 491.7 kB / 423.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.03819, allocations: 327.5 kB / 423.4 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.04311, allocations: 8.558 MB / 432 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.0435, allocations: 71.88 kB / 432.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.0436, allocations: 87.95 kB / 432.1 MB, free: 0.5586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.04387, allocations: 345.4 kB / 432.5 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.04401, allocations: 171.2 kB / 432.7 MB, free: 28 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00095/0.04496, allocations: 1.038 MB / 433.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.04497, allocations: 12 kB / 433.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.04497, allocations: 4 kB / 433.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.04498, allocations: 7.922 kB / 433.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.04682, allocations: 2.013 MB / 435.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.04683, allocations: 4 kB / 435.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.04748, allocations: 279.9 kB / 436 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.04749, allocations: 11.92 kB / 436 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.277e-05/0.04754, allocations: 43.97 kB / 436.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.04755, allocations: 4 kB / 436.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.04755, allocations: 4 kB / 436.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.04876, allocations: 1.537 MB / 437.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.04899, allocations: 199 kB / 437.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.04908, allocations: 31.98 kB / 437.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.04932, allocations: 28 kB / 437.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.04942, allocations: 92.72 kB / 437.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.04949, allocations: 67.92 kB / 438 MB, free: 10.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005021/0.04999, allocations: 468.2 kB / 438.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05, allocations: 0 / 438.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007126/0.05071, allocations: 424 kB / 438.9 MB, free: 9.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.0001298/0.05084, allocations: 149.1 kB / 439 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.05228, allocations: 2.015 MB / 441 MB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.05228, allocations: 0 / 441 MB, free: 7.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.05268, allocations: 0.5605 MB / 441.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.05328, allocations: 233.4 kB / 441.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.05621, allocations: 2.91 MB / 444.7 MB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.05652, allocations: 447.3 kB / 445.2 MB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.05688, allocations: 166.6 kB / 445.3 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/0.05752, allocations: 330.1 kB / 445.7 MB, free: 2.512 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05752, allocations: 0 / 445.7 MB, free: 2.512 MB / 362.7 MB Notification: Performance of Templates: time 0.01876/0.07627, allocations: 16.79 MB / 462.5 MB, free: 1.953 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2730144569650292]