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.001508/0.001508, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001707/0.001707, allocations: 161.7 kB / 22.46 MB, free: 5.375 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.369/1.369, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.07524/0.07524, allocations: 12.53 MB / 271.7 MB, free: 4.574 MB / 254.1 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.462e-06/1.462e-06, allocations: 0 / 402.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.451e-05, allocations: 6.219 kB / 402.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.0344/0.03443, allocations: 34.57 MB / 437.4 MB, free: 12.14 MB / 366.1 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.1977/0.2322, allocations: 23.33 MB / 460.8 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/0.235, allocations: 80.88 kB / 460.8 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003004/0.238, allocations: 1.14 MB / 462 MB, free: 21.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008958/0.2469, allocations: 3.725 MB / 465.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.25, allocations: 1.386 MB / 467.1 MB, free: 20.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00809/0.2581, allocations: 7.433 MB / 474.5 MB, free: 16.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.2601, allocations: 1.564 MB / 476.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.2646, allocations: 3.451 MB / 479.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.2668, allocations: 2.01 MB / 481.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004022/0.2672, allocations: 328.8 kB / 481.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.2689, allocations: 0.8495 MB / 482.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004456/0.2694, allocations: 0.7787 MB / 483.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.2708, allocations: 1.605 MB / 485.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00427/0.2751, allocations: 5.441 MB / 490.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2751, allocations: 4 kB / 490.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2751, allocations: 0 / 490.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.779e-05/0.2751, allocations: 0 / 490.6 MB, free: 7.961 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: 663 * Number of variables: 663 Notification: Performance of Generate backend data structure: time 0.01691/0.2921, allocations: 5.844 MB / 496.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2921, allocations: 8.031 kB / 496.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/0.2966, allocations: 0.8839 MB / 497.3 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.2999, allocations: 2.297 MB / 499.6 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.3, allocations: 225.5 kB / 499.8 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/0.3004, allocations: 301.6 kB / 0.4884 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00596/0.3064, allocations: 3.961 MB / 0.4922 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/0.3065, allocations: 16.62 kB / 0.4923 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003132/0.3068, allocations: 128.5 kB / 0.4924 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/0.3068, allocations: 79.03 kB / 0.4925 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00475/0.3116, allocations: 2.717 MB / 0.4951 GB, free: 8.523 MB / 382.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.02611/0.3377, allocations: 16.04 MB / 0.5108 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0045/0.3422, allocations: 2.228 MB / 0.513 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.344, allocations: 1.026 MB / 0.514 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.3441, allocations: 38.3 kB / 0.514 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003203/0.3473, allocations: 2.319 MB / 0.5163 GB, free: 2.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=284): time 6.171e-06/0.3473, allocations: 0 / 0.5163 GB, free: 2.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=284): time 0.01034/0.3576, allocations: 4.452 MB / 0.5206 GB, free: 14.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002737/0.3579, allocations: 480.7 kB / 0.5211 GB, free: 13.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.3618, allocations: 2.664 MB / 0.5237 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002991/0.3621, allocations: 109.7 kB / 0.5238 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.3635, allocations: 1.409 MB / 0.5251 GB, free: 9.336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001237/0.3647, allocations: 1.082 MB / 0.5262 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002132/0.3669, allocations: 1.369 MB / 0.5275 GB, free: 6.898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.367, allocations: 309.1 kB / 0.5278 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/0.3707, allocations: 2.112 MB / 0.5299 GB, free: 4.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004456/0.3752, allocations: 3.008 MB / 0.5328 GB, free: 1.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06757/0.4427, allocations: 12.92 MB / 0.5454 GB, free: 4.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/0.4428, allocations: 4 kB / 0.5455 GB, free: 4.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=998) (initialization): time 0.01182/0.4546, allocations: 6.515 MB / 0.5518 GB, free: 13.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.4546, allocations: 8 kB / 0.5518 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.4546, allocations: 4 kB / 0.5518 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.4568, allocations: 485.4 kB / 0.5523 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/0.4626, allocations: 1.452 MB / 0.5537 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/0.4706, allocations: 5.311 MB / 0.5589 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005859/0.4764, allocations: 0.5012 MB / 0.5594 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004846/0.4769, allocations: 240 kB / 0.5596 GB, free: 5.719 MB / 446.1 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.001682/0.4786, allocations: 0.7782 MB / 0.5604 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007092/0.4793, allocations: 346 kB / 0.5607 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/0.4848, allocations: 3.022 MB / 0.5637 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.928e-05/0.4848, allocations: 15.95 kB / 0.5637 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.4848, allocations: 8 kB / 0.5637 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/0.4865, allocations: 0.6809 MB / 0.5643 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005575/0.487, allocations: 91.94 kB / 0.5644 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/0.4894, allocations: 163.7 kB / 0.5646 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006214/0.4901, allocations: 321.6 kB / 0.5649 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006575/0.4966, allocations: 4.037 MB / 0.5688 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007313/0.504, allocations: 5.151 MB / 0.5739 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001751/0.5057, allocations: 1.033 MB / 0.5749 GB, free: 6.008 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0026/0.5083, allocations: 1.602 MB / 0.5764 GB, free: 4.398 MB / 462.1 MB Notification: Performance of Backend: time 4.2e-07/0.5083, allocations: 0 / 0.5764 GB, free: 4.398 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.5187, allocations: 4.27 MB / 0.5806 GB, free: 140 kB / 462.1 MB Notification: Performance of SimCode: time 0.008479/0.5271, allocations: 5.241 MB / 0.5857 GB, free: 10.87 MB / 478.1 MB Notification: Performance of Templates: time 0.2361/0.7632, allocations: 54.3 MB / 0.6388 GB, free: 183.6 MB / 0.4981 GB " [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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.902428850531578] Failed to read output from testmodel.py, exit status != 0: 0.7710351534187794 0.7805720939999999 0.503097571 Calling exit ...