Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001781/0.001782, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.318/1.318, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1797/0.1797, allocations: 38.03 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3081, allocations: 58.05 MB / 0.5048 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.006722/0.3148, allocations: 7.299 MB / 0.5119 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.3173, allocations: 1.72 MB / 0.5136 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.3176, allocations: 28.44 kB / 0.5136 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.3183, allocations: 233.6 kB / 0.5138 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3194, allocations: 0.5791 MB / 0.5144 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3198, allocations: 219.8 kB / 0.5146 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.3211, allocations: 1.263 MB / 0.5158 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.3215, allocations: 356.8 kB / 0.5162 GB, free: 248 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007765/0.3223, allocations: 0.5542 MB / 0.5167 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.3233, allocations: 0.6372 MB / 0.5173 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.3235, allocations: 70.16 kB / 0.5174 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.3237, allocations: 64.03 kB / 0.5175 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.3241, allocations: 331.6 kB / 0.5178 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.3246, allocations: 429.9 kB / 0.5182 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.3258, allocations: 0.9292 MB / 0.5191 GB, free: 14.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3258, allocations: 0 / 0.5191 GB, free: 14.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3258, allocations: 4.938 kB / 0.5191 GB, free: 14.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3258, allocations: 0 / 0.5191 GB, free: 14.99 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001917/0.3278, allocations: 1.241 MB / 0.5203 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3278, allocations: 12.55 kB / 0.5203 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.328, allocations: 104.6 kB / 0.5204 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.3291, allocations: 0.723 MB / 0.5211 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.3292, allocations: 51.95 kB / 0.5212 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.3293, allocations: 62 kB / 0.5212 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.3305, allocations: 0.8112 MB / 0.522 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3306, allocations: 1.156 kB / 0.522 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.3306, allocations: 23.25 kB / 0.5221 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.3307, allocations: 35.78 kB / 0.5221 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009736/0.3317, allocations: 0.6156 MB / 0.5227 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.335, allocations: 2.622 MB / 0.5253 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009206/0.336, allocations: 0.6184 MB / 0.5259 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006277/0.3366, allocations: 378.6 kB / 0.5262 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.3366, allocations: 5.312 kB / 0.5262 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005857/0.3372, allocations: 491.1 kB / 0.5267 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.234e-06/0.3372, allocations: 0 / 0.5267 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.002834/0.3401, allocations: 1.994 MB / 0.5286 GB, free: 9.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.3402, allocations: 251.2 kB / 0.5289 GB, free: 9.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/0.3409, allocations: 0.5666 MB / 0.5294 GB, free: 8.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3409, allocations: 39.38 kB / 0.5295 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.3412, allocations: 410.8 kB / 0.5299 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.3414, allocations: 221.5 kB / 0.5301 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.3416, allocations: 141.1 kB / 0.5302 GB, free: 8.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3418, allocations: 386.2 kB / 0.5306 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.3421, allocations: 222.4 kB / 0.5308 GB, free: 7.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.3426, allocations: 461.1 kB / 0.5312 GB, free: 7.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.3434, allocations: 0.7926 MB / 0.532 GB, free: 6.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3435, allocations: 2.219 kB / 0.532 GB, free: 6.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001524/0.345, allocations: 0.9531 MB / 0.5329 GB, free: 6.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.345, allocations: 62.94 kB / 0.533 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3451, allocations: 7.031 kB / 0.533 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.3455, allocations: 118 kB / 0.5331 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.346, allocations: 152.3 kB / 0.5333 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.349, allocations: 3.563 MB / 0.5367 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.3496, allocations: 38.55 kB / 0.5368 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3497, allocations: 53.34 kB / 0.5368 GB, free: 2.836 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005315/0.3502, allocations: 350.3 kB / 0.5372 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3503, allocations: 76 kB / 0.5372 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.3515, allocations: 0.7861 MB / 0.538 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.984e-06/0.3516, allocations: 7.984 kB / 0.538 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3516, allocations: 0.9062 kB / 0.538 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3518, allocations: 190.4 kB / 0.5382 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-05/0.3519, allocations: 19.66 kB / 0.5382 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3522, allocations: 29.09 kB / 0.5382 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.3523, allocations: 37.36 kB / 0.5383 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001399/0.3537, allocations: 1.041 MB / 0.5393 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001582/0.3553, allocations: 1.364 MB / 0.5406 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005011/0.3558, allocations: 356.2 kB / 0.541 GB, free: 108 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004768/0.3563, allocations: 386.9 kB / 0.5413 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Backend: time 6.71e-07/0.3563, allocations: 0 / 0.5413 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.3579, allocations: 0.8638 MB / 0.5422 GB, free: 15.24 MB / 414.1 MB Notification: Performance of SimCode: time 0.002669/0.3606, allocations: 2.02 MB / 0.5441 GB, free: 13.74 MB / 414.1 MB Notification: Performance of Templates: time 0.01455/0.3752, allocations: 8.567 MB / 0.5525 GB, free: 6.5 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)