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.001361/0.001361, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001483/0.001483, allocations: 173 kB / 23.36 MB, free: 1.133 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.9831/0.9831, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.05118/0.05118, allocations: 13.12 MB / 273.4 MB, free: 228 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.284e-06/2.284e-06, allocations: 0 / 294.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.636e-05, allocations: 2.859 kB / 294.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02374/0.02377, allocations: 28.67 MB / 323.1 MB, free: 4.445 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.02593/0.0497, allocations: 20.68 MB / 343.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.05383, allocations: 79.44 kB / 343.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.05827, allocations: 1.23 MB / 345.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.06855, allocations: 3.937 MB / 349.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.07179, allocations: 1.369 MB / 350.4 MB, free: 9.102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009155/0.08094, allocations: 7.666 MB / 358.1 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003001/0.08394, allocations: 1.691 MB / 359.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007426/0.09137, allocations: 3.686 MB / 363.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003836/0.09521, allocations: 1.998 MB / 365.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001099/0.09631, allocations: 324 kB / 365.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.0992, allocations: 0.8078 MB / 366.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007256/0.09993, allocations: 0.7934 MB / 367.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003432/0.1034, allocations: 1.57 MB / 368.9 MB, free: 6.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007068/0.1104, allocations: 3.371 MB / 372.3 MB, free: 3.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.1104, allocations: 4 kB / 372.3 MB, free: 3.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1104, allocations: 0 / 372.3 MB, free: 3.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.1106, allocations: 0 / 372.3 MB, free: 3.094 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.01165/0.1223, allocations: 6.216 MB / 378.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.1223, allocations: 8.031 kB / 378.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.1254, allocations: 1.148 MB / 379.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.1291, allocations: 1.394 MB / 381.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.1292, allocations: 221.6 kB / 381.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.1296, allocations: 308.3 kB / 381.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.133, allocations: 3.153 MB / 384.8 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.1331, allocations: 16.06 kB / 384.8 MB, free: 6.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.1332, allocations: 128.3 kB / 384.9 MB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.1333, allocations: 75.94 kB / 385 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.1348, allocations: 1.228 MB / 386.2 MB, free: 4.609 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.01419/0.149, allocations: 13.58 MB / 399.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.1508, allocations: 1.402 MB / 401.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.1514, allocations: 0.524 MB / 401.7 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.1515, allocations: 54.61 kB / 401.8 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/0.1529, allocations: 1.854 MB / 403.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 6.051e-06/0.1529, allocations: 0 / 403.6 MB, free: 2.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=286): time 0.004555/0.1574, allocations: 2.519 MB / 406.1 MB, free: 32 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.1576, allocations: 0.497 MB / 406.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.1598, allocations: 2.2 MB / 408.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.16, allocations: 109.7 kB / 408.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000898/0.1609, allocations: 1.287 MB / 410.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009157/0.1618, allocations: 1.101 MB / 411.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.1632, allocations: 1.388 MB / 412.7 MB, free: 9.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003525/0.1636, allocations: 305.1 kB / 413 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.1652, allocations: 1.148 MB / 414.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/0.1674, allocations: 2.264 MB / 416.4 MB, free: 5.391 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005498/0.1729, allocations: 4.602 MB / 421 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/0.1729, allocations: 0 / 421 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.005881/0.1788, allocations: 4.15 MB / 425.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.1788, allocations: 10.34 kB / 425.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.1789, allocations: 4 kB / 425.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.1802, allocations: 0.5536 MB / 425.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/0.1843, allocations: 1.439 MB / 427.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.1888, allocations: 3.835 MB / 431 MB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00496/0.1937, allocations: 0.648 MB / 431.7 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007349/0.1945, allocations: 176 kB / 431.8 MB, free: 5.691 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.001697/0.1962, allocations: 481.5 kB / 432.3 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008657/0.197, allocations: 351.6 kB / 432.7 MB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.1996, allocations: 1.611 MB / 434.3 MB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.581e-05/0.1996, allocations: 15.94 kB / 434.3 MB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.1996, allocations: 8 kB / 434.3 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/0.2014, allocations: 381.2 kB / 434.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006343/0.2021, allocations: 103.9 kB / 434.8 MB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.2037, allocations: 139.8 kB / 434.9 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004943/0.2042, allocations: 293.5 kB / 435.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1539/0.3581, allocations: 2.319 MB / 437.5 MB, free: 84.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003944/0.362, allocations: 2.894 MB / 440.4 MB, free: 83.55 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008385/0.3628, allocations: 0.6089 MB / 441 MB, free: 83.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001774/0.3646, allocations: 1.044 MB / 442 MB, free: 83.45 MB / 394.7 MB Notification: Performance of Backend: time 8.22e-07/0.3646, allocations: 1.484 kB / 442 MB, free: 83.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008411/0.373, allocations: 3.796 MB / 445.8 MB, free: 83 MB / 394.7 MB Notification: Performance of SimCode: time 0.007152/0.3802, allocations: 5.724 MB / 451.6 MB, free: 80.32 MB / 394.7 MB Notification: Performance of Templates: time 0.06178/0.442, allocations: 68.16 MB / 0.5075 GB, free: 28.29 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 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.744765846990049]