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.00412/0.00412, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001075/0.001075, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1784/0.1784, allocations: 16.78 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.02 kB / 426.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07902/0.0802, allocations: 53.58 MB / 480.2 MB, free: 10.3 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.02232/0.1026, allocations: 31.63 MB / 0.4998 GB, free: 13 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.02477/0.1273, allocations: 24.24 MB / 0.5235 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.1293, allocations: 43.81 kB / 0.5235 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.1313, allocations: 0.9047 MB / 0.5244 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.1373, allocations: 2.821 MB / 0.5272 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.1399, allocations: 1.347 MB / 0.5285 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005032/0.1449, allocations: 4.938 MB / 0.5333 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.146, allocations: 0.8428 MB / 0.5341 GB, free: 9.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.1478, allocations: 1.685 MB / 0.5358 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.1495, allocations: 1.759 MB / 0.5375 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.1498, allocations: 240 kB / 0.5377 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.1511, allocations: 0.7067 MB / 0.5384 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.1516, allocations: 0.5719 MB / 0.539 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.153, allocations: 1.606 MB / 0.5405 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.1568, allocations: 3.963 MB / 0.5444 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1568, allocations: 0 / 0.5444 GB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1568, allocations: 0 / 0.5444 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.1569, allocations: 0 / 0.5444 GB, free: 15.21 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.01294/0.1698, allocations: 4.409 MB / 0.5487 GB, free: 10.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1699, allocations: 8.031 kB / 0.5487 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.173, allocations: 0.6394 MB / 0.5494 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.1758, allocations: 1.765 MB / 0.5511 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1759, allocations: 163.7 kB / 0.5512 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.1763, allocations: 224 kB / 0.5514 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.1799, allocations: 2.711 MB / 0.5541 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.18, allocations: 11.94 kB / 0.5541 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.1802, allocations: 111.9 kB / 0.5542 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.1803, allocations: 48 kB / 0.5543 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.1832, allocations: 1.932 MB / 0.5561 GB, free: 2.844 MB / 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.0165/0.1997, allocations: 14.21 MB / 0.57 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003759/0.2035, allocations: 2.591 MB / 0.5725 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.205, allocations: 1.189 MB / 0.5737 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.574e-05/0.2051, allocations: 38.12 kB / 0.5737 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002233/0.2073, allocations: 1.628 MB / 0.5753 GB, free: 14.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 3.647e-06/0.2073, allocations: 0 / 0.5753 GB, free: 14.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=224): time 0.009643/0.217, allocations: 4.276 MB / 0.5795 GB, free: 10.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.2171, allocations: 103.1 kB / 0.5796 GB, free: 9.965 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.2195, allocations: 1.859 MB / 0.5814 GB, free: 8.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.2197, allocations: 101.7 kB / 0.5815 GB, free: 7.953 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007008/0.2204, allocations: 0.9395 MB / 0.5824 GB, free: 7.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007535/0.2211, allocations: 0.8489 MB / 0.5833 GB, free: 6.148 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.2224, allocations: 0.9673 MB / 0.5842 GB, free: 5.172 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.2225, allocations: 301.1 kB / 0.5845 GB, free: 4.875 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002236/0.2247, allocations: 1.491 MB / 0.586 GB, free: 3.379 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.2274, allocations: 1.995 MB / 0.5879 GB, free: 1.289 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2275/0.4549, allocations: 8.856 MB / 0.5966 GB, free: 106.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/0.4549, allocations: 0.8438 kB / 0.5966 GB, free: 106.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.007729/0.4626, allocations: 4.747 MB / 0.6012 GB, free: 104.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.4627, allocations: 6.844 kB / 0.6012 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.4627, allocations: 4.094 kB / 0.6012 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/0.465, allocations: 0.5436 MB / 0.6017 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003431/0.4684, allocations: 1.034 MB / 0.6027 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/0.4749, allocations: 6.169 MB / 0.6088 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/0.4782, allocations: 377.6 kB / 0.6091 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.4785, allocations: 168.2 kB / 0.6093 GB, free: 100.2 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.0009909/0.4795, allocations: 0.5945 MB / 0.6099 GB, free: 99.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/0.4798, allocations: 262.5 kB / 0.6101 GB, free: 99.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.4834, allocations: 2.741 MB / 0.6128 GB, free: 98.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.4835, allocations: 14.91 kB / 0.6128 GB, free: 98.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4835, allocations: 3.688 kB / 0.6128 GB, free: 98.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/0.4843, allocations: 0.5931 MB / 0.6134 GB, free: 98.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/0.4846, allocations: 81.88 kB / 0.6135 GB, free: 98.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.4862, allocations: 138.6 kB / 0.6136 GB, free: 98.17 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/0.4866, allocations: 266.1 kB / 0.6139 GB, free: 98.03 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004579/0.4912, allocations: 2.866 MB / 0.6167 GB, free: 96.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003595/0.4948, allocations: 3.452 MB / 0.62 GB, free: 93.07 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001244/0.496, allocations: 1.916 MB / 0.6219 GB, free: 91.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001197/0.4973, allocations: 1.148 MB / 0.623 GB, free: 89.98 MB / 462.1 MB Notification: Performance of Backend: time 4.91e-07/0.4973, allocations: 6.078 kB / 0.623 GB, free: 89.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006178/0.5034, allocations: 3.86 MB / 0.6268 GB, free: 86.15 MB / 462.1 MB Notification: Performance of SimCode: time 0.004497/0.508, allocations: 4.196 MB / 0.6309 GB, free: 81.96 MB / 462.1 MB Notification: Performance of Templates: time 0.04826/0.5562, allocations: 39.16 MB / 0.6691 GB, free: 43 MB / 462.1 MB 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)