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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001242/0.001242, allocations: 193 kB / 16.13 MB, free: 6.66 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2084/0.2084, allocations: 16.79 MB / 306.8 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 371.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2842, allocations: 53.54 MB / 424.7 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02274/0.307, allocations: 33.27 MB / 457.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02611/0.3331, allocations: 24.51 MB / 482.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003438/0.3366, allocations: 51.66 kB / 482.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003233/0.3399, allocations: 0.7709 MB / 483.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008443/0.3484, allocations: 2.485 MB / 485.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.3522, allocations: 1.28 MB / 487 MB, free: 10.98 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘infiniteBus.componentPF.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.componentPF.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘trafo.componentPF.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘busLoad.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘busLoad.componentPF.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.007751/0.36, allocations: 4.38 MB / 491.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.3619, allocations: 0.7745 MB / 492.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.3656, allocations: 1.361 MB / 493.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.3695, allocations: 1.547 MB / 495.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008817/0.3704, allocations: 114.3 kB / 495.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.3733, allocations: 0.505 MB / 495.7 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007315/0.3741, allocations: 455.4 kB / 496.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003153/0.3772, allocations: 1.426 MB / 497.6 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007575/0.3848, allocations: 3.742 MB / 0.4896 GB, free: 4.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3848, allocations: 0 / 0.4896 GB, free: 4.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3849, allocations: 4 kB / 0.4896 GB, free: 4.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.385, allocations: 1.188 kB / 0.4896 GB, free: 4.32 MB / 366.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.02088/0.4059, allocations: 4.823 MB / 0.4943 GB, free: 2.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4059, allocations: 9 kB / 0.4943 GB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.4097, allocations: 0.6208 MB / 0.4949 GB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.4137, allocations: 1.616 MB / 0.4965 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.4138, allocations: 173 kB / 0.4966 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003955/0.4142, allocations: 235.3 kB / 0.4969 GB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004845/0.4191, allocations: 2.715 MB / 0.4995 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.4191, allocations: 19.86 kB / 0.4995 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.4194, allocations: 95.97 kB / 0.4996 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.4194, allocations: 52 kB / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/0.4227, allocations: 1.924 MB / 0.5015 GB, free: 12.34 MB / 382.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.01617/0.4389, allocations: 14.01 MB / 0.5152 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004295/0.4432, allocations: 2.591 MB / 0.5178 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.4449, allocations: 1.183 MB / 0.5189 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.445, allocations: 34.08 kB / 0.519 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002635/0.4477, allocations: 1.634 MB / 0.5205 GB, free: 8.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=224): time 4.859e-06/0.4477, allocations: 0 / 0.5205 GB, free: 8.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=224): time 0.01019/0.4579, allocations: 4.265 MB / 0.5247 GB, free: 3.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.458, allocations: 107.1 kB / 0.5248 GB, free: 3.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/0.4604, allocations: 1.703 MB / 0.5265 GB, free: 1.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003502/0.4607, allocations: 105.7 kB / 0.5266 GB, free: 1.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007824/0.4615, allocations: 0.9137 MB / 0.5275 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008452/0.4624, allocations: 0.8061 MB / 0.5283 GB, free: 80 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/0.4637, allocations: 0.9437 MB / 0.5292 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.4638, allocations: 305.1 kB / 0.5295 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002278/0.4661, allocations: 1.487 MB / 0.5309 GB, free: 13.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.4687, allocations: 2.003 MB / 0.5329 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04304/0.5117, allocations: 9.024 MB / 0.5417 GB, free: 2.035 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.5118, allocations: 4 kB / 0.5417 GB, free: 2.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.007958/0.5197, allocations: 4.729 MB / 0.5463 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.5198, allocations: 8 kB / 0.5463 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.5198, allocations: 4 kB / 0.5463 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002601/0.5224, allocations: 0.5538 MB / 0.5469 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/0.5266, allocations: 1.034 MB / 0.5479 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007912/0.5345, allocations: 5.676 MB / 0.5534 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/0.5383, allocations: 380.9 kB / 0.5538 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/0.5388, allocations: 168 kB / 0.5539 GB, free: 5.137 MB / 430.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 = 9.999999999999999e+59 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 = 9.999999999999999e+59 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 = 9.999999999999999e+59 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.001314/0.5401, allocations: 0.5964 MB / 0.5545 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.5406, allocations: 245.3 kB / 0.5548 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.5451, allocations: 2.749 MB / 0.5574 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.5451, allocations: 19.89 kB / 0.5575 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5452, allocations: 7.984 kB / 0.5575 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.5463, allocations: 0.5524 MB / 0.558 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/0.5468, allocations: 79.94 kB / 0.5581 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.5482, allocations: 131.8 kB / 0.5582 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005109/0.5488, allocations: 265.9 kB / 0.5585 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005563/0.5543, allocations: 2.87 MB / 0.5613 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004888/0.5592, allocations: 3.435 MB / 0.5646 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001976/0.5612, allocations: 1.912 MB / 0.5665 GB, free: 8.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.5627, allocations: 1.039 MB / 0.5675 GB, free: 7.133 MB / 446.1 MB Notification: Performance of Backend: time 2.255e-06/0.5627, allocations: 4 kB / 0.5675 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008362/0.571, allocations: 3.834 MB / 0.5713 GB, free: 3.27 MB / 446.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.007406/0.5785, allocations: 5.008 MB / 0.5761 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Templates: time 0.3586/0.9371, allocations: 38.49 MB / 0.6137 GB, free: 132.2 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)