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.001116/0.001116, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.001106/0.001106, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1249/0.1249, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 67.89 kB / 427.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08052/0.08167, allocations: 53.55 MB / 480.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01086/0.09256, allocations: 13.25 MB / 494.1 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.09855, allocations: 4.551 MB / 498.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.09923, allocations: 27.88 kB / 498.6 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1003, allocations: 0.5512 MB / 499.2 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003907/0.1042, allocations: 2.141 MB / 0.4896 GB, free: 364 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1059, allocations: 0.8977 MB / 0.4905 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003301/0.1092, allocations: 3.003 MB / 0.4934 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.1096, allocations: 224.3 kB / 0.4936 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.1107, allocations: 1.015 MB / 0.4946 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.1119, allocations: 1.101 MB / 0.4957 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.1121, allocations: 127.9 kB / 0.4958 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009758/0.1131, allocations: 483.8 kB / 0.4963 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.1134, allocations: 322.4 kB / 0.4966 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008619/0.1143, allocations: 0.9637 MB / 0.4975 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.1167, allocations: 2.296 MB / 0.4997 GB, free: 5.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1168, allocations: 0 / 0.4997 GB, free: 5.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1168, allocations: 0 / 0.4997 GB, free: 5.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.1168, allocations: 0 / 0.4997 GB, free: 5.91 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.009102/0.1259, allocations: 2.988 MB / 0.5027 GB, free: 2.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.126, allocations: 12.03 kB / 0.5027 GB, free: 2.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009569/0.1269, allocations: 271.6 kB / 0.5029 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.1288, allocations: 1.127 MB / 0.504 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.1289, allocations: 90.77 kB / 0.5041 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1291, allocations: 124.4 kB / 0.5042 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1793/0.3083, allocations: 1.474 MB / 0.5057 GB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.3084, allocations: 12.31 kB / 0.5057 GB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.3086, allocations: 56.28 kB / 0.5057 GB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.3086, allocations: 33.38 kB / 0.5058 GB, free: 32.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.3104, allocations: 1.125 MB / 0.5069 GB, free: 32.31 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.008003/0.3185, allocations: 9.7 MB / 0.5164 GB, free: 24.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.3203, allocations: 0.9929 MB / 0.5173 GB, free: 24.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.3208, allocations: 365.6 kB / 0.5177 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.425e-05/0.3208, allocations: 13.27 kB / 0.5177 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3209, allocations: 45.84 kB / 0.5177 GB, free: 24.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.096e-06/0.3209, allocations: 3.906 kB / 0.5177 GB, free: 24.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.004074/0.325, allocations: 1.719 MB / 0.5194 GB, free: 23.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.325, allocations: 62.34 kB / 0.5195 GB, free: 23.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.3268, allocations: 1.493 MB / 0.5209 GB, free: 22.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.399e-05/0.3269, allocations: 47.86 kB / 0.521 GB, free: 22.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.3274, allocations: 0.758 MB / 0.5217 GB, free: 22.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.3277, allocations: 438.6 kB / 0.5221 GB, free: 22.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009096/0.3286, allocations: 0.7037 MB / 0.5228 GB, free: 21.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.3287, allocations: 364 kB / 0.5232 GB, free: 21.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.3301, allocations: 0.9327 MB / 0.5241 GB, free: 20.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.3317, allocations: 1.264 MB / 0.5253 GB, free: 20.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/0.334, allocations: 1.783 MB / 0.5271 GB, free: 19.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.334, allocations: 5.375 kB / 0.5271 GB, free: 19.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.0046/0.3386, allocations: 3.11 MB / 0.5301 GB, free: 18.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3386, allocations: 6.25 kB / 0.5301 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3386, allocations: 2.281 kB / 0.5301 GB, free: 18.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.3403, allocations: 327.8 kB / 0.5304 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.3428, allocations: 0.7595 MB / 0.5312 GB, free: 18.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/0.3468, allocations: 4.195 MB / 0.5353 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.3491, allocations: 268.2 kB / 0.5355 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.3493, allocations: 119.4 kB / 0.5356 GB, free: 14.41 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.0005235/0.3499, allocations: 381.4 kB / 0.536 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.3501, allocations: 171.6 kB / 0.5362 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.3519, allocations: 1.043 MB / 0.5372 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3519, allocations: 8.859 kB / 0.5372 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3519, allocations: 0 / 0.5372 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.3523, allocations: 381.8 kB / 0.5375 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.3526, allocations: 17.75 kB / 0.5376 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.3536, allocations: 45.14 kB / 0.5376 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3537, allocations: 76.3 kB / 0.5377 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001952/0.3557, allocations: 1.048 MB / 0.5387 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001445/0.3571, allocations: 1.395 MB / 0.5401 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003641/0.3575, allocations: 322.3 kB / 0.5404 GB, free: 11.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009212/0.3584, allocations: 0.9114 MB / 0.5413 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.3584, allocations: 0 / 0.5413 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.3622, allocations: 2.483 MB / 0.5437 GB, free: 9.363 MB / 382.1 MB Notification: Performance of SimCode: time 0.002626/0.3648, allocations: 2.781 MB / 0.5464 GB, free: 6.555 MB / 382.1 MB Notification: Performance of Templates: time 0.03609/0.4009, allocations: 24.9 MB / 0.5707 GB, free: 13.74 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)