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.003917/0.003917, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.000992/0.000992, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.235/1.235, 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.07295/0.07295, allocations: 16.78 MB / 307.3 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 64.09 kB / 426.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08927/0.09041, allocations: 53.56 MB / 480.2 MB, free: 4.93 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.02619/0.1166, allocations: 31.64 MB / 0.4998 GB, free: 5.164 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.2057/0.3223, allocations: 24.22 MB / 0.5235 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.3239, allocations: 46.19 kB / 0.5235 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.3258, allocations: 0.8964 MB / 0.5244 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.3309, allocations: 2.829 MB / 0.5272 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.3332, allocations: 1.341 MB / 0.5285 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004393/0.3376, allocations: 4.925 MB / 0.5333 GB, free: 4.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/0.3386, allocations: 0.851 MB / 0.5341 GB, free: 4.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.3406, allocations: 1.685 MB / 0.5357 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.3422, allocations: 1.752 MB / 0.5375 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.3425, allocations: 242 kB / 0.5377 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.3439, allocations: 0.7074 MB / 0.5384 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.3443, allocations: 0.5788 MB / 0.5389 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00111/0.3454, allocations: 1.6 MB / 0.5405 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003256/0.3487, allocations: 3.945 MB / 0.5444 GB, free: 14.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3487, allocations: 0 / 0.5444 GB, free: 14.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3487, allocations: 7.922 kB / 0.5444 GB, free: 14.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.114e-05/0.3487, allocations: 3.938 kB / 0.5444 GB, free: 14.64 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.01191/0.3606, allocations: 4.333 MB / 0.5486 GB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3607, allocations: 12.34 kB / 0.5486 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/0.3637, allocations: 0.6246 MB / 0.5492 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002559/0.3662, allocations: 1.752 MB / 0.5509 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.3664, allocations: 166.6 kB / 0.5511 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.3666, allocations: 230 kB / 0.5513 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.3702, allocations: 2.711 MB / 0.554 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.3702, allocations: 11.88 kB / 0.554 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.3704, allocations: 99.97 kB / 0.5541 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.3705, allocations: 48 kB / 0.5541 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.3734, allocations: 1.928 MB / 0.556 GB, free: 5.332 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.01511/0.3885, allocations: 14.19 MB / 0.5699 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.3922, allocations: 2.596 MB / 0.5724 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.3937, allocations: 1.195 MB / 0.5736 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.3938, allocations: 29.98 kB / 0.5736 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.3959, allocations: 1.63 MB / 0.5752 GB, free: 1.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 3.687e-06/0.3959, allocations: 4 kB / 0.5752 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=224): time 0.009155/0.4051, allocations: 4.263 MB / 0.5793 GB, free: 12.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.4052, allocations: 107.1 kB / 0.5794 GB, free: 12.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.4073, allocations: 1.859 MB / 0.5813 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.4075, allocations: 93.69 kB / 0.5814 GB, free: 10.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000649/0.4081, allocations: 0.9182 MB / 0.5822 GB, free: 9.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006568/0.4088, allocations: 0.8073 MB / 0.583 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.4101, allocations: 0.963 MB / 0.584 GB, free: 7.895 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.4102, allocations: 305.1 kB / 0.5843 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002195/0.4124, allocations: 1.487 MB / 0.5857 GB, free: 6.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.415, allocations: 1.999 MB / 0.5877 GB, free: 4.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03792/0.4529, allocations: 8.86 MB / 0.5963 GB, free: 11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.453, allocations: 0 / 0.5963 GB, free: 11 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.00721/0.4602, allocations: 4.737 MB / 0.6009 GB, free: 6.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4602, allocations: 8 kB / 0.601 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4602, allocations: 7.938 kB / 0.601 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.4626, allocations: 0.5434 MB / 0.6015 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/0.4662, allocations: 1.026 MB / 0.6025 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007898/0.4741, allocations: 6.157 MB / 0.6085 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/0.4778, allocations: 377.2 kB / 0.6089 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.4781, allocations: 171.9 kB / 0.609 GB, free: 13.64 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.00115/0.4793, allocations: 0.5878 MB / 0.6096 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.4798, allocations: 261.2 kB / 0.6099 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004402/0.4842, allocations: 2.738 MB / 0.6125 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.4842, allocations: 11.91 kB / 0.6125 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4842, allocations: 0 / 0.6125 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009739/0.4852, allocations: 0.5836 MB / 0.6131 GB, free: 9.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.4856, allocations: 83.94 kB / 0.6132 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.4871, allocations: 135.7 kB / 0.6133 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004721/0.4876, allocations: 273.8 kB / 0.6136 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005217/0.4928, allocations: 2.861 MB / 0.6164 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004532/0.4974, allocations: 3.439 MB / 0.6197 GB, free: 2.625 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001753/0.4991, allocations: 1.912 MB / 0.6216 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001539/0.5007, allocations: 1.16 MB / 0.6227 GB, free: 15.53 MB / 478.1 MB Notification: Performance of Backend: time 6.42e-07/0.5007, allocations: 0 / 0.6227 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007155/0.5078, allocations: 3.835 MB / 0.6265 GB, free: 11.66 MB / 478.1 MB Notification: Performance of SimCode: time 0.005524/0.5134, allocations: 4.143 MB / 0.6305 GB, free: 7.48 MB / 478.1 MB Notification: Performance of Templates: time 0.06024/0.5736, allocations: 39.16 MB / 0.6688 GB, free: 400 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)