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.008011/0.008011, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.002099/0.002099, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1975/0.1975, allocations: 16.67 MB / 307.2 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.22 kB / 426.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09432, allocations: 53.56 MB / 480.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busShort4): time 1.045/1.139, allocations: 0.5154 GB / 0.9842 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.6531/1.792, allocations: 103 MB / 1.085 GB, free: 6.426 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05993/1.852, allocations: 0.9082 MB / 1.086 GB, free: 6.426 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.02981/1.882, allocations: 7.829 MB / 1.093 GB, free: 6.422 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.06628/1.949, allocations: 20.51 MB / 1.113 GB, free: 5.945 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02927/1.978, allocations: 9.997 MB / 1.123 GB, free: 5.43 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.07251/2.05, allocations: 50.61 MB / 1.173 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02359/2.074, allocations: 9.815 MB / 1.182 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03635/2.11, allocations: 16.62 MB / 1.198 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03432/2.145, allocations: 18.36 MB / 1.216 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.01007/2.155, allocations: 2.09 MB / 1.218 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02138/2.176, allocations: 4.181 MB / 1.222 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.009387/2.186, allocations: 5.04 MB / 1.227 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.03848/2.224, allocations: 15.75 MB / 1.243 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.06972/2.294, allocations: 35.59 MB / 1.277 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/2.294, allocations: 8 kB / 1.277 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/2.294, allocations: 4 kB / 1.278 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001104/2.295, allocations: 0 / 1.278 GB, free: 2.75 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.1487/2.444, allocations: 38.85 MB / 1.315 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/2.444, allocations: 8.031 kB / 1.315 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02104/2.465, allocations: 4.075 MB / 1.319 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04531/2.51, allocations: 15.94 MB / 1.335 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002723/2.513, allocations: 2.02 MB / 1.337 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006241/2.519, allocations: 2.043 MB / 1.339 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05777/2.577, allocations: 24.65 MB / 1.363 GB, free: 7.852 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008598/2.578, allocations: 178.3 kB / 1.363 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004496/2.582, allocations: 0.8828 MB / 1.364 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005189/2.583, allocations: 0.5234 MB / 1.365 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04864/2.632, allocations: 18.91 MB / 1.383 GB, free: 3.324 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.7259/3.358, allocations: 174.2 MB / 1.553 GB, free: 46.05 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04491/3.403, allocations: 40.67 MB / 1.593 GB, free: 17.79 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01645/3.419, allocations: 8.397 MB / 1.601 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002091/3.421, allocations: 231.8 kB / 1.601 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02103/3.442, allocations: 10.01 MB / 1.611 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1902): time 3.022e-05/3.442, allocations: 5.75 kB / 1.611 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1902): time 0.1387/3.581, allocations: 33.12 MB / 1.643 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001543/3.583, allocations: 2.143 MB / 1.646 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04506/3.628, allocations: 18.14 MB / 1.663 GB, free: 2.781 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.003623/3.631, allocations: 453.7 kB / 1.664 GB, free: 2.332 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01469/3.646, allocations: 12.03 MB / 1.675 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.01192/3.658, allocations: 6.972 MB / 1.682 GB, free: 480 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0201/3.678, allocations: 5.447 MB / 1.688 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001684/3.678, allocations: 301.1 kB / 1.688 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02117/3.699, allocations: 7.744 MB / 1.695 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6173/4.317, allocations: 19.37 MB / 1.714 GB, free: 0.5047 GB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05059/4.367, allocations: 29.12 MB / 1.743 GB, free: 0.4889 GB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004754/4.368, allocations: 107.5 kB / 1.743 GB, free: 0.4889 GB / 0.9669 GB Notification: Performance of matching and sorting (n=4067) (initialization): time 0.09332/4.461, allocations: 35.28 MB / 1.777 GB, free: 489.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.000958/4.462, allocations: 0.4926 MB / 1.778 GB, free: 489 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009437/4.463, allocations: 384.1 kB / 1.778 GB, free: 489 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05958/4.523, allocations: 12.78 MB / 1.791 GB, free: 487.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02209/4.545, allocations: 6.503 MB / 1.797 GB, free: 486.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05905/4.604, allocations: 58.98 MB / 1.855 GB, free: 437.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03491/4.639, allocations: 3.229 MB / 1.858 GB, free: 436 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005151/4.644, allocations: 1.427 MB / 1.859 GB, free: 435.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02395/4.668, allocations: 10.22 MB / 1.869 GB, free: 428.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02382/4.692, allocations: 19.3 MB / 1.888 GB, free: 405.1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04421/4.736, allocations: 29.04 MB / 1.916 GB, free: 371.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0003842/4.737, allocations: 114.7 kB / 1.916 GB, free: 371 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4067) (initialization_lambda0): time 0.1526/4.889, allocations: 42.48 MB / 1.958 GB, free: 331.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007398/4.89, allocations: 0.4989 MB / 1.958 GB, free: 330.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006417/4.891, allocations: 384 kB / 1.959 GB, free: 330.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05664/4.948, allocations: 12.03 MB / 1.971 GB, free: 318.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02277/4.97, allocations: 6.587 MB / 1.977 GB, free: 311.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.159/5.129, allocations: 101.6 MB / 2.076 GB, free: 205.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03583/5.165, allocations: 2.431 MB / 2.079 GB, free: 203.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005313/5.171, allocations: 1.43 MB / 2.08 GB, free: 202 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.01131/5.182, allocations: 2.612 MB / 2.083 GB, free: 199.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009668/5.192, allocations: 2.492 MB / 2.085 GB, free: 197 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1284/5.32, allocations: 28.93 MB / 2.113 GB, free: 167.9 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005194/5.321, allocations: 92.86 kB / 2.113 GB, free: 167.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/5.321, allocations: 0 / 2.113 GB, free: 167.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01574/5.336, allocations: 4.473 MB / 2.118 GB, free: 163.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008841/5.345, allocations: 348 kB / 2.118 GB, free: 163 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02356/5.369, allocations: 0.8778 MB / 2.119 GB, free: 162.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006538/5.376, allocations: 1.648 MB / 2.12 GB, free: 160.4 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06369/5.439, allocations: 21.42 MB / 2.141 GB, free: 139.2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05669/5.496, allocations: 23.45 MB / 2.164 GB, free: 115.6 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01318/5.509, allocations: 6.889 MB / 2.171 GB, free: 108.7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.02131/5.531, allocations: 11.22 MB / 2.182 GB, free: 97.57 MB / 0.9669 GB Notification: Performance of Backend: time 2.034e-06/5.531, allocations: 0 / 2.182 GB, free: 97.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.422/5.953, allocations: 54.98 MB / 2.236 GB, free: 472.5 MB / 0.9669 GB Notification: Performance of SimCode: time 0.1067/6.059, allocations: 45.66 MB / 2.28 GB, free: 456.2 MB / 0.9669 GB Notification: Performance of Templates: time 0.9804/7.04, allocations: 468.1 MB / 2.737 GB, free: 455.5 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)