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.001138/0.001138, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009202/0.0009202, allocations: 177 kB / 23.49 MB, free: 1.055 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 0.9666/0.9666, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.04739/0.04739, allocations: 12.74 MB / 273 MB, free: 0.7969 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.062e-06/1.062e-06, allocations: 0 / 346.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.544e-05, allocations: 2.312 kB / 346.8 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.01869/0.0187, allocations: 29.08 MB / 375.9 MB, free: 5.039 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.01916/0.03786, allocations: 20.56 MB / 396.4 MB, free: 416 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.03972, allocations: 79.44 kB / 396.5 MB, free: 336 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.04181, allocations: 1.156 MB / 397.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006778/0.04859, allocations: 3.813 MB / 401.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.05115, allocations: 1.362 MB / 402.8 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.009026/0.06017, allocations: 7.579 MB / 410.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.0632, allocations: 1.626 MB / 412 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1309/0.1941, allocations: 3.536 MB / 415.6 MB, free: 29.51 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002977/0.197, allocations: 2.079 MB / 417.6 MB, free: 29.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007982/0.1978, allocations: 336.6 kB / 418 MB, free: 29.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.1998, allocations: 0.8504 MB / 418.8 MB, free: 29.51 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005369/0.2003, allocations: 0.8108 MB / 419.6 MB, free: 29.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.2021, allocations: 1.645 MB / 421.3 MB, free: 29.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.2057, allocations: 3.418 MB / 424.7 MB, free: 29.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2057, allocations: 1.875 kB / 424.7 MB, free: 29.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2057, allocations: 0 / 424.7 MB, free: 29.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.493e-05/0.2057, allocations: 0 / 424.7 MB, free: 29.24 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: 663 * Number of variables: 663 Notification: Performance of Generate backend data structure: time 0.009952/0.2157, allocations: 6.188 MB / 430.9 MB, free: 27.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2157, allocations: 7.469 kB / 430.9 MB, free: 27.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.2188, allocations: 1.179 MB / 432.1 MB, free: 27.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.2213, allocations: 2.418 MB / 434.5 MB, free: 26.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.066e-05/0.2214, allocations: 226.2 kB / 434.7 MB, free: 26.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.2217, allocations: 303.9 kB / 435 MB, free: 26.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.2245, allocations: 3.622 MB / 438.6 MB, free: 24.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.2246, allocations: 16.81 kB / 438.7 MB, free: 24.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/0.2248, allocations: 131.2 kB / 438.8 MB, free: 24.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.2248, allocations: 73.03 kB / 438.9 MB, free: 24.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.227, allocations: 1.658 MB / 440.5 MB, free: 24.64 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.01132/0.2383, allocations: 19.99 MB / 460.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.2404, allocations: 1.756 MB / 462.3 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.2412, allocations: 0.698 MB / 463 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.2413, allocations: 54.61 kB / 463 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.2427, allocations: 2.032 MB / 465 MB, free: 3.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=286): time 4.508e-06/0.2427, allocations: 0 / 465 MB, free: 3.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=286): time 0.005036/0.2478, allocations: 3.571 MB / 468.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.2479, allocations: 0.4928 MB / 469.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.2503, allocations: 2.442 MB / 471.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.2504, allocations: 113.7 kB / 471.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009567/0.2514, allocations: 1.526 MB / 473.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008356/0.2522, allocations: 1.115 MB / 474.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.2539, allocations: 1.433 MB / 475.7 MB, free: 8.715 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2541, allocations: 480.7 kB / 476.2 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.256, allocations: 1.315 MB / 477.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.2585, allocations: 2.51 MB / 480 MB, free: 4.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005576/0.264, allocations: 4.745 MB / 484.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.2641, allocations: 4 kB / 484.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.006607/0.2707, allocations: 5.344 MB / 490.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.2707, allocations: 8 kB / 490.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.2707, allocations: 4 kB / 490.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.2724, allocations: 0.5746 MB / 490.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/0.2754, allocations: 1.458 MB / 492.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.2795, allocations: 5.246 MB / 497.4 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.2826, allocations: 0.5011 MB / 497.9 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/0.2829, allocations: 248 kB / 498.1 MB, free: 1.895 MB / 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.001038/0.284, allocations: 0.5163 MB / 498.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.2845, allocations: 481.8 kB / 499.1 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002909/0.2875, allocations: 2.408 MB / 0.4898 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.2875, allocations: 11.95 kB / 0.4898 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2875, allocations: 6.406 kB / 0.4898 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.2885, allocations: 0.7026 MB / 0.4905 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/0.2889, allocations: 87.95 kB / 0.4906 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.29, allocations: 150.8 kB / 0.4907 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/0.2904, allocations: 288.8 kB / 0.491 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00351/0.2939, allocations: 3.607 MB / 0.4945 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003948/0.2979, allocations: 4.41 MB / 0.4988 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008448/0.2987, allocations: 0.7482 MB / 0.4996 GB, free: 4.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001531/0.3003, allocations: 1.309 MB / 0.5008 GB, free: 3.242 MB / 378.7 MB Notification: Performance of Backend: time 3.41e-07/0.3003, allocations: 4 kB / 0.5008 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00641/0.3067, allocations: 4.181 MB / 0.5049 GB, free: 15.17 MB / 394.7 MB Notification: Performance of SimCode: time 0.006306/0.313, allocations: 5.542 MB / 0.5103 GB, free: 9.59 MB / 394.7 MB Notification: Performance of Templates: time 0.1695/0.4825, allocations: 62.35 MB / 0.5712 GB, free: 172.5 MB / 442.7 MB " [Timeout remaining time 660] 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.624827499967068]