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.0008796/0.0008796, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.0008953/0.0008953, allocations: 173 kB / 23.28 MB, free: 1.223 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.9855/0.9855, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.04742/0.04742, allocations: 12.99 MB / 273.2 MB, free: 328 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.823e-06/1.823e-06, allocations: 0 / 347.6 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.258e-05, allocations: 2.312 kB / 347.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02283/0.02286, allocations: 28.61 MB / 376.2 MB, free: 4.496 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.02098/0.04383, allocations: 20.33 MB / 396.5 MB, free: 96 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003475/0.04731, allocations: 79.5 kB / 396.6 MB, free: 16 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.05106, allocations: 1.168 MB / 397.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008306/0.05936, allocations: 3.908 MB / 401.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.06198, allocations: 1.351 MB / 403 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008673/0.07065, allocations: 7.646 MB / 410.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/0.07358, allocations: 1.638 MB / 412.3 MB, free: 244 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1347/0.2083, allocations: 3.682 MB / 416 MB, free: 29.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/0.2124, allocations: 1.996 MB / 418 MB, free: 29.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.2136, allocations: 322.3 kB / 418.3 MB, free: 29.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.2162, allocations: 0.8045 MB / 419.1 MB, free: 29.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005549/0.2168, allocations: 0.7874 MB / 419.9 MB, free: 29.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.2194, allocations: 1.569 MB / 421.5 MB, free: 29.36 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00467/0.2241, allocations: 3.379 MB / 424.8 MB, free: 29.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2241, allocations: 0.8125 kB / 424.8 MB, free: 29.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2241, allocations: 1.406 kB / 424.8 MB, free: 29.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001529/0.2242, allocations: 0.5 kB / 424.8 MB, free: 29.09 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.01043/0.2346, allocations: 6.229 MB / 431.1 MB, free: 27.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2347, allocations: 8.312 kB / 431.1 MB, free: 27.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.2374, allocations: 1.179 MB / 432.3 MB, free: 26.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.2415, allocations: 2.192 MB / 434.5 MB, free: 26.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.2416, allocations: 222.2 kB / 434.7 MB, free: 26.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/0.242, allocations: 309.2 kB / 435 MB, free: 26.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.2448, allocations: 3.413 MB / 438.4 MB, free: 24.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.2449, allocations: 16.66 kB / 438.4 MB, free: 24.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.2451, allocations: 131.7 kB / 438.5 MB, free: 24.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/0.2451, allocations: 76.02 kB / 438.6 MB, free: 24.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.2467, allocations: 1.376 MB / 440 MB, free: 24.52 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.01322/0.2599, allocations: 19.8 MB / 459.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.2617, allocations: 1.581 MB / 461.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/0.2623, allocations: 0.5902 MB / 462 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.432e-05/0.2624, allocations: 61 kB / 462 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.2636, allocations: 1.92 MB / 463.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=286): time 7.594e-06/0.2636, allocations: 0 / 463.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=286): time 0.004937/0.2686, allocations: 3.259 MB / 467.2 MB, free: 1.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.2687, allocations: 0.499 MB / 467.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.2711, allocations: 2.377 MB / 470.1 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.2714, allocations: 109.9 kB / 470.2 MB, free: 14.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.2724, allocations: 1.58 MB / 471.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009341/0.2734, allocations: 1.127 MB / 472.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001478/0.2748, allocations: 1.482 MB / 474.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.2749, allocations: 476.8 kB / 474.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.2765, allocations: 1.217 MB / 476 MB, free: 9.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.2791, allocations: 2.475 MB / 478.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005541/0.2846, allocations: 4.641 MB / 483.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/0.2847, allocations: 0 / 483.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.006929/0.2916, allocations: 5.117 MB / 488.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.2916, allocations: 14.81 kB / 488.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.2916, allocations: 4 kB / 488.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.293, allocations: 0.5763 MB / 488.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.2963, allocations: 1.451 MB / 490.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/0.3005, allocations: 5.159 MB / 495.5 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/0.3047, allocations: 0.6431 MB / 496.1 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005617/0.3053, allocations: 182.2 kB / 496.3 MB, free: 4.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.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.001205/0.3065, allocations: 0.5235 MB / 496.8 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008591/0.3073, allocations: 485.7 kB / 497.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.3097, allocations: 2.187 MB / 499.5 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.3097, allocations: 15.95 kB / 499.5 MB, free: 1.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.3097, allocations: 3.984 kB / 499.5 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/0.3112, allocations: 0.7336 MB / 0.4885 GB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005426/0.3117, allocations: 91.94 kB / 0.4886 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.3131, allocations: 143.8 kB / 0.4887 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/0.3137, allocations: 288.2 kB / 0.489 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002997/0.3167, allocations: 3.435 MB / 0.4924 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004138/0.3209, allocations: 4.131 MB / 0.4964 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007445/0.3216, allocations: 0.6665 MB / 0.4971 GB, free: 8.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001454/0.3231, allocations: 1.203 MB / 0.4982 GB, free: 7.32 MB / 378.7 MB Notification: Performance of Backend: time 5.81e-07/0.3231, allocations: 0 / 0.4982 GB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007127/0.3302, allocations: 4.107 MB / 0.5022 GB, free: 3.418 MB / 378.7 MB Notification: Performance of SimCode: time 0.007907/0.3381, allocations: 5.905 MB / 0.508 GB, free: 13.53 MB / 394.7 MB Notification: Performance of Templates: time 0.189/0.5271, allocations: 68.18 MB / 0.5746 GB, free: 135.1 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.473378122784197]