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.001578/0.001578, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00172/0.00172, allocations: 213.9 kB / 22.25 MB, free: 5.078 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 8.027 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.07923/0.07923, allocations: 16.96 MB / 329.4 MB, free: 2.578 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.001981/0.001981, allocations: 67.89 kB / 460.5 MB, free: 1.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1194, allocations: 57.74 MB / 0.5061 GB, free: 8.055 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter infiniteBus.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter infiniteBus.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:4:3-5:21:writable] Warning: Parameter trafo.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter trafo.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter busLoad.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter busLoad.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.2536/0.373, allocations: 31.76 MB / 0.5372 GB, free: 13.25 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. [/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.componentPF.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/TwoPortACVI.mo:8:3-9:21:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instExpressions: time 0.05054/0.4235, allocations: 24.35 MB / 0.5609 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004536/0.4281, allocations: 60.22 kB / 0.561 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004754/0.4328, allocations: 0.8918 MB / 0.5619 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.4456, allocations: 2.824 MB / 0.5646 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005603/0.4512, allocations: 1.38 MB / 0.566 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.4621, allocations: 4.931 MB / 0.5708 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.4654, allocations: 1.117 MB / 0.5719 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/0.4705, allocations: 1.713 MB / 0.5735 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004914/0.4754, allocations: 1.763 MB / 0.5753 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.4766, allocations: 240.3 kB / 0.5755 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.4805, allocations: 0.7148 MB / 0.5762 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.4818, allocations: 0.5757 MB / 0.5768 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004518/0.4863, allocations: 1.606 MB / 0.5783 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.4964, allocations: 3.983 MB / 0.5822 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4964, allocations: 0 / 0.5822 GB, free: 12.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4964, allocations: 0 / 0.5822 GB, free: 12.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001282/0.4965, allocations: 0 / 0.5822 GB, free: 12.71 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: 469 * Number of variables: 469 Notification: Performance of Generate backend data structure: time 0.02128/0.5178, allocations: 4.369 MB / 0.5865 GB, free: 8.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.5178, allocations: 8.031 kB / 0.5865 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007283/0.5251, allocations: 0.6511 MB / 0.5871 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006503/0.5316, allocations: 1.705 MB / 0.5888 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.5318, allocations: 159.7 kB / 0.5889 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006077/0.5325, allocations: 224 kB / 0.5892 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00657/0.539, allocations: 2.711 MB / 0.5918 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-05/0.5391, allocations: 11.88 kB / 0.5918 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.5394, allocations: 99.97 kB / 0.5919 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.875e-05/0.5395, allocations: 48 kB / 0.592 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.5447, allocations: 1.943 MB / 0.5939 GB, free: 472 kB / 430.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.02833/0.573, allocations: 14.13 MB / 0.6077 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.5769, allocations: 1.83 MB / 0.6094 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001428/0.5783, allocations: 0.785 MB / 0.6102 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.5784, allocations: 34.12 kB / 0.6102 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002576/0.581, allocations: 1.645 MB / 0.6119 GB, free: 13.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 3.747e-06/0.581, allocations: 0 / 0.6119 GB, free: 13.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=224): time 0.01029/0.5913, allocations: 4.098 MB / 0.6159 GB, free: 9.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.5914, allocations: 111.1 kB / 0.616 GB, free: 9.105 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.5943, allocations: 1.863 MB / 0.6178 GB, free: 7.195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002591/0.5945, allocations: 93.69 kB / 0.6179 GB, free: 7.098 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009147/0.5954, allocations: 0.9395 MB / 0.6188 GB, free: 6.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009502/0.5964, allocations: 0.849 MB / 0.6196 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/0.5978, allocations: 0.9596 MB / 0.6206 GB, free: 4.324 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.598, allocations: 301.1 kB / 0.6208 GB, free: 4.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/0.6005, allocations: 1.494 MB / 0.6223 GB, free: 2.527 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.6036, allocations: 2.003 MB / 0.6243 GB, free: 440 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04189/0.6455, allocations: 8.928 MB / 0.633 GB, free: 7.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.6455, allocations: 0.875 kB / 0.633 GB, free: 7.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.008481/0.654, allocations: 4.738 MB / 0.6376 GB, free: 2.543 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.654, allocations: 4 kB / 0.6376 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.6541, allocations: 4 kB / 0.6376 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/0.6566, allocations: 0.5442 MB / 0.6381 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/0.6604, allocations: 1.041 MB / 0.6392 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009026/0.6694, allocations: 5.963 MB / 0.645 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/0.6736, allocations: 370.1 kB / 0.6453 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000414/0.674, allocations: 172 kB / 0.6455 GB, free: 10.22 MB / 494.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: 19 * 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 (664): * Single equations (assignments): 662 * 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%), (24,0,11.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001445/0.6754, allocations: 0.6055 MB / 0.6461 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005755/0.676, allocations: 266.4 kB / 0.6463 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004933/0.6809, allocations: 2.73 MB / 0.649 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.681, allocations: 15.95 kB / 0.649 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.681, allocations: 0 / 0.649 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.6825, allocations: 0.5175 MB / 0.6495 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/0.683, allocations: 75.94 kB / 0.6496 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.6847, allocations: 139.8 kB / 0.6497 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005487/0.6852, allocations: 285.7 kB / 0.65 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006042/0.6913, allocations: 2.861 MB / 0.6528 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005689/0.697, allocations: 3.452 MB / 0.6562 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001284/0.6982, allocations: 0.7911 MB / 0.6569 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001941/0.7002, allocations: 1.152 MB / 0.6581 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of Backend: time 8.51e-07/0.7002, allocations: 3.938 kB / 0.6581 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008604/0.7088, allocations: 3.45 MB / 0.6614 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of SimCode: time 0.007528/0.7163, allocations: 4.197 MB / 0.6655 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.0789/0.7952, allocations: 41.98 MB / 0.7065 GB, free: 11.62 MB / 0.545 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: 6.640488092089072] Failed to read output from testmodel.py, exit status != 0: 0.8051570178940892 0.821830791 0.321718589 Calling exit ...