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.001312/0.001312, allocations: 117.5 kB / 16.42 MB, free: 6.02 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.001283/0.001283, allocations: 182.8 kB / 17.35 MB, free: 5.625 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07823/0.07823, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.89 kB / 427.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08921, allocations: 53.57 MB / 480.9 MB, free: 4.895 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.02748/0.1167, allocations: 31.63 MB / 0.5005 GB, free: 5.137 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.2376/0.3543, allocations: 24.22 MB / 0.5241 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.3568, allocations: 46.5 kB / 0.5242 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002861/0.3597, allocations: 0.8942 MB / 0.5251 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007138/0.3669, allocations: 2.834 MB / 0.5278 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.37, allocations: 1.343 MB / 0.5291 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006879/0.3769, allocations: 4.922 MB / 0.5339 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.3784, allocations: 0.8528 MB / 0.5348 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.3813, allocations: 1.687 MB / 0.5364 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.3841, allocations: 1.755 MB / 0.5381 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005238/0.3846, allocations: 241.1 kB / 0.5384 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.3869, allocations: 0.7035 MB / 0.5391 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.3874, allocations: 0.5771 MB / 0.5396 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.3894, allocations: 1.6 MB / 0.5412 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.3943, allocations: 3.96 MB / 0.545 GB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3944, allocations: 0 / 0.545 GB, free: 14.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3944, allocations: 0 / 0.545 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.381e-05/0.3945, allocations: 0 / 0.545 GB, free: 14.61 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.01451/0.409, allocations: 4.416 MB / 0.5494 GB, free: 11.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.409, allocations: 9.469 kB / 0.5494 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003405/0.4124, allocations: 0.6363 MB / 0.55 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0034/0.4159, allocations: 1.767 MB / 0.5517 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.416, allocations: 167.8 kB / 0.5519 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.4163, allocations: 228.4 kB / 0.5521 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003924/0.4203, allocations: 2.711 MB / 0.5547 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.4203, allocations: 19.86 kB / 0.5548 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.4206, allocations: 95.97 kB / 0.5549 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.4206, allocations: 48 kB / 0.5549 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.4238, allocations: 1.932 MB / 0.5568 GB, free: 5.184 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.01791/0.4417, allocations: 14.21 MB / 0.5707 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004142/0.4459, allocations: 2.591 MB / 0.5732 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4475, allocations: 1.192 MB / 0.5744 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.4477, allocations: 32.31 kB / 0.5744 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002361/0.45, allocations: 1.632 MB / 0.576 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 3.968e-06/0.45, allocations: 0 / 0.576 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of matching and sorting (n=224): time 0.01028/0.4603, allocations: 4.274 MB / 0.5802 GB, free: 12.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.4604, allocations: 107.1 kB / 0.5803 GB, free: 12.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.4631, allocations: 1.864 MB / 0.5821 GB, free: 10.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.4633, allocations: 97.69 kB / 0.5822 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007542/0.4641, allocations: 0.9428 MB / 0.5831 GB, free: 9.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007865/0.4649, allocations: 0.8413 MB / 0.5839 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.4662, allocations: 0.9634 MB / 0.5848 GB, free: 7.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.4663, allocations: 301.1 kB / 0.5851 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.4686, allocations: 1.494 MB / 0.5866 GB, free: 5.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002716/0.4713, allocations: 2.003 MB / 0.5886 GB, free: 3.766 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.043/0.5143, allocations: 8.849 MB / 0.5972 GB, free: 10.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/0.5144, allocations: 4 kB / 0.5972 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01041/0.5248, allocations: 4.746 MB / 0.6018 GB, free: 5.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.5249, allocations: 8 kB / 0.6018 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.5249, allocations: 11.92 kB / 0.6019 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.5274, allocations: 0.5424 MB / 0.6024 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004274/0.5317, allocations: 1.03 MB / 0.6034 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008655/0.5404, allocations: 6.173 MB / 0.6094 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/0.545, allocations: 382 kB / 0.6098 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006269/0.5456, allocations: 168 kB / 0.6099 GB, free: 13.37 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.001611/0.5473, allocations: 0.5855 MB / 0.6105 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007784/0.5481, allocations: 270.4 kB / 0.6108 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.5531, allocations: 2.753 MB / 0.6135 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/0.5531, allocations: 7.969 kB / 0.6135 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5531, allocations: 0 / 0.6135 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.5545, allocations: 0.5966 MB / 0.614 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006561/0.5552, allocations: 83.94 kB / 0.6141 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/0.5575, allocations: 131.8 kB / 0.6143 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/0.558, allocations: 269.9 kB / 0.6145 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006051/0.5641, allocations: 2.878 MB / 0.6173 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005368/0.5695, allocations: 3.444 MB / 0.6207 GB, free: 2.309 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001892/0.5714, allocations: 1.916 MB / 0.6226 GB, free: 400 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002071/0.5735, allocations: 1.156 MB / 0.6237 GB, free: 15.21 MB / 478.1 MB Notification: Performance of Backend: time 4.9e-07/0.5735, allocations: 0 / 0.6237 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009263/0.5828, allocations: 3.856 MB / 0.6275 GB, free: 11.32 MB / 478.1 MB Notification: Performance of SimCode: time 0.007188/0.59, allocations: 4.209 MB / 0.6316 GB, free: 7.074 MB / 478.1 MB Notification: Performance of Templates: time 0.0665/0.6565, allocations: 39.16 MB / 0.6698 GB, free: 15.98 MB / 0.5137 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)