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.0009896/0.0009896, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009728/0.0009728, allocations: 181 kB / 23.36 MB, free: 1.129 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.9643/0.9643, allocations: 177.2 MB / 203.8 MB, free: 5.504 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.05004/0.05004, allocations: 13.11 MB / 273.4 MB, free: 256 kB / 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 2.064e-06/2.064e-06, allocations: 0 / 294.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.687e-05, allocations: 3.406 kB / 294.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02584/0.02587, allocations: 28.71 MB / 323.2 MB, free: 4.375 MB / 282.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.03046/0.05633, allocations: 20.68 MB / 343.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.06122, allocations: 83.44 kB / 344 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00332/0.06454, allocations: 1.222 MB / 345.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007771/0.07231, allocations: 3.923 MB / 349.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.07451, allocations: 1.363 MB / 350.5 MB, free: 9.066 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006813/0.08132, allocations: 7.672 MB / 358.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.0838, allocations: 1.687 MB / 359.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.08847, allocations: 3.69 MB / 363.5 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.09085, allocations: 1.998 MB / 365.5 MB, free: 9.938 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005504/0.0914, allocations: 324 kB / 365.9 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.0929, allocations: 0.8274 MB / 366.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.09333, allocations: 0.7895 MB / 367.5 MB, free: 8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.0948, allocations: 1.562 MB / 369 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.09827, allocations: 3.386 MB / 372.4 MB, free: 3.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.09827, allocations: 0 / 372.4 MB, free: 3.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09828, allocations: 0 / 372.4 MB, free: 3.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001078/0.09838, allocations: 0 / 372.4 MB, free: 3.035 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.01009/0.1085, allocations: 6.212 MB / 378.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1085, allocations: 12.03 kB / 378.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/0.1113, allocations: 1.148 MB / 379.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.1133, allocations: 1.394 MB / 381.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1134, allocations: 217.6 kB / 381.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.1137, allocations: 316.3 kB / 381.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.116, allocations: 3.149 MB / 384.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.116, allocations: 16.06 kB / 384.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.1162, allocations: 128.3 kB / 385 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.1162, allocations: 71.94 kB / 385.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.1176, allocations: 1.232 MB / 386.3 MB, free: 4.551 MB / 346.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.01064/0.1282, allocations: 13.58 MB / 399.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.1298, allocations: 1.402 MB / 401.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/0.1303, allocations: 0.5251 MB / 401.8 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.1304, allocations: 54.61 kB / 401.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.1318, allocations: 1.854 MB / 403.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 4.509e-06/0.1318, allocations: 0 / 403.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=286): time 0.003734/0.1355, allocations: 2.522 MB / 406.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/0.1357, allocations: 0.4892 MB / 406.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.1372, allocations: 2.204 MB / 408.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.1374, allocations: 105.7 kB / 409 MB, free: 13.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.138, allocations: 1.279 MB / 410.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006151/0.1387, allocations: 1.113 MB / 411.4 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/0.1399, allocations: 1.38 MB / 412.8 MB, free: 9.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.14, allocations: 305.1 kB / 413.1 MB, free: 8.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.1415, allocations: 1.151 MB / 414.3 MB, free: 7.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.1436, allocations: 2.26 MB / 416.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/0.1485, allocations: 4.606 MB / 421.1 MB, free: 0.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.1485, allocations: 3.938 kB / 421.1 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.004949/0.1535, allocations: 4.142 MB / 425.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1535, allocations: 4.375 kB / 425.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.1535, allocations: 12 kB / 425.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.1548, allocations: 0.5573 MB / 425.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.1578, allocations: 1.537 MB / 427.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/0.1609, allocations: 3.847 MB / 431.2 MB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.1635, allocations: 0.6441 MB / 431.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.1637, allocations: 176 kB / 432 MB, free: 5.516 MB / 394.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.running:DISCRETE(start = trafo.runningStart fixed = true ) \"whether the tap-changer/phase-shifter is running\" type: Boolean trafo.locked:DISCRETE(start = trafo.lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" 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 (infiniteBus.componentPF.isSlackBus,busLoad.componentPF.isSlackBus,trafo.locked,trafo.running,$PRE.trafo.valueUnderMin,$PRE.trafo.valueAboveMax,$PRE.trafo.tValueUnderMinWhileRunning,$PRE.trafo.tValueAboveMaxWhileRunning,$PRE.trafo.tValueInRangeWhileRunning,$PRE.trafo.running,$PRE.trafo.locked,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.000794/0.1645, allocations: 476.2 kB / 432.5 MB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.1649, allocations: 359.6 kB / 432.9 MB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.1667, allocations: 1.611 MB / 434.5 MB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.1667, allocations: 19.94 kB / 434.5 MB, free: 3.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1667, allocations: 4 kB / 434.5 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008109/0.1675, allocations: 377.2 kB / 434.9 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.1678, allocations: 95.89 kB / 435 MB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.1688, allocations: 139.8 kB / 435.1 MB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.1692, allocations: 293.5 kB / 435.4 MB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.133/0.3022, allocations: 2.328 MB / 437.7 MB, free: 84.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00322/0.3054, allocations: 2.891 MB / 440.6 MB, free: 83.52 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006416/0.306, allocations: 0.6049 MB / 441.2 MB, free: 83.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001226/0.3073, allocations: 1.048 MB / 442.2 MB, free: 83.41 MB / 394.7 MB Notification: Performance of Backend: time 5.21e-07/0.3073, allocations: 1.156 kB / 442.2 MB, free: 83.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006209/0.3135, allocations: 3.801 MB / 446 MB, free: 82.97 MB / 394.7 MB Notification: Performance of SimCode: time 0.005588/0.3191, allocations: 5.722 MB / 451.8 MB, free: 80.29 MB / 394.7 MB Notification: Performance of Templates: time 0.06505/0.3841, allocations: 68.15 MB / 0.5077 GB, free: 28.02 MB / 394.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.414634318090975]