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.001397/0.001396, 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.001436/0.001435, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2514/0.2514, allocations: 16.78 MB / 307.2 MB, free: 14.8 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.89 kB / 371.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2567, allocations: 53.54 MB / 425.3 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.009602/0.2663, allocations: 13.25 MB / 438.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007145/0.2735, allocations: 4.563 MB / 443.1 MB, free: 27.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.2753, allocations: 33.66 kB / 443.1 MB, free: 27.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.2767, allocations: 0.5408 MB / 443.7 MB, free: 27.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.2812, allocations: 2.056 MB / 445.7 MB, free: 25.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.283, allocations: 0.8868 MB / 446.6 MB, free: 25.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.2859, allocations: 2.991 MB / 449.6 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.2863, allocations: 212.3 kB / 449.8 MB, free: 23.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.2875, allocations: 1.005 MB / 450.8 MB, free: 23.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009775/0.2885, allocations: 1.097 MB / 451.9 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.2887, allocations: 121.3 kB / 452 MB, free: 22.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.2897, allocations: 488.4 kB / 452.5 MB, free: 22.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.2899, allocations: 312.9 kB / 452.8 MB, free: 22.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007312/0.2906, allocations: 0.9715 MB / 453.8 MB, free: 21.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.2925, allocations: 2.245 MB / 456 MB, free: 20.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2925, allocations: 3.281 kB / 456.1 MB, free: 20.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2925, allocations: 4 kB / 456.1 MB, free: 20.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.2925, allocations: 0 / 456.1 MB, free: 20.84 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.008327/0.3009, allocations: 2.937 MB / 459 MB, free: 19.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3009, allocations: 8.156 kB / 459 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009026/0.3018, allocations: 252.9 kB / 459.2 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.3033, allocations: 1.101 MB / 460.3 MB, free: 18.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.3033, allocations: 91.58 kB / 460.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3035, allocations: 127.4 kB / 460.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.3049, allocations: 1.472 MB / 462 MB, free: 17.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.305, allocations: 18.02 kB / 462.1 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.3051, allocations: 55.16 kB / 462.1 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.3051, allocations: 33.91 kB / 462.1 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.3065, allocations: 1.126 MB / 463.3 MB, free: 17 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.007742/0.3142, allocations: 9.713 MB / 473 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.316, allocations: 0.9896 MB / 474 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.3166, allocations: 373.2 kB / 474.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.924e-05/0.3166, allocations: 13.59 kB / 474.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3167, allocations: 53.16 kB / 474.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.835e-06/0.3167, allocations: 0 / 474.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004411/0.3211, allocations: 1.702 MB / 476.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.3211, allocations: 69.66 kB / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.323, allocations: 1.494 MB / 477.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.3231, allocations: 47.08 kB / 477.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.3236, allocations: 0.7345 MB / 478.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.324, allocations: 423.9 kB / 478.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009068/0.3249, allocations: 0.7065 MB / 479.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.325, allocations: 361.8 kB / 479.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.3264, allocations: 0.9343 MB / 480.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.3282, allocations: 1.258 MB / 482.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.3307, allocations: 1.786 MB / 483.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.3307, allocations: 2.172 kB / 483.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005217/0.3359, allocations: 3.104 MB / 487 MB, free: 2.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.336, allocations: 6.906 kB / 487 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.3361, allocations: 3.047 kB / 487 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/0.338, allocations: 329.3 kB / 487.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/0.3417, allocations: 0.7589 MB / 488.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.3472, allocations: 4.202 MB / 492.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.3508, allocations: 247.5 kB / 492.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/0.3512, allocations: 121.2 kB / 492.7 MB, free: 14.26 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.0009541/0.3521, allocations: 382.4 kB / 493 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/0.3525, allocations: 166.9 kB / 493.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.3547, allocations: 1.039 MB / 494.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3547, allocations: 5.156 kB / 494.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3547, allocations: 4 kB / 494.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/0.3555, allocations: 375.5 kB / 494.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.3557, allocations: 16.95 kB / 494.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.3568, allocations: 44.59 kB / 494.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.357, allocations: 73.09 kB / 494.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002405/0.3594, allocations: 1.045 MB / 495.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002086/0.3615, allocations: 1.391 MB / 497.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005519/0.362, allocations: 325.2 kB / 497.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001401/0.3634, allocations: 0.9134 MB / 498.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Backend: time 7.72e-07/0.3634, allocations: 0 / 498.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00544/0.3689, allocations: 2.466 MB / 0.4891 GB, free: 8.207 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.004396/0.3733, allocations: 2.775 MB / 0.4918 GB, free: 5.539 MB / 366.1 MB Notification: Performance of Templates: time 0.04315/0.4165, allocations: 24.55 MB / 0.5158 GB, free: 13.18 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)