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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04943/0.04943, allocations: 12.93 MB / 272.9 MB, free: 0.5039 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 347.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.385e-05, allocations: 2.312 kB / 347.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.01872/0.01874, allocations: 29.26 MB / 376.3 MB, free: 4.195 MB / 298.7 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. Notification: Performance of NFInst.instExpressions: time 0.02239/0.04113, allocations: 20.61 MB / 396.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.04394, allocations: 79.44 kB / 397 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.04654, allocations: 1.168 MB / 398.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005626/0.05216, allocations: 3.823 MB / 402 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.05403, allocations: 1.363 MB / 403.4 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.05971, allocations: 7.634 MB / 411 MB, free: 1.414 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1511/0.2108, allocations: 1.616 MB / 412.6 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007701/0.2185, allocations: 3.547 MB / 416.2 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004564/0.2231, allocations: 2.079 MB / 418.2 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.2249, allocations: 337.8 kB / 418.6 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.2297, allocations: 0.8564 MB / 419.4 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.2309, allocations: 0.8135 MB / 420.2 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005983/0.2369, allocations: 1.65 MB / 421.9 MB, free: 28.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.2451, allocations: 3.436 MB / 425.3 MB, free: 28.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2451, allocations: 3.562 kB / 425.3 MB, free: 28.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2451, allocations: 0 / 425.3 MB, free: 28.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.2452, allocations: 0 / 425.3 MB, free: 28.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01809/0.2633, allocations: 6.203 MB / 431.5 MB, free: 26.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.2634, allocations: 7.156 kB / 431.5 MB, free: 26.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/0.2685, allocations: 1.177 MB / 432.7 MB, free: 26.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.2731, allocations: 2.433 MB / 435.1 MB, free: 25.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.2732, allocations: 220.6 kB / 435.4 MB, free: 25.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.2735, allocations: 311 kB / 435.7 MB, free: 25.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.2768, allocations: 3.636 MB / 439.3 MB, free: 24.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.758e-05/0.2768, allocations: 15.08 kB / 439.3 MB, free: 24.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/0.277, allocations: 136.2 kB / 439.5 MB, free: 24.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.2771, allocations: 74.03 kB / 439.5 MB, free: 24.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.2793, allocations: 1.67 MB / 441.2 MB, free: 24.05 MB / 330.7 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.01264/0.2919, allocations: 20 MB / 461.2 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.2942, allocations: 1.744 MB / 462.9 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.295, allocations: 0.7012 MB / 463.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.2951, allocations: 54.59 kB / 463.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/0.2966, allocations: 2.032 MB / 465.7 MB, free: 2.094 MB / 330.7 MB Notification: Performance of pre-optimization done (n=286): time 5.34e-06/0.2966, allocations: 0 / 465.7 MB, free: 2.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=286): time 0.005681/0.3023, allocations: 3.577 MB / 469.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/0.3024, allocations: 0.497 MB / 469.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0024/0.3048, allocations: 2.441 MB / 472.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.305, allocations: 108.2 kB / 472.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.306, allocations: 1.526 MB / 473.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00087/0.3069, allocations: 1.121 MB / 475 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/0.3084, allocations: 1.437 MB / 476.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3085, allocations: 480.2 kB / 476.9 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.3104, allocations: 1.315 MB / 478.2 MB, free: 5.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.313, allocations: 2.503 MB / 480.7 MB, free: 2.801 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00522/0.3182, allocations: 4.751 MB / 485.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.3182, allocations: 0 / 485.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.00645/0.3247, allocations: 5.336 MB / 490.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3247, allocations: 8 kB / 490.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.3247, allocations: 4 kB / 490.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001618/0.3263, allocations: 0.5808 MB / 491.4 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/0.3293, allocations: 1.444 MB / 492.8 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.3335, allocations: 5.256 MB / 498.1 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.3373, allocations: 0.504 MB / 498.6 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/0.3376, allocations: 248 kB / 498.8 MB, free: 480 kB / 362.7 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: 23 * 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 (962): * Single equations (assignments): 960 * 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%), (20,0,13.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00115/0.3387, allocations: 0.5074 MB / 499.3 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006661/0.3394, allocations: 480.4 kB / 499.8 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.3425, allocations: 2.408 MB / 0.4905 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.3425, allocations: 19.94 kB / 0.4905 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3425, allocations: 0 / 0.4905 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.3438, allocations: 0.7003 MB / 0.4912 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.3442, allocations: 91.94 kB / 0.4912 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.3453, allocations: 139.8 kB / 0.4914 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/0.3457, allocations: 289.6 kB / 0.4917 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00389/0.3495, allocations: 3.608 MB / 0.4952 GB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004009/0.3536, allocations: 4.399 MB / 0.4995 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008849/0.3544, allocations: 0.7563 MB / 0.5002 GB, free: 3.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001892/0.3563, allocations: 1.309 MB / 0.5015 GB, free: 1.836 MB / 378.7 MB Notification: Performance of Backend: time 8.71e-07/0.3563, allocations: 0 / 0.5015 GB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006916/0.3632, allocations: 4.177 MB / 0.5056 GB, free: 13.77 MB / 394.7 MB Notification: Performance of SimCode: time 0.006767/0.37, allocations: 5.559 MB / 0.511 GB, free: 8.16 MB / 394.7 MB Notification: Performance of Templates: time 0.2028/0.5729, allocations: 62.35 MB / 0.5719 GB, free: 134.2 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.862895039375871]