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.001319/0.001319, allocations: 103.5 kB / 16.35 MB, free: 5.879 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.001281/0.001281, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07572/0.07572, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 65.95 kB / 373.1 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09943, allocations: 53.57 MB / 426.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busShort4): time 1.322/1.421, allocations: 0.5121 GB / 0.9288 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1644/1.586, allocations: 102 MB / 1.028 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05725/1.643, allocations: 0.8926 MB / 1.029 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.02664/1.67, allocations: 7.822 MB / 1.037 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.06965/1.739, allocations: 20.52 MB / 1.057 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03019/1.769, allocations: 9.992 MB / 1.067 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07438/1.844, allocations: 50.62 MB / 1.116 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02527/1.869, allocations: 9.821 MB / 1.126 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03309/1.902, allocations: 16.62 MB / 1.142 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03075/1.933, allocations: 18.35 MB / 1.16 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.009598/1.943, allocations: 2.09 MB / 1.162 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02072/1.963, allocations: 4.175 MB / 1.166 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.01059/1.974, allocations: 5.045 MB / 1.171 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.8009/2.775, allocations: 15.74 MB / 1.186 GB, free: 54.97 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.06267/2.838, allocations: 35.33 MB / 1.221 GB, free: 53.4 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/2.838, allocations: 0 / 1.221 GB, free: 53.4 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/2.838, allocations: 2.531 kB / 1.221 GB, free: 53.4 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.001405/2.839, allocations: 1.062 kB / 1.221 GB, free: 53.4 MB / 0.7169 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.1547/2.994, allocations: 38.15 MB / 1.258 GB, free: 42.95 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/2.994, allocations: 7.625 kB / 1.258 GB, free: 42.95 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/3.017, allocations: 3.932 MB / 1.262 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04088/3.058, allocations: 15.75 MB / 1.277 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002013/3.06, allocations: 2.015 MB / 1.279 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007572/3.068, allocations: 2.045 MB / 1.281 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05394/3.122, allocations: 24.66 MB / 1.305 GB, free: 23.15 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008555/3.122, allocations: 182.6 kB / 1.305 GB, free: 23.08 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005714/3.128, allocations: 0.8778 MB / 1.306 GB, free: 22.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004457/3.129, allocations: 0.5195 MB / 1.307 GB, free: 22.28 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04374/3.172, allocations: 18.91 MB / 1.325 GB, free: 10.11 MB / 0.7169 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.5107/3.683, allocations: 174 MB / 1.495 GB, free: 353.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04595/3.729, allocations: 40.68 MB / 1.535 GB, free: 331.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01487/3.744, allocations: 8.352 MB / 1.543 GB, free: 331.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/3.745, allocations: 239.9 kB / 1.543 GB, free: 331.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01585/3.761, allocations: 9.995 MB / 1.553 GB, free: 329.4 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1902): time 2.528e-05/3.761, allocations: 0 / 1.553 GB, free: 329.4 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1902): time 0.1287/3.89, allocations: 33 MB / 1.585 GB, free: 324.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006353/3.891, allocations: 2.139 MB / 1.587 GB, free: 322.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04262/3.933, allocations: 18.1 MB / 1.605 GB, free: 316 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.005444/3.939, allocations: 457.9 kB / 1.606 GB, free: 315.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.01183/3.951, allocations: 11.71 MB / 1.617 GB, free: 308.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.01071/3.961, allocations: 6.661 MB / 1.623 GB, free: 303.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01651/3.978, allocations: 5.428 MB / 1.629 GB, free: 301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/3.978, allocations: 309 kB / 1.629 GB, free: 300.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0172/3.995, allocations: 7.738 MB / 1.637 GB, free: 294.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02359/4.019, allocations: 19.38 MB / 1.656 GB, free: 271.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04354/4.062, allocations: 29.12 MB / 1.684 GB, free: 238.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004023/4.063, allocations: 108 kB / 1.684 GB, free: 238.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4067) (initialization): time 0.0912/4.154, allocations: 35.16 MB / 1.718 GB, free: 206.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004463/4.155, allocations: 0.4929 MB / 1.719 GB, free: 206 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004736/4.155, allocations: 380 kB / 1.719 GB, free: 205.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05781/4.213, allocations: 12.78 MB / 1.732 GB, free: 193.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0221/4.235, allocations: 6.501 MB / 1.738 GB, free: 186.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05897/4.294, allocations: 58.93 MB / 1.796 GB, free: 123.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0363/4.33, allocations: 3.148 MB / 1.799 GB, free: 120.4 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005353/4.336, allocations: 1.43 MB / 1.8 GB, free: 118.9 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0267/4.362, allocations: 10.22 MB / 1.81 GB, free: 108.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02319/4.386, allocations: 19.28 MB / 1.829 GB, free: 84.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04007/4.426, allocations: 29.05 MB / 1.857 GB, free: 49.49 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002903/4.426, allocations: 112 kB / 1.857 GB, free: 49.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4067) (initialization_lambda0): time 0.1485/4.575, allocations: 42.37 MB / 1.899 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004469/4.575, allocations: 0.4957 MB / 1.899 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005729/4.576, allocations: 380 kB / 1.9 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.35/4.926, allocations: 12.03 MB / 1.911 GB, free: 404.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02358/4.949, allocations: 6.593 MB / 1.918 GB, free: 404.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1511/5.101, allocations: 101.4 MB / 2.017 GB, free: 355.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0338/5.134, allocations: 2.387 MB / 2.019 GB, free: 354.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005084/5.14, allocations: 1.427 MB / 2.021 GB, free: 354.4 MB / 0.8575 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.007666/5.147, allocations: 2.624 MB / 2.023 GB, free: 352.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009373/5.157, allocations: 2.373 MB / 2.025 GB, free: 351.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1099/5.267, allocations: 28.93 MB / 2.054 GB, free: 342.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004195/5.267, allocations: 89.55 kB / 2.054 GB, free: 342.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/5.267, allocations: 3.375 kB / 2.054 GB, free: 342.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01673/5.284, allocations: 4.36 MB / 2.058 GB, free: 339.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008586/5.292, allocations: 342.5 kB / 2.058 GB, free: 339.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02397/5.316, allocations: 0.8739 MB / 2.059 GB, free: 339 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005815/5.322, allocations: 1.658 MB / 2.061 GB, free: 338.8 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05785/5.38, allocations: 21.37 MB / 2.082 GB, free: 323.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.054/5.434, allocations: 23.32 MB / 2.105 GB, free: 301.9 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01258/5.447, allocations: 6.891 MB / 2.111 GB, free: 295.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.02305/5.47, allocations: 11.22 MB / 2.122 GB, free: 286.4 MB / 0.8575 GB Notification: Performance of Backend: time 1.092e-06/5.47, allocations: 3.938 kB / 2.122 GB, free: 286.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.1388/5.609, allocations: 54.8 MB / 2.176 GB, free: 231.1 MB / 0.8575 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.1024/5.711, allocations: 44.82 MB / 2.22 GB, free: 186.6 MB / 0.8575 GB Notification: Performance of Templates: time 1.128/6.839, allocations: 457.9 MB / 2.667 GB, free: 390.2 MB / 0.8575 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 gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.pipe 2>&1)