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.001422/0.001422, allocations: 107 kB / 16.41 MB, free: 6.508 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.001397/0.001398, allocations: 187 kB / 17.34 MB, free: 5.742 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1407/0.1407, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 427.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 53.57 MB / 480.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01297/0.1193, allocations: 13.25 MB / 494.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007824/0.1272, allocations: 4.559 MB / 498.6 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.1287, allocations: 31.81 kB / 498.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.1301, allocations: 0.5356 MB / 499.2 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004995/0.1352, allocations: 2.151 MB / 0.4896 GB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.1371, allocations: 0.8872 MB / 0.4905 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003804/0.1409, allocations: 3.014 MB / 0.4934 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.1413, allocations: 216.3 kB / 0.4936 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.1427, allocations: 1.023 MB / 0.4946 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.1441, allocations: 1.097 MB / 0.4957 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.1443, allocations: 120 kB / 0.4958 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.1453, allocations: 483.7 kB / 0.4962 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.1456, allocations: 318.4 kB / 0.4966 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008742/0.1465, allocations: 0.9715 MB / 0.4975 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.1489, allocations: 2.282 MB / 0.4997 GB, free: 5.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.149, allocations: 0 / 0.4997 GB, free: 5.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.149, allocations: 0 / 0.4997 GB, free: 5.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.149, allocations: 0 / 0.4997 GB, free: 5.93 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.009203/0.1582, allocations: 2.935 MB / 0.5026 GB, free: 2.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1583, allocations: 12.02 kB / 0.5026 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/0.1593, allocations: 266.6 kB / 0.5029 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.1613, allocations: 1.118 MB / 0.504 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.93e-05/0.1614, allocations: 90.77 kB / 0.504 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.1616, allocations: 128.4 kB / 0.5042 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2157/0.3773, allocations: 1.473 MB / 0.5056 GB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/0.3775, allocations: 10.62 kB / 0.5056 GB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.3777, allocations: 53.94 kB / 0.5057 GB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/0.3777, allocations: 32.81 kB / 0.5057 GB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.3801, allocations: 1.127 MB / 0.5068 GB, free: 32.33 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.01001/0.3902, allocations: 9.69 MB / 0.5163 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.3921, allocations: 0.9864 MB / 0.5172 GB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.3927, allocations: 369 kB / 0.5176 GB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.629e-05/0.3927, allocations: 17.3 kB / 0.5176 GB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.3928, allocations: 45.62 kB / 0.5176 GB, free: 24.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.667e-06/0.3928, allocations: 0 / 0.5176 GB, free: 24.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.004243/0.397, allocations: 1.707 MB / 0.5193 GB, free: 23.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3971, allocations: 66.69 kB / 0.5194 GB, free: 23.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.3993, allocations: 1.492 MB / 0.5208 GB, free: 22.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.613e-05/0.3995, allocations: 48.58 kB / 0.5209 GB, free: 22.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005511/0.4, allocations: 0.7347 MB / 0.5216 GB, free: 22.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.4005, allocations: 423.2 kB / 0.522 GB, free: 22.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.4015, allocations: 0.7038 MB / 0.5227 GB, free: 21.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.4016, allocations: 362.6 kB / 0.523 GB, free: 21.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.4031, allocations: 0.9296 MB / 0.5239 GB, free: 20.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.4049, allocations: 1.265 MB / 0.5252 GB, free: 20.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.4075, allocations: 1.785 MB / 0.5269 GB, free: 19.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.4075, allocations: 1.062 kB / 0.5269 GB, free: 19.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005199/0.4127, allocations: 3.102 MB / 0.5299 GB, free: 18.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.4128, allocations: 6.375 kB / 0.5299 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4128, allocations: 2.781 kB / 0.5299 GB, free: 18.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/0.4146, allocations: 325.2 kB / 0.5303 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.4173, allocations: 0.7555 MB / 0.531 GB, free: 18.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.4214, allocations: 4.193 MB / 0.5351 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/0.4241, allocations: 259.3 kB / 0.5353 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.4244, allocations: 118.1 kB / 0.5354 GB, free: 14.39 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.0006224/0.425, allocations: 379.5 kB / 0.5358 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.4253, allocations: 163.8 kB / 0.536 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.427, allocations: 1.043 MB / 0.537 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.427, allocations: 10.45 kB / 0.537 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4271, allocations: 0 / 0.537 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.4276, allocations: 374.8 kB / 0.5374 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.4278, allocations: 14.25 kB / 0.5374 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009911/0.4288, allocations: 54.33 kB / 0.5374 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.4289, allocations: 67.92 kB / 0.5375 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001931/0.4309, allocations: 1.043 MB / 0.5385 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001518/0.4324, allocations: 1.383 MB / 0.5399 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003575/0.4328, allocations: 327.8 kB / 0.5402 GB, free: 11.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.4338, allocations: 0.9068 MB / 0.541 GB, free: 11.2 MB / 382.1 MB Notification: Performance of Backend: time 5.51e-07/0.4338, allocations: 0 / 0.541 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004196/0.438, allocations: 2.476 MB / 0.5435 GB, free: 9.332 MB / 382.1 MB Notification: Performance of SimCode: time 0.003184/0.4412, allocations: 3.65 MB / 0.547 GB, free: 5.656 MB / 382.1 MB Notification: Performance of Templates: time 0.03459/0.4758, allocations: 28.68 MB / 0.575 GB, free: 8.98 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)