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.001366/0.001366, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001713/0.001713, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1978/0.1978, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002379/0.002379, allocations: 63.91 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3588, allocations: 62.46 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01136/0.3702, allocations: 8.514 MB / 0.5507 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006892/0.3771, allocations: 3.198 MB / 0.5539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3784, allocations: 49.81 kB / 0.5539 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003117/0.3816, allocations: 1.013 MB / 0.5549 GB, free: 6.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.3845, allocations: 1.126 MB / 0.556 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.3866, allocations: 0.7061 MB / 0.5567 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003227/0.3898, allocations: 2.372 MB / 0.559 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.3909, allocations: 0.6508 MB / 0.5596 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.3929, allocations: 1.035 MB / 0.5606 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.3953, allocations: 1.417 MB / 0.562 GB, free: 56 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004234/0.3957, allocations: 132 kB / 0.5622 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.3973, allocations: 0.6006 MB / 0.5627 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001329/0.3987, allocations: 0.9467 MB / 0.5637 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.4002, allocations: 0.7427 MB / 0.5644 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003826/0.4041, allocations: 2.397 MB / 0.5667 GB, free: 11.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4041, allocations: 0 / 0.5667 GB, free: 11.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4041, allocations: 4 kB / 0.5667 GB, free: 11.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.4042, allocations: 0 / 0.5667 GB, free: 11.22 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.005469/0.4096, allocations: 1.992 MB / 0.5687 GB, free: 9.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4097, allocations: 11.98 kB / 0.5687 GB, free: 9.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.4124, allocations: 483.2 kB / 0.5692 GB, free: 8.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/0.4151, allocations: 0.984 MB / 0.5701 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.4152, allocations: 111.1 kB / 0.5702 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004998/0.4157, allocations: 160.1 kB / 0.5704 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/0.4211, allocations: 2.386 MB / 0.5727 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.222e-05/0.4212, allocations: 15.89 kB / 0.5727 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/0.4214, allocations: 59.97 kB / 0.5728 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006341/0.4221, allocations: 226.8 kB / 0.573 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003982/0.426, allocations: 1.892 MB / 0.5748 GB, free: 2.645 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.01442/0.4405, allocations: 8.245 MB / 0.5829 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.4432, allocations: 1.35 MB / 0.5842 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.4443, allocations: 0.6053 MB / 0.5848 GB, free: 8.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/0.4443, allocations: 16.98 kB / 0.5848 GB, free: 8.051 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/0.446, allocations: 0.9264 MB / 0.5857 GB, free: 7.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 4.158e-06/0.446, allocations: 0 / 0.5857 GB, free: 7.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.008194/0.4542, allocations: 4.124 MB / 0.5898 GB, free: 2.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002056/0.4544, allocations: 286.6 kB / 0.59 GB, free: 2.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.4558, allocations: 0.9368 MB / 0.5909 GB, free: 1.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4559, allocations: 49.7 kB / 0.591 GB, free: 1.484 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009021/0.4568, allocations: 0.7849 MB / 0.5918 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.4574, allocations: 480 kB / 0.5922 GB, free: 220 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000569/0.458, allocations: 331.4 kB / 0.5925 GB, free: 15.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.4582, allocations: 361.8 kB / 0.5929 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.4592, allocations: 0.6319 MB / 0.5935 GB, free: 14.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.4608, allocations: 1.221 MB / 0.5947 GB, free: 13.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.4637, allocations: 2.008 MB / 0.5966 GB, free: 11.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/0.4637, allocations: 4 kB / 0.5966 GB, free: 11.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005049/0.4688, allocations: 2.537 MB / 0.5991 GB, free: 8.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.686e-05/0.4688, allocations: 67.41 kB / 0.5992 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003163/0.472, allocations: 1.552 MB / 0.6007 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.4737, allocations: 0.5496 MB / 0.6012 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4748, allocations: 323.5 kB / 0.6015 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.4871, allocations: 8.872 MB / 0.6102 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.4887, allocations: 67.97 kB / 0.6103 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004554/0.4892, allocations: 99.95 kB / 0.6104 GB, free: 12.54 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.001624/0.4908, allocations: 0.6153 MB / 0.611 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/0.4912, allocations: 135.1 kB / 0.6111 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.4943, allocations: 1.596 MB / 0.6127 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.4944, allocations: 12 kB / 0.6127 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4944, allocations: 0 / 0.6127 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.4944, allocations: 11.97 kB / 0.6127 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005953/0.5003, allocations: 2.813 MB / 0.6154 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.5003, allocations: 0 / 0.6154 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.5018, allocations: 299.8 kB / 0.6157 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.85e-05/0.5018, allocations: 4 kB / 0.6157 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.5019, allocations: 35.98 kB / 0.6158 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.741e-05/0.5019, allocations: 12 kB / 0.6158 GB, free: 6.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.5019, allocations: 7.875 kB / 0.6158 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/0.5067, allocations: 2.466 MB / 0.6182 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000868/0.5075, allocations: 215.3 kB / 0.6184 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/0.5078, allocations: 32 kB / 0.6184 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007424/0.5086, allocations: 39.97 kB / 0.6185 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.5088, allocations: 84.78 kB / 0.6185 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.5089, allocations: 83.91 kB / 0.6186 GB, free: 3.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.5102, allocations: 0.5902 MB / 0.6192 GB, free: 3.277 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5102, allocations: 0 / 0.6192 GB, free: 3.277 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002204/0.5124, allocations: 424 kB / 0.6196 GB, free: 2.863 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.0003017/0.5127, allocations: 154.9 kB / 0.6197 GB, free: 2.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004618/0.5173, allocations: 2.374 MB / 0.6221 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5173, allocations: 192 / 0.6221 GB, free: 236 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.5188, allocations: 0.8509 MB / 0.6229 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.5204, allocations: 228.7 kB / 0.6231 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/0.5282, allocations: 3.482 MB / 0.6265 GB, free: 11.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/0.53, allocations: 0.8658 MB / 0.6274 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001403/0.5314, allocations: 478.3 kB / 0.6278 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.5317, allocations: 87.44 kB / 0.6279 GB, free: 10.12 MB / 478.1 MB Notification: Performance of SimCode: time 1.193e-06/0.5317, allocations: 0 / 0.6279 GB, free: 10.12 MB / 478.1 MB Notification: Performance of Templates: time 0.03349/0.5652, allocations: 17.32 MB / 0.6448 GB, free: 9 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.890434952452779] Failed to read output from testmodel.py, exit status != 0: 0.5763873290270567 0.591750102 0.184120164 Calling exit ...