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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.001546, allocations: 100.1 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 192.3 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07504/0.07505, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 70.45 kB / 373.1 MB, free: 49.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09156, allocations: 53.57 MB / 426.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02483/0.1164, allocations: 31.46 MB / 458.2 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02808/0.1445, allocations: 24.06 MB / 482.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.1474, allocations: 43.81 kB / 482.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002753/0.1502, allocations: 0.8852 MB / 483.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006796/0.157, allocations: 2.673 MB / 485.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.16, allocations: 1.268 MB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006083/0.1661, allocations: 4.848 MB / 492 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.1674, allocations: 0.8309 MB / 492.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.1697, allocations: 1.619 MB / 494.4 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.1718, allocations: 1.704 MB / 496.1 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.1722, allocations: 232 kB / 496.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.1737, allocations: 0.6911 MB / 497 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.1742, allocations: 0.5524 MB / 497.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.1759, allocations: 1.571 MB / 499.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.1804, allocations: 3.84 MB / 0.4912 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1804, allocations: 0 / 0.4912 GB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1804, allocations: 0 / 0.4912 GB, free: 15.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.961e-05/0.1805, allocations: 0 / 0.4912 GB, free: 15.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.01264/0.1931, allocations: 3.986 MB / 0.4951 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1932, allocations: 8.031 kB / 0.4951 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.1966, allocations: 0.6107 MB / 0.4957 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003324/0.1999, allocations: 1.748 MB / 0.4974 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2, allocations: 155.5 kB / 0.4976 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.2003, allocations: 220 kB / 0.4978 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/0.2042, allocations: 2.639 MB / 0.5003 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.2043, allocations: 7.938 kB / 0.5003 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.2045, allocations: 95.95 kB / 0.5004 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.2045, allocations: 48 kB / 0.5005 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.2075, allocations: 1.842 MB / 0.5023 GB, free: 3.848 MB / 382.1 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.2016/0.409, allocations: 14.02 MB / 0.516 GB, free: 72.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/0.4129, allocations: 2.766 MB / 0.5187 GB, free: 70.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4144, allocations: 1.156 MB / 0.5198 GB, free: 70.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.4145, allocations: 26.44 kB / 0.5198 GB, free: 70.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002978/0.4175, allocations: 1.584 MB / 0.5214 GB, free: 69.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 1.05e-05/0.4175, allocations: 0 / 0.5214 GB, free: 69.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=216): time 0.008177/0.4257, allocations: 3.687 MB / 0.525 GB, free: 68.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.4258, allocations: 105.9 kB / 0.5251 GB, free: 68.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/0.4294, allocations: 1.788 MB / 0.5268 GB, free: 67.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003012/0.4297, allocations: 97.62 kB / 0.5269 GB, free: 67.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009034/0.4306, allocations: 0.9131 MB / 0.5278 GB, free: 67.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000836/0.4315, allocations: 0.7773 MB / 0.5286 GB, free: 66.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/0.4332, allocations: 0.9149 MB / 0.5295 GB, free: 66.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.4333, allocations: 301.1 kB / 0.5297 GB, free: 65.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.4352, allocations: 1.399 MB / 0.5311 GB, free: 65.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.4375, allocations: 1.892 MB / 0.533 GB, free: 63.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03603/0.4735, allocations: 8.413 MB / 0.5412 GB, free: 57.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.4735, allocations: 0 / 0.5412 GB, free: 57.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=670) (initialization): time 0.006369/0.4799, allocations: 4.423 MB / 0.5455 GB, free: 52.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.48, allocations: 11.94 kB / 0.5455 GB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.48, allocations: 5.125 kB / 0.5455 GB, free: 52.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.4821, allocations: 0.4919 MB / 0.546 GB, free: 52.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/0.4858, allocations: 0.9986 MB / 0.547 GB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005432/0.4913, allocations: 5.353 MB / 0.5522 GB, free: 45.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004028/0.4953, allocations: 357.4 kB / 0.5525 GB, free: 45.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/0.4956, allocations: 160 kB / 0.5527 GB, free: 45.03 MB / 382.1 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: 19 * 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 (640): * Single equations (assignments): 638 * 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%), (16,0,18.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00129/0.4969, allocations: 0.5814 MB / 0.5533 GB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005142/0.4975, allocations: 249.3 kB / 0.5535 GB, free: 44.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003555/0.501, allocations: 2.57 MB / 0.556 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.5011, allocations: 15.89 kB / 0.556 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5011, allocations: 0 / 0.556 GB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.5021, allocations: 0.5571 MB / 0.5566 GB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/0.5025, allocations: 83.88 kB / 0.5566 GB, free: 40.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.5041, allocations: 142.7 kB / 0.5568 GB, free: 40.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/0.5045, allocations: 257.9 kB / 0.557 GB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004235/0.5087, allocations: 2.654 MB / 0.5596 GB, free: 37.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003885/0.5126, allocations: 3.279 MB / 0.5628 GB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001311/0.514, allocations: 1.87 MB / 0.5646 GB, free: 32.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001413/0.5154, allocations: 1.111 MB / 0.5657 GB, free: 31.66 MB / 382.1 MB Notification: Performance of Backend: time 2.9e-07/0.5154, allocations: 0 / 0.5657 GB, free: 31.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006396/0.5218, allocations: 3.544 MB / 0.5692 GB, free: 28.14 MB / 382.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.004981/0.5268, allocations: 3.928 MB / 0.573 GB, free: 24.2 MB / 382.1 MB Notification: Performance of Templates: time 0.05209/0.5789, allocations: 36.51 MB / 0.6087 GB, free: 3.863 MB / 398.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.makefile (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=480 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1)