Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.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.0006861/0.0006861, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00075/0.00075, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8247/0.8247, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0442/0.0442, allocations: 12.52 MB / 271.7 MB, free: 1.121 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 402.9 MB, free: 9.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.909e-06/1.105e-05, allocations: 2.281 kB / 402.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.1393/0.1394, allocations: 34.57 MB / 437.4 MB, free: 2.48 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. Notification: Performance of NFInst.instExpressions: time 0.01815/0.1575, allocations: 23.36 MB / 460.8 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.1589, allocations: 79.44 kB / 460.9 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.1607, allocations: 1.137 MB / 462 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004354/0.165, allocations: 3.722 MB / 465.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.1668, allocations: 1.38 MB / 467.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00498/0.1717, allocations: 7.427 MB / 474.5 MB, free: 2.512 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.1734, allocations: 1.572 MB / 476.1 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002782/0.1761, allocations: 3.445 MB / 479.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.1776, allocations: 2.01 MB / 481.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.1778, allocations: 328 kB / 481.9 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001066/0.1789, allocations: 0.8509 MB / 482.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.1793, allocations: 0.7818 MB / 483.5 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009959/0.1803, allocations: 1.605 MB / 485.1 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.1835, allocations: 5.442 MB / 490.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1835, allocations: 0 / 490.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1835, allocations: 0 / 490.6 MB, free: 2.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.1836, allocations: 0 / 490.6 MB, free: 2.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 663 * Number of variables: 663 Notification: Performance of Generate backend data structure: time 0.008813/0.1924, allocations: 5.844 MB / 496.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1924, allocations: 8.031 kB / 496.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.1946, allocations: 0.8885 MB / 497.3 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.1971, allocations: 2.289 MB / 499.6 MB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.1972, allocations: 221.5 kB / 499.8 MB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.1975, allocations: 300.3 kB / 0.4884 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003394/0.2009, allocations: 3.973 MB / 0.4923 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.2009, allocations: 16.06 kB / 0.4923 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.2011, allocations: 128.3 kB / 0.4924 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.2012, allocations: 75.94 kB / 0.4925 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/0.204, allocations: 2.714 MB / 0.4951 GB, free: 1.375 MB / 394.7 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.01284/0.2169, allocations: 16.03 MB / 0.5108 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.2194, allocations: 2.248 MB / 0.513 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.2205, allocations: 1.022 MB / 0.514 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/0.2206, allocations: 42.3 kB / 0.514 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001828/0.2224, allocations: 2.311 MB / 0.5163 GB, free: 11.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 3.898e-06/0.2224, allocations: 0 / 0.5163 GB, free: 11.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=284): time 0.005568/0.228, allocations: 4.456 MB / 0.5206 GB, free: 6.621 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.2281, allocations: 483.5 kB / 0.5211 GB, free: 6.043 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.2303, allocations: 2.664 MB / 0.5237 GB, free: 3.359 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.2304, allocations: 109.7 kB / 0.5238 GB, free: 3.246 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000728/0.2312, allocations: 1.412 MB / 0.5252 GB, free: 1.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.2318, allocations: 1.078 MB / 0.5262 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.2332, allocations: 1.369 MB / 0.5276 GB, free: 15.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.2332, allocations: 301.1 kB / 0.5278 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.2354, allocations: 2.112 MB / 0.5299 GB, free: 12.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.2382, allocations: 3.006 MB / 0.5328 GB, free: 9.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02892/0.2671, allocations: 12.93 MB / 0.5455 GB, free: 12.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.2672, allocations: 0 / 0.5455 GB, free: 12.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.00654/0.2737, allocations: 6.518 MB / 0.5518 GB, free: 6.246 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.2737, allocations: 8 kB / 0.5518 GB, free: 6.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2737, allocations: 4 kB / 0.5518 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.275, allocations: 484.9 kB / 0.5523 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/0.2777, allocations: 1.451 MB / 0.5537 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/0.2819, allocations: 5.3 MB / 0.5589 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.2845, allocations: 0.509 MB / 0.5594 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.2848, allocations: 243.9 kB / 0.5596 GB, free: 14.05 MB / 474.7 MB Warning: Assuming fixed start value for the following 7 variables: trafo.valueUnderMin:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is under the minimum limit\" type: Boolean trafo.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is above the maximum limit\" type: Boolean trafo.tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running\" type: Real trafo.tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running\" type: Real trafo.tValueInRangeWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal comes back into the [valueMin ; valueMax] range and the tap-changer/phase-shifter is running\" type: Real trafo.locked:DISCRETE(start = trafo.lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" type: Boolean trafo.running:DISCRETE(start = trafo.runningStart fixed = true ) \"whether the tap-changer/phase-shifter is running\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 54 (trafo.running,trafo.locked,busLoad.componentPF.isSlackBus,infiniteBus.componentPF.isSlackBus,$PRE.trafo.valueUnderMin,$PRE.trafo.valueAboveMax,$PRE.trafo.tValueUnderMinWhileRunning,$PRE.trafo.tValueAboveMaxWhileRunning,$PRE.trafo.tValueInRangeWhileRunning,$PRE.trafo.locked,$PRE.trafo.running,trafo.tValueInRangeWhileRunning,trafo.tValueAboveMaxWhileRunning,trafo.tValueUnderMinWhileRunning,trafo.valueInRange,trafo.valueAboveMax,trafo.valueUnderMin,trafo.tTapMoved,$PRE.trafo.tTapMoved,trafo.lookingToDecreaseTap,trafo.lookingToIncreaseTap,trafo.tap,$PRE.trafo.tap,trafo.state,$PRE.trafo.state,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (964): * Single equations (assignments): 962 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(16,0,17.2%), (20,0,13.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009741/0.2857, allocations: 0.7744 MB / 0.5604 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.2861, allocations: 346 kB / 0.5607 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/0.2892, allocations: 3.03 MB / 0.5637 GB, free: 9.875 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.2892, allocations: 15.95 kB / 0.5637 GB, free: 9.859 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2892, allocations: 4 kB / 0.5637 GB, free: 9.855 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009591/0.2902, allocations: 0.6847 MB / 0.5644 GB, free: 9.168 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/0.2905, allocations: 95.94 kB / 0.5645 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.2916, allocations: 151.8 kB / 0.5646 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003603/0.292, allocations: 325.6 kB / 0.5649 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003746/0.2957, allocations: 4.032 MB / 0.5688 GB, free: 4.551 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004656/0.3004, allocations: 5.158 MB / 0.5739 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001199/0.3016, allocations: 1.033 MB / 0.5749 GB, free: 14.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001762/0.3033, allocations: 1.602 MB / 0.5765 GB, free: 12.68 MB / 490.7 MB Notification: Performance of Backend: time 6.41e-07/0.3033, allocations: 0 / 0.5765 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006854/0.3102, allocations: 4.265 MB / 0.5806 GB, free: 8.391 MB / 490.7 MB Notification: Performance of SimCode: time 0.005647/0.3158, allocations: 5.243 MB / 0.5857 GB, free: 3.113 MB / 490.7 MB Notification: Performance of Templates: time 0.1838/0.4997, allocations: 54.28 MB / 0.6388 GB, free: 132.4 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 4.068800937384367] Failed to read output from testmodel.py, exit status != 0: 0.5042342822998762 0.509673542 0.32485492800000004 Calling exit ...