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.001525/0.001525, allocations: 80.02 kB / 20.49 MB, free: 1.211 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.001825/0.001825, allocations: 165.5 kB / 23.75 MB, free: 4.234 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.48/1.48, allocations: 177.2 MB / 204.1 MB, free: 9.289 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.1739/0.1739, allocations: 29.43 MB / 289.9 MB, free: 3.406 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: 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.002158/0.002158, allocations: 63.91 kB / 430.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3855, allocations: 62.45 MB / 492.9 MB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01099/0.3965, allocations: 8.467 MB / 0.4896 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006895/0.4033, allocations: 3.205 MB / 0.4927 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.4045, allocations: 51.56 kB / 0.4928 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.4073, allocations: 1.007 MB / 0.4938 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.4103, allocations: 1.125 MB / 0.4949 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.4123, allocations: 0.7094 MB / 0.4955 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.4157, allocations: 2.367 MB / 0.4979 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.4167, allocations: 0.6626 MB / 0.4985 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.4189, allocations: 1.324 MB / 0.4998 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.4213, allocations: 1.417 MB / 0.5012 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.4216, allocations: 128 kB / 0.5013 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.4229, allocations: 0.6007 MB / 0.5019 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.424, allocations: 0.9506 MB / 0.5028 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009769/0.4249, allocations: 0.7466 MB / 0.5035 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002958/0.4279, allocations: 2.397 MB / 0.5059 GB, free: 8.707 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4279, allocations: 0 / 0.5059 GB, free: 8.707 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4279, allocations: 0 / 0.5059 GB, free: 8.707 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.992e-05/0.4279, allocations: 0 / 0.5059 GB, free: 8.707 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.003809/0.4317, allocations: 1.988 MB / 0.5078 GB, free: 6.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4318, allocations: 11.98 kB / 0.5078 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/0.4342, allocations: 495.1 kB / 0.5083 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.4364, allocations: 0.9918 MB / 0.5093 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.4365, allocations: 107.1 kB / 0.5094 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003646/0.4368, allocations: 160.1 kB / 0.5095 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.4407, allocations: 2.382 MB / 0.5119 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.4408, allocations: 19.83 kB / 0.5119 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.4409, allocations: 67.97 kB / 0.5119 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005533/0.4415, allocations: 218.8 kB / 0.5122 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.4448, allocations: 1.892 MB / 0.514 GB, free: 124 kB / 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.01165/0.4564, allocations: 8.248 MB / 0.5221 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.4588, allocations: 1.363 MB / 0.5234 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009401/0.4597, allocations: 0.5975 MB / 0.524 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.07e-05/0.4598, allocations: 17 kB / 0.524 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/0.4612, allocations: 0.9186 MB / 0.5249 GB, free: 4.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.316e-06/0.4612, allocations: 0 / 0.5249 GB, free: 4.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006802/0.468, allocations: 4.136 MB / 0.5289 GB, free: 316 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002583/0.4683, allocations: 286.4 kB / 0.5292 GB, free: 15.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.4697, allocations: 0.929 MB / 0.5301 GB, free: 15.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.4698, allocations: 49.7 kB / 0.5302 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/0.4706, allocations: 0.7966 MB / 0.5309 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/0.4711, allocations: 476.1 kB / 0.5314 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/0.4716, allocations: 323.4 kB / 0.5317 GB, free: 13.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.4718, allocations: 353.9 kB / 0.532 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.473, allocations: 0.636 MB / 0.5327 GB, free: 12.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.4746, allocations: 1.236 MB / 0.5339 GB, free: 10.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.4774, allocations: 2.001 MB / 0.5358 GB, free: 8.559 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.4774, allocations: 4 kB / 0.5358 GB, free: 8.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004871/0.4822, allocations: 2.544 MB / 0.5383 GB, free: 5.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/0.4823, allocations: 67.41 kB / 0.5384 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002936/0.4853, allocations: 1.548 MB / 0.5399 GB, free: 4.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.4869, allocations: 0.5379 MB / 0.5404 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.4882, allocations: 327.4 kB / 0.5407 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.4995, allocations: 8.876 MB / 0.5494 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.5007, allocations: 71.97 kB / 0.5495 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.5008, allocations: 103.9 kB / 0.5495 GB, free: 10.01 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.000953/0.5018, allocations: 0.6107 MB / 0.5501 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.502, allocations: 131.2 kB / 0.5503 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.5049, allocations: 1.604 MB / 0.5518 GB, free: 7.617 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.5049, allocations: 20 kB / 0.5519 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.5049, allocations: 0 / 0.5519 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.5049, allocations: 7.969 kB / 0.5519 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.5096, allocations: 2.809 MB / 0.5546 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5096, allocations: 0 / 0.5546 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.5111, allocations: 299.8 kB / 0.5549 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.276e-05/0.5111, allocations: 8 kB / 0.5549 GB, free: 4.395 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.5112, allocations: 35.97 kB / 0.5549 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.5112, allocations: 8 kB / 0.5549 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5112, allocations: 11.88 kB / 0.555 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003582/0.5148, allocations: 2.458 MB / 0.5574 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005948/0.5154, allocations: 219.1 kB / 0.5576 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.5155, allocations: 35.94 kB / 0.5576 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005348/0.5161, allocations: 39.97 kB / 0.5576 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.5163, allocations: 92.72 kB / 0.5577 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/0.5164, allocations: 71.92 kB / 0.5578 GB, free: 1.352 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008634/0.5173, allocations: 0.5941 MB / 0.5584 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5173, allocations: 4 kB / 0.5584 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001459/0.5187, allocations: 420 kB / 0.5588 GB, free: 340 kB / 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.0002242/0.5189, allocations: 135.1 kB / 0.5589 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003885/0.5228, allocations: 2.377 MB / 0.5612 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5228, allocations: 0 / 0.5612 GB, free: 13.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.524, allocations: 0.8432 MB / 0.5621 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.5251, allocations: 231.2 kB / 0.5623 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.5309, allocations: 3.49 MB / 0.5657 GB, free: 9.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.5321, allocations: 0.8736 MB / 0.5665 GB, free: 8.152 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00117/0.5332, allocations: 462.3 kB / 0.567 GB, free: 7.695 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.5335, allocations: 88.48 kB / 0.5671 GB, free: 7.605 MB / 478.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5335, allocations: 0 / 0.5671 GB, free: 7.605 MB / 478.1 MB Notification: Performance of Templates: time 0.03024/0.5637, allocations: 15.33 MB / 0.582 GB, free: 8.477 MB / 494.1 MB " [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: 5.695466496050358] Failed to read output from testmodel.py, exit status != 0: 0.5738376528024673 0.589256294 0.15817156300000002 Calling exit ...