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.001383/0.001383, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001467/0.001467, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 7.781 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.08534/0.08534, allocations: 16.93 MB / 329.3 MB, free: 2.387 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.002188/0.002188, allocations: 67.89 kB / 460.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1338, allocations: 57.73 MB / 0.506 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.2673/0.4012, allocations: 34.57 MB / 0.5397 GB, free: 12.56 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.03575/0.4369, allocations: 23.31 MB / 0.5625 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/0.4412, allocations: 81.16 kB / 0.5626 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004365/0.4456, allocations: 1.135 MB / 0.5637 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.4583, allocations: 3.647 MB / 0.5673 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.463, allocations: 1.37 MB / 0.5686 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.4746, allocations: 6.87 MB / 0.5753 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003801/0.4784, allocations: 1.556 MB / 0.5768 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005627/0.484, allocations: 2.379 MB / 0.5792 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005426/0.4895, allocations: 2.24 MB / 0.5813 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.4908, allocations: 328 kB / 0.5817 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.4944, allocations: 0.8474 MB / 0.5825 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.4958, allocations: 0.7742 MB / 0.5832 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004414/0.5002, allocations: 1.843 MB / 0.585 GB, free: 9.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00938/0.5096, allocations: 5.446 MB / 0.5904 GB, free: 4.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5096, allocations: 0 / 0.5904 GB, free: 4.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5096, allocations: 0 / 0.5904 GB, free: 4.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001652/0.5097, allocations: 0 / 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.02243/0.5322, allocations: 5.891 MB / 0.5961 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.5322, allocations: 8.031 kB / 0.5961 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/0.538, allocations: 0.9315 MB / 0.597 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005378/0.5433, allocations: 2.294 MB / 0.5993 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.5435, allocations: 229.5 kB / 0.5995 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004884/0.544, allocations: 296.3 kB / 0.5998 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006244/0.5503, allocations: 3.98 MB / 0.6037 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.97e-05/0.5503, allocations: 11.88 kB / 0.6037 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003007/0.5506, allocations: 136 kB / 0.6038 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.5507, allocations: 68 kB / 0.6039 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004748/0.5554, allocations: 2.725 MB / 0.6065 GB, free: 2.98 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.0283/0.5837, allocations: 16.08 MB / 0.6222 GB, free: 2.453 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004948/0.5887, allocations: 2.237 MB / 0.6244 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.5908, allocations: 1.028 MB / 0.6254 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.591, allocations: 38.3 kB / 0.6254 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003948/0.5949, allocations: 2.319 MB / 0.6277 GB, free: 12.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=284): time 1.275e-05/0.5949, allocations: 0 / 0.6277 GB, free: 12.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=284): time 0.01193/0.6069, allocations: 4.456 MB / 0.6321 GB, free: 8.188 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002747/0.6071, allocations: 479.2 kB / 0.6325 GB, free: 7.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00568/0.6128, allocations: 2.672 MB / 0.6351 GB, free: 4.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004702/0.6133, allocations: 113.7 kB / 0.6352 GB, free: 4.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.6151, allocations: 1.408 MB / 0.6366 GB, free: 3.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001749/0.6168, allocations: 1.109 MB / 0.6377 GB, free: 2.273 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0033/0.6201, allocations: 1.369 MB / 0.639 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6203, allocations: 305.1 kB / 0.6393 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00433/0.6246, allocations: 2.117 MB / 0.6414 GB, free: 14.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005747/0.6304, allocations: 2.999 MB / 0.6443 GB, free: 11.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06756/0.6979, allocations: 12.93 MB / 0.6569 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.444e-05/0.6979, allocations: 0 / 0.6569 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=998) (initialization): time 0.017/0.7149, allocations: 6.525 MB / 0.6633 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.715, allocations: 8 kB / 0.6633 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.715, allocations: 4 kB / 0.6633 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002182/0.7172, allocations: 481.4 kB / 0.6638 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006436/0.7236, allocations: 1.451 MB / 0.6652 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008658/0.7323, allocations: 5.313 MB / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007452/0.7397, allocations: 0.4974 MB / 0.6709 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/0.7413, allocations: 248 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.003539/0.7449, allocations: 0.7861 MB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001551/0.7464, allocations: 346 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006553/0.753, allocations: 3.038 MB / 0.6752 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-05/0.753, allocations: 19.94 kB / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.753, allocations: 4 kB / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/0.7558, allocations: 0.6809 MB / 0.6759 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/0.757, allocations: 83.95 kB / 0.6759 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00311/0.7601, allocations: 159.8 kB / 0.6761 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007128/0.7608, allocations: 317.6 kB / 0.6764 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00742/0.7682, allocations: 4.104 MB / 0.6804 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007951/0.7761, allocations: 5.169 MB / 0.6855 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001869/0.778, allocations: 1.038 MB / 0.6865 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003376/0.7814, allocations: 1.606 MB / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of Backend: time 5.71e-07/0.7814, allocations: 0 / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01284/0.7942, allocations: 4.262 MB / 0.6922 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01013/0.8044, allocations: 5.273 MB / 0.6973 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of Templates: time 0.343/1.147, allocations: 58.78 MB / 0.7548 GB, free: 183.1 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.064253848046064] Failed to read output from testmodel.py, exit status != 0: 1.1566277593374252 1.167314134 0.655158192 Calling exit ...