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.005273/0.005273, allocations: 101.2 kB / 15.73 MB, free: 6.062 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.001385/0.001385, allocations: 194.3 kB / 16.68 MB, free: 5.973 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08492/0.08492, allocations: 16.68 MB / 307.2 MB, free: 14.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 426.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09193, allocations: 53.55 MB / 480 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01496/0.1069, allocations: 13.25 MB / 493.3 MB, free: 7.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008309/0.1153, allocations: 4.547 MB / 497.8 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.1171, allocations: 35.81 kB / 497.8 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.1193, allocations: 0.5551 MB / 498.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005966/0.1253, allocations: 2.03 MB / 0.4887 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.1277, allocations: 0.8862 MB / 0.4896 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004634/0.1323, allocations: 3.022 MB / 0.4925 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.1329, allocations: 204.3 kB / 0.4927 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.1347, allocations: 1.008 MB / 0.4937 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.1366, allocations: 1.101 MB / 0.4948 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003849/0.137, allocations: 120 kB / 0.4949 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.1385, allocations: 487.7 kB / 0.4954 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004056/0.1389, allocations: 318.4 kB / 0.4957 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.1404, allocations: 0.9676 MB / 0.4966 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.1442, allocations: 2.296 MB / 0.4988 GB, free: 6.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1443, allocations: 3.938 kB / 0.4988 GB, free: 6.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1443, allocations: 0 / 0.4988 GB, free: 6.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.804e-05/0.1443, allocations: 0 / 0.4988 GB, free: 6.133 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.01064/0.155, allocations: 2.984 MB / 0.5018 GB, free: 3.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.1551, allocations: 8.031 kB / 0.5018 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.1563, allocations: 271.6 kB / 0.502 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.1588, allocations: 1.127 MB / 0.5031 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.1589, allocations: 98.75 kB / 0.5032 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.1591, allocations: 120.4 kB / 0.5033 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2066/0.3657, allocations: 1.473 MB / 0.5048 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/0.3658, allocations: 7.938 kB / 0.5048 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.3659, allocations: 54.23 kB / 0.5048 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.366, allocations: 32.19 kB / 0.5049 GB, free: 32.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.3679, allocations: 1.13 MB / 0.506 GB, free: 32.4 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.008685/0.3766, allocations: 9.672 MB / 0.5154 GB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.3784, allocations: 0.9946 MB / 0.5164 GB, free: 24.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.379, allocations: 368.9 kB / 0.5167 GB, free: 24.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.516e-05/0.3791, allocations: 19.36 kB / 0.5168 GB, free: 24.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.3791, allocations: 49.98 kB / 0.5168 GB, free: 24.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 3.076e-06/0.3791, allocations: 0 / 0.5168 GB, free: 24.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=101): time 0.004251/0.3834, allocations: 1.717 MB / 0.5185 GB, free: 23.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.3834, allocations: 66.16 kB / 0.5185 GB, free: 23.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.3855, allocations: 1.491 MB / 0.52 GB, free: 22.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.3856, allocations: 47.64 kB / 0.52 GB, free: 22.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.3862, allocations: 0.7532 MB / 0.5208 GB, free: 22.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.3866, allocations: 440.3 kB / 0.5212 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009977/0.3876, allocations: 0.7064 MB / 0.5219 GB, free: 21.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.3877, allocations: 358.3 kB / 0.5222 GB, free: 21.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.3892, allocations: 0.9359 MB / 0.5231 GB, free: 21.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.391, allocations: 1.258 MB / 0.5244 GB, free: 20.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.3936, allocations: 1.78 MB / 0.5261 GB, free: 19.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.3936, allocations: 5.156 kB / 0.5261 GB, free: 19.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.005226/0.3988, allocations: 3.101 MB / 0.5291 GB, free: 18.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.3989, allocations: 8.969 kB / 0.5292 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.3989, allocations: 2.562 kB / 0.5292 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.4007, allocations: 329.6 kB / 0.5295 GB, free: 18.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.4038, allocations: 0.7619 MB / 0.5302 GB, free: 18.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.4084, allocations: 4.189 MB / 0.5343 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.4116, allocations: 263.6 kB / 0.5346 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003255/0.4119, allocations: 119.2 kB / 0.5347 GB, free: 14.55 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 (483): * Single equations (assignments): 481 * 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.0007576/0.4127, allocations: 387.2 kB / 0.535 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.4131, allocations: 168.1 kB / 0.5352 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.4151, allocations: 1.04 MB / 0.5362 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4151, allocations: 18.81 kB / 0.5362 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4151, allocations: 0 / 0.5362 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/0.4157, allocations: 379 kB / 0.5366 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.4159, allocations: 15.97 kB / 0.5366 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.417, allocations: 52.97 kB / 0.5367 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4171, allocations: 65.27 kB / 0.5367 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002062/0.4192, allocations: 1.052 MB / 0.5378 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001617/0.4208, allocations: 1.401 MB / 0.5391 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000391/0.4212, allocations: 326.3 kB / 0.5394 GB, free: 11.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.4223, allocations: 0.9148 MB / 0.5403 GB, free: 11.31 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.4223, allocations: 2.406 kB / 0.5403 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.4267, allocations: 2.466 MB / 0.5427 GB, free: 9.477 MB / 382.1 MB Notification: Performance of SimCode: time 0.003035/0.4297, allocations: 2.776 MB / 0.5454 GB, free: 6.664 MB / 382.1 MB Notification: Performance of Templates: time 0.04117/0.4709, allocations: 24.91 MB / 0.5698 GB, free: 13.82 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)