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.004903/0.004903, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.00119/0.00119, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1684/0.1684, allocations: 16.78 MB / 307.3 MB, free: 14.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 66.56 kB / 426.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.09053, allocations: 53.57 MB / 480.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.02211/0.1127, allocations: 31.64 MB / 0.4998 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02528/0.138, allocations: 24.23 MB / 0.5235 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.1403, allocations: 43.81 kB / 0.5235 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00252/0.1428, allocations: 0.893 MB / 0.5244 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.1493, allocations: 2.688 MB / 0.527 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.152, allocations: 1.351 MB / 0.5283 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004976/0.157, allocations: 4.924 MB / 0.5331 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.158, allocations: 0.8505 MB / 0.534 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.1598, allocations: 1.65 MB / 0.5356 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.1615, allocations: 1.755 MB / 0.5373 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.1618, allocations: 243.9 kB / 0.5375 GB, free: 6.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.1632, allocations: 0.7067 MB / 0.5382 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.1636, allocations: 0.5758 MB / 0.5388 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.1649, allocations: 1.606 MB / 0.5403 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003672/0.1686, allocations: 3.963 MB / 0.5442 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1686, allocations: 0 / 0.5442 GB, free: 15.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1687, allocations: 0 / 0.5442 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.114e-05/0.1687, allocations: 0 / 0.5442 GB, free: 15.43 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.01242/0.1811, allocations: 4.409 MB / 0.5485 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1812, allocations: 8.031 kB / 0.5485 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.1844, allocations: 0.6316 MB / 0.5491 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.1874, allocations: 1.773 MB / 0.5509 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.1875, allocations: 163.7 kB / 0.551 GB, free: 8.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/0.1878, allocations: 220 kB / 0.5512 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003927/0.1917, allocations: 2.711 MB / 0.5539 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.1918, allocations: 11.88 kB / 0.5539 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.192, allocations: 103.9 kB / 0.554 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-05/0.1921, allocations: 48 kB / 0.554 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/0.1952, allocations: 1.939 MB / 0.5559 GB, free: 3.066 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.01624/0.2114, allocations: 14.21 MB / 0.5698 GB, free: 4.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/0.2151, allocations: 2.584 MB / 0.5723 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.2166, allocations: 1.186 MB / 0.5735 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.2167, allocations: 30.14 kB / 0.5735 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.2189, allocations: 1.643 MB / 0.5751 GB, free: 14.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=224): time 3.387e-06/0.219, allocations: 4 kB / 0.5751 GB, free: 14.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=224): time 0.00964/0.2286, allocations: 4.272 MB / 0.5793 GB, free: 10.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.2287, allocations: 103.1 kB / 0.5794 GB, free: 10.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.231, allocations: 1.859 MB / 0.5812 GB, free: 8.285 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.2312, allocations: 97.69 kB / 0.5813 GB, free: 8.184 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006995/0.2319, allocations: 0.9434 MB / 0.5822 GB, free: 7.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007555/0.2327, allocations: 0.8451 MB / 0.5831 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.234, allocations: 0.9595 MB / 0.584 GB, free: 5.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.2341, allocations: 313.1 kB / 0.5843 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.2362, allocations: 1.487 MB / 0.5857 GB, free: 3.609 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.2389, allocations: 1.999 MB / 0.5877 GB, free: 1.516 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2368/0.4757, allocations: 8.854 MB / 0.5963 GB, free: 106.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.4757, allocations: 2.469 kB / 0.5963 GB, free: 106.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.007452/0.4832, allocations: 4.749 MB / 0.601 GB, free: 104.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4832, allocations: 6.25 kB / 0.601 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.4832, allocations: 5.609 kB / 0.601 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002293/0.4855, allocations: 0.5449 MB / 0.6015 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.489, allocations: 1.03 MB / 0.6025 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006396/0.4954, allocations: 6.179 MB / 0.6086 GB, free: 100.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.4985, allocations: 369.8 kB / 0.6089 GB, free: 100.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/0.4987, allocations: 170.6 kB / 0.6091 GB, free: 100.2 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.0009473/0.4997, allocations: 0.6015 MB / 0.6097 GB, free: 99.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.5, allocations: 266.5 kB / 0.6099 GB, free: 99.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/0.5036, allocations: 2.735 MB / 0.6126 GB, free: 98.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/0.5037, allocations: 21.92 kB / 0.6126 GB, free: 98.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5037, allocations: 0 / 0.6126 GB, free: 98.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/0.5044, allocations: 0.5885 MB / 0.6132 GB, free: 98.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/0.5047, allocations: 81.09 kB / 0.6133 GB, free: 98.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.5063, allocations: 140.1 kB / 0.6134 GB, free: 98.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/0.5067, allocations: 267 kB / 0.6137 GB, free: 98.05 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004605/0.5113, allocations: 2.866 MB / 0.6165 GB, free: 96.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003596/0.5149, allocations: 3.455 MB / 0.6198 GB, free: 93.3 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001256/0.5162, allocations: 1.912 MB / 0.6217 GB, free: 91.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.5173, allocations: 1.156 MB / 0.6228 GB, free: 90.21 MB / 462.1 MB Notification: Performance of Backend: time 5.41e-07/0.5173, allocations: 4.234 kB / 0.6228 GB, free: 90.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005449/0.5227, allocations: 3.858 MB / 0.6266 GB, free: 86.38 MB / 462.1 MB Notification: Performance of SimCode: time 0.004039/0.5268, allocations: 4.189 MB / 0.6307 GB, free: 82.2 MB / 462.1 MB Notification: Performance of Templates: time 0.0433/0.5701, allocations: 39.15 MB / 0.6689 GB, free: 43.24 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)