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.005672/0.005672, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001223/0.001223, allocations: 202.4 kB / 16.68 MB, free: 5.973 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.294/1.294, 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.1882/0.1882, allocations: 16.77 MB / 307.3 MB, free: 14.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 65.84 kB / 426.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08133/0.08262, allocations: 53.58 MB / 480.2 MB, free: 10.39 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.02522/0.1079, allocations: 31.63 MB / 0.4998 GB, free: 12.99 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.02743/0.1353, allocations: 24.24 MB / 0.5235 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/0.1389, allocations: 43.81 kB / 0.5235 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004113/0.143, allocations: 0.9008 MB / 0.5244 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.1515, allocations: 2.831 MB / 0.5272 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003548/0.155, allocations: 1.352 MB / 0.5285 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006785/0.1618, allocations: 4.93 MB / 0.5333 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.1638, allocations: 0.8467 MB / 0.5341 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.1667, allocations: 1.685 MB / 0.5358 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002854/0.1695, allocations: 1.763 MB / 0.5375 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000754/0.1703, allocations: 240 kB / 0.5377 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.1728, allocations: 0.7028 MB / 0.5384 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008215/0.1736, allocations: 0.5758 MB / 0.539 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002761/0.1764, allocations: 1.598 MB / 0.5406 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.1823, allocations: 3.963 MB / 0.5444 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1823, allocations: 3.984 kB / 0.5444 GB, free: 15.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1823, allocations: 0 / 0.5444 GB, free: 15.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.1824, allocations: 4 kB / 0.5444 GB, free: 15.19 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.01458/0.197, allocations: 4.405 MB / 0.5487 GB, free: 10.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1971, allocations: 8.031 kB / 0.5487 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/0.2007, allocations: 0.6355 MB / 0.5494 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/0.2046, allocations: 1.773 MB / 0.5511 GB, free: 8.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.2048, allocations: 163.7 kB / 0.5512 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005509/0.2054, allocations: 228 kB / 0.5515 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/0.2102, allocations: 2.711 MB / 0.5541 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/0.2102, allocations: 7.938 kB / 0.5541 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000255/0.2105, allocations: 103.9 kB / 0.5542 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.2105, allocations: 48 kB / 0.5543 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/0.2138, allocations: 1.936 MB / 0.5562 GB, free: 2.824 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.01845/0.2323, allocations: 14.2 MB / 0.57 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.2363, allocations: 2.595 MB / 0.5726 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.2379, allocations: 1.186 MB / 0.5737 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.238, allocations: 34.12 kB / 0.5737 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.2403, allocations: 1.632 MB / 0.5753 GB, free: 14.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 4.439e-06/0.2403, allocations: 0 / 0.5753 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=224): time 0.009804/0.2501, allocations: 4.272 MB / 0.5795 GB, free: 10.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.2502, allocations: 111.1 kB / 0.5796 GB, free: 9.953 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.2528, allocations: 1.859 MB / 0.5814 GB, free: 8.047 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.2531, allocations: 97.69 kB / 0.5815 GB, free: 7.945 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/0.2538, allocations: 0.9434 MB / 0.5824 GB, free: 6.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008718/0.2547, allocations: 0.8489 MB / 0.5833 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.256, allocations: 0.9634 MB / 0.5842 GB, free: 5.164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.2561, allocations: 301.1 kB / 0.5845 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.2583, allocations: 1.491 MB / 0.586 GB, free: 3.371 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/0.261, allocations: 2.007 MB / 0.5879 GB, free: 1.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3044/0.5653, allocations: 8.846 MB / 0.5966 GB, free: 106.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.5654, allocations: 4.969 kB / 0.5966 GB, free: 106.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.008794/0.5742, allocations: 4.745 MB / 0.6012 GB, free: 104.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.5743, allocations: 6.938 kB / 0.6012 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.5743, allocations: 4.938 kB / 0.6012 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002443/0.5768, allocations: 0.5465 MB / 0.6017 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/0.5805, allocations: 1.028 MB / 0.6027 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006827/0.5874, allocations: 6.175 MB / 0.6088 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/0.5908, allocations: 371.1 kB / 0.6091 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.5911, allocations: 171.6 kB / 0.6093 GB, free: 100.3 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.00109/0.5922, allocations: 0.5916 MB / 0.6099 GB, free: 99.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/0.5926, allocations: 270.6 kB / 0.6101 GB, free: 99.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.5963, allocations: 2.742 MB / 0.6128 GB, free: 98.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.5963, allocations: 14.02 kB / 0.6128 GB, free: 98.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5963, allocations: 4.188 kB / 0.6128 GB, free: 98.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/0.5971, allocations: 0.5894 MB / 0.6134 GB, free: 98.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/0.5974, allocations: 80.92 kB / 0.6135 GB, free: 98.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.5989, allocations: 139 kB / 0.6136 GB, free: 98.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.5994, allocations: 271.4 kB / 0.6139 GB, free: 98.12 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004559/0.6039, allocations: 2.862 MB / 0.6167 GB, free: 96.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003733/0.6077, allocations: 3.454 MB / 0.62 GB, free: 93.22 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001284/0.609, allocations: 1.92 MB / 0.6219 GB, free: 91.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.6103, allocations: 1.144 MB / 0.623 GB, free: 90.14 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.6103, allocations: 2.188 kB / 0.623 GB, free: 90.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006413/0.6167, allocations: 3.862 MB / 0.6268 GB, free: 86.3 MB / 462.1 MB Notification: Performance of SimCode: time 0.004689/0.6214, allocations: 4.198 MB / 0.6309 GB, free: 82.11 MB / 462.1 MB Notification: Performance of Templates: time 0.04825/0.6697, allocations: 39.15 MB / 0.6691 GB, free: 43.16 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)