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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001474/0.001474, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2521/0.2521, allocations: 16.77 MB / 306.7 MB, free: 14.99 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.89 kB / 371.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2927, allocations: 53.55 MB / 424.6 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.009817/0.3026, allocations: 14.3 MB / 438.9 MB, free: 30 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.3085, allocations: 4.572 MB / 443.5 MB, free: 26.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3096, allocations: 34.97 kB / 443.6 MB, free: 26.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3107, allocations: 476.8 kB / 444 MB, free: 26.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003791/0.3145, allocations: 1.902 MB / 445.9 MB, free: 25.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3161, allocations: 0.8698 MB / 446.8 MB, free: 24.73 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘GRIDL.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.00273/0.3188, allocations: 2.664 MB / 449.5 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.3192, allocations: 208.5 kB / 449.7 MB, free: 23.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.3203, allocations: 0.8371 MB / 450.5 MB, free: 22.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007526/0.321, allocations: 0.9684 MB / 451.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3212, allocations: 61.44 kB / 451.5 MB, free: 22.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3222, allocations: 381.5 kB / 451.9 MB, free: 22.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3224, allocations: 262.7 kB / 452.2 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.323, allocations: 0.8697 MB / 453 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.3247, allocations: 2.155 MB / 455.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3247, allocations: 0 / 455.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3247, allocations: 0 / 455.2 MB, free: 20.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.3248, allocations: 0 / 455.2 MB, free: 20.76 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.01108/0.3359, allocations: 3.306 MB / 458.5 MB, free: 19.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3359, allocations: 9.062 kB / 458.5 MB, free: 19.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008947/0.3368, allocations: 264.8 kB / 458.7 MB, free: 19.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3382, allocations: 1.012 MB / 459.8 MB, free: 18.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.3382, allocations: 98.98 kB / 459.9 MB, free: 18.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.3384, allocations: 138.6 kB / 460 MB, free: 18.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.34, allocations: 1.47 MB / 461.5 MB, free: 17.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.34, allocations: 15 kB / 461.5 MB, free: 17.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/0.3401, allocations: 62.91 kB / 461.5 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.3401, allocations: 30.34 kB / 461.6 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.3415, allocations: 1.125 MB / 462.7 MB, free: 16.93 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.006765/0.3483, allocations: 9.647 MB / 472.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.3502, allocations: 0.9799 MB / 473.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/0.3508, allocations: 373.7 kB / 473.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-05/0.3509, allocations: 14.06 kB / 473.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3509, allocations: 47.97 kB / 473.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 3.126e-06/0.3509, allocations: 0 / 473.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004525/0.3555, allocations: 1.714 MB / 475.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.3555, allocations: 62.36 kB / 475.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.3571, allocations: 1.38 MB / 476.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.3572, allocations: 52.77 kB / 477 MB, free: 6.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004986/0.3577, allocations: 0.7403 MB / 477.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.358, allocations: 416.1 kB / 478.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008602/0.3589, allocations: 0.6943 MB / 478.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.359, allocations: 358.1 kB / 479.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.3604, allocations: 0.9309 MB / 480.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.3622, allocations: 1.261 MB / 481.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.3648, allocations: 1.886 MB / 483.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.3648, allocations: 1.094 kB / 483.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.00524/0.37, allocations: 3.097 MB / 486.3 MB, free: 2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.3701, allocations: 5.969 kB / 486.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.3701, allocations: 4.203 kB / 486.3 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.3719, allocations: 324.8 kB / 486.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/0.3747, allocations: 0.7565 MB / 487.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/0.3793, allocations: 3.886 MB / 491.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.3816, allocations: 265.5 kB / 491.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.3819, allocations: 120.8 kB / 491.7 MB, free: 14.43 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.0007017/0.3826, allocations: 381.2 kB / 492 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.3829, allocations: 160.3 kB / 492.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.3849, allocations: 1.052 MB / 493.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.385, allocations: 5.297 kB / 493.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.385, allocations: 4 kB / 493.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/0.3856, allocations: 351.5 kB / 493.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.3858, allocations: 14.75 kB / 493.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008487/0.3866, allocations: 40.73 kB / 493.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.3868, allocations: 70.36 kB / 493.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002443/0.3892, allocations: 1.056 MB / 494.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002111/0.3913, allocations: 1.378 MB / 496.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005075/0.3919, allocations: 326.2 kB / 496.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.3931, allocations: 0.828 MB / 497.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Backend: time 6.51e-07/0.3931, allocations: 0 / 497.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.3983, allocations: 2.44 MB / 499.7 MB, free: 8.645 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.004436/0.4027, allocations: 3.296 MB / 0.4913 GB, free: 5.453 MB / 366.1 MB Notification: Performance of Templates: time 0.03847/0.4412, allocations: 22.81 MB / 0.5135 GB, free: 15.15 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)