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.004438/0.004438, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001007/0.001007, allocations: 193.7 kB / 16.67 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.219/1.219, allocations: 222.9 MB / 240.4 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.07119/0.07119, allocations: 16.77 MB / 307.3 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.91 kB / 426.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08066/0.08171, allocations: 53.55 MB / 480.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.IEEE14bus.IEEE14busShort4): time 1.046/1.127, allocations: 0.5154 GB / 0.9843 GB, free: 20.04 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1344/1.262, allocations: 103 MB / 1.085 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04616/1.308, allocations: 0.914 MB / 1.086 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.02322/1.331, allocations: 7.82 MB / 1.093 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.05795/1.389, allocations: 20.52 MB / 1.114 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02497/1.414, allocations: 9.998 MB / 1.123 GB, free: 5.113 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0614/1.476, allocations: 50.61 MB / 1.173 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01939/1.495, allocations: 9.826 MB / 1.182 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0255/1.521, allocations: 16.61 MB / 1.199 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02686/1.548, allocations: 18.36 MB / 1.216 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.007622/1.555, allocations: 2.09 MB / 1.218 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01782/1.573, allocations: 4.177 MB / 1.223 GB, free: 5.359 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.007333/1.58, allocations: 5.044 MB / 1.227 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.02552/1.606, allocations: 15.74 MB / 1.243 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.7361/2.342, allocations: 35.59 MB / 1.278 GB, free: 89.9 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/2.342, allocations: 3.188 kB / 1.278 GB, free: 89.9 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/2.342, allocations: 0 / 1.278 GB, free: 89.9 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001419/2.344, allocations: 2.25 kB / 1.278 GB, free: 89.9 MB / 0.795 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.1449/2.488, allocations: 38.85 MB / 1.316 GB, free: 78.67 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/2.489, allocations: 9.062 kB / 1.316 GB, free: 78.67 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02231/2.511, allocations: 4.077 MB / 1.32 GB, free: 77.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04161/2.553, allocations: 15.91 MB / 1.335 GB, free: 73.39 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00208/2.555, allocations: 2.01 MB / 1.337 GB, free: 72.87 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005785/2.56, allocations: 2.048 MB / 1.339 GB, free: 72.86 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04429/2.605, allocations: 24.65 MB / 1.363 GB, free: 57.53 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000941/2.606, allocations: 180.8 kB / 1.363 GB, free: 57.46 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004559/2.61, allocations: 0.8836 MB / 1.364 GB, free: 57.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000433/2.611, allocations: 0.5195 MB / 1.365 GB, free: 56.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03403/2.645, allocations: 18.92 MB / 1.383 GB, free: 44.49 MB / 0.795 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.1806/2.825, allocations: 174.2 MB / 1.553 GB, free: 13.5 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2742/3.1, allocations: 40.67 MB / 1.593 GB, free: 0.5035 GB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01636/3.116, allocations: 8.391 MB / 1.601 GB, free: 0.5034 GB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/3.118, allocations: 234 kB / 1.601 GB, free: 0.5033 GB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01478/3.132, allocations: 9.999 MB / 1.611 GB, free: 0.5015 GB / 0.9513 GB Notification: Performance of pre-optimization done (n=1902): time 2.118e-05/3.132, allocations: 2.297 kB / 1.611 GB, free: 0.5015 GB / 0.9513 GB Notification: Performance of matching and sorting (n=1902): time 0.1081/3.24, allocations: 33.12 MB / 1.644 GB, free: 0.4966 GB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005137/3.241, allocations: 2.143 MB / 1.646 GB, free: 0.4942 GB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02589/3.267, allocations: 18.13 MB / 1.663 GB, free: 500 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.003467/3.27, allocations: 458.9 kB / 1.664 GB, free: 499.6 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.007794/3.278, allocations: 12.04 MB / 1.676 GB, free: 492.5 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.00764/3.286, allocations: 6.979 MB / 1.682 GB, free: 487.2 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007084/3.293, allocations: 5.45 MB / 1.688 GB, free: 484.5 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/3.293, allocations: 306.6 kB / 1.688 GB, free: 484.2 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01148/3.305, allocations: 7.736 MB / 1.695 GB, free: 481.1 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01566/3.32, allocations: 19.38 MB / 1.714 GB, free: 460.7 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03326/3.353, allocations: 29.12 MB / 1.743 GB, free: 426.8 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002338/3.354, allocations: 108 kB / 1.743 GB, free: 426.7 MB / 0.9513 GB Notification: Performance of matching and sorting (n=4067) (initialization): time 0.07259/3.426, allocations: 35.27 MB / 1.777 GB, free: 394.4 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004913/3.427, allocations: 0.4976 MB / 1.778 GB, free: 393.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005032/3.427, allocations: 380 kB / 1.778 GB, free: 393.4 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05506/3.482, allocations: 12.78 MB / 1.791 GB, free: 381.9 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02026/3.503, allocations: 6.505 MB / 1.797 GB, free: 375.4 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05598/3.559, allocations: 58.98 MB / 1.855 GB, free: 312.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0318/3.591, allocations: 3.224 MB / 1.858 GB, free: 308.8 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003995/3.595, allocations: 1.434 MB / 1.859 GB, free: 307.4 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02355/3.618, allocations: 10.22 MB / 1.869 GB, free: 297.2 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01956/3.638, allocations: 19.29 MB / 1.888 GB, free: 272.5 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03521/3.673, allocations: 29.05 MB / 1.916 GB, free: 237.9 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002664/3.673, allocations: 112 kB / 1.917 GB, free: 237.8 MB / 0.9513 GB Notification: Performance of matching and sorting (n=4067) (initialization_lambda0): time 0.1352/3.808, allocations: 42.49 MB / 1.958 GB, free: 195.1 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004908/3.809, allocations: 0.4909 MB / 1.958 GB, free: 194.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003926/3.809, allocations: 380 kB / 1.959 GB, free: 194.2 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05247/3.862, allocations: 12.03 MB / 1.971 GB, free: 182.1 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0201/3.882, allocations: 6.599 MB / 1.977 GB, free: 175.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1331/4.015, allocations: 101.6 MB / 2.076 GB, free: 69.49 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03137/4.047, allocations: 2.433 MB / 2.079 GB, free: 67.04 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004106/4.051, allocations: 1.441 MB / 2.08 GB, free: 65.6 MB / 0.9513 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.006571/4.057, allocations: 2.613 MB / 2.083 GB, free: 62.91 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007284/4.065, allocations: 2.488 MB / 2.085 GB, free: 60.41 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1006/4.165, allocations: 28.93 MB / 2.113 GB, free: 31.34 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004162/4.166, allocations: 87.61 kB / 2.113 GB, free: 31.25 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/4.166, allocations: 7.922 kB / 2.113 GB, free: 31.25 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01478/4.18, allocations: 4.481 MB / 2.118 GB, free: 26.73 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007492/4.188, allocations: 340 kB / 2.118 GB, free: 26.39 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02092/4.209, allocations: 0.8816 MB / 2.119 GB, free: 25.51 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003988/4.213, allocations: 1.647 MB / 2.121 GB, free: 23.86 MB / 0.9513 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3195/4.532, allocations: 21.4 MB / 2.141 GB, free: 449.5 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03461/4.567, allocations: 23.46 MB / 2.164 GB, free: 448.1 MB / 0.9513 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009319/4.576, allocations: 6.887 MB / 2.171 GB, free: 445.9 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.01683/4.593, allocations: 11.22 MB / 2.182 GB, free: 441.9 MB / 0.9513 GB Notification: Performance of Backend: time 5.41e-07/4.593, allocations: 2 kB / 2.182 GB, free: 441.9 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.12/4.713, allocations: 54.98 MB / 2.236 GB, free: 418.6 MB / 0.9513 GB Notification: Performance of SimCode: time 0.09095/4.804, allocations: 45.65 MB / 2.28 GB, free: 380.1 MB / 0.9513 GB Notification: Performance of Templates: time 0.845/5.649, allocations: 468 MB / 2.737 GB, free: 357.6 MB / 0.9513 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 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.IEEE14bus.IEEE14busShort4.pipe 2>&1)