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.0007934/0.0007934, 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.000731/0.000731, 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.8213/0.8213, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.044/0.044, allocations: 12.53 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.352e-06/1.352e-06, allocations: 0 / 402.9 MB, free: 9.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.473e-05, allocations: 10.22 kB / 402.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.14/0.14, allocations: 34.56 MB / 437.4 MB, free: 2.469 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.01863/0.1586, allocations: 23.36 MB / 460.8 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.1602, allocations: 79.44 kB / 460.9 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.162, allocations: 1.137 MB / 462 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004442/0.1664, allocations: 3.721 MB / 465.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.1681, allocations: 1.37 MB / 467.1 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00441/0.1725, allocations: 7.435 MB / 474.5 MB, free: 2.516 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.1737, allocations: 1.568 MB / 476.1 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.1762, allocations: 3.449 MB / 479.6 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.1777, allocations: 2.01 MB / 481.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.178, allocations: 324 kB / 481.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.1791, allocations: 0.8509 MB / 482.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003984/0.1795, allocations: 0.7818 MB / 483.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.1806, allocations: 1.605 MB / 485.1 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.1839, allocations: 5.446 MB / 490.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1839, allocations: 0 / 490.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1839, allocations: 0 / 490.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.378e-05/0.1839, allocations: 0 / 490.6 MB, free: 2.414 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.009098/0.193, allocations: 5.844 MB / 496.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1931, allocations: 8.031 kB / 496.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.1954, allocations: 0.8847 MB / 497.3 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.1981, allocations: 2.301 MB / 499.6 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1982, allocations: 217.5 kB / 499.8 MB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/0.1985, allocations: 300.3 kB / 0.4884 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/0.2018, allocations: 3.961 MB / 0.4923 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.2019, allocations: 16 kB / 0.4923 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/0.202, allocations: 132.3 kB / 0.4924 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.2021, allocations: 75.94 kB / 0.4925 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/0.2049, allocations: 2.714 MB / 0.4951 GB, free: 1.383 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.01263/0.2175, allocations: 16.03 MB / 0.5108 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.2201, allocations: 2.252 MB / 0.513 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.2211, allocations: 1.024 MB / 0.514 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.383e-05/0.2212, allocations: 42.28 kB / 0.514 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.2231, allocations: 2.318 MB / 0.5163 GB, free: 11.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 4.128e-06/0.2231, allocations: 3.938 kB / 0.5163 GB, free: 11.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=284): time 0.005682/0.2288, allocations: 4.448 MB / 0.5206 GB, free: 6.629 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.2289, allocations: 479.2 kB / 0.5211 GB, free: 6.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.2313, allocations: 2.664 MB / 0.5237 GB, free: 3.371 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.2314, allocations: 109.7 kB / 0.5238 GB, free: 3.258 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009415/0.2324, allocations: 1.408 MB / 0.5252 GB, free: 1.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.233, allocations: 1.089 MB / 0.5262 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.2342, allocations: 1.361 MB / 0.5275 GB, free: 15.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.2343, allocations: 305.1 kB / 0.5278 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.2364, allocations: 2.12 MB / 0.5299 GB, free: 12.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.2391, allocations: 2.995 MB / 0.5328 GB, free: 9.824 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02853/0.2676, allocations: 12.93 MB / 0.5455 GB, free: 12.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.2677, allocations: 0 / 0.5455 GB, free: 12.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.006601/0.2743, allocations: 6.525 MB / 0.5518 GB, free: 6.246 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2743, allocations: 8 kB / 0.5518 GB, free: 6.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.2743, allocations: 4 kB / 0.5518 GB, free: 6.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/0.2752, allocations: 483.2 kB / 0.5523 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/0.2782, allocations: 1.447 MB / 0.5537 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/0.2824, allocations: 5.311 MB / 0.5589 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.2848, allocations: 0.5051 MB / 0.5594 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.2851, allocations: 243.9 kB / 0.5596 GB, free: 14.06 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.001046/0.2861, allocations: 0.7712 MB / 0.5604 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.2865, allocations: 350 kB / 0.5607 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.2896, allocations: 3.022 MB / 0.5637 GB, free: 9.887 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.2896, allocations: 15.95 kB / 0.5637 GB, free: 9.871 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.2896, allocations: 7.984 kB / 0.5637 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.2907, allocations: 0.6809 MB / 0.5644 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/0.291, allocations: 91.88 kB / 0.5644 GB, free: 9.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.292, allocations: 163.7 kB / 0.5646 GB, free: 8.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.2924, allocations: 317.6 kB / 0.5649 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003554/0.2959, allocations: 4.035 MB / 0.5688 GB, free: 4.559 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004033/0.3, allocations: 5.165 MB / 0.5739 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001064/0.301, allocations: 1.018 MB / 0.5749 GB, free: 14.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001423/0.3025, allocations: 1.606 MB / 0.5764 GB, free: 12.69 MB / 490.7 MB Notification: Performance of Backend: time 1.2e-07/0.3025, allocations: 0 / 0.5764 GB, free: 12.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005504/0.308, allocations: 4.265 MB / 0.5806 GB, free: 8.402 MB / 490.7 MB Notification: Performance of SimCode: time 0.00462/0.3126, allocations: 5.242 MB / 0.5857 GB, free: 3.121 MB / 490.7 MB Notification: Performance of Templates: time 0.1651/0.4777, allocations: 54.29 MB / 0.6388 GB, free: 132.3 MB / 490.7 MB " [Timeout remaining time 660] 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.040369552560151] Failed to read output from testmodel.py, exit status != 0: 0.4821379939094186 0.48711751799999997 0.30196756099999994 Calling exit ...