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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004719/0.004719, allocations: 102.6 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 190.7 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07667/0.07667, allocations: 16.77 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 67.88 kB / 426.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.09089, allocations: 53.56 MB / 480.2 MB, free: 4.906 MB / 350.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.02521/0.1161, allocations: 31.64 MB / 0.4998 GB, free: 5.137 MB / 382.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.2093/0.3254, allocations: 24.21 MB / 0.5235 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.327, allocations: 46.38 kB / 0.5235 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.3289, allocations: 0.8989 MB / 0.5244 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.334, allocations: 2.828 MB / 0.5272 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.3363, allocations: 1.348 MB / 0.5285 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.3403, allocations: 4.925 MB / 0.5333 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009211/0.3412, allocations: 0.8521 MB / 0.5341 GB, free: 4.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.3427, allocations: 1.688 MB / 0.5358 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.3441, allocations: 1.756 MB / 0.5375 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002936/0.3444, allocations: 239.7 kB / 0.5377 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.3456, allocations: 0.6992 MB / 0.5384 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.3459, allocations: 0.5767 MB / 0.5389 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.347, allocations: 1.6 MB / 0.5405 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003052/0.3501, allocations: 3.953 MB / 0.5444 GB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3501, allocations: 0 / 0.5444 GB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3501, allocations: 0 / 0.5444 GB, free: 14.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.3502, allocations: 0 / 0.5444 GB, free: 14.63 MB / 398.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.0114/0.3616, allocations: 4.343 MB / 0.5486 GB, free: 11.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3616, allocations: 11.53 kB / 0.5486 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.3645, allocations: 0.6108 MB / 0.5492 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.3671, allocations: 1.763 MB / 0.5509 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3672, allocations: 167.7 kB / 0.5511 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.3675, allocations: 223.9 kB / 0.5513 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.371, allocations: 2.713 MB / 0.554 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.3711, allocations: 7.938 kB / 0.554 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.3713, allocations: 99.97 kB / 0.5541 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.3713, allocations: 59.92 kB / 0.5541 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.3743, allocations: 1.932 MB / 0.556 GB, free: 5.312 MB / 398.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.01528/0.3896, allocations: 14.18 MB / 0.5699 GB, free: 6.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.3933, allocations: 2.583 MB / 0.5724 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.3949, allocations: 1.196 MB / 0.5736 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.395, allocations: 25.98 kB / 0.5736 GB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/0.3972, allocations: 1.636 MB / 0.5752 GB, free: 1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 3.727e-06/0.3972, allocations: 0 / 0.5752 GB, free: 1 MB / 414.1 MB Notification: Performance of matching and sorting (n=224): time 0.009193/0.4064, allocations: 4.26 MB / 0.5793 GB, free: 12.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.4065, allocations: 111 kB / 0.5794 GB, free: 12.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.4087, allocations: 1.859 MB / 0.5813 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.4089, allocations: 97.69 kB / 0.5813 GB, free: 10.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006835/0.4096, allocations: 0.9154 MB / 0.5822 GB, free: 9.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007212/0.4103, allocations: 0.811 MB / 0.583 GB, free: 8.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/0.4116, allocations: 0.9591 MB / 0.584 GB, free: 7.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.4117, allocations: 305.1 kB / 0.5843 GB, free: 7.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.414, allocations: 1.491 MB / 0.5857 GB, free: 6.086 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.4167, allocations: 1.999 MB / 0.5877 GB, free: 3.992 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03885/0.4555, allocations: 8.856 MB / 0.5963 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.737e-05/0.4556, allocations: 4 kB / 0.5963 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.009087/0.4647, allocations: 4.725 MB / 0.6009 GB, free: 6.191 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.4648, allocations: 13.16 kB / 0.6009 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.4648, allocations: 4 kB / 0.601 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.4674, allocations: 0.5507 MB / 0.6015 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/0.4714, allocations: 1.03 MB / 0.6025 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008784/0.4802, allocations: 6.165 MB / 0.6085 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/0.4844, allocations: 369.2 kB / 0.6089 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005448/0.485, allocations: 169.5 kB / 0.609 GB, free: 13.63 MB / 462.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.001483/0.4865, allocations: 0.595 MB / 0.6096 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000746/0.4872, allocations: 245.3 kB / 0.6098 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/0.4922, allocations: 2.741 MB / 0.6125 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.4923, allocations: 19.89 kB / 0.6125 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4923, allocations: 4 kB / 0.6125 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.4936, allocations: 0.5836 MB / 0.6131 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005609/0.4942, allocations: 75.95 kB / 0.6132 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.4961, allocations: 143.7 kB / 0.6133 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005146/0.4966, allocations: 269.9 kB / 0.6136 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005686/0.5023, allocations: 2.859 MB / 0.6164 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00509/0.5074, allocations: 3.439 MB / 0.6197 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001855/0.5093, allocations: 1.908 MB / 0.6216 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.5112, allocations: 1.156 MB / 0.6227 GB, free: 15.51 MB / 478.1 MB Notification: Performance of Backend: time 6.01e-07/0.5112, allocations: 0 / 0.6227 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008081/0.5193, allocations: 3.852 MB / 0.6265 GB, free: 11.62 MB / 478.1 MB Notification: Performance of SimCode: time 0.005961/0.5252, allocations: 4.138 MB / 0.6305 GB, free: 7.453 MB / 478.1 MB Notification: Performance of Templates: time 0.05842/0.5837, allocations: 39.16 MB / 0.6688 GB, free: 376 kB / 0.4981 GB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.makefile (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)