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.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.216/1.216, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1966/0.1966, allocations: 16.77 MB / 307.2 MB, free: 14.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 371.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2211, allocations: 53.55 MB / 425.3 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.007719/0.2289, allocations: 13.25 MB / 438.6 MB, free: 30.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.2335, allocations: 4.56 MB / 443.1 MB, free: 27.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004898/0.2341, allocations: 35.97 kB / 443.2 MB, free: 27.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.2349, allocations: 0.54 MB / 443.7 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002907/0.2378, allocations: 2.053 MB / 445.7 MB, free: 25.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.2391, allocations: 0.8918 MB / 446.6 MB, free: 25.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.241, allocations: 2.992 MB / 449.6 MB, free: 23.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.2413, allocations: 215.1 kB / 449.8 MB, free: 23.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006559/0.2419, allocations: 1.008 MB / 450.8 MB, free: 23.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000753/0.2427, allocations: 1.092 MB / 451.9 MB, free: 22.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.2428, allocations: 116.1 kB / 452.1 MB, free: 22.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007395/0.2436, allocations: 489.8 kB / 452.5 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2438, allocations: 325.8 kB / 452.8 MB, free: 22.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.2443, allocations: 0.9645 MB / 453.8 MB, free: 21.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.2457, allocations: 2.249 MB / 456.1 MB, free: 20.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2457, allocations: 0 / 456.1 MB, free: 20.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2457, allocations: 3.094 kB / 456.1 MB, free: 20.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.2458, allocations: 0 / 456.1 MB, free: 20.78 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.007353/0.2531, allocations: 2.938 MB / 459 MB, free: 19.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2531, allocations: 6.406 kB / 459 MB, free: 19.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007663/0.2539, allocations: 257.2 kB / 459.3 MB, free: 19.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.2551, allocations: 1.096 MB / 460.4 MB, free: 18.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.2552, allocations: 93.23 kB / 460.4 MB, free: 18.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2553, allocations: 130.2 kB / 460.6 MB, free: 18.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.2567, allocations: 1.477 MB / 462.1 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2567, allocations: 6.844 kB / 462.1 MB, free: 17.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.714e-05/0.2568, allocations: 54.56 kB / 462.1 MB, free: 17.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.2569, allocations: 30.47 kB / 462.1 MB, free: 17.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2582, allocations: 1.13 MB / 463.3 MB, free: 16.95 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.006696/0.2649, allocations: 9.716 MB / 473 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.2666, allocations: 0.9832 MB / 474 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.267, allocations: 376.9 kB / 474.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.2671, allocations: 17.25 kB / 474.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2671, allocations: 49.8 kB / 474.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.715e-06/0.2671, allocations: 4 kB / 474.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.003763/0.2709, allocations: 1.704 MB / 476.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.2709, allocations: 67.47 kB / 476.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.2725, allocations: 1.49 MB / 477.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.159e-05/0.2725, allocations: 47.2 kB / 477.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.2729, allocations: 0.7309 MB / 478.4 MB, free: 6.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.2732, allocations: 427.6 kB / 478.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008038/0.274, allocations: 0.7023 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.2741, allocations: 370.3 kB / 479.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/0.2754, allocations: 0.9307 MB / 480.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.2769, allocations: 1.258 MB / 482.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.2789, allocations: 1.787 MB / 483.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.279, allocations: 0 / 483.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.004317/0.2833, allocations: 3.102 MB / 487 MB, free: 2.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2833, allocations: 8.375 kB / 487 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.2833, allocations: 4.609 kB / 487 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.285, allocations: 334.6 kB / 487.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/0.2874, allocations: 0.7581 MB / 488.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/0.2917, allocations: 4.195 MB / 492.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.2938, allocations: 251.9 kB / 492.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.294, allocations: 120.7 kB / 492.7 MB, free: 14.21 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.0005282/0.2945, allocations: 385.6 kB / 493 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.2948, allocations: 164.6 kB / 493.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.2967, allocations: 1.042 MB / 494.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2967, allocations: 5.203 kB / 494.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2967, allocations: 0 / 494.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.2972, allocations: 376.5 kB / 494.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.2974, allocations: 16.97 kB / 494.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009854/0.2984, allocations: 48.23 kB / 494.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.2985, allocations: 65.38 kB / 494.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002244/0.3008, allocations: 1.054 MB / 495.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00177/0.3025, allocations: 1.383 MB / 497.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004608/0.303, allocations: 325.9 kB / 497.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.3042, allocations: 0.9129 MB / 498.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of Backend: time 5.71e-07/0.3042, allocations: 0 / 498.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0041/0.3083, allocations: 2.474 MB / 0.4891 GB, free: 8.094 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.003376/0.3117, allocations: 2.767 MB / 0.4918 GB, free: 5.438 MB / 366.1 MB Notification: Performance of Templates: time 0.0353/0.347, allocations: 24.55 MB / 0.5158 GB, free: 13.2 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)