Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.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.Examples.IEEE14bus.IEEE14busShort4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4") translateModel(PowerGrids.Examples.IEEE14bus.IEEE14busShort4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001475/0.001474, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07542/0.07542, allocations: 16.74 MB / 307.9 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 66.62 kB / 373.1 MB, free: 48.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1089, allocations: 53.57 MB / 426.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busShort4): time 1.46/1.569, allocations: 0.5121 GB / 0.9288 GB, free: 16.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1848/1.754, allocations: 101.9 MB / 1.028 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.073/1.827, allocations: 0.8935 MB / 1.029 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.03195/1.859, allocations: 7.83 MB / 1.037 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.07644/1.935, allocations: 20.5 MB / 1.057 GB, free: 416 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0306/1.966, allocations: 10.01 MB / 1.067 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0799/2.046, allocations: 50.62 MB / 1.116 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02274/2.069, allocations: 9.795 MB / 1.126 GB, free: 12.42 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03497/2.104, allocations: 16.62 MB / 1.142 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9627/3.067, allocations: 18.35 MB / 1.16 GB, free: 31.4 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01416/3.081, allocations: 2.09 MB / 1.162 GB, free: 31.4 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02317/3.104, allocations: 4.174 MB / 1.166 GB, free: 31.4 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.01085/3.115, allocations: 5.044 MB / 1.171 GB, free: 31.4 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.04181/3.157, allocations: 15.75 MB / 1.186 GB, free: 31.05 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.06167/3.218, allocations: 35.32 MB / 1.221 GB, free: 26.25 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/3.218, allocations: 5.094 kB / 1.221 GB, free: 26.25 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.064e-06/3.218, allocations: 0 / 1.221 GB, free: 26.25 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.001178/3.22, allocations: 0 / 1.221 GB, free: 26.25 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4891 * Number of variables: 4891 Notification: Performance of Generate backend data structure: time 0.1494/3.369, allocations: 38.14 MB / 1.258 GB, free: 14.25 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/3.369, allocations: 8.344 kB / 1.258 GB, free: 14.25 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/3.393, allocations: 3.939 MB / 1.262 GB, free: 12.5 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0502/3.444, allocations: 15.74 MB / 1.277 GB, free: 6.188 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002795/3.446, allocations: 2.012 MB / 1.279 GB, free: 5.652 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007364/3.454, allocations: 2.051 MB / 1.281 GB, free: 4.41 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05694/3.511, allocations: 24.65 MB / 1.305 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001527/3.512, allocations: 178.9 kB / 1.305 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006389/3.519, allocations: 0.8809 MB / 1.306 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006829/3.52, allocations: 0.5195 MB / 1.307 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04815/3.568, allocations: 18.92 MB / 1.325 GB, free: 12.14 MB / 0.7325 GB 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.5895/4.157, allocations: 174 MB / 1.495 GB, free: 337.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04996/4.207, allocations: 40.68 MB / 1.535 GB, free: 315.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01694/4.224, allocations: 8.348 MB / 1.543 GB, free: 315.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/4.226, allocations: 238.8 kB / 1.543 GB, free: 315.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02009/4.246, allocations: 10.01 MB / 1.553 GB, free: 313.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1902): time 3.041e-05/4.247, allocations: 0 / 1.553 GB, free: 313.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1902): time 0.1388/4.385, allocations: 32.99 MB / 1.585 GB, free: 304.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006394/4.386, allocations: 2.145 MB / 1.587 GB, free: 302.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03934/4.425, allocations: 18.1 MB / 1.605 GB, free: 296.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.00551/4.431, allocations: 453.5 kB / 1.606 GB, free: 295.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.01391/4.445, allocations: 11.71 MB / 1.617 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.01111/4.456, allocations: 6.664 MB / 1.623 GB, free: 283.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0167/4.473, allocations: 5.422 MB / 1.629 GB, free: 281 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/4.473, allocations: 307.8 kB / 1.629 GB, free: 280.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01859/4.491, allocations: 7.74 MB / 1.637 GB, free: 275.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02758/4.519, allocations: 19.39 MB / 1.656 GB, free: 252.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04569/4.565, allocations: 29.12 MB / 1.684 GB, free: 219.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004574/4.565, allocations: 108 kB / 1.684 GB, free: 219.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4067) (initialization): time 0.09324/4.659, allocations: 35.16 MB / 1.718 GB, free: 187 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004373/4.659, allocations: 0.4958 MB / 1.719 GB, free: 186.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004902/4.66, allocations: 384 kB / 1.719 GB, free: 186 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05737/4.717, allocations: 12.78 MB / 1.732 GB, free: 173.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02494/4.742, allocations: 6.503 MB / 1.738 GB, free: 166.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1042/4.846, allocations: 58.92 MB / 1.796 GB, free: 103.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06008/4.906, allocations: 3.149 MB / 1.799 GB, free: 100.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008024/4.914, allocations: 1.43 MB / 1.8 GB, free: 98.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04078/4.955, allocations: 10.23 MB / 1.81 GB, free: 88.42 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03487/4.99, allocations: 19.28 MB / 1.829 GB, free: 63.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06168/5.052, allocations: 29.05 MB / 1.857 GB, free: 29.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003404/5.052, allocations: 115.9 kB / 1.857 GB, free: 29.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4067) (initialization_lambda0): time 0.4746/5.527, allocations: 42.38 MB / 1.899 GB, free: 380.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004367/5.527, allocations: 0.491 MB / 1.899 GB, free: 380.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005951/5.528, allocations: 378.4 kB / 1.9 GB, free: 380.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05774/5.586, allocations: 12.02 MB / 1.911 GB, free: 380 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02288/5.609, allocations: 6.59 MB / 1.918 GB, free: 380 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1606/5.769, allocations: 101.4 MB / 2.017 GB, free: 329.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0397/5.809, allocations: 2.39 MB / 2.019 GB, free: 329.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007117/5.816, allocations: 1.431 MB / 2.021 GB, free: 329 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1742 * Number of states: 0 () * Number of discrete variables: 101 (L1to5.breakerStatusInternalA,L1to5.breakerStatusInternalB,Tgen2.breakerStatusInInternal,FAULT4.fault,$PRE.FAULT4.fault,$whenCondition44,$whenCondition43,$whenCondition42,$whenCondition41,FAULT4.Y.im,$PRE.FAULT4.Y.im,FAULT4.Y.re,$PRE.FAULT4.Y.re,GEN8.AVR.limiterWithLag.satON,$PRE.GEN8.AVR.limiterWithLag.satON,GEN8.AVR.limiterWithLag.saturationLimitReached,$PRE.GEN8.AVR.limiterWithLag.saturationLimitReached,GEN8.AVR.limiterWithLag.state,$PRE.GEN8.AVR.limiterWithLag.state,GEN6.AVR.limiterWithLag.satON,$PRE.GEN6.AVR.limiterWithLag.satON,GEN6.AVR.limiterWithLag.saturationLimitReached,$PRE.GEN6.AVR.limiterWithLag.saturationLimitReached,GEN6.AVR.limiterWithLag.state,$PRE.GEN6.AVR.limiterWithLag.state,GEN3.AVR.limiterWithLag.satON,$PRE.GEN3.AVR.limiterWithLag.satON,GEN3.AVR.limiterWithLag.saturationLimitReached,$PRE.GEN3.AVR.limiterWithLag.saturationLimitReached,GEN3.AVR.limiterWithLag.state,$PRE.GEN3.AVR.limiterWithLag.state,GEN2.AVR.limiterWithLag.satON,$PRE.GEN2.AVR.limiterWithLag.satON,GEN2.AVR.limiterWithLag.saturationLimitReached,$PRE.GEN2.AVR.limiterWithLag.saturationLimitReached,GEN2.AVR.limiterWithLag.state,$PRE.GEN2.AVR.limiterWithLag.state,GEN1.AVR.limiterWithLag.satON,$PRE.GEN1.AVR.limiterWithLag.satON,GEN1.AVR.limiterWithLag.saturationLimitReached,$PRE.GEN1.AVR.limiterWithLag.saturationLimitReached,GEN1.AVR.limiterWithLag.state,$PRE.GEN1.AVR.limiterWithLag.state,$PRE.Tgen2.breakerStatusInInternal,Tgen2.breakerStatus,$PRE.Tgen2.breakerStatus,$PRE.L1to5.breakerStatusInternalB,$PRE.L1to5.breakerStatusInternalA,L1to5.breakerStatus,$PRE.L1to5.breakerStatus,$whenCondition40,$whenCondition39,$whenCondition38,$whenCondition37,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,GEN8.GEN.isSlackBusPF,GEN8.isSlackBus,GEN6.GEN.isSlackBusPF,GEN6.isSlackBus,GEN3.GEN.isSlackBusPF,GEN3.isSlackBus,GEN2.GEN.isSlackBusPF,GEN2.isSlackBus,GEN1.GEN.isSlackBusPF,GEN1.isSlackBus,bus1.isSlackBusPF) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3464): * Single equations (assignments): 3426 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 32 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 22 systems {(501,4), (29,1), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.01195/5.828, allocations: 2.604 MB / 2.023 GB, free: 327.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01213/5.84, allocations: 2.379 MB / 2.025 GB, free: 326.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.126/5.966, allocations: 28.94 MB / 2.054 GB, free: 316.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004697/5.967, allocations: 86.67 kB / 2.054 GB, free: 316.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/5.967, allocations: 0 / 2.054 GB, free: 316.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02003/5.987, allocations: 4.355 MB / 2.058 GB, free: 313 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01079/5.998, allocations: 344.4 kB / 2.058 GB, free: 312.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02386/6.022, allocations: 0.8735 MB / 2.059 GB, free: 312.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005478/6.027, allocations: 1.653 MB / 2.061 GB, free: 311.4 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05894/6.086, allocations: 21.37 MB / 2.082 GB, free: 290.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0521/6.138, allocations: 23.32 MB / 2.105 GB, free: 267 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01153/6.15, allocations: 6.897 MB / 2.111 GB, free: 260.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.02364/6.173, allocations: 11.22 MB / 2.122 GB, free: 249 MB / 0.8419 GB Notification: Performance of Backend: time 9.12e-07/6.173, allocations: 0 / 2.122 GB, free: 249 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.1403/6.314, allocations: 54.81 MB / 2.176 GB, free: 193.4 MB / 0.8419 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.1047/6.419, allocations: 44.84 MB / 2.22 GB, free: 148.9 MB / 0.8419 GB Notification: Performance of Templates: time 1.241/7.66, allocations: 457.9 MB / 2.667 GB, free: 354.6 MB / 0.8419 GB make -j1 -f PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.sim & ./PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.pipe 2>&1)