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.002416/0.002416, allocations: 88.05 kB / 19.44 MB, free: 320 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.002993/0.002993, allocations: 173.3 kB / 22.76 MB, free: 1.641 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 1.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1048/0.1048, allocations: 12.71 MB / 272.3 MB, free: 0.7656 MB / 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.342e-06/1.342e-06, allocations: 0 / 346 MB, free: 2.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.046e-05, allocations: 2.312 kB / 346 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.03433/0.03435, allocations: 29.06 MB / 375.1 MB, free: 5.078 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.03413/0.06848, allocations: 20.54 MB / 395.6 MB, free: 472 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/0.07224, allocations: 79.5 kB / 395.7 MB, free: 392 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004391/0.07663, allocations: 1.164 MB / 396.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.08836, allocations: 3.812 MB / 400.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.09271, allocations: 1.367 MB / 402.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.105, allocations: 7.577 MB / 409.6 MB, free: 2.434 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003708/0.1088, allocations: 1.626 MB / 411.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1529/0.2616, allocations: 3.531 MB / 414.8 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004809/0.2664, allocations: 2.073 MB / 416.9 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001305/0.2677, allocations: 337.7 kB / 417.2 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.2711, allocations: 0.8586 MB / 418 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000866/0.272, allocations: 0.81 MB / 418.9 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003762/0.2758, allocations: 1.642 MB / 420.5 MB, free: 29.55 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007002/0.2828, allocations: 5.556 MB / 426.1 MB, free: 29.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2828, allocations: 5.203 kB / 426.1 MB, free: 29.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2828, allocations: 0 / 426.1 MB, free: 29.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001115/0.2829, allocations: 0 / 426.1 MB, free: 29.29 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: 663 * Number of variables: 663 Notification: Performance of Generate backend data structure: time 0.01997/0.3028, allocations: 6.498 MB / 432.6 MB, free: 27.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.3029, allocations: 13.09 kB / 432.6 MB, free: 27.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005014/0.3079, allocations: 1.174 MB / 433.7 MB, free: 27.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005182/0.3131, allocations: 2.576 MB / 436.3 MB, free: 26.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.3132, allocations: 223.4 kB / 436.5 MB, free: 26.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.3137, allocations: 307.9 kB / 436.8 MB, free: 26.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005149/0.3188, allocations: 4.521 MB / 441.4 MB, free: 23.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.917e-05/0.3189, allocations: 17.03 kB / 441.4 MB, free: 23.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.3191, allocations: 132 kB / 441.5 MB, free: 23.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.3192, allocations: 71.44 kB / 441.6 MB, free: 23.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.323, allocations: 2.697 MB / 444.3 MB, free: 22.71 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.02769/0.3507, allocations: 22.12 MB / 466.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006514/0.3572, allocations: 2.623 MB / 469 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003337/0.3605, allocations: 1.294 MB / 470.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.3608, allocations: 50.61 kB / 470.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005608/0.3664, allocations: 2.531 MB / 472.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 1.046e-05/0.3664, allocations: 4 kB / 472.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=286): time 0.01432/0.3807, allocations: 4.627 MB / 477.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003712/0.3811, allocations: 0.4925 MB / 478 MB, free: 5.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006577/0.3876, allocations: 3.493 MB / 481.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000649/0.3883, allocations: 105.7 kB / 481.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002329/0.3906, allocations: 1.761 MB / 483.4 MB, free: 356 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002383/0.393, allocations: 1.258 MB / 484.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003779/0.3968, allocations: 1.832 MB / 486.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.397, allocations: 480.8 kB / 486.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004498/0.4015, allocations: 1.951 MB / 488.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/0.4077, allocations: 3.453 MB / 492.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/0.4226, allocations: 7.097 MB / 499.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-05/0.4226, allocations: 4 kB / 499.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.01697/0.4396, allocations: 6.656 MB / 0.4942 GB, free: 9.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.4396, allocations: 11.56 kB / 0.4942 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.525e-05/0.4397, allocations: 11.25 kB / 0.4943 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/0.4429, allocations: 0.6093 MB / 0.4948 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007209/0.4501, allocations: 1.455 MB / 0.4963 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.4605, allocations: 6.516 MB / 0.5026 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007334/0.4678, allocations: 0.4973 MB / 0.5031 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.4689, allocations: 248 kB / 0.5034 GB, free: 15.89 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.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.0026/0.4715, allocations: 0.8303 MB / 0.5042 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/0.4729, allocations: 484.9 kB / 0.5046 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006864/0.4797, allocations: 3.104 MB / 0.5077 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-05/0.4798, allocations: 11.95 kB / 0.5077 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4798, allocations: 4 kB / 0.5077 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002868/0.4827, allocations: 0.7081 MB / 0.5084 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/0.4837, allocations: 91.94 kB / 0.5085 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002992/0.4867, allocations: 135.8 kB / 0.5086 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007716/0.4875, allocations: 321.6 kB / 0.5089 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008369/0.4958, allocations: 4.483 MB / 0.5133 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009591/0.5054, allocations: 5.744 MB / 0.5189 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002644/0.5081, allocations: 1.35 MB / 0.5202 GB, free: 14.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003914/0.512, allocations: 1.899 MB / 0.5221 GB, free: 12.79 MB / 410.7 MB Notification: Performance of Backend: time 1.222e-06/0.512, allocations: 0 / 0.5221 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01603/0.528, allocations: 5.138 MB / 0.5271 GB, free: 7.758 MB / 410.7 MB Notification: Performance of SimCode: time 0.01191/0.5399, allocations: 5.837 MB / 0.5328 GB, free: 1.883 MB / 410.7 MB Notification: Performance of Templates: time 0.2244/0.7643, allocations: 62.3 MB / 0.5936 GB, free: 156.3 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: 7.638024235027842]