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.001356/0.001356, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.0016/0.0016, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.793 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.0854/0.0854, allocations: 16.92 MB / 329.4 MB, free: 2.379 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.00227/0.00227, allocations: 67.91 kB / 460.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1247, allocations: 57.74 MB / 0.506 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.2756/0.4003, allocations: 34.55 MB / 0.5397 GB, free: 12.76 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.03813/0.4384, allocations: 23.32 MB / 0.5625 GB, free: 12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00519/0.4436, allocations: 81.59 kB / 0.5626 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004946/0.4485, allocations: 1.139 MB / 0.5637 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0118/0.4603, allocations: 3.644 MB / 0.5673 GB, free: 8.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.4651, allocations: 1.374 MB / 0.5686 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4761, allocations: 6.863 MB / 0.5753 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.4794, allocations: 1.557 MB / 0.5768 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/0.485, allocations: 2.382 MB / 0.5792 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005202/0.4902, allocations: 2.24 MB / 0.5813 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001292/0.4915, allocations: 328 kB / 0.5817 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.4951, allocations: 0.8474 MB / 0.5825 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001436/0.4965, allocations: 0.7741 MB / 0.5832 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004487/0.501, allocations: 1.839 MB / 0.585 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00997/0.511, allocations: 5.45 MB / 0.5904 GB, free: 4.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.511, allocations: 4 kB / 0.5904 GB, free: 4.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.511, allocations: 0 / 0.5904 GB, free: 4.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001639/0.5112, allocations: 0 / 0.5904 GB, free: 4.242 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.02306/0.5342, allocations: 5.887 MB / 0.5961 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.5343, allocations: 8.031 kB / 0.5961 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006663/0.541, allocations: 0.9354 MB / 0.597 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007581/0.5485, allocations: 2.294 MB / 0.5993 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.5489, allocations: 225.5 kB / 0.5995 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.55, allocations: 300.3 kB / 0.5998 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009048/0.559, allocations: 3.972 MB / 0.6037 GB, free: 6.047 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-05/0.5591, allocations: 11.88 kB / 0.6037 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004679/0.5596, allocations: 136 kB / 0.6038 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.875e-05/0.5596, allocations: 72 kB / 0.6039 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.5649, allocations: 2.718 MB / 0.6065 GB, free: 3.098 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.0308/0.5957, allocations: 16.08 MB / 0.6222 GB, free: 2.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0052/0.6009, allocations: 2.241 MB / 0.6244 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.603, allocations: 1.025 MB / 0.6254 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.6031, allocations: 42.28 kB / 0.6254 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003587/0.6067, allocations: 2.321 MB / 0.6277 GB, free: 12.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=284): time 6.292e-06/0.6067, allocations: 3.938 kB / 0.6277 GB, free: 12.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=284): time 0.01109/0.6178, allocations: 4.457 MB / 0.6321 GB, free: 8.301 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003779/0.6182, allocations: 483.2 kB / 0.6325 GB, free: 7.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/0.6229, allocations: 2.672 MB / 0.6351 GB, free: 5.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006088/0.6235, allocations: 109.7 kB / 0.6352 GB, free: 4.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.625, allocations: 1.408 MB / 0.6366 GB, free: 3.504 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001521/0.6266, allocations: 1.105 MB / 0.6377 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002508/0.6291, allocations: 1.369 MB / 0.639 GB, free: 1.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6292, allocations: 305.1 kB / 0.6393 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004099/0.6333, allocations: 2.121 MB / 0.6414 GB, free: 14.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0049/0.6382, allocations: 3.002 MB / 0.6443 GB, free: 11.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06602/0.7042, allocations: 12.93 MB / 0.657 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-05/0.7042, allocations: 0 / 0.657 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.01478/0.719, allocations: 6.518 MB / 0.6633 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.7191, allocations: 8 kB / 0.6633 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.052e-05/0.7191, allocations: 8 kB / 0.6633 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/0.7213, allocations: 483.5 kB / 0.6638 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006272/0.7275, allocations: 1.447 MB / 0.6652 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008555/0.7361, allocations: 5.328 MB / 0.6704 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007231/0.7433, allocations: 0.4936 MB / 0.6709 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/0.7446, allocations: 244 kB / 0.6711 GB, free: 15.69 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.002744/0.7473, allocations: 0.7758 MB / 0.6719 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/0.7488, allocations: 346 kB / 0.6722 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006282/0.7551, allocations: 3.034 MB / 0.6752 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-05/0.7551, allocations: 19.95 kB / 0.6752 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.7551, allocations: 7.984 kB / 0.6752 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/0.7575, allocations: 0.6809 MB / 0.6759 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009702/0.7585, allocations: 91.88 kB / 0.676 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/0.7615, allocations: 159.8 kB / 0.6761 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/0.7621, allocations: 317.6 kB / 0.6764 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007334/0.7695, allocations: 4.097 MB / 0.6804 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008147/0.7776, allocations: 5.173 MB / 0.6855 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002013/0.7796, allocations: 1.033 MB / 0.6865 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003204/0.7828, allocations: 1.606 MB / 0.688 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of Backend: time 5.01e-07/0.7828, allocations: 3.938 kB / 0.688 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01347/0.7963, allocations: 4.262 MB / 0.6922 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0113/0.8076, allocations: 5.272 MB / 0.6974 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of Templates: time 0.3328/1.14, allocations: 58.78 MB / 0.7548 GB, free: 183.6 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.993859629146755] Failed to read output from testmodel.py, exit status != 0: 1.1506593069061637 1.163469974 0.649636905 Calling exit ...