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.006423/0.006423, allocations: 98.52 kB / 15.73 MB, free: 5.527 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: 187.5 kB / 16.67 MB, free: 5.465 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1987/0.1987, allocations: 16.67 MB / 307.2 MB, free: 14.78 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.84 kB / 426.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1131, allocations: 53.56 MB / 480.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busShort4): time 1.129/1.242, allocations: 0.5154 GB / 0.9842 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.7305/1.972, allocations: 103 MB / 1.085 GB, free: 6.445 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06451/2.037, allocations: 0.9087 MB / 1.086 GB, free: 6.445 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0285/2.065, allocations: 7.819 MB / 1.093 GB, free: 6.445 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.07127/2.137, allocations: 20.52 MB / 1.113 GB, free: 5.965 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.03179/2.169, allocations: 9.992 MB / 1.123 GB, free: 5.445 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.1107/2.279, allocations: 50.62 MB / 1.173 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02871/2.308, allocations: 9.824 MB / 1.182 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04345/2.351, allocations: 16.61 MB / 1.198 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04146/2.393, allocations: 18.36 MB / 1.216 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.01292/2.406, allocations: 2.086 MB / 1.218 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02377/2.43, allocations: 4.184 MB / 1.222 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01109/2.441, allocations: 5.053 MB / 1.227 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04827/2.489, allocations: 15.74 MB / 1.243 GB, free: 5.109 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.08044/2.57, allocations: 35.59 MB / 1.278 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/2.57, allocations: 0 / 1.278 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/2.57, allocations: 0 / 1.278 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001534/2.571, allocations: 0 / 1.278 GB, free: 2.93 MB / 0.7794 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.1608/2.732, allocations: 38.86 MB / 1.315 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/2.732, allocations: 12.03 kB / 1.315 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02565/2.758, allocations: 4.071 MB / 1.319 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04628/2.804, allocations: 15.93 MB / 1.335 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002713/2.807, allocations: 2.008 MB / 1.337 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006658/2.814, allocations: 2.043 MB / 1.339 GB, free: 4.293 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06322/2.877, allocations: 24.66 MB / 1.363 GB, free: 8.035 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00128/2.878, allocations: 190.2 kB / 1.363 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006252/2.884, allocations: 0.8789 MB / 1.364 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007257/2.885, allocations: 0.5234 MB / 1.365 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05125/2.936, allocations: 18.91 MB / 1.383 GB, free: 3.508 MB / 0.8887 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.7185/3.655, allocations: 174.2 MB / 1.553 GB, free: 45.86 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05044/3.705, allocations: 40.66 MB / 1.593 GB, free: 17.77 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01654/3.722, allocations: 8.394 MB / 1.601 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001959/3.724, allocations: 238 kB / 1.601 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02282/3.747, allocations: 10.01 MB / 1.611 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1902): time 4.912e-05/3.747, allocations: 0 / 1.611 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1902): time 0.1424/3.889, allocations: 33.11 MB / 1.643 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001994/3.891, allocations: 2.144 MB / 1.646 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04968/3.941, allocations: 18.13 MB / 1.663 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.004504/3.946, allocations: 453.7 kB / 1.664 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01562/3.961, allocations: 12.04 MB / 1.675 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.01293/3.974, allocations: 6.979 MB / 1.682 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0191/3.993, allocations: 5.455 MB / 1.688 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000143/3.994, allocations: 305.1 kB / 1.688 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02069/4.014, allocations: 7.734 MB / 1.695 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6363/4.651, allocations: 19.37 MB / 1.714 GB, free: 0.5042 GB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05671/4.707, allocations: 29.12 MB / 1.743 GB, free: 0.4884 GB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004948/4.708, allocations: 112.5 kB / 1.743 GB, free: 0.4884 GB / 0.9669 GB Notification: Performance of matching and sorting (n=4067) (initialization): time 0.09957/4.808, allocations: 35.28 MB / 1.777 GB, free: 488.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006892/4.808, allocations: 0.4928 MB / 1.778 GB, free: 488.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006844/4.809, allocations: 381.5 kB / 1.778 GB, free: 488.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06028/4.869, allocations: 12.78 MB / 1.791 GB, free: 486.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02373/4.893, allocations: 6.504 MB / 1.797 GB, free: 486 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06395/4.957, allocations: 58.99 MB / 1.855 GB, free: 436.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03675/4.994, allocations: 3.222 MB / 1.858 GB, free: 435.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005599/5, allocations: 1.431 MB / 1.859 GB, free: 435.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02723/5.027, allocations: 10.23 MB / 1.869 GB, free: 428.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02572/5.053, allocations: 19.29 MB / 1.888 GB, free: 404.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04895/5.102, allocations: 29.04 MB / 1.916 GB, free: 370.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0004946/5.102, allocations: 108 kB / 1.916 GB, free: 370.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4067) (initialization_lambda0): time 0.165/5.267, allocations: 42.5 MB / 1.958 GB, free: 330.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000935/5.268, allocations: 0.4921 MB / 1.958 GB, free: 330.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008092/5.269, allocations: 380 kB / 1.959 GB, free: 330 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05838/5.327, allocations: 12.03 MB / 1.971 GB, free: 317.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02312/5.35, allocations: 6.591 MB / 1.977 GB, free: 311.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1623/5.513, allocations: 101.6 MB / 2.076 GB, free: 205.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03779/5.551, allocations: 2.444 MB / 2.079 GB, free: 203.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005179/5.556, allocations: 1.43 MB / 2.08 GB, free: 201.8 MB / 0.9669 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.009931/5.566, allocations: 2.601 MB / 2.083 GB, free: 199.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01123/5.577, allocations: 2.496 MB / 2.085 GB, free: 196.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1343/5.711, allocations: 28.93 MB / 2.113 GB, free: 167.7 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004891/5.712, allocations: 87.66 kB / 2.113 GB, free: 167.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-05/5.712, allocations: 4 kB / 2.113 GB, free: 167.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02103/5.733, allocations: 4.477 MB / 2.118 GB, free: 163.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01012/5.743, allocations: 340 kB / 2.118 GB, free: 162.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02262/5.766, allocations: 0.8816 MB / 2.119 GB, free: 161.9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004953/5.771, allocations: 1.643 MB / 2.12 GB, free: 160.3 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05592/5.827, allocations: 21.41 MB / 2.141 GB, free: 139 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0479/5.875, allocations: 23.46 MB / 2.164 GB, free: 115.4 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01226/5.887, allocations: 6.889 MB / 2.171 GB, free: 108.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.02299/5.91, allocations: 11.23 MB / 2.182 GB, free: 97.4 MB / 0.9669 GB Notification: Performance of Backend: time 6.51e-07/5.91, allocations: 0 / 2.182 GB, free: 97.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.5065/6.417, allocations: 54.97 MB / 2.236 GB, free: 471.8 MB / 0.9669 GB Notification: Performance of SimCode: time 0.1176/6.534, allocations: 45.67 MB / 2.28 GB, free: 455.4 MB / 0.9669 GB Notification: Performance of Templates: time 1.015/7.549, allocations: 468.1 MB / 2.737 GB, free: 454.3 MB / 0.9669 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.pipe 2>&1)