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.001393/0.001393, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.001738/0.001738, allocations: 163.7 kB / 23.95 MB, free: 4.156 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: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.1826/0.1826, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.807e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01057/0.01059, allocations: 8.427 MB / 439.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006552/0.01714, allocations: 3.205 MB / 442.3 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007366/0.01788, allocations: 51.56 kB / 442.4 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003312/0.02119, allocations: 1.017 MB / 443.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.02423, allocations: 1.15 MB / 444.6 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.02628, allocations: 0.7323 MB / 445.3 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003179/0.02945, allocations: 2.417 MB / 447.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.03083, allocations: 0.6546 MB / 448.4 MB, free: 188 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.187/0.2178, allocations: 1.317 MB / 449.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.2202, allocations: 1.339 MB / 451 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.2205, allocations: 129.3 kB / 451.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.2218, allocations: 0.6145 MB / 451.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.223, allocations: 0.9914 MB / 452.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.224, allocations: 0.6207 MB / 453.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.2276, allocations: 2.436 MB / 455.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2276, allocations: 1.25 kB / 455.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2276, allocations: 0.6094 kB / 455.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.362e-05/0.2277, allocations: 0 / 455.8 MB, free: 15.68 MB / 366.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.004377/0.2321, allocations: 1.97 MB / 457.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2321, allocations: 13.75 kB / 457.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002557/0.2347, allocations: 482.5 kB / 458.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.2368, allocations: 0.9972 MB / 459.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.2369, allocations: 105.9 kB / 459.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/0.2373, allocations: 170.3 kB / 459.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/0.2408, allocations: 2.385 MB / 461.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.75e-05/0.2409, allocations: 12.47 kB / 461.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.241, allocations: 63.09 kB / 462 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005384/0.2416, allocations: 218.9 kB / 462.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/0.2444, allocations: 1.903 MB / 464.1 MB, free: 13.32 MB / 366.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.009216/0.2537, allocations: 8.212 MB / 472.3 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.2557, allocations: 1.364 MB / 473.7 MB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007731/0.2565, allocations: 0.6064 MB / 474.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.2565, allocations: 20.41 kB / 474.3 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.2576, allocations: 0.9214 MB / 475.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of pre-optimization done (n=130): time 3.417e-06/0.2576, allocations: 0 / 475.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.005653/0.2632, allocations: 4.124 MB / 479.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.2633, allocations: 292.9 kB / 479.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000996/0.2643, allocations: 0.9257 MB / 480.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-05/0.2644, allocations: 56.56 kB / 480.6 MB, free: 2.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.2649, allocations: 0.7849 MB / 481.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.2651, allocations: 471.9 kB / 481.9 MB, free: 1.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.2655, allocations: 327.8 kB / 482.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.2656, allocations: 364.5 kB / 482.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008312/0.2664, allocations: 0.6251 MB / 483.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.2676, allocations: 1.225 MB / 484.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/0.2704, allocations: 2.004 MB / 486.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.2704, allocations: 8 kB / 486.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005035/0.2755, allocations: 2.532 MB / 488.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.2755, allocations: 67.61 kB / 489 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003185/0.2787, allocations: 1.549 MB / 490.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.2805, allocations: 0.5446 MB / 491.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.2817, allocations: 330.9 kB / 491.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.2937, allocations: 8.874 MB / 0.4886 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.295, allocations: 78.31 kB / 0.4886 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003118/0.2953, allocations: 99.97 kB / 0.4887 GB, free: 15.74 MB / 398.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.001307/0.2966, allocations: 0.5931 MB / 0.4893 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.2969, allocations: 131.2 kB / 0.4894 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.2999, allocations: 1.619 MB / 0.491 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.2999, allocations: 13.36 kB / 0.491 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2999, allocations: 3.938 kB / 0.491 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.2999, allocations: 3.984 kB / 0.491 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/0.3054, allocations: 2.813 MB / 0.4938 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3054, allocations: 4 kB / 0.4938 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/0.307, allocations: 297.8 kB / 0.4941 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/0.307, allocations: 8.188 kB / 0.4941 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.3071, allocations: 35.98 kB / 0.4941 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.3071, allocations: 4 kB / 0.4941 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3071, allocations: 4 kB / 0.4941 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003812/0.3109, allocations: 2.454 MB / 0.4965 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.3116, allocations: 219.2 kB / 0.4967 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.3119, allocations: 31.98 kB / 0.4968 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.3126, allocations: 43.97 kB / 0.4968 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.3128, allocations: 84.08 kB / 0.4969 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.3129, allocations: 84.16 kB / 0.497 GB, free: 7.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.3139, allocations: 0.5863 MB / 0.4975 GB, free: 6.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3139, allocations: 0 / 0.4975 GB, free: 6.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001723/0.3157, allocations: 428 kB / 0.4979 GB, free: 6.184 MB / 398.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.0002594/0.3159, allocations: 140.5 kB / 0.4981 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004137/0.3201, allocations: 2.391 MB / 0.5004 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3201, allocations: 0 / 0.5004 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.3213, allocations: 0.8431 MB / 0.5012 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.3226, allocations: 217.3 kB / 0.5014 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.3292, allocations: 3.347 MB / 0.5047 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.3305, allocations: 0.8658 MB / 0.5056 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001229/0.3317, allocations: 462.3 kB / 0.506 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.332, allocations: 92.48 kB / 0.5061 GB, free: 13.71 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.332, allocations: 0 / 0.5061 GB, free: 13.71 MB / 414.1 MB Notification: Performance of Templates: time 0.03268/0.3647, allocations: 15.26 MB / 0.521 GB, free: 14.71 MB / 430.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.417150966823101] Failed to read output from testmodel.py, exit status != 0: 0.3746712692081928 0.39051720100000004 0.159654134 Calling exit ...