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.008255/0.008255, allocations: 107.9 kB / 15.74 MB, free: 5.578 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.001866/0.001866, allocations: 189.5 kB / 16.67 MB, free: 5.516 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07392/0.07392, allocations: 16.78 MB / 307.3 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001118, allocations: 71.89 kB / 426.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.0968, allocations: 53.55 MB / 480.2 MB, free: 4.914 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.02832/0.1252, allocations: 31.65 MB / 0.4998 GB, free: 5.141 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.2543/0.3795, allocations: 24.21 MB / 0.5235 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.382, allocations: 44.22 kB / 0.5235 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.3852, allocations: 0.8959 MB / 0.5244 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008221/0.3934, allocations: 2.832 MB / 0.5271 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.3967, allocations: 1.345 MB / 0.5285 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008298/0.405, allocations: 4.918 MB / 0.5333 GB, free: 4.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.4068, allocations: 0.8591 MB / 0.5341 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.4099, allocations: 1.689 MB / 0.5358 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003197/0.4131, allocations: 1.748 MB / 0.5375 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007187/0.4139, allocations: 245 kB / 0.5377 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.4164, allocations: 0.7047 MB / 0.5384 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.4169, allocations: 0.5747 MB / 0.5389 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.4188, allocations: 1.599 MB / 0.5405 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.4231, allocations: 3.949 MB / 0.5444 GB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.4231, allocations: 6.172 kB / 0.5444 GB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4231, allocations: 0 / 0.5444 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.036e-05/0.4232, allocations: 0 / 0.5444 GB, free: 14.62 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.01384/0.437, allocations: 4.339 MB / 0.5486 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4371, allocations: 11.53 kB / 0.5486 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.4404, allocations: 0.618 MB / 0.5492 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.4438, allocations: 1.755 MB / 0.5509 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.444, allocations: 170.9 kB / 0.5511 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.4443, allocations: 221.1 kB / 0.5513 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.4484, allocations: 2.714 MB / 0.554 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.4485, allocations: 7.938 kB / 0.554 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.4487, allocations: 104 kB / 0.5541 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.4487, allocations: 48 kB / 0.5541 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/0.452, allocations: 1.932 MB / 0.556 GB, free: 5.285 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.01968/0.4717, allocations: 14.19 MB / 0.5698 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/0.4759, allocations: 2.59 MB / 0.5724 GB, free: 3.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/0.4778, allocations: 1.196 MB / 0.5735 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.478, allocations: 25.98 kB / 0.5736 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002878/0.4809, allocations: 1.633 MB / 0.5752 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 4.919e-06/0.4809, allocations: 0 / 0.5752 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of matching and sorting (n=224): time 0.01094/0.4918, allocations: 4.264 MB / 0.5793 GB, free: 12.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.492, allocations: 107 kB / 0.5794 GB, free: 12.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002922/0.4949, allocations: 1.859 MB / 0.5812 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003403/0.4952, allocations: 97.69 kB / 0.5813 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008642/0.4961, allocations: 0.918 MB / 0.5822 GB, free: 9.621 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009312/0.4971, allocations: 0.8131 MB / 0.583 GB, free: 8.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001383/0.4984, allocations: 0.9591 MB / 0.584 GB, free: 7.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4986, allocations: 301.1 kB / 0.5843 GB, free: 7.555 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/0.5009, allocations: 1.487 MB / 0.5857 GB, free: 6.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002839/0.5038, allocations: 2.007 MB / 0.5877 GB, free: 3.961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04083/0.5446, allocations: 8.851 MB / 0.5963 GB, free: 10.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5447, allocations: 4 kB / 0.5963 GB, free: 10.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.007956/0.5526, allocations: 4.733 MB / 0.6009 GB, free: 6.156 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5527, allocations: 8 kB / 0.6009 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.5527, allocations: 7.938 kB / 0.601 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002595/0.5553, allocations: 0.5431 MB / 0.6015 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00391/0.5592, allocations: 1.034 MB / 0.6025 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/0.5678, allocations: 6.16 MB / 0.6085 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/0.5722, allocations: 377.2 kB / 0.6089 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005075/0.5727, allocations: 164 kB / 0.609 GB, free: 13.6 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.00184/0.5746, allocations: 0.5985 MB / 0.6096 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007/0.5753, allocations: 257.2 kB / 0.6099 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/0.5801, allocations: 2.734 MB / 0.6125 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.5801, allocations: 11.91 kB / 0.6125 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5801, allocations: 0 / 0.6125 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/0.5817, allocations: 0.5915 MB / 0.6131 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/0.5821, allocations: 79.94 kB / 0.6132 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.5839, allocations: 135.7 kB / 0.6133 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005075/0.5844, allocations: 269.9 kB / 0.6136 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005837/0.5902, allocations: 2.858 MB / 0.6164 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005245/0.5955, allocations: 3.447 MB / 0.6197 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001952/0.5975, allocations: 1.916 MB / 0.6216 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001756/0.5993, allocations: 1.148 MB / 0.6227 GB, free: 15.46 MB / 478.1 MB Notification: Performance of Backend: time 3.21e-07/0.5993, allocations: 0 / 0.6227 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008533/0.6078, allocations: 3.844 MB / 0.6265 GB, free: 11.59 MB / 478.1 MB Notification: Performance of SimCode: time 0.006196/0.614, allocations: 4.143 MB / 0.6305 GB, free: 7.41 MB / 478.1 MB Notification: Performance of Templates: time 0.06518/0.6793, allocations: 39.16 MB / 0.6688 GB, free: 328 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1)