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.001156/0.001156, 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.0012/0.0012, allocations: 195.2 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1784/0.1784, allocations: 16.78 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 63.91 kB / 371.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2482, allocations: 53.55 MB / 425.3 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.01865/0.2669, allocations: 31.64 MB / 457 MB, free: 16.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.2853, allocations: 24.22 MB / 481.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.2872, allocations: 47.34 kB / 481.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002039/0.2893, allocations: 0.9 MB / 482.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006157/0.2955, allocations: 2.676 MB / 484.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.2982, allocations: 1.349 MB / 486.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005468/0.3037, allocations: 4.902 MB / 491.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.3052, allocations: 0.8515 MB / 491.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.3078, allocations: 1.656 MB / 493.6 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.3108, allocations: 1.754 MB / 495.3 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008235/0.3116, allocations: 240.2 kB / 495.6 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.3147, allocations: 0.7022 MB / 496.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008588/0.3156, allocations: 0.5765 MB / 496.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002495/0.3181, allocations: 1.601 MB / 498.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005955/0.3241, allocations: 3.897 MB / 0.4906 GB, free: 4.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3241, allocations: 3.938 kB / 0.4906 GB, free: 4.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3241, allocations: 4.656 kB / 0.4906 GB, free: 4.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.749e-05/0.3242, allocations: 0 / 0.4906 GB, free: 4.461 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.01538/0.3396, allocations: 4.348 MB / 0.4948 GB, free: 2.168 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3397, allocations: 9.594 kB / 0.4948 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003359/0.3431, allocations: 0.6168 MB / 0.4954 GB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.3461, allocations: 1.728 MB / 0.4971 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.3463, allocations: 160.9 kB / 0.4973 GB, free: 464 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.3466, allocations: 221.4 kB / 0.4975 GB, free: 392 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/0.3505, allocations: 2.713 MB / 0.5001 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.3506, allocations: 15.88 kB / 0.5001 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.3508, allocations: 95.97 kB / 0.5002 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.3509, allocations: 48 kB / 0.5003 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.3538, allocations: 1.932 MB / 0.5022 GB, free: 12.14 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.01703/0.3709, allocations: 14.25 MB / 0.5161 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.3749, allocations: 2.584 MB / 0.5186 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.3765, allocations: 1.186 MB / 0.5198 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3766, allocations: 25.94 kB / 0.5198 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002392/0.379, allocations: 1.635 MB / 0.5214 GB, free: 7.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=224): time 4.839e-06/0.379, allocations: 3.938 kB / 0.5214 GB, free: 7.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=224): time 0.009926/0.389, allocations: 4.263 MB / 0.5256 GB, free: 3.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.3891, allocations: 107.1 kB / 0.5257 GB, free: 3.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.3922, allocations: 1.859 MB / 0.5275 GB, free: 1.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.3925, allocations: 93.69 kB / 0.5276 GB, free: 1.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008485/0.3933, allocations: 0.9095 MB / 0.5284 GB, free: 332 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.3943, allocations: 0.8257 MB / 0.5293 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001869/0.3962, allocations: 0.9514 MB / 0.5302 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.3963, allocations: 301.1 kB / 0.5305 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/0.3989, allocations: 1.487 MB / 0.5319 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/0.4019, allocations: 2.012 MB / 0.5339 GB, free: 10.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04045/0.4424, allocations: 8.923 MB / 0.5426 GB, free: 1.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.4424, allocations: 4 kB / 0.5426 GB, free: 1.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.009315/0.4517, allocations: 4.733 MB / 0.5472 GB, free: 12.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.4518, allocations: 9.406 kB / 0.5472 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.4518, allocations: 4 kB / 0.5472 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.4542, allocations: 0.5472 MB / 0.5478 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/0.458, allocations: 1.034 MB / 0.5488 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008237/0.4662, allocations: 6.177 MB / 0.5548 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/0.4707, allocations: 365.3 kB / 0.5552 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/0.4713, allocations: 172 kB / 0.5553 GB, free: 4.148 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.001511/0.4728, allocations: 0.5931 MB / 0.5559 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000675/0.4735, allocations: 257.1 kB / 0.5562 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.478, allocations: 2.741 MB / 0.5588 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.478, allocations: 11.95 kB / 0.5588 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.478, allocations: 4 kB / 0.5588 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.4793, allocations: 0.5915 MB / 0.5594 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/0.4799, allocations: 75.95 kB / 0.5595 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001911/0.4818, allocations: 135.7 kB / 0.5596 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005/0.4823, allocations: 273.8 kB / 0.5599 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005654/0.488, allocations: 2.877 MB / 0.5627 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004928/0.4929, allocations: 3.435 MB / 0.566 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001816/0.4948, allocations: 1.916 MB / 0.5679 GB, free: 7.156 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001905/0.4967, allocations: 1.148 MB / 0.569 GB, free: 5.984 MB / 446.1 MB Notification: Performance of Backend: time 3.1e-07/0.4967, allocations: 0 / 0.569 GB, free: 5.984 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008357/0.5051, allocations: 3.848 MB / 0.5728 GB, free: 2.105 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.007067/0.5122, allocations: 4.175 MB / 0.5769 GB, free: 13.91 MB / 462.1 MB Notification: Performance of Templates: time 0.2297/0.7419, allocations: 41.14 MB / 0.6171 GB, free: 132.5 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)