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.000923/0.000923, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009726/0.0009726, allocations: 173 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 0.9097/0.9097, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.04756/0.04756, allocations: 12.98 MB / 272.9 MB, free: 484 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 1.482e-06/1.482e-06, allocations: 0 / 347.1 MB, free: 1.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.566e-05, allocations: 2.312 kB / 347.1 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.01742/0.01744, allocations: 29.33 MB / 376.4 MB, free: 4.082 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.0188/0.03624, allocations: 20.61 MB / 397.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.0381, allocations: 79.5 kB / 397.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.04025, allocations: 1.172 MB / 398.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00479/0.04504, allocations: 3.841 MB / 402.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.04673, allocations: 1.368 MB / 403.5 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005447/0.05218, allocations: 7.643 MB / 411.2 MB, free: 1.262 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1239/0.1761, allocations: 1.617 MB / 412.8 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.181, allocations: 3.686 MB / 416.5 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.1837, allocations: 1.993 MB / 418.4 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007089/0.1844, allocations: 322.4 kB / 418.8 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.1861, allocations: 0.7935 MB / 419.6 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.1865, allocations: 0.787 MB / 420.3 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.1878, allocations: 1.571 MB / 421.9 MB, free: 28.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.1906, allocations: 3.364 MB / 425.3 MB, free: 28.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1906, allocations: 0 / 425.3 MB, free: 28.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1906, allocations: 0 / 425.3 MB, free: 28.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.925e-05/0.1906, allocations: 0 / 425.3 MB, free: 28.68 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.008746/0.1993, allocations: 6.131 MB / 431.4 MB, free: 26.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1994, allocations: 7.156 kB / 431.4 MB, free: 26.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.2019, allocations: 1.183 MB / 432.6 MB, free: 26.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002131/0.2041, allocations: 2.233 MB / 434.8 MB, free: 26.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.171e-05/0.2042, allocations: 222.7 kB / 435 MB, free: 26.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.2044, allocations: 314 kB / 435.4 MB, free: 26.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.2072, allocations: 3.638 MB / 439 MB, free: 24.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.2073, allocations: 12.62 kB / 439 MB, free: 24.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.2075, allocations: 134.3 kB / 439.1 MB, free: 24.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.2075, allocations: 72.03 kB / 439.2 MB, free: 24.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.2096, allocations: 1.668 MB / 440.9 MB, free: 24.16 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.01102/0.2206, allocations: 20.13 MB / 461 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.2226, allocations: 1.748 MB / 462.8 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/0.2234, allocations: 0.6997 MB / 463.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-05/0.2235, allocations: 50.61 kB / 463.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.2249, allocations: 2.031 MB / 465.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=286): time 4.308e-06/0.2249, allocations: 0 / 465.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=286): time 0.00506/0.2299, allocations: 3.584 MB / 469.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.2301, allocations: 0.4928 MB / 469.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.2323, allocations: 2.443 MB / 472.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.2324, allocations: 109.7 kB / 472.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000886/0.2333, allocations: 1.55 MB / 473.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007228/0.234, allocations: 1.118 MB / 474.8 MB, free: 8.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/0.2358, allocations: 1.437 MB / 476.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.2359, allocations: 483.1 kB / 476.7 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.2377, allocations: 1.311 MB / 478.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.2402, allocations: 2.54 MB / 480.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005605/0.2458, allocations: 4.755 MB / 485.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.2458, allocations: 4 kB / 485.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.006584/0.2524, allocations: 5.326 MB / 490.7 MB, free: 8.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.2524, allocations: 12.06 kB / 490.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.2524, allocations: 4 kB / 490.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.2538, allocations: 0.582 MB / 491.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.2569, allocations: 1.448 MB / 492.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00406/0.2609, allocations: 5.255 MB / 498 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/0.2637, allocations: 0.6402 MB / 498.6 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002816/0.264, allocations: 248 kB / 498.9 MB, free: 0.5 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.001125/0.2651, allocations: 0.5205 MB / 499.4 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007404/0.2658, allocations: 485 kB / 499.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/0.2697, allocations: 2.401 MB / 0.4905 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/0.2697, allocations: 19.94 kB / 0.4905 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.2697, allocations: 0 / 0.4905 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.2711, allocations: 0.7313 MB / 0.4912 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.2716, allocations: 90.47 kB / 0.4913 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.2732, allocations: 143.8 kB / 0.4914 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/0.2737, allocations: 289.6 kB / 0.4917 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004525/0.2782, allocations: 3.611 MB / 0.4952 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0052/0.2834, allocations: 4.403 MB / 0.4995 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009098/0.2843, allocations: 0.7525 MB / 0.5003 GB, free: 3.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001336/0.2857, allocations: 1.322 MB / 0.5016 GB, free: 1.816 MB / 378.7 MB Notification: Performance of Backend: time 5.61e-07/0.2857, allocations: 0 / 0.5016 GB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005974/0.2916, allocations: 4.17 MB / 0.5056 GB, free: 13.75 MB / 394.7 MB Notification: Performance of SimCode: time 0.005623/0.2973, allocations: 5.604 MB / 0.5111 GB, free: 8.102 MB / 394.7 MB Notification: Performance of Templates: time 0.1738/0.4711, allocations: 67 MB / 0.5765 GB, free: 134 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.548643567133695]