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.001652/0.001652, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00173/0.001731, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.09945/0.09945, allocations: 16.74 MB / 307.9 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.91 kB / 373.1 MB, free: 48.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08857, allocations: 53.57 MB / 426.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.008854/0.09746, allocations: 13.1 MB / 439.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006795/0.1043, allocations: 4.492 MB / 444.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008677/0.1052, allocations: 31.81 kB / 444.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.1063, allocations: 0.5396 MB / 444.9 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.1106, allocations: 2.032 MB / 446.9 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1122, allocations: 0.7958 MB / 447.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003103/0.1153, allocations: 2.895 MB / 450.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.1157, allocations: 220.1 kB / 450.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.1167, allocations: 0.9569 MB / 451.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.1178, allocations: 1.023 MB / 452.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.1179, allocations: 108 kB / 452.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009868/0.1189, allocations: 475.7 kB / 453.4 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.1192, allocations: 290.5 kB / 453.6 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007724/0.1199, allocations: 0.9211 MB / 454.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.122, allocations: 2.176 MB / 456.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.122, allocations: 0 / 456.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.122, allocations: 0 / 456.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.1221, allocations: 4 kB / 456.7 MB, free: 13.78 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.006693/0.1288, allocations: 2.4 MB / 459.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1288, allocations: 8.031 kB / 459.2 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009603/0.1298, allocations: 258.7 kB / 459.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.1317, allocations: 1.091 MB / 460.5 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.1317, allocations: 86.58 kB / 460.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.1319, allocations: 120.4 kB / 460.7 MB, free: 9.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.1336, allocations: 1.37 MB / 462.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/0.1337, allocations: 11.88 kB / 462.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1338, allocations: 52 kB / 462.1 MB, free: 8.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.1338, allocations: 28 kB / 462.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.1354, allocations: 1.01 MB / 463.2 MB, free: 7.016 MB / 334.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.01032/0.1457, allocations: 9.817 MB / 473 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.1473, allocations: 1.089 MB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.1477, allocations: 307.8 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.1478, allocations: 13 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1478, allocations: 43.56 kB / 474.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/0.1478, allocations: 3.938 kB / 474.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.003022/0.1509, allocations: 1.334 MB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1509, allocations: 60.41 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.1526, allocations: 1.399 MB / 477.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.1527, allocations: 41.7 kB / 477.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.1533, allocations: 0.7529 MB / 478 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.1536, allocations: 355.7 kB / 478.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007958/0.1544, allocations: 0.6327 MB / 479 MB, free: 6.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1545, allocations: 361.9 kB / 479.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.1558, allocations: 0.8113 MB / 480.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.1573, allocations: 1.106 MB / 481.3 MB, free: 4.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/0.1594, allocations: 1.543 MB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.1594, allocations: 7.938 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.00426/0.1636, allocations: 2.714 MB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.1637, allocations: 11.94 kB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.1637, allocations: 0 / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.1653, allocations: 305.6 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.1679, allocations: 0.6866 MB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.1719, allocations: 3.764 MB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.1742, allocations: 218.1 kB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.1744, allocations: 112 kB / 490.6 MB, free: 10.4 MB / 366.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 (440): * Single equations (assignments): 438 * 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 {(12,0)} Notification: Performance of prepare postOptimizeDAE: time 0.000559/0.1749, allocations: 365.1 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.1752, allocations: 154.1 kB / 491.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/0.1767, allocations: 0.8537 MB / 492 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1767, allocations: 3.984 kB / 492 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1768, allocations: 3.938 kB / 492 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.1773, allocations: 335.1 kB / 492.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.1775, allocations: 16 kB / 492.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/0.1784, allocations: 47.95 kB / 492.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.1785, allocations: 52.92 kB / 492.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001703/0.1802, allocations: 0.8506 MB / 493.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001436/0.1817, allocations: 1.144 MB / 494.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003615/0.1821, allocations: 259.9 kB / 494.7 MB, free: 6.258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001102/0.1832, allocations: 0.8667 MB / 495.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.1832, allocations: 0 / 495.5 MB, free: 5.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.187, allocations: 2.151 MB / 497.7 MB, free: 3.211 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.003187/0.1902, allocations: 2.545 MB / 0.4885 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of Templates: time 0.2124/0.4027, allocations: 22.25 MB / 0.5102 GB, free: 74.69 MB / 382.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 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)