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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001114/0.001114, allocations: 190 kB / 16.14 MB, free: 6.719 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1867/0.1867, allocations: 16.79 MB / 306.7 MB, free: 14.97 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 67.91 kB / 371.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3156, allocations: 53.55 MB / 424.7 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02292/0.3386, allocations: 33.25 MB / 457.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.3627, allocations: 24.51 MB / 482.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.3661, allocations: 55.41 kB / 482.5 MB, free: 14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003546/0.3698, allocations: 0.7697 MB / 483.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009204/0.379, allocations: 2.481 MB / 485.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.3829, allocations: 1.289 MB / 487 MB, free: 11.21 MB / 366.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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.00834/0.3912, allocations: 4.368 MB / 491.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.394, allocations: 0.7839 MB / 492.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.3985, allocations: 1.362 MB / 493.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004043/0.4026, allocations: 1.538 MB / 495.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007925/0.4034, allocations: 115.4 kB / 495.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.4068, allocations: 0.5123 MB / 495.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.4077, allocations: 453 kB / 496.1 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00435/0.412, allocations: 1.425 MB / 497.6 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008113/0.4202, allocations: 3.745 MB / 0.4896 GB, free: 4.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4202, allocations: 1.062 kB / 0.4896 GB, free: 4.547 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4202, allocations: 0 / 0.4896 GB, free: 4.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001605/0.4204, allocations: 4 kB / 0.4896 GB, free: 4.543 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.02446/0.4449, allocations: 4.823 MB / 0.4943 GB, free: 2.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.478e-05/0.445, allocations: 9.094 kB / 0.4943 GB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/0.4502, allocations: 0.6194 MB / 0.4949 GB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.4563, allocations: 1.617 MB / 0.4965 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.4566, allocations: 173.3 kB / 0.4966 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009128/0.4575, allocations: 234.6 kB / 0.4969 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/0.4641, allocations: 2.714 MB / 0.4995 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/0.4642, allocations: 7.938 kB / 0.4995 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003911/0.4646, allocations: 104 kB / 0.4996 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.4646, allocations: 48 kB / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/0.4685, allocations: 1.932 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.0219/0.4904, allocations: 14.01 MB / 0.5152 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.4951, allocations: 2.595 MB / 0.5178 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.4969, allocations: 1.195 MB / 0.5189 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.4971, allocations: 25.98 kB / 0.519 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002701/0.4998, allocations: 1.632 MB / 0.5205 GB, free: 8.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=224): time 4.689e-06/0.4998, allocations: 0 / 0.5205 GB, free: 8.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=224): time 0.0107/0.5105, allocations: 4.261 MB / 0.5247 GB, free: 3.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.5106, allocations: 107.1 kB / 0.5248 GB, free: 3.676 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.5133, allocations: 1.703 MB / 0.5265 GB, free: 1.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005739/0.5139, allocations: 109.7 kB / 0.5266 GB, free: 1.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.515, allocations: 0.9176 MB / 0.5275 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.5161, allocations: 0.8061 MB / 0.5283 GB, free: 68 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001534/0.5176, allocations: 0.9476 MB / 0.5292 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5177, allocations: 301.1 kB / 0.5295 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002882/0.5206, allocations: 1.487 MB / 0.5309 GB, free: 13.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/0.5243, allocations: 2.003 MB / 0.5329 GB, free: 11.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04465/0.569, allocations: 9.024 MB / 0.5417 GB, free: 2.023 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.569, allocations: 0 / 0.5417 GB, free: 2.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.009425/0.5784, allocations: 4.721 MB / 0.5463 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.5785, allocations: 8 kB / 0.5463 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.5786, allocations: 4 kB / 0.5463 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002679/0.5812, allocations: 0.5467 MB / 0.5469 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/0.5855, allocations: 1.038 MB / 0.5479 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008307/0.5939, allocations: 5.672 MB / 0.5534 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/0.5985, allocations: 388.9 kB / 0.5538 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006089/0.5991, allocations: 164 kB / 0.5539 GB, free: 5.141 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.001723/0.6008, allocations: 0.6114 MB / 0.5545 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007421/0.6016, allocations: 249.2 kB / 0.5548 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004821/0.6064, allocations: 2.742 MB / 0.5574 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.6065, allocations: 11.91 kB / 0.5575 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6065, allocations: 4 kB / 0.5575 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001468/0.608, allocations: 0.5563 MB / 0.558 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006275/0.6086, allocations: 83.88 kB / 0.5581 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.6104, allocations: 123.8 kB / 0.5582 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005859/0.611, allocations: 273.9 kB / 0.5585 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005993/0.617, allocations: 2.877 MB / 0.5613 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005452/0.6225, allocations: 3.435 MB / 0.5646 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002037/0.6246, allocations: 1.916 MB / 0.5665 GB, free: 8.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001722/0.6263, allocations: 1.035 MB / 0.5675 GB, free: 7.125 MB / 446.1 MB Notification: Performance of Backend: time 6.01e-07/0.6264, allocations: 0 / 0.5675 GB, free: 7.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009338/0.6357, allocations: 3.839 MB / 0.5713 GB, free: 3.262 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.008445/0.6442, allocations: 5.009 MB / 0.5761 GB, free: 14.22 MB / 462.1 MB Notification: Performance of Templates: time 0.2468/0.891, allocations: 38.48 MB / 0.6137 GB, free: 132.3 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1)