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.00161/0.00161, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 192 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1935/0.1935, allocations: 16.79 MB / 307.2 MB, free: 14.82 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 71.91 kB / 371.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.262, allocations: 53.55 MB / 425.3 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.01913/0.2812, allocations: 31.64 MB / 457 MB, free: 17.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02057/0.3018, allocations: 24.23 MB / 481.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.3043, allocations: 43.03 kB / 481.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.3072, allocations: 0.9028 MB / 482.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007001/0.3143, allocations: 2.672 MB / 484.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.3178, allocations: 1.348 MB / 486.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007271/0.3251, allocations: 4.9 MB / 491.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.3272, allocations: 0.8573 MB / 491.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.3307, allocations: 1.65 MB / 493.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/0.3344, allocations: 1.755 MB / 495.3 MB, free: 8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001044/0.3354, allocations: 244 kB / 495.6 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.3385, allocations: 0.7033 MB / 496.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.3396, allocations: 0.5761 MB / 496.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00421/0.3438, allocations: 1.604 MB / 498.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009055/0.3529, allocations: 3.893 MB / 0.4906 GB, free: 4.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.353, allocations: 0 / 0.4906 GB, free: 4.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.353, allocations: 0.7031 kB / 0.4906 GB, free: 4.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001947/0.3532, allocations: 1.344 kB / 0.4906 GB, free: 4.863 MB / 366.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.01791/0.3711, allocations: 4.349 MB / 0.4948 GB, free: 2.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3712, allocations: 9.156 kB / 0.4948 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/0.3752, allocations: 0.618 MB / 0.4954 GB, free: 2.004 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.3794, allocations: 1.723 MB / 0.4971 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.3796, allocations: 164.1 kB / 0.4973 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005424/0.3801, allocations: 230.5 kB / 0.4975 GB, free: 500 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004914/0.385, allocations: 2.711 MB / 0.5001 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/0.3851, allocations: 7.938 kB / 0.5001 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.3854, allocations: 99.97 kB / 0.5002 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.3855, allocations: 48 kB / 0.5003 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/0.3888, allocations: 1.936 MB / 0.5022 GB, free: 12.11 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.01955/0.4084, allocations: 14.25 MB / 0.5161 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.4129, allocations: 2.583 MB / 0.5186 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.4147, allocations: 1.182 MB / 0.5198 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.4148, allocations: 30.12 kB / 0.5198 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002897/0.4177, allocations: 1.631 MB / 0.5214 GB, free: 7.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=224): time 8.125e-06/0.4177, allocations: 0 / 0.5214 GB, free: 7.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=224): time 0.01091/0.4287, allocations: 4.263 MB / 0.5255 GB, free: 3.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.4288, allocations: 111.1 kB / 0.5256 GB, free: 3.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003434/0.4322, allocations: 1.851 MB / 0.5275 GB, free: 1.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004425/0.4327, allocations: 101.6 kB / 0.5276 GB, free: 1.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.4339, allocations: 0.9212 MB / 0.5285 GB, free: 292 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001472/0.4353, allocations: 0.8102 MB / 0.5292 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002698/0.4381, allocations: 0.9514 MB / 0.5302 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4382, allocations: 305.1 kB / 0.5305 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/0.441, allocations: 1.494 MB / 0.5319 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.4441, allocations: 2 MB / 0.5339 GB, free: 10.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04331/0.4874, allocations: 8.93 MB / 0.5426 GB, free: 1.508 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.258e-05/0.4875, allocations: 0 / 0.5426 GB, free: 1.508 MB / 414.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01155/0.499, allocations: 4.733 MB / 0.5472 GB, free: 12.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.4991, allocations: 8 kB / 0.5472 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/0.4992, allocations: 4.078 kB / 0.5472 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.5018, allocations: 0.5506 MB / 0.5478 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/0.5064, allocations: 1.034 MB / 0.5488 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008823/0.5152, allocations: 6.176 MB / 0.5548 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/0.5206, allocations: 369.3 kB / 0.5552 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009519/0.5216, allocations: 168 kB / 0.5553 GB, free: 4.117 MB / 430.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 = 9.999999999999999e+59 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 = 9.999999999999999e+59 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 = 9.999999999999999e+59 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.001873/0.5235, allocations: 0.5934 MB / 0.5559 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/0.5243, allocations: 265.1 kB / 0.5562 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/0.5293, allocations: 2.742 MB / 0.5588 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.982e-05/0.5293, allocations: 7.969 kB / 0.5588 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5294, allocations: 0 / 0.5588 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.5308, allocations: 0.5876 MB / 0.5594 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006727/0.5315, allocations: 87.94 kB / 0.5595 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.5336, allocations: 127.8 kB / 0.5596 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005499/0.5342, allocations: 277.8 kB / 0.5599 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006204/0.5404, allocations: 2.875 MB / 0.5627 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005765/0.5462, allocations: 3.431 MB / 0.566 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002164/0.5484, allocations: 1.916 MB / 0.5679 GB, free: 7.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002594/0.551, allocations: 1.156 MB / 0.569 GB, free: 5.949 MB / 446.1 MB Notification: Performance of Backend: time 4.41e-07/0.551, allocations: 0 / 0.569 GB, free: 5.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01109/0.5621, allocations: 3.836 MB / 0.5728 GB, free: 2.082 MB / 446.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.008808/0.5709, allocations: 4.188 MB / 0.5769 GB, free: 13.87 MB / 462.1 MB Notification: Performance of Templates: time 0.2423/0.8132, allocations: 41.14 MB / 0.6171 GB, free: 132.8 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1)