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.0052/0.0052, allocations: 102 kB / 15.73 MB, free: 6.438 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.001088/0.001088, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2503/0.2503, allocations: 16.79 MB / 307.3 MB, free: 14.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 62.8 kB / 426.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 53.57 MB / 480.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01022/0.1347, allocations: 13.25 MB / 493.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008642/0.1434, allocations: 4.555 MB / 498 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.1457, allocations: 31.81 kB / 498 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.1476, allocations: 0.5434 MB / 498.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006434/0.1541, allocations: 2.148 MB / 0.4889 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.1563, allocations: 0.8944 MB / 0.4898 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.161, allocations: 3 MB / 0.4927 GB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.1615, allocations: 225.4 kB / 0.493 GB, free: 4.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.1632, allocations: 1.015 MB / 0.4939 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.1645, allocations: 1.101 MB / 0.495 GB, free: 1.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.1647, allocations: 120 kB / 0.4951 GB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.1658, allocations: 487.7 kB / 0.4956 GB, free: 1.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.1661, allocations: 318.4 kB / 0.4959 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009684/0.1671, allocations: 0.9715 MB / 0.4969 GB, free: 8 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.1699, allocations: 2.282 MB / 0.4991 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1699, allocations: 0 / 0.4991 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.17, allocations: 4 kB / 0.4991 GB, free: 13.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.17, allocations: 0 / 0.4991 GB, free: 13.71 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.009216/0.1792, allocations: 2.931 MB / 0.5019 GB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1793, allocations: 11.97 kB / 0.502 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.1803, allocations: 266.5 kB / 0.5022 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.1823, allocations: 1.115 MB / 0.5033 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.1824, allocations: 94.77 kB / 0.5034 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.1826, allocations: 120.4 kB / 0.5035 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.1845, allocations: 1.477 MB / 0.505 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.1846, allocations: 11.88 kB / 0.505 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.1847, allocations: 56 kB / 0.505 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.1847, allocations: 36 kB / 0.5051 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.1864, allocations: 1.124 MB / 0.5061 GB, free: 6.148 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.01039/0.1968, allocations: 9.688 MB / 0.5156 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.1988, allocations: 0.9865 MB / 0.5166 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.1993, allocations: 367.8 kB / 0.5169 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.287e-05/0.1994, allocations: 12.98 kB / 0.5169 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.1995, allocations: 55.5 kB / 0.517 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 5.811e-06/0.1995, allocations: 0 / 0.517 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=101): time 0.00449/0.204, allocations: 1.713 MB / 0.5187 GB, free: 8.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.204, allocations: 64.41 kB / 0.5187 GB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.2062, allocations: 1.489 MB / 0.5202 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.2063, allocations: 45.7 kB / 0.5202 GB, free: 7.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/0.2069, allocations: 0.7321 MB / 0.5209 GB, free: 6.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.2073, allocations: 430.7 kB / 0.5213 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009037/0.2082, allocations: 0.6965 MB / 0.522 GB, free: 5.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2084, allocations: 357.9 kB / 0.5224 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.2099, allocations: 0.937 MB / 0.5233 GB, free: 3.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.2116, allocations: 1.26 MB / 0.5245 GB, free: 2.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.2141, allocations: 1.785 MB / 0.5263 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.2142, allocations: 0 / 0.5263 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005993/0.2202, allocations: 3.113 MB / 0.5293 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.2202, allocations: 8.062 kB / 0.5293 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.2203, allocations: 4 kB / 0.5293 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.2221, allocations: 331.4 kB / 0.5296 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/0.225, allocations: 0.7568 MB / 0.5304 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/0.2306, allocations: 4.196 MB / 0.5345 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/0.2338, allocations: 249.8 kB / 0.5347 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.2341, allocations: 120 kB / 0.5348 GB, free: 7.801 MB / 414.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.0007427/0.2348, allocations: 397 kB / 0.5352 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.2351, allocations: 162 kB / 0.5353 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.2371, allocations: 1.035 MB / 0.5364 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2371, allocations: 3.984 kB / 0.5364 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2371, allocations: 8 kB / 0.5364 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006322/0.2378, allocations: 374.8 kB / 0.5367 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.238, allocations: 19.98 kB / 0.5367 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009995/0.239, allocations: 47.97 kB / 0.5368 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2391, allocations: 64.89 kB / 0.5369 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002255/0.2414, allocations: 1.05 MB / 0.5379 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001881/0.2432, allocations: 1.387 MB / 0.5392 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004877/0.2437, allocations: 327.8 kB / 0.5395 GB, free: 2.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001245/0.245, allocations: 0.9041 MB / 0.5404 GB, free: 1.969 MB / 414.1 MB Notification: Performance of Backend: time 3.11e-07/0.245, allocations: 7.938 kB / 0.5404 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004765/0.2498, allocations: 2.453 MB / 0.5428 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 0.0037/0.2535, allocations: 2.744 MB / 0.5455 GB, free: 12.7 MB / 430.1 MB Notification: Performance of Templates: time 0.0429/0.2964, allocations: 24.9 MB / 0.5698 GB, free: 3.816 MB / 446.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)