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.004/0.004, allocations: 100.7 kB / 15.73 MB, free: 6.477 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.0009739/0.0009743, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.22/1.22, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1979/0.1979, allocations: 16.79 MB / 307.3 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 68.28 kB / 426.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07428/0.07543, allocations: 53.56 MB / 480.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.008381/0.08385, allocations: 13.26 MB / 493.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005976/0.08985, allocations: 4.555 MB / 498 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005089/0.09037, allocations: 27.88 kB / 498 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.09132, allocations: 0.5434 MB / 498.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.09504, allocations: 2.15 MB / 0.4889 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.09662, allocations: 0.8876 MB / 0.4898 GB, free: 7.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.09917, allocations: 3.012 MB / 0.4928 GB, free: 4.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.09949, allocations: 221.5 kB / 0.493 GB, free: 4.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.1004, allocations: 1.015 MB / 0.494 GB, free: 3.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1014, allocations: 1.109 MB / 0.495 GB, free: 1.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.1016, allocations: 120 kB / 0.4952 GB, free: 1.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007954/0.1024, allocations: 483.7 kB / 0.4956 GB, free: 1.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1026, allocations: 314.4 kB / 0.4959 GB, free: 1.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007533/0.1034, allocations: 0.9715 MB / 0.4969 GB, free: 60 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.1054, allocations: 2.282 MB / 0.4991 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1054, allocations: 3.938 kB / 0.4991 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1054, allocations: 0 / 0.4991 GB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.1054, allocations: 0 / 0.4991 GB, free: 13.77 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.007914/0.1133, allocations: 2.936 MB / 0.502 GB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1134, allocations: 12.03 kB / 0.502 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008457/0.1142, allocations: 258.6 kB / 0.5022 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.1159, allocations: 1.118 MB / 0.5033 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.1159, allocations: 90.77 kB / 0.5034 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.1161, allocations: 128.4 kB / 0.5035 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.1178, allocations: 1.474 MB / 0.505 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.1178, allocations: 11.94 kB / 0.505 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.1179, allocations: 52 kB / 0.505 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.118, allocations: 32 kB / 0.5051 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.1195, allocations: 1.128 MB / 0.5062 GB, free: 6.203 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.008515/0.1281, allocations: 9.688 MB / 0.5156 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.1298, allocations: 0.9787 MB / 0.5166 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.1304, allocations: 373.7 kB / 0.5169 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-05/0.1304, allocations: 21.05 kB / 0.517 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.1305, allocations: 47.5 kB / 0.517 GB, free: 10.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.987e-06/0.1305, allocations: 4 kB / 0.517 GB, free: 10.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=101): time 0.003884/0.1344, allocations: 1.713 MB / 0.5187 GB, free: 8.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1344, allocations: 64.34 kB / 0.5187 GB, free: 8.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.1361, allocations: 1.486 MB / 0.5202 GB, free: 7.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.1362, allocations: 49.7 kB / 0.5202 GB, free: 7.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/0.1367, allocations: 0.7321 MB / 0.5209 GB, free: 6.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003342/0.137, allocations: 430.7 kB / 0.5214 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008419/0.1378, allocations: 0.7004 MB / 0.522 GB, free: 5.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.138, allocations: 357.9 kB / 0.5224 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.1393, allocations: 0.9331 MB / 0.5233 GB, free: 4.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.1409, allocations: 1.26 MB / 0.5245 GB, free: 2.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.1432, allocations: 1.789 MB / 0.5263 GB, free: 0.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1432, allocations: 8 kB / 0.5263 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00447/0.1477, allocations: 3.105 MB / 0.5293 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.1478, allocations: 8 kB / 0.5293 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.1478, allocations: 4 kB / 0.5293 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.1494, allocations: 328 kB / 0.5296 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002498/0.1519, allocations: 0.7607 MB / 0.5304 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004484/0.1564, allocations: 4.184 MB / 0.5345 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.1584, allocations: 253.8 kB / 0.5347 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.1586, allocations: 120 kB / 0.5348 GB, free: 7.859 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.0005182/0.1591, allocations: 388.9 kB / 0.5352 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.1594, allocations: 166 kB / 0.5354 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/0.1612, allocations: 1.042 MB / 0.5364 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.1612, allocations: 7.984 kB / 0.5364 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1612, allocations: 0 / 0.5364 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.1617, allocations: 374.8 kB / 0.5367 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.1619, allocations: 19.98 kB / 0.5368 GB, free: 5.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009302/0.1628, allocations: 51.97 kB / 0.5368 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/0.1629, allocations: 64.89 kB / 0.5369 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002087/0.165, allocations: 1.05 MB / 0.5379 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001687/0.1667, allocations: 1.382 MB / 0.5392 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004315/0.1671, allocations: 327.8 kB / 0.5396 GB, free: 2.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.1682, allocations: 0.9119 MB / 0.5404 GB, free: 2.02 MB / 414.1 MB Notification: Performance of Backend: time 2.8e-07/0.1682, allocations: 7.938 kB / 0.5404 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003806/0.172, allocations: 2.457 MB / 0.5428 GB, free: 15.53 MB / 430.1 MB Notification: Performance of SimCode: time 0.003056/0.1751, allocations: 2.735 MB / 0.5455 GB, free: 12.75 MB / 430.1 MB Notification: Performance of Templates: time 0.0344/0.2095, allocations: 24.9 MB / 0.5698 GB, free: 3.875 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)