Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.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.ENTSOE.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow") translateModel(PowerGrids.Examples.ENTSOE.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006291/0.006291, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001588/0.001588, allocations: 192 kB / 16.67 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1148/0.1148, allocations: 16.77 MB / 307.3 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 59.91 kB / 426.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09167, allocations: 53.56 MB / 480.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01116/0.1029, allocations: 13.25 MB / 493.4 MB, free: 7.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006327/0.1092, allocations: 4.547 MB / 497.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.11, allocations: 31.81 kB / 498 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.1111, allocations: 0.5551 MB / 498.5 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003949/0.1151, allocations: 2.035 MB / 0.4888 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.1168, allocations: 0.8895 MB / 0.4897 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002969/0.1198, allocations: 3.011 MB / 0.4926 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.1201, allocations: 216.3 kB / 0.4928 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.1213, allocations: 0.9998 MB / 0.4938 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.1224, allocations: 1.105 MB / 0.4949 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.1225, allocations: 120 kB / 0.495 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009549/0.1235, allocations: 479.8 kB / 0.4955 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1238, allocations: 330.3 kB / 0.4958 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007694/0.1245, allocations: 0.9599 MB / 0.4967 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.1268, allocations: 2.3 MB / 0.499 GB, free: 6.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1268, allocations: 0 / 0.499 GB, free: 6.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1268, allocations: 0 / 0.499 GB, free: 6.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.1268, allocations: 0 / 0.499 GB, free: 6.148 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.008317/0.1352, allocations: 2.988 MB / 0.5019 GB, free: 3.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1352, allocations: 12.03 kB / 0.5019 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009067/0.1361, allocations: 267.6 kB / 0.5021 GB, free: 2.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.1379, allocations: 1.124 MB / 0.5032 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.138, allocations: 94.75 kB / 0.5033 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.1381, allocations: 132.3 kB / 0.5035 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1856/0.3238, allocations: 1.467 MB / 0.5049 GB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/0.3238, allocations: 15.59 kB / 0.5049 GB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.324, allocations: 53.81 kB / 0.505 GB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.791e-05/0.324, allocations: 32.47 kB / 0.505 GB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.3261, allocations: 1.125 MB / 0.5061 GB, free: 32.43 MB / 382.1 MB 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.008661/0.3348, allocations: 9.702 MB / 0.5156 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.3367, allocations: 0.9909 MB / 0.5165 GB, free: 24.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.3371, allocations: 366.4 kB / 0.5169 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/0.3372, allocations: 16.05 kB / 0.5169 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3373, allocations: 44.78 kB / 0.5169 GB, free: 24.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.885e-06/0.3373, allocations: 1.281 kB / 0.5169 GB, free: 24.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.003893/0.3412, allocations: 1.723 MB / 0.5186 GB, free: 23.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.3412, allocations: 62.56 kB / 0.5187 GB, free: 23.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.3432, allocations: 1.493 MB / 0.5201 GB, free: 22.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.3433, allocations: 47.67 kB / 0.5202 GB, free: 22.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.3439, allocations: 0.7561 MB / 0.5209 GB, free: 22.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.3443, allocations: 439 kB / 0.5213 GB, free: 22.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.3455, allocations: 0.7035 MB / 0.522 GB, free: 21.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.3456, allocations: 366.6 kB / 0.5224 GB, free: 21.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.3471, allocations: 0.9333 MB / 0.5233 GB, free: 21.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.3489, allocations: 1.264 MB / 0.5245 GB, free: 20.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.3514, allocations: 1.779 MB / 0.5263 GB, free: 19.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.3514, allocations: 1.125 kB / 0.5263 GB, free: 19.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.004889/0.3563, allocations: 3.115 MB / 0.5293 GB, free: 18.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.3563, allocations: 11.33 kB / 0.5293 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.3564, allocations: 2.75 kB / 0.5293 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.358, allocations: 323.2 kB / 0.5296 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.3604, allocations: 0.7614 MB / 0.5304 GB, free: 18.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/0.3645, allocations: 4.199 MB / 0.5345 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/0.3668, allocations: 262.4 kB / 0.5347 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.367, allocations: 120 kB / 0.5348 GB, free: 14.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (GRIDL.isSlackBus,GRID.isSlackBus,NTLV.isSlackBus,GEN.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (485): * Single equations (assignments): 483 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,0,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(17,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0005755/0.3676, allocations: 387.6 kB / 0.5352 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.3679, allocations: 168.8 kB / 0.5354 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.3696, allocations: 1.039 MB / 0.5364 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3696, allocations: 10.78 kB / 0.5364 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3696, allocations: 0 / 0.5364 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/0.3702, allocations: 384.4 kB / 0.5368 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.3704, allocations: 17.06 kB / 0.5368 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.3715, allocations: 43.61 kB / 0.5368 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3716, allocations: 71.41 kB / 0.5369 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001937/0.3735, allocations: 1.053 MB / 0.5379 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001443/0.375, allocations: 1.39 MB / 0.5393 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003608/0.3753, allocations: 329.1 kB / 0.5396 GB, free: 11.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009799/0.3763, allocations: 0.91 MB / 0.5405 GB, free: 11.27 MB / 382.1 MB Notification: Performance of Backend: time 1.112e-06/0.3763, allocations: 3.969 kB / 0.5405 GB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003783/0.3801, allocations: 2.481 MB / 0.5429 GB, free: 9.422 MB / 382.1 MB Notification: Performance of SimCode: time 0.002946/0.3831, allocations: 2.767 MB / 0.5456 GB, free: 6.621 MB / 382.1 MB Notification: Performance of Templates: time 0.0358/0.4189, allocations: 24.92 MB / 0.5699 GB, free: 13.79 MB / 414.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)