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.002246/0.002246, allocations: 102.5 kB / 16.27 MB, free: 5.969 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.00238/0.00238, allocations: 191.8 kB / 17.2 MB, free: 5.594 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.576/1.576, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1053/0.1053, allocations: 16.68 MB / 307.7 MB, free: 14.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.3 kB / 372.3 MB, free: 48.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 53.56 MB / 425.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01055/0.153, allocations: 13.26 MB / 439.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00882/0.1619, allocations: 4.551 MB / 443.7 MB, free: 11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.1638, allocations: 27.88 kB / 443.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.1655, allocations: 0.5434 MB / 444.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006171/0.1717, allocations: 2.051 MB / 446.3 MB, free: 8.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.1738, allocations: 0.8934 MB / 447.2 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004847/0.1787, allocations: 3 MB / 450.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.1791, allocations: 208.4 kB / 450.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.181, allocations: 0.9998 MB / 451.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.1824, allocations: 1.097 MB / 452.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.1826, allocations: 120 kB / 452.6 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.184, allocations: 483.7 kB / 453.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.1843, allocations: 314.4 kB / 453.4 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.1853, allocations: 0.9715 MB / 454.4 MB, free: 284 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.1882, allocations: 2.248 MB / 456.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1882, allocations: 0 / 456.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1882, allocations: 0 / 456.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.1882, allocations: 0 / 456.6 MB, free: 14.02 MB / 334.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.009481/0.1977, allocations: 2.943 MB / 459.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.1978, allocations: 12.03 kB / 459.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1988, allocations: 254.7 kB / 459.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/0.2008, allocations: 1.095 MB / 460.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.194e-05/0.2009, allocations: 94.77 kB / 461 MB, free: 9.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.201, allocations: 124.4 kB / 461.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.2032, allocations: 1.474 MB / 462.6 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.2032, allocations: 15.86 kB / 462.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.2034, allocations: 56 kB / 462.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.2034, allocations: 35.94 kB / 462.7 MB, free: 7.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.2052, allocations: 1.128 MB / 463.8 MB, free: 6.465 MB / 334.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.0118/0.217, allocations: 9.689 MB / 473.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.2191, allocations: 0.9898 MB / 474.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005791/0.2197, allocations: 367.6 kB / 474.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.2197, allocations: 24.98 kB / 474.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.2198, allocations: 47.5 kB / 474.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 2.795e-06/0.2198, allocations: 4 kB / 474.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.004787/0.2246, allocations: 1.702 MB / 476.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.2247, allocations: 64.41 kB / 476.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002545/0.2272, allocations: 1.489 MB / 478.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.2274, allocations: 45.7 kB / 478.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/0.2283, allocations: 0.74 MB / 479 MB, free: 6.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007077/0.229, allocations: 426.6 kB / 479.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/0.2303, allocations: 0.6964 MB / 480.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002854/0.2306, allocations: 357.9 kB / 480.4 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.2323, allocations: 0.9291 MB / 481.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.2343, allocations: 1.26 MB / 482.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.2375, allocations: 1.777 MB / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.2376, allocations: 8 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.006407/0.244, allocations: 3.097 MB / 487.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.244, allocations: 8 kB / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2441, allocations: 0 / 487.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/0.2458, allocations: 329.5 kB / 487.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/0.2485, allocations: 0.7489 MB / 488.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.2544, allocations: 4.215 MB / 492.8 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/0.2578, allocations: 253.8 kB / 493 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.2581, allocations: 120 kB / 493.2 MB, free: 8.145 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 (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.0008774/0.2589, allocations: 381 kB / 493.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/0.2593, allocations: 158.1 kB / 493.7 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.2614, allocations: 1.046 MB / 494.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.2615, allocations: 3.984 kB / 494.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2615, allocations: 3.938 kB / 494.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/0.2622, allocations: 382.8 kB / 495.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.2624, allocations: 16 kB / 495.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.2634, allocations: 51.95 kB / 495.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.2636, allocations: 68.89 kB / 495.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002388/0.266, allocations: 1.05 MB / 496.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001984/0.268, allocations: 1.388 MB / 497.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004606/0.2685, allocations: 327.9 kB / 498 MB, free: 3.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001392/0.2699, allocations: 0.9119 MB / 498.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of Backend: time 5.91e-07/0.2699, allocations: 0 / 498.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005162/0.275, allocations: 2.456 MB / 0.4896 GB, free: 15.82 MB / 382.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.004889/0.2799, allocations: 3.692 MB / 0.4932 GB, free: 12.08 MB / 382.1 MB Notification: Performance of Templates: time 0.3064/0.5863, allocations: 28.39 MB / 0.521 GB, free: 71 MB / 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)