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.0009639/0.0009639, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009975/0.0009975, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9789/0.9789, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.08667/0.08667, allocations: 12.99 MB / 274 MB, free: 308 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.353e-06/1.353e-06, allocations: 0 / 348.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.077e-05, allocations: 2.312 kB / 348.4 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.01812/0.01814, allocations: 28.62 MB / 377 MB, free: 4.48 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.02387/0.04201, allocations: 20.32 MB / 397.3 MB, free: 92 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.04538, allocations: 79.44 kB / 397.4 MB, free: 12 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003622/0.04901, allocations: 1.172 MB / 398.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008925/0.05793, allocations: 3.911 MB / 402.5 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.06069, allocations: 1.359 MB / 403.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008546/0.06924, allocations: 7.642 MB / 411.5 MB, free: 1.902 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.07216, allocations: 1.63 MB / 413.1 MB, free: 240 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1386/0.2107, allocations: 3.689 MB / 416.8 MB, free: 29.33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.2148, allocations: 1.989 MB / 418.8 MB, free: 29.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.2161, allocations: 323.3 kB / 419.1 MB, free: 29.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.219, allocations: 0.8087 MB / 419.9 MB, free: 29.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007391/0.2197, allocations: 0.787 MB / 420.7 MB, free: 29.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.2231, allocations: 1.567 MB / 422.3 MB, free: 29.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005006/0.2281, allocations: 3.375 MB / 425.6 MB, free: 29.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2281, allocations: 4.781 kB / 425.6 MB, free: 29.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2281, allocations: 2.406 kB / 425.6 MB, free: 29.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.2283, allocations: 0 / 425.6 MB, free: 29.06 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.01118/0.2395, allocations: 6.226 MB / 431.9 MB, free: 27.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2395, allocations: 10.22 kB / 431.9 MB, free: 27.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.2426, allocations: 1.178 MB / 433.1 MB, free: 26.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003792/0.2464, allocations: 2.196 MB / 435.2 MB, free: 26.37 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.2465, allocations: 222.8 kB / 435.5 MB, free: 26.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/0.2468, allocations: 310.9 kB / 435.8 MB, free: 26.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.2496, allocations: 3.416 MB / 439.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.948e-05/0.2496, allocations: 17.25 kB / 439.2 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.2499, allocations: 130 kB / 439.3 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.2499, allocations: 73.19 kB / 439.4 MB, free: 24.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.2517, allocations: 1.376 MB / 440.8 MB, free: 24.48 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.01503/0.2667, allocations: 19.8 MB / 460.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.2687, allocations: 1.589 MB / 462.2 MB, free: 7.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006004/0.2693, allocations: 0.5858 MB / 462.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.569e-05/0.2693, allocations: 58.59 kB / 462.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.2706, allocations: 1.919 MB / 464.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of pre-optimization done (n=286): time 5.14e-06/0.2706, allocations: 3.375 kB / 464.7 MB, free: 4.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=286): time 0.00468/0.2753, allocations: 3.259 MB / 468 MB, free: 1.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.2754, allocations: 0.4892 MB / 468.5 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.2776, allocations: 2.387 MB / 470.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.2778, allocations: 113.7 kB / 471 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009686/0.2788, allocations: 1.574 MB / 472.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008328/0.2797, allocations: 1.132 MB / 473.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.281, allocations: 1.478 MB / 475.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2812, allocations: 480.7 kB / 475.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.2828, allocations: 1.21 MB / 476.8 MB, free: 9.105 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.2852, allocations: 2.473 MB / 479.3 MB, free: 6.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005268/0.2905, allocations: 4.635 MB / 483.9 MB, free: 1.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.2905, allocations: 4 kB / 483.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.006669/0.2972, allocations: 5.124 MB / 489.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.2972, allocations: 8 kB / 489.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.2972, allocations: 8 kB / 489.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.2987, allocations: 0.5762 MB / 489.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003368/0.302, allocations: 1.449 MB / 491.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.3065, allocations: 5.146 MB / 496.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/0.3109, allocations: 0.6441 MB / 496.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/0.3112, allocations: 185.6 kB / 497.1 MB, free: 4.879 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.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.001224/0.3124, allocations: 0.5163 MB / 497.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007912/0.3132, allocations: 485.4 kB / 498.1 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.3157, allocations: 2.189 MB / 0.4885 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.3158, allocations: 19.95 kB / 0.4886 GB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.3158, allocations: 4 kB / 0.4886 GB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.3172, allocations: 0.7297 MB / 0.4893 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/0.3176, allocations: 91.94 kB / 0.4894 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.3189, allocations: 139.8 kB / 0.4895 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004124/0.3193, allocations: 297.5 kB / 0.4898 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003366/0.3227, allocations: 3.422 MB / 0.4931 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004138/0.3268, allocations: 4.132 MB / 0.4972 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006789/0.3275, allocations: 0.6671 MB / 0.4978 GB, free: 8.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.3289, allocations: 1.207 MB / 0.499 GB, free: 7.301 MB / 378.7 MB Notification: Performance of Backend: time 7.91e-07/0.3289, allocations: 4 kB / 0.499 GB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007258/0.3362, allocations: 4.108 MB / 0.503 GB, free: 3.398 MB / 378.7 MB Notification: Performance of SimCode: time 0.007449/0.3436, allocations: 5.91 MB / 0.5088 GB, free: 13.5 MB / 394.7 MB Notification: Performance of Templates: time 0.2058/0.5494, allocations: 69.77 MB / 0.5769 GB, free: 134.6 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.911853583995253]