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.0008397/0.0008398, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007661/0.007661, allocations: 169.6 kB / 16.27 MB, free: 6.66 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2044/0.2044, allocations: 16.77 MB / 308.2 MB, free: 15.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 8 kB / 373.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3655, allocations: 54.56 MB / 428.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01019/0.3757, allocations: 13.68 MB / 441.8 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.3824, allocations: 4.516 MB / 446.3 MB, free: 26.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.3838, allocations: 34.06 kB / 446.3 MB, free: 26.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.385, allocations: 472.8 kB / 446.8 MB, free: 26.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.389, allocations: 1.877 MB / 448.7 MB, free: 25.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3905, allocations: 0.8537 MB / 449.5 MB, free: 24.89 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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/jenkins/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.002745/0.3933, allocations: 2.667 MB / 452.2 MB, free: 23.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.3936, allocations: 212.7 kB / 452.4 MB, free: 23.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009375/0.3945, allocations: 0.8291 MB / 453.2 MB, free: 23.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007369/0.3953, allocations: 0.963 MB / 454.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.3954, allocations: 56 kB / 454.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009093/0.3963, allocations: 383.6 kB / 454.6 MB, free: 22.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3965, allocations: 249.8 kB / 454.9 MB, free: 22.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.3971, allocations: 0.8862 MB / 455.7 MB, free: 21.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.3987, allocations: 2.108 MB / 457.9 MB, free: 21.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3987, allocations: 0 / 457.9 MB, free: 21.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3987, allocations: 0 / 457.9 MB, free: 21.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.3987, allocations: 0 / 457.9 MB, free: 21.09 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.01048/0.4092, allocations: 2.9 MB / 460.8 MB, free: 19.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4093, allocations: 9.656 kB / 460.8 MB, free: 19.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.4104, allocations: 261.1 kB / 461 MB, free: 19.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.412, allocations: 1.01 MB / 462 MB, free: 19.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.4121, allocations: 101.5 kB / 462.1 MB, free: 19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.4122, allocations: 133.1 kB / 462.3 MB, free: 18.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.414, allocations: 1.473 MB / 463.7 MB, free: 17.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.4141, allocations: 13.97 kB / 463.7 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.4142, allocations: 54.84 kB / 463.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.4142, allocations: 32.88 kB / 463.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.4157, allocations: 1.128 MB / 465 MB, free: 17.48 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.007802/0.4235, allocations: 9.617 MB / 474.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.4254, allocations: 0.9899 MB / 475.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.426, allocations: 373.8 kB / 475.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.136e-05/0.4261, allocations: 14.45 kB / 475.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4261, allocations: 58.52 kB / 476 MB, free: 8.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.647e-06/0.4261, allocations: 0 / 476 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004482/0.4306, allocations: 1.715 MB / 477.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.4306, allocations: 66.69 kB / 477.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.4327, allocations: 1.375 MB / 479.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.4329, allocations: 51.95 kB / 479.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.4335, allocations: 0.7411 MB / 479.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.4339, allocations: 420.8 kB / 480.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004004/0.4343, allocations: 350.3 kB / 480.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4344, allocations: 358 kB / 481 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.436, allocations: 0.938 MB / 482 MB, free: 5.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4378, allocations: 1.254 MB / 483.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.4407, allocations: 1.885 MB / 485.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.4407, allocations: 1.344 kB / 485.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005497/0.4462, allocations: 3.102 MB / 488.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.4462, allocations: 5.781 kB / 488.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.4463, allocations: 4.453 kB / 488.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.4481, allocations: 329.7 kB / 488.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.4511, allocations: 0.7544 MB / 489.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/0.456, allocations: 3.896 MB / 493.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.459, allocations: 257.5 kB / 493.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.4592, allocations: 121.1 kB / 493.6 MB, free: 15.15 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.0008805/0.4601, allocations: 379 kB / 493.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.4604, allocations: 160.4 kB / 494.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.4626, allocations: 1.049 MB / 495.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.4626, allocations: 6.531 kB / 495.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4626, allocations: 0 / 495.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.4633, allocations: 347.2 kB / 495.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.4635, allocations: 16.75 kB / 495.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009176/0.4644, allocations: 59.66 kB / 495.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4645, allocations: 65.84 kB / 495.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002423/0.467, allocations: 1.061 MB / 496.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002087/0.4691, allocations: 1.386 MB / 498.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004944/0.4696, allocations: 326.1 kB / 498.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001326/0.4709, allocations: 0.8246 MB / 499.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of Backend: time 2.91e-07/0.4709, allocations: 0 / 499.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005597/0.4765, allocations: 2.445 MB / 0.4899 GB, free: 9.328 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.00448/0.481, allocations: 3.324 MB / 0.4932 GB, free: 6.148 MB / 366.1 MB Notification: Performance of Templates: time 0.04192/0.523, allocations: 22.48 MB / 0.5151 GB, free: 272 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)