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.003622/0.003622, allocations: 96.55 kB / 15.73 MB, free: 5.988 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.0009327/0.0009327, allocations: 187.8 kB / 16.67 MB, free: 5.918 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.194/0.194, allocations: 16.78 MB / 307.3 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 62.11 kB / 426.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0722/0.07334, allocations: 53.58 MB / 480.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.008304/0.08169, allocations: 13.26 MB / 493.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006026/0.08774, allocations: 4.548 MB / 498 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005278/0.08828, allocations: 31.81 kB / 498 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009469/0.08923, allocations: 0.5473 MB / 498.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003722/0.09299, allocations: 2.149 MB / 0.489 GB, free: 8.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.09457, allocations: 0.885 MB / 0.4898 GB, free: 7.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.09713, allocations: 3.003 MB / 0.4927 GB, free: 4.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.09745, allocations: 213.5 kB / 0.493 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.09835, allocations: 1.031 MB / 0.494 GB, free: 3.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009983/0.09936, allocations: 1.097 MB / 0.495 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.09952, allocations: 120 kB / 0.4951 GB, free: 1.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007618/0.1003, allocations: 483.7 kB / 0.4956 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.1005, allocations: 322.4 kB / 0.4959 GB, free: 1.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007331/0.1013, allocations: 0.9715 MB / 0.4969 GB, free: 100 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.1033, allocations: 2.292 MB / 0.4991 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1033, allocations: 0 / 0.4991 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1034, allocations: 0 / 0.4991 GB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.1034, allocations: 0 / 0.4991 GB, free: 13.8 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.00827/0.1116, allocations: 2.988 MB / 0.502 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1117, allocations: 8.031 kB / 0.502 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008692/0.1126, allocations: 271.6 kB / 0.5023 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.1142, allocations: 1.127 MB / 0.5034 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.1143, allocations: 102.8 kB / 0.5035 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.1145, allocations: 124.4 kB / 0.5036 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.1162, allocations: 1.47 MB / 0.505 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.1163, allocations: 11.88 kB / 0.505 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.1164, allocations: 56 kB / 0.5051 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.1164, allocations: 32 kB / 0.5051 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.118, allocations: 1.128 MB / 0.5062 GB, free: 6.156 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.008336/0.1263, allocations: 9.709 MB / 0.5157 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.1281, allocations: 0.9816 MB / 0.5167 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.1286, allocations: 369.8 kB / 0.517 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.405e-05/0.1287, allocations: 17.06 kB / 0.517 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1287, allocations: 47.5 kB / 0.5171 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.537e-06/0.1287, allocations: 0 / 0.5171 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=101): time 0.003894/0.1326, allocations: 1.726 MB / 0.5188 GB, free: 8.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.1326, allocations: 60.41 kB / 0.5188 GB, free: 8.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.1343, allocations: 1.498 MB / 0.5203 GB, free: 7.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.1343, allocations: 49.7 kB / 0.5203 GB, free: 7.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005009/0.1348, allocations: 0.7578 MB / 0.5211 GB, free: 6.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.1352, allocations: 432.7 kB / 0.5215 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008031/0.136, allocations: 0.7085 MB / 0.5222 GB, free: 5.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1361, allocations: 357.9 kB / 0.5225 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.1374, allocations: 0.9331 MB / 0.5234 GB, free: 3.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.139, allocations: 1.264 MB / 0.5247 GB, free: 2.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/0.1413, allocations: 1.785 MB / 0.5264 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.1414, allocations: 4 kB / 0.5264 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.004712/0.1461, allocations: 3.114 MB / 0.5295 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1461, allocations: 8 kB / 0.5295 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1461, allocations: 0 / 0.5295 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.1478, allocations: 332 kB / 0.5298 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.1504, allocations: 0.7529 MB / 0.5305 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004632/0.155, allocations: 4.204 MB / 0.5346 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.1573, allocations: 262.3 kB / 0.5349 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.1574, allocations: 120 kB / 0.535 GB, free: 7.727 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.0005422/0.158, allocations: 381 kB / 0.5354 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.1582, allocations: 167 kB / 0.5355 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.16, allocations: 1.046 MB / 0.5365 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1601, allocations: 7.969 kB / 0.5365 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1601, allocations: 0 / 0.5365 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/0.1606, allocations: 379.8 kB / 0.5369 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.1608, allocations: 16 kB / 0.5369 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.1618, allocations: 43.97 kB / 0.537 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.896e-05/0.162, allocations: 72.89 kB / 0.537 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00216/0.1641, allocations: 1.046 MB / 0.5381 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001702/0.1658, allocations: 1.386 MB / 0.5394 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004187/0.1663, allocations: 327.8 kB / 0.5397 GB, free: 2.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.1674, allocations: 0.9119 MB / 0.5406 GB, free: 1.891 MB / 414.1 MB Notification: Performance of Backend: time 4.81e-07/0.1674, allocations: 3.938 kB / 0.5406 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004126/0.1715, allocations: 2.479 MB / 0.543 GB, free: 15.38 MB / 430.1 MB Notification: Performance of SimCode: time 0.003179/0.1747, allocations: 2.788 MB / 0.5458 GB, free: 12.55 MB / 430.1 MB Notification: Performance of Templates: time 0.03515/0.2099, allocations: 24.89 MB / 0.5701 GB, free: 3.672 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)