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.007733/0.007734, allocations: 98.19 kB / 15.73 MB, free: 6.012 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.001959/0.001959, allocations: 197.4 kB / 16.67 MB, free: 5.949 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2085/0.2085, allocations: 16.69 MB / 307.2 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 71.47 kB / 426.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09661, allocations: 53.56 MB / 480.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.03025/0.1269, allocations: 31.64 MB / 0.4997 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03936/0.1663, allocations: 24.23 MB / 0.5234 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003641/0.17, allocations: 43.81 kB / 0.5234 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004118/0.1742, allocations: 0.8969 MB / 0.5243 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.1855, allocations: 2.681 MB / 0.5269 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004829/0.1903, allocations: 1.353 MB / 0.5282 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009473/0.1998, allocations: 4.924 MB / 0.533 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.2019, allocations: 0.8428 MB / 0.5339 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.2048, allocations: 1.658 MB / 0.5355 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/0.2079, allocations: 1.759 MB / 0.5372 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005968/0.2086, allocations: 240 kB / 0.5374 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.2106, allocations: 0.7028 MB / 0.5381 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.2112, allocations: 0.5719 MB / 0.5387 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.2135, allocations: 1.614 MB / 0.5402 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006266/0.2198, allocations: 3.963 MB / 0.5441 GB, free: 15.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2198, allocations: 0 / 0.5441 GB, free: 15.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2198, allocations: 0 / 0.5441 GB, free: 15.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.508e-05/0.2199, allocations: 0 / 0.5441 GB, free: 15.66 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 469 * Number of variables: 469 Notification: Performance of Generate backend data structure: time 0.01522/0.2351, allocations: 4.409 MB / 0.5484 GB, free: 11.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2352, allocations: 8.031 kB / 0.5484 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/0.2388, allocations: 0.6394 MB / 0.5491 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004048/0.2428, allocations: 1.765 MB / 0.5508 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.243, allocations: 159.7 kB / 0.5509 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/0.2434, allocations: 224 kB / 0.5511 GB, free: 8.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/0.248, allocations: 2.707 MB / 0.5538 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.2481, allocations: 15.88 kB / 0.5538 GB, free: 5.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.2484, allocations: 107.9 kB / 0.5539 GB, free: 5.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/0.2484, allocations: 48 kB / 0.5539 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.2519, allocations: 1.932 MB / 0.5558 GB, free: 3.305 MB / 430.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.02203/0.2739, allocations: 14.21 MB / 0.5697 GB, free: 4.422 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004787/0.2787, allocations: 2.59 MB / 0.5722 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.2806, allocations: 1.186 MB / 0.5734 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.2808, allocations: 30 kB / 0.5734 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002723/0.2835, allocations: 1.638 MB / 0.575 GB, free: 14.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 5.541e-06/0.2835, allocations: 0 / 0.575 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=224): time 0.01123/0.2947, allocations: 4.276 MB / 0.5792 GB, free: 10.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.2949, allocations: 103.1 kB / 0.5793 GB, free: 10.43 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/0.2986, allocations: 1.859 MB / 0.5811 GB, free: 8.523 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006339/0.2993, allocations: 105.6 kB / 0.5812 GB, free: 8.414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.3004, allocations: 0.9356 MB / 0.5821 GB, free: 7.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.3017, allocations: 0.849 MB / 0.583 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/0.3035, allocations: 0.9673 MB / 0.5839 GB, free: 5.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3036, allocations: 309.1 kB / 0.5842 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/0.3064, allocations: 1.483 MB / 0.5856 GB, free: 3.844 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/0.3097, allocations: 1.999 MB / 0.5876 GB, free: 1.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2905/0.6002, allocations: 8.858 MB / 0.5963 GB, free: 106.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.6003, allocations: 2.156 kB / 0.5963 GB, free: 106.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01022/0.6105, allocations: 4.74 MB / 0.6009 GB, free: 105 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.6106, allocations: 11.25 kB / 0.6009 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.6106, allocations: 3.906 kB / 0.6009 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.6131, allocations: 0.5495 MB / 0.6014 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004192/0.6173, allocations: 1.026 MB / 0.6024 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.6247, allocations: 6.168 MB / 0.6085 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/0.6292, allocations: 378.8 kB / 0.6088 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/0.6296, allocations: 170.2 kB / 0.609 GB, free: 100.5 MB / 462.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 (664): * Single equations (assignments): 662 * 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%), (24,0,11.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001407/0.6311, allocations: 0.5977 MB / 0.6096 GB, free: 100 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/0.6316, allocations: 260.8 kB / 0.6098 GB, free: 100 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/0.6355, allocations: 2.744 MB / 0.6125 GB, free: 98.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.6356, allocations: 14.02 kB / 0.6125 GB, free: 98.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.6356, allocations: 3 kB / 0.6125 GB, free: 98.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.6366, allocations: 0.5963 MB / 0.6131 GB, free: 98.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.637, allocations: 76.14 kB / 0.6132 GB, free: 98.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6387, allocations: 140.7 kB / 0.6133 GB, free: 98.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004461/0.6392, allocations: 273.3 kB / 0.6136 GB, free: 98.28 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004917/0.6441, allocations: 2.861 MB / 0.6164 GB, free: 96.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004067/0.6482, allocations: 3.45 MB / 0.6197 GB, free: 93.63 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001347/0.6495, allocations: 1.913 MB / 0.6216 GB, free: 91.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001369/0.6509, allocations: 1.152 MB / 0.6227 GB, free: 90.55 MB / 462.1 MB Notification: Performance of Backend: time 1.9e-07/0.6509, allocations: 2.078 kB / 0.6227 GB, free: 90.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00661/0.6575, allocations: 3.858 MB / 0.6265 GB, free: 86.71 MB / 462.1 MB Notification: Performance of SimCode: time 0.004742/0.6623, allocations: 4.199 MB / 0.6306 GB, free: 82.53 MB / 462.1 MB Notification: Performance of Templates: time 0.05198/0.7143, allocations: 39.16 MB / 0.6688 GB, free: 43.57 MB / 462.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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1)