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.001773/0.001773, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00216/0.00216, allocations: 216.8 kB / 22.25 MB, free: 4.852 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.08408/0.08408, allocations: 16.93 MB / 329.4 MB, free: 2.406 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: PowerGrids 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.002136/0.002136, allocations: 67.89 kB / 460.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1126, allocations: 57.72 MB / 0.506 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.2751/0.3878, allocations: 34.56 MB / 0.5397 GB, free: 12.58 MB / 398.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.03836/0.4261, allocations: 23.31 MB / 0.5625 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004805/0.4309, allocations: 81.34 kB / 0.5626 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.4356, allocations: 1.14 MB / 0.5637 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01328/0.4489, allocations: 3.655 MB / 0.5673 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004946/0.4539, allocations: 1.381 MB / 0.5686 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01068/0.4646, allocations: 6.851 MB / 0.5753 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.4676, allocations: 1.559 MB / 0.5768 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004577/0.4721, allocations: 2.38 MB / 0.5792 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/0.477, allocations: 2.248 MB / 0.5813 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.4782, allocations: 328 kB / 0.5817 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003992/0.4822, allocations: 0.8396 MB / 0.5825 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001408/0.4836, allocations: 0.7702 MB / 0.5832 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004456/0.488, allocations: 1.839 MB / 0.585 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.4983, allocations: 5.449 MB / 0.5904 GB, free: 4.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4983, allocations: 0 / 0.5904 GB, free: 4.137 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4983, allocations: 0 / 0.5904 GB, free: 4.137 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.4984, allocations: 3.938 kB / 0.5904 GB, free: 4.133 MB / 430.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.02301/0.5215, allocations: 5.891 MB / 0.5961 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.5215, allocations: 8.031 kB / 0.5961 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006176/0.5277, allocations: 0.9315 MB / 0.597 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006211/0.5339, allocations: 2.298 MB / 0.5993 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003071/0.5342, allocations: 225.5 kB / 0.5995 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000751/0.535, allocations: 304.3 kB / 0.5998 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007096/0.5421, allocations: 3.969 MB / 0.6036 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.784e-05/0.5421, allocations: 19.81 kB / 0.6037 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.5424, allocations: 134.8 kB / 0.6038 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/0.5425, allocations: 72 kB / 0.6039 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005267/0.5478, allocations: 2.714 MB / 0.6065 GB, free: 2.984 MB / 446.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.03118/0.579, allocations: 16.08 MB / 0.6222 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005202/0.5842, allocations: 2.241 MB / 0.6244 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.5862, allocations: 1.025 MB / 0.6254 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.5863, allocations: 38.3 kB / 0.6254 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003482/0.5898, allocations: 2.321 MB / 0.6277 GB, free: 12.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=284): time 5.871e-06/0.5898, allocations: 0 / 0.6277 GB, free: 12.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=284): time 0.0109/0.6007, allocations: 4.456 MB / 0.6321 GB, free: 8.191 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002956/0.601, allocations: 483.2 kB / 0.6325 GB, free: 7.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.6056, allocations: 2.672 MB / 0.6351 GB, free: 4.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005075/0.6061, allocations: 109.7 kB / 0.6352 GB, free: 4.816 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.6076, allocations: 1.416 MB / 0.6366 GB, free: 3.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001496/0.6091, allocations: 1.101 MB / 0.6377 GB, free: 2.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002377/0.6114, allocations: 1.369 MB / 0.639 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6116, allocations: 301.1 kB / 0.6393 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00406/0.6157, allocations: 2.12 MB / 0.6414 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004988/0.6206, allocations: 2.999 MB / 0.6443 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06758/0.6882, allocations: 12.93 MB / 0.6569 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.884e-05/0.6883, allocations: 4 kB / 0.6569 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.01519/0.7034, allocations: 6.518 MB / 0.6633 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.7035, allocations: 8 kB / 0.6633 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/0.7035, allocations: 4 kB / 0.6633 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.7057, allocations: 489.4 kB / 0.6638 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006653/0.7124, allocations: 1.443 MB / 0.6652 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008338/0.7207, allocations: 5.32 MB / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007011/0.7277, allocations: 0.5041 MB / 0.6709 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/0.7287, allocations: 240 kB / 0.6711 GB, free: 15.58 MB / 0.5137 GB 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.002766/0.7315, allocations: 0.7843 MB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/0.7327, allocations: 354 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005904/0.7386, allocations: 3.034 MB / 0.6752 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/0.7386, allocations: 15.95 kB / 0.6752 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.7386, allocations: 4 kB / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002782/0.7414, allocations: 0.6808 MB / 0.6759 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/0.7425, allocations: 95.94 kB / 0.676 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/0.7456, allocations: 155.8 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006767/0.7463, allocations: 321.6 kB / 0.6764 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007405/0.7537, allocations: 4.092 MB / 0.6804 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00842/0.7621, allocations: 5.181 MB / 0.6855 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00208/0.7642, allocations: 1.038 MB / 0.6865 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003776/0.768, allocations: 1.606 MB / 0.6881 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of Backend: time 2.31e-07/0.768, allocations: 0 / 0.6881 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01535/0.7833, allocations: 4.259 MB / 0.6922 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01111/0.7944, allocations: 5.274 MB / 0.6974 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of Templates: time 0.3212/1.116, allocations: 58.77 MB / 0.7548 GB, free: 183 MB / 0.5606 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.837652194779366] Failed to read output from testmodel.py, exit status != 0: 1.1242543482221663 1.1345902479999999 0.633786882 Calling exit ...