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.001634/0.001634, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001545/0.001545, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.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.1889/0.1889, allocations: 38.56 MB / 353.2 MB, free: 12.29 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 74.39 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3187, allocations: 62.47 MB / 0.5432 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01098/0.3297, allocations: 8.506 MB / 0.5515 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.3368, allocations: 3.206 MB / 0.5546 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.3377, allocations: 46.09 kB / 0.5546 GB, free: 7.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.3407, allocations: 1.011 MB / 0.5556 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3437, allocations: 1.127 MB / 0.5567 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.3459, allocations: 0.7016 MB / 0.5574 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004269/0.3501, allocations: 2.373 MB / 0.5597 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.3514, allocations: 0.6587 MB / 0.5604 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.3535, allocations: 1.027 MB / 0.5614 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.3559, allocations: 1.421 MB / 0.5628 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.3562, allocations: 132 kB / 0.5629 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.3578, allocations: 0.6006 MB / 0.5635 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.359, allocations: 0.9467 MB / 0.5644 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.3601, allocations: 0.7466 MB / 0.5651 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.3636, allocations: 2.397 MB / 0.5675 GB, free: 11.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3636, allocations: 0 / 0.5675 GB, free: 11.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3636, allocations: 0 / 0.5675 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.66e-05/0.3636, allocations: 0 / 0.5675 GB, free: 11.2 MB / 414.1 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.00409/0.3677, allocations: 1.988 MB / 0.5694 GB, free: 9.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3678, allocations: 15.98 kB / 0.5694 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.3702, allocations: 483.2 kB / 0.5699 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.3727, allocations: 0.984 MB / 0.5709 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3728, allocations: 111.1 kB / 0.571 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/0.3731, allocations: 164.1 kB / 0.5711 GB, free: 7.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.3768, allocations: 2.386 MB / 0.5734 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/0.3768, allocations: 11.89 kB / 0.5735 GB, free: 4.816 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.377, allocations: 59.97 kB / 0.5735 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000535/0.3775, allocations: 226.8 kB / 0.5737 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.3806, allocations: 1.896 MB / 0.5756 GB, free: 2.621 MB / 414.1 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.01227/0.3929, allocations: 8.241 MB / 0.5836 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.3953, allocations: 1.355 MB / 0.585 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009472/0.3962, allocations: 0.6014 MB / 0.5855 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-05/0.3963, allocations: 20.92 kB / 0.5856 GB, free: 8.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/0.3977, allocations: 0.9147 MB / 0.5865 GB, free: 7.051 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 4.007e-06/0.3977, allocations: 4 kB / 0.5865 GB, free: 7.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006825/0.4045, allocations: 4.129 MB / 0.5905 GB, free: 2.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/0.4047, allocations: 282.3 kB / 0.5908 GB, free: 2.484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.4059, allocations: 0.9368 MB / 0.5917 GB, free: 1.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.91e-05/0.406, allocations: 53.7 kB / 0.5917 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/0.4067, allocations: 0.7888 MB / 0.5925 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/0.4072, allocations: 480 kB / 0.593 GB, free: 196 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004831/0.4077, allocations: 331.3 kB / 0.5933 GB, free: 15.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4079, allocations: 357.9 kB / 0.5936 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4089, allocations: 0.628 MB / 0.5942 GB, free: 14.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.4104, allocations: 1.225 MB / 0.5954 GB, free: 13.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/0.4131, allocations: 2.009 MB / 0.5974 GB, free: 11.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.4131, allocations: 4 kB / 0.5974 GB, free: 11.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004801/0.4179, allocations: 2.536 MB / 0.5999 GB, free: 8.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.732e-05/0.418, allocations: 67.41 kB / 0.5999 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002962/0.4209, allocations: 1.544 MB / 0.6014 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.4226, allocations: 0.5492 MB / 0.602 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.4237, allocations: 327.5 kB / 0.6023 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.4349, allocations: 8.877 MB / 0.611 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.436, allocations: 67.98 kB / 0.611 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/0.4362, allocations: 104 kB / 0.6111 GB, free: 12.52 MB / 462.1 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.000995/0.4372, allocations: 0.6114 MB / 0.6117 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.4374, allocations: 139.2 kB / 0.6118 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.44, allocations: 1.596 MB / 0.6134 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.44, allocations: 15.98 kB / 0.6134 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.44, allocations: 0 / 0.6134 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.4401, allocations: 11.98 kB / 0.6134 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004899/0.445, allocations: 2.809 MB / 0.6162 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.445, allocations: 0 / 0.6162 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/0.4464, allocations: 299.8 kB / 0.6165 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.515e-05/0.4464, allocations: 4 kB / 0.6165 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.4465, allocations: 39.98 kB / 0.6165 GB, free: 6.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.4465, allocations: 7.938 kB / 0.6165 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4465, allocations: 7.938 kB / 0.6165 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003612/0.4501, allocations: 2.466 MB / 0.6189 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007111/0.4509, allocations: 215.2 kB / 0.6191 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.451, allocations: 35.98 kB / 0.6192 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.4516, allocations: 39.97 kB / 0.6192 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4517, allocations: 80.92 kB / 0.6193 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.4519, allocations: 83.92 kB / 0.6194 GB, free: 3.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008674/0.4527, allocations: 0.5863 MB / 0.6199 GB, free: 3.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4527, allocations: 3.938 kB / 0.6199 GB, free: 3.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001452/0.4542, allocations: 424 kB / 0.6203 GB, free: 2.84 MB / 462.1 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.0002218/0.4544, allocations: 147.7 kB / 0.6205 GB, free: 2.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003854/0.4583, allocations: 2.377 MB / 0.6228 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4583, allocations: 0 / 0.6228 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.4595, allocations: 0.8431 MB / 0.6236 GB, free: 15.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.4606, allocations: 231.9 kB / 0.6238 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/0.467, allocations: 3.64 MB / 0.6274 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.4681, allocations: 0.8658 MB / 0.6282 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.4685, allocations: 99.42 kB / 0.6283 GB, free: 10.41 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4685, allocations: 0 / 0.6283 GB, free: 10.41 MB / 478.1 MB Notification: Performance of Templates: time 0.04144/0.51, allocations: 29.01 MB / 0.6567 GB, free: 13.37 MB / 0.4981 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.84751858888194] Failed to read output from testmodel.py, exit status != 0: 0.5200782380998135 0.534493262 0.16762394500000002 Calling exit ...