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.001514/0.001514, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001646/0.001646, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 7.969 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.1863/0.1863, allocations: 38.52 MB / 353.2 MB, free: 12.52 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.001943/0.001943, allocations: 62.56 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3051, allocations: 62.46 MB / 0.5432 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.0104/0.3155, allocations: 9.302 MB / 0.5523 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.3217, allocations: 3.446 MB / 0.5557 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006854/0.3224, allocations: 54.44 kB / 0.5557 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.3251, allocations: 1.08 MB / 0.5568 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00238/0.3275, allocations: 1.126 MB / 0.5579 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.3292, allocations: 0.7077 MB / 0.5586 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.3323, allocations: 2.373 MB / 0.5609 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/0.3335, allocations: 0.6664 MB / 0.5615 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.3354, allocations: 1.016 MB / 0.5625 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.3378, allocations: 1.46 MB / 0.564 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003909/0.3382, allocations: 128 kB / 0.5641 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3398, allocations: 0.6591 MB / 0.5647 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.3409, allocations: 0.9428 MB / 0.5656 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.342, allocations: 0.9057 MB / 0.5665 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.3448, allocations: 2.362 MB / 0.5688 GB, free: 10.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3448, allocations: 0 / 0.5688 GB, free: 10.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3449, allocations: 3.938 kB / 0.5688 GB, free: 10.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.3449, allocations: 0 / 0.5688 GB, free: 10.12 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.003385/0.3483, allocations: 2.006 MB / 0.5708 GB, free: 8.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3483, allocations: 11.98 kB / 0.5708 GB, free: 8.051 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.3505, allocations: 471.2 kB / 0.5713 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.3524, allocations: 1.003 MB / 0.5722 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/0.3525, allocations: 107.1 kB / 0.5723 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003244/0.3529, allocations: 160.1 kB / 0.5725 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003287/0.3561, allocations: 2.324 MB / 0.5748 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/0.3562, allocations: 11.89 kB / 0.5748 GB, free: 3.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.3563, allocations: 55.98 kB / 0.5748 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004994/0.3568, allocations: 230.8 kB / 0.575 GB, free: 3.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/0.3597, allocations: 1.846 MB / 0.5768 GB, free: 1.668 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.01148/0.3712, allocations: 9.438 MB / 0.5861 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.3734, allocations: 1.296 MB / 0.5873 GB, free: 6.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/0.3743, allocations: 0.5434 MB / 0.5879 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.3743, allocations: 20.98 kB / 0.5879 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001324/0.3757, allocations: 0.8528 MB / 0.5887 GB, free: 4.941 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.216e-06/0.3757, allocations: 0 / 0.5887 GB, free: 4.941 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006811/0.3825, allocations: 4.004 MB / 0.5926 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.3827, allocations: 290.6 kB / 0.5929 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.3842, allocations: 0.9147 MB / 0.5938 GB, free: 15.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.3843, allocations: 49.7 kB / 0.5938 GB, free: 15.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006946/0.385, allocations: 0.781 MB / 0.5946 GB, free: 14.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004661/0.3855, allocations: 484 kB / 0.5951 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.3859, allocations: 327.4 kB / 0.5954 GB, free: 13.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.3862, allocations: 357.9 kB / 0.5957 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.3872, allocations: 0.5739 MB / 0.5963 GB, free: 13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.3887, allocations: 1.19 MB / 0.5974 GB, free: 11.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.3915, allocations: 1.989 MB / 0.5994 GB, free: 9.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.3916, allocations: 4 kB / 0.5994 GB, free: 9.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004859/0.3964, allocations: 2.486 MB / 0.6018 GB, free: 6.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/0.3965, allocations: 63.41 kB / 0.6019 GB, free: 6.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00301/0.3995, allocations: 1.544 MB / 0.6034 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.4013, allocations: 0.5496 MB / 0.6039 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4024, allocations: 323.5 kB / 0.6042 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.4143, allocations: 9.062 MB / 0.6131 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.4155, allocations: 71.92 kB / 0.6131 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/0.4158, allocations: 104 kB / 0.6132 GB, free: 10.55 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.001108/0.4169, allocations: 0.5959 MB / 0.6138 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.4172, allocations: 131.1 kB / 0.614 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.4198, allocations: 1.551 MB / 0.6155 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.4199, allocations: 16 kB / 0.6155 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.4199, allocations: 3.938 kB / 0.6155 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4199, allocations: 3.984 kB / 0.6155 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/0.4251, allocations: 3.044 MB / 0.6185 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4251, allocations: 0 / 0.6185 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.4265, allocations: 299.8 kB / 0.6187 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.4265, allocations: 4 kB / 0.6188 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-05/0.4266, allocations: 39.98 kB / 0.6188 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.4266, allocations: 8 kB / 0.6188 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4266, allocations: 0 / 0.6188 GB, free: 4.738 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/0.43, allocations: 2.334 MB / 0.6211 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/0.4307, allocations: 223.1 kB / 0.6213 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.4309, allocations: 32 kB / 0.6213 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.4315, allocations: 43.97 kB / 0.6214 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.4316, allocations: 84.72 kB / 0.6214 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.4318, allocations: 79.92 kB / 0.6215 GB, free: 1.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008901/0.4327, allocations: 0.5986 MB / 0.6221 GB, free: 1.289 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4327, allocations: 0 / 0.6221 GB, free: 1.289 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001487/0.4341, allocations: 428 kB / 0.6225 GB, free: 0.8711 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.0002312/0.4344, allocations: 139 kB / 0.6226 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.4382, allocations: 2.261 MB / 0.6249 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.4382, allocations: 4 kB / 0.6249 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.4393, allocations: 0.7774 MB / 0.6256 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.4405, allocations: 231.2 kB / 0.6258 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.4471, allocations: 3.571 MB / 0.6293 GB, free: 9.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.4486, allocations: 1.458 MB / 0.6307 GB, free: 8.238 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.449, allocations: 111.4 kB / 0.6309 GB, free: 8.129 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.449, allocations: 0 / 0.6309 GB, free: 8.129 MB / 478.1 MB Notification: Performance of Templates: time 0.04448/0.4935, allocations: 28.45 MB / 0.6586 GB, free: 11.67 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.470044374000281] Failed to read output from testmodel.py, exit status != 0: 0.503065702971071 0.519015838 0.170702868 Calling exit ...