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.001094/0.001094, allocations: 113.4 kB / 16.37 MB, free: 5.953 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.0009999/0.001, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0755/0.0755, allocations: 16.75 MB / 307.9 MB, free: 14.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 63.72 kB / 373.2 MB, free: 48.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 53.57 MB / 426.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget): time 0.0243/0.1289, allocations: 31.46 MB / 458.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03056/0.1595, allocations: 24.06 MB / 482.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/0.1625, allocations: 47.81 kB / 482.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.1659, allocations: 0.8853 MB / 483.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007758/0.1736, allocations: 2.668 MB / 485.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.1769, allocations: 1.279 MB / 487.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006888/0.1838, allocations: 4.844 MB / 492 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.1855, allocations: 0.831 MB / 492.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.1882, allocations: 1.619 MB / 494.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/0.1911, allocations: 1.704 MB / 496.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007289/0.1918, allocations: 232 kB / 496.3 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.1941, allocations: 0.695 MB / 497 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007854/0.1949, allocations: 0.5446 MB / 497.6 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002858/0.1977, allocations: 1.575 MB / 499.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005472/0.2032, allocations: 3.84 MB / 0.4912 GB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2032, allocations: 0 / 0.4912 GB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2032, allocations: 4 kB / 0.4912 GB, free: 15.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000109/0.2034, allocations: 0 / 0.4912 GB, free: 15.41 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.01463/0.218, allocations: 3.982 MB / 0.4951 GB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.2181, allocations: 8.031 kB / 0.4951 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/0.2223, allocations: 0.6107 MB / 0.4957 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005246/0.2276, allocations: 1.744 MB / 0.4974 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.2278, allocations: 155.5 kB / 0.4976 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007364/0.2286, allocations: 220 kB / 0.4978 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006061/0.2346, allocations: 2.632 MB / 0.5003 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.2347, allocations: 11.88 kB / 0.5004 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/0.2351, allocations: 99.97 kB / 0.5004 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.2352, allocations: 44 kB / 0.5005 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/0.2387, allocations: 1.842 MB / 0.5023 GB, free: 3.711 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.2145/0.4533, allocations: 14.03 MB / 0.516 GB, free: 71.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/0.4569, allocations: 2.769 MB / 0.5187 GB, free: 70.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.4582, allocations: 1.15 MB / 0.5198 GB, free: 70.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.4583, allocations: 25.53 kB / 0.5198 GB, free: 70.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002322/0.4606, allocations: 1.588 MB / 0.5214 GB, free: 69.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.268e-06/0.4606, allocations: 2.344 kB / 0.5214 GB, free: 69.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=216): time 0.007851/0.4685, allocations: 3.686 MB / 0.525 GB, free: 68.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.4686, allocations: 105.3 kB / 0.5251 GB, free: 68.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.471, allocations: 1.788 MB / 0.5268 GB, free: 67.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.4713, allocations: 93.98 kB / 0.5269 GB, free: 67.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.4719, allocations: 0.9113 MB / 0.5278 GB, free: 66.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.4724, allocations: 0.782 MB / 0.5286 GB, free: 66.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/0.4735, allocations: 0.9118 MB / 0.5295 GB, free: 65.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.4735, allocations: 304.9 kB / 0.5298 GB, free: 65.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.4753, allocations: 1.399 MB / 0.5311 GB, free: 64.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.4774, allocations: 1.883 MB / 0.533 GB, free: 63.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03515/0.5126, allocations: 8.422 MB / 0.5412 GB, free: 56.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.5127, allocations: 0 / 0.5412 GB, free: 56.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=670) (initialization): time 0.006151/0.5188, allocations: 4.427 MB / 0.5455 GB, free: 52.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.5189, allocations: 8 kB / 0.5455 GB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5189, allocations: 4 kB / 0.5455 GB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.5209, allocations: 0.4896 MB / 0.546 GB, free: 51.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003327/0.5243, allocations: 0.9986 MB / 0.547 GB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.5296, allocations: 5.353 MB / 0.5522 GB, free: 45.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/0.5332, allocations: 359.1 kB / 0.5525 GB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.5335, allocations: 160 kB / 0.5527 GB, free: 44.75 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.001084/0.5345, allocations: 0.5883 MB / 0.5533 GB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004216/0.535, allocations: 249.2 kB / 0.5535 GB, free: 43.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.5385, allocations: 2.565 MB / 0.556 GB, free: 41.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.5386, allocations: 15.89 kB / 0.556 GB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5386, allocations: 0 / 0.556 GB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.5397, allocations: 0.5626 MB / 0.5566 GB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.5401, allocations: 75.94 kB / 0.5567 GB, free: 40.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.5418, allocations: 139.7 kB / 0.5568 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004553/0.5422, allocations: 259.1 kB / 0.557 GB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004308/0.5465, allocations: 2.653 MB / 0.5596 GB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003898/0.5505, allocations: 3.282 MB / 0.5628 GB, free: 34.34 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001298/0.5518, allocations: 1.869 MB / 0.5647 GB, free: 32.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.5531, allocations: 1.107 MB / 0.5657 GB, free: 31.38 MB / 382.1 MB Notification: Performance of Backend: time 5.11e-07/0.5531, allocations: 0 / 0.5657 GB, free: 31.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005971/0.5591, allocations: 3.549 MB / 0.5692 GB, free: 27.86 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.004759/0.5639, allocations: 3.917 MB / 0.573 GB, free: 23.93 MB / 382.1 MB Notification: Performance of Templates: time 0.05169/0.6156, allocations: 36.53 MB / 0.6087 GB, free: 3.57 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 gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerWithTapChangerTarget.pipe 2>&1)