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.001163/0.001163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001214/0.001214, allocations: 192 kB / 16.25 MB, free: 6.625 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.286/1.286, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 1.692/1.692, allocations: 16.78 MB / 306.9 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 59.91 kB / 371.3 MB, free: 3.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.278, allocations: 53.55 MB / 424.8 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.009774/0.2878, allocations: 14.3 MB / 439.1 MB, free: 29.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006061/0.294, allocations: 4.567 MB / 443.7 MB, free: 26.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.2954, allocations: 39.81 kB / 443.7 MB, free: 26.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.2968, allocations: 482.4 kB / 444.2 MB, free: 26.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.3011, allocations: 1.867 MB / 446.1 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.3027, allocations: 0.8511 MB / 446.9 MB, free: 24.62 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126: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:1126:9-1126: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:1126:9-1126: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:1126:9-1126: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:1126:9-1126: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:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.002791/0.3055, allocations: 2.814 MB / 449.7 MB, free: 23.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.3059, allocations: 218.2 kB / 450 MB, free: 23.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009952/0.3069, allocations: 0.9421 MB / 450.9 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008427/0.3077, allocations: 1.051 MB / 451.9 MB, free: 22.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3079, allocations: 108 kB / 452.1 MB, free: 22.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3089, allocations: 464.7 kB / 452.5 MB, free: 21.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.3091, allocations: 302.5 kB / 452.8 MB, free: 21.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006954/0.3098, allocations: 0.9415 MB / 453.7 MB, free: 21.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.3122, allocations: 2.195 MB / 455.9 MB, free: 20.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3123, allocations: 2.156 kB / 455.9 MB, free: 20.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3123, allocations: 0 / 455.9 MB, free: 20.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.549e-05/0.3123, allocations: 0 / 455.9 MB, free: 20.21 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.01197/0.3243, allocations: 3.307 MB / 459.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3244, allocations: 8.906 kB / 459.3 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.3254, allocations: 255.5 kB / 459.5 MB, free: 18.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.3269, allocations: 1.011 MB / 460.5 MB, free: 17.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.327, allocations: 107 kB / 460.6 MB, free: 17.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.3271, allocations: 132.5 kB / 460.7 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.3288, allocations: 1.479 MB / 462.2 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.3288, allocations: 11.11 kB / 462.2 MB, free: 16.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.3289, allocations: 55.91 kB / 462.3 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.3289, allocations: 38.81 kB / 462.3 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.3304, allocations: 1.118 MB / 463.4 MB, free: 16.38 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.007555/0.3379, allocations: 9.639 MB / 473.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.3399, allocations: 0.9965 MB / 474.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.3404, allocations: 372.9 kB / 474.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.3404, allocations: 15.47 kB / 474.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3405, allocations: 53.59 kB / 474.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.486e-06/0.3405, allocations: 0 / 474.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004151/0.3446, allocations: 1.699 MB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.3447, allocations: 62.88 kB / 476.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.3465, allocations: 1.38 MB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.3466, allocations: 57.02 kB / 477.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.3471, allocations: 0.7435 MB / 478.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.3475, allocations: 421.1 kB / 478.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008391/0.3484, allocations: 0.6975 MB / 479.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.3485, allocations: 358 kB / 479.9 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.3498, allocations: 0.9353 MB / 480.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.3516, allocations: 1.261 MB / 482.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.3542, allocations: 1.889 MB / 484 MB, free: 2.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.3542, allocations: 1.219 kB / 484 MB, free: 2.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00492/0.3591, allocations: 3.092 MB / 487.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.3592, allocations: 5.188 kB / 487.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3592, allocations: 3.344 kB / 487.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.3609, allocations: 331.5 kB / 487.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.3638, allocations: 0.755 MB / 488.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004968/0.3687, allocations: 4.207 MB / 492.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.3715, allocations: 262 kB / 492.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.3718, allocations: 121.1 kB / 492.8 MB, free: 13.61 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.0008123/0.3726, allocations: 378.7 kB / 493.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.373, allocations: 161 kB / 493.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.3751, allocations: 1.042 MB / 494.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.3751, allocations: 5.188 kB / 494.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3752, allocations: 1.031 kB / 494.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/0.3759, allocations: 353.8 kB / 494.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.3761, allocations: 20.64 kB / 494.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008672/0.3769, allocations: 39.48 kB / 494.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3771, allocations: 77.73 kB / 494.8 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002422/0.3795, allocations: 1.047 MB / 495.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002036/0.3816, allocations: 1.383 MB / 497.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004878/0.3821, allocations: 334.2 kB / 497.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.3833, allocations: 0.8288 MB / 498.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of Backend: time 4.81e-07/0.3833, allocations: 0 / 498.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004974/0.3883, allocations: 2.459 MB / 0.4891 GB, free: 7.562 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.004157/0.3924, allocations: 3.299 MB / 0.4923 GB, free: 4.371 MB / 366.1 MB Notification: Performance of Templates: time 0.04106/0.4335, allocations: 24.54 MB / 0.5163 GB, free: 12.39 MB / 398.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)