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.006398/0.006398, allocations: 99.42 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.001451/0.001451, allocations: 202 kB / 16.68 MB, free: 5.965 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.343/1.343, 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.1771/0.1771, allocations: 16.79 MB / 307.3 MB, free: 14.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 64.84 kB / 426.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09542/0.09665, allocations: 53.58 MB / 480.2 MB, free: 10.41 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.02669/0.1234, allocations: 31.64 MB / 0.4998 GB, free: 12.98 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.0315/0.1549, allocations: 24.24 MB / 0.5235 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.158, allocations: 47.75 kB / 0.5235 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00299/0.161, allocations: 0.8892 MB / 0.5244 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007923/0.169, allocations: 2.821 MB / 0.5272 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.1732, allocations: 1.359 MB / 0.5285 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007969/0.1812, allocations: 4.921 MB / 0.5333 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.1829, allocations: 0.8506 MB / 0.5341 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.1857, allocations: 1.685 MB / 0.5358 GB, free: 8.066 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.1889, allocations: 1.759 MB / 0.5375 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.19, allocations: 240 kB / 0.5377 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.1933, allocations: 0.7028 MB / 0.5384 GB, free: 5.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009979/0.1943, allocations: 0.5796 MB / 0.539 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003025/0.1974, allocations: 1.602 MB / 0.5405 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.2023, allocations: 3.959 MB / 0.5444 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.2024, allocations: 4 kB / 0.5444 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2024, allocations: 0 / 0.5444 GB, free: 15.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.858e-05/0.2025, allocations: 0 / 0.5444 GB, free: 15.2 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.01361/0.2161, allocations: 4.409 MB / 0.5487 GB, free: 10.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2161, allocations: 8.031 kB / 0.5487 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.2194, allocations: 0.6355 MB / 0.5493 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.2224, allocations: 1.777 MB / 0.5511 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.2225, allocations: 163.7 kB / 0.5512 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.2229, allocations: 220 kB / 0.5514 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003969/0.2268, allocations: 2.715 MB / 0.5541 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.2269, allocations: 11.88 kB / 0.5541 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.2271, allocations: 99.91 kB / 0.5542 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.2271, allocations: 48 kB / 0.5543 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.2302, allocations: 1.936 MB / 0.5561 GB, free: 2.828 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.01717/0.2474, allocations: 14.21 MB / 0.57 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/0.2513, allocations: 2.584 MB / 0.5725 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.2528, allocations: 1.193 MB / 0.5737 GB, free: 76 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.253e-05/0.2529, allocations: 26.14 kB / 0.5737 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/0.2552, allocations: 1.644 MB / 0.5753 GB, free: 14.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 5.67e-06/0.2552, allocations: 4 kB / 0.5753 GB, free: 14.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=224): time 0.01003/0.2652, allocations: 4.268 MB / 0.5795 GB, free: 10.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.2653, allocations: 103.1 kB / 0.5796 GB, free: 9.953 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.2681, allocations: 1.867 MB / 0.5814 GB, free: 8.039 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.2684, allocations: 93.69 kB / 0.5815 GB, free: 7.941 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007975/0.2692, allocations: 0.9356 MB / 0.5824 GB, free: 6.996 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009707/0.2702, allocations: 0.8529 MB / 0.5833 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.2716, allocations: 0.9673 MB / 0.5842 GB, free: 5.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2718, allocations: 301.1 kB / 0.5845 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.2742, allocations: 1.487 MB / 0.586 GB, free: 3.371 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/0.277, allocations: 2.003 MB / 0.5879 GB, free: 1.273 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2989/0.5759, allocations: 8.856 MB / 0.5966 GB, free: 106.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.576, allocations: 0.9688 kB / 0.5966 GB, free: 106.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.008756/0.5847, allocations: 4.741 MB / 0.6012 GB, free: 104.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.5848, allocations: 10.66 kB / 0.6012 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.5848, allocations: 4.062 kB / 0.6012 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.5872, allocations: 0.5426 MB / 0.6017 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/0.5911, allocations: 1.032 MB / 0.6027 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006671/0.5978, allocations: 6.17 MB / 0.6088 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/0.602, allocations: 379.6 kB / 0.6091 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/0.6025, allocations: 171.4 kB / 0.6093 GB, free: 100.1 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.001474/0.604, allocations: 0.5901 MB / 0.6099 GB, free: 99.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006772/0.6047, allocations: 265.6 kB / 0.6101 GB, free: 99.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.6088, allocations: 2.747 MB / 0.6128 GB, free: 98.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/0.6088, allocations: 14.11 kB / 0.6128 GB, free: 98.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6088, allocations: 2.062 kB / 0.6128 GB, free: 98.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009882/0.6098, allocations: 0.5945 MB / 0.6134 GB, free: 98.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/0.6102, allocations: 83.78 kB / 0.6135 GB, free: 98.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.6118, allocations: 134.2 kB / 0.6136 GB, free: 98.09 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/0.6122, allocations: 272.6 kB / 0.6139 GB, free: 97.93 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004569/0.6168, allocations: 2.869 MB / 0.6167 GB, free: 96.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003761/0.6206, allocations: 3.441 MB / 0.62 GB, free: 93.05 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001256/0.6219, allocations: 1.912 MB / 0.6219 GB, free: 91.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.6232, allocations: 1.154 MB / 0.623 GB, free: 89.96 MB / 462.1 MB Notification: Performance of Backend: time 1.903e-06/0.6232, allocations: 2.078 kB / 0.623 GB, free: 89.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007322/0.6306, allocations: 3.862 MB / 0.6268 GB, free: 86.12 MB / 462.1 MB Notification: Performance of SimCode: time 0.004813/0.6354, allocations: 4.2 MB / 0.6309 GB, free: 81.94 MB / 462.1 MB Notification: Performance of Templates: time 0.05025/0.6857, allocations: 39.15 MB / 0.6691 GB, free: 42.98 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1)