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.001007/0.001007, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00613/0.00613, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 2.933/2.933, allocations: 16.76 MB / 308.2 MB, free: 15.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 8 kB / 373.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2946, allocations: 54.55 MB / 428.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.009649/0.3043, allocations: 13.68 MB / 441.8 MB, free: 30.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006886/0.3112, allocations: 4.525 MB / 446.3 MB, free: 26.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.3128, allocations: 32.91 kB / 446.3 MB, free: 26.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.3141, allocations: 476.8 kB / 446.8 MB, free: 26.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.3186, allocations: 1.88 MB / 448.7 MB, free: 25.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.3203, allocations: 0.8532 MB / 449.5 MB, free: 24.93 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GEN.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘NTLV.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘TGEN.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRID.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003402/0.3237, allocations: 2.667 MB / 452.2 MB, free: 23.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.3241, allocations: 206.9 kB / 452.4 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.3256, allocations: 0.8291 MB / 453.2 MB, free: 23.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009557/0.3266, allocations: 0.9659 MB / 454.2 MB, free: 22.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.3267, allocations: 56.47 kB / 454.2 MB, free: 22.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.3277, allocations: 382.2 kB / 454.6 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.3279, allocations: 244.5 kB / 454.9 MB, free: 22.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007049/0.3286, allocations: 0.8907 MB / 455.7 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.3308, allocations: 2.102 MB / 457.9 MB, free: 21.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3308, allocations: 7.156 kB / 457.9 MB, free: 21.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3308, allocations: 0 / 457.9 MB, free: 21.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.3308, allocations: 0 / 457.9 MB, free: 21.14 MB / 350.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.01085/0.3417, allocations: 2.893 MB / 460.7 MB, free: 19.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.3418, allocations: 8.906 kB / 460.8 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.343, allocations: 259.1 kB / 461 MB, free: 19.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.3447, allocations: 1.012 MB / 462 MB, free: 19.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.3448, allocations: 100.4 kB / 462.1 MB, free: 19.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.345, allocations: 134.2 kB / 462.3 MB, free: 19.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.3468, allocations: 1.483 MB / 463.7 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.3469, allocations: 15.23 kB / 463.8 MB, free: 17.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/0.347, allocations: 62.03 kB / 463.8 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.347, allocations: 31.19 kB / 463.8 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.3486, allocations: 1.128 MB / 465 MB, free: 17.52 MB / 350.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.007698/0.3563, allocations: 9.614 MB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.3582, allocations: 0.9939 MB / 475.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005194/0.3587, allocations: 377.3 kB / 475.9 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.3588, allocations: 16.22 kB / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.3588, allocations: 53.09 kB / 476 MB, free: 8.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.717e-06/0.3588, allocations: 0 / 476 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004441/0.3633, allocations: 1.708 MB / 477.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.3633, allocations: 66.22 kB / 477.8 MB, free: 8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3652, allocations: 1.375 MB / 479.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.3654, allocations: 52.36 kB / 479.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004899/0.3659, allocations: 0.7428 MB / 480 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.3662, allocations: 417.5 kB / 480.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/0.3666, allocations: 355.5 kB / 480.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.3667, allocations: 355.3 kB / 481.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.3682, allocations: 0.9375 MB / 482 MB, free: 5.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.3699, allocations: 1.257 MB / 483.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.3726, allocations: 1.89 MB / 485.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.3726, allocations: 0 / 485.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005165/0.3778, allocations: 3.094 MB / 488.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.3778, allocations: 6.297 kB / 488.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.3778, allocations: 3.406 kB / 488.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.3796, allocations: 329.9 kB / 488.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.3825, allocations: 0.753 MB / 489.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004561/0.3871, allocations: 3.892 MB / 493.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/0.3899, allocations: 262.2 kB / 493.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.3901, allocations: 121.2 kB / 493.6 MB, free: 15.2 MB / 366.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.0007866/0.3909, allocations: 377.4 kB / 494 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.3912, allocations: 161.4 kB / 494.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.3934, allocations: 1.05 MB / 495.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.3935, allocations: 6.062 kB / 495.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3935, allocations: 0 / 495.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/0.3942, allocations: 346.9 kB / 495.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.3943, allocations: 15.95 kB / 495.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/0.3953, allocations: 57.08 kB / 495.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.3955, allocations: 65.14 kB / 495.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002504/0.398, allocations: 1.067 MB / 496.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00213/0.4001, allocations: 1.387 MB / 498.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005445/0.4007, allocations: 326 kB / 498.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001442/0.4021, allocations: 0.8244 MB / 499.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Backend: time 5.51e-07/0.4021, allocations: 0 / 499.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005521/0.4077, allocations: 2.441 MB / 0.4899 GB, free: 9.449 MB / 366.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.004161/0.4118, allocations: 3.325 MB / 0.4932 GB, free: 6.266 MB / 366.1 MB Notification: Performance of Templates: time 0.0844/0.4963, allocations: 22.49 MB / 0.5151 GB, free: 276 kB / 382.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)