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.001726/0.001725, allocations: 107 kB / 16.36 MB, free: 6.336 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.00154/0.00154, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.658/1.658, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1465/0.1465, allocations: 16.75 MB / 307.9 MB, free: 14.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001282, allocations: 61.17 kB / 373.1 MB, free: 48.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 53.56 MB / 426.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01067/0.1302, allocations: 13.12 MB / 439.8 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009257/0.1395, allocations: 4.488 MB / 444.3 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.1415, allocations: 27.88 kB / 444.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.1438, allocations: 0.5395 MB / 444.9 MB, free: 9.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006633/0.1505, allocations: 2.037 MB / 446.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.1525, allocations: 0.7962 MB / 447.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004559/0.157, allocations: 2.895 MB / 450.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.1577, allocations: 216.1 kB / 450.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.1595, allocations: 0.9569 MB / 451.8 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.1616, allocations: 1.031 MB / 452.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004922/0.1621, allocations: 108 kB / 452.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.1641, allocations: 467.7 kB / 453.4 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004927/0.1646, allocations: 294.5 kB / 453.6 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001948/0.1666, allocations: 0.9211 MB / 454.6 MB, free: 4 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.1702, allocations: 2.173 MB / 456.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1702, allocations: 0 / 456.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.1703, allocations: 4 kB / 456.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.1703, allocations: 0 / 456.7 MB, free: 13.82 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.00827/0.1786, allocations: 2.408 MB / 459.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.1787, allocations: 8.031 kB / 459.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.1798, allocations: 250.7 kB / 459.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.182, allocations: 1.091 MB / 460.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.1821, allocations: 90.58 kB / 460.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.1822, allocations: 112.4 kB / 460.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.1841, allocations: 1.374 MB / 462.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.1841, allocations: 7.938 kB / 462.1 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.271e-05/0.1842, allocations: 56 kB / 462.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.1843, allocations: 28 kB / 462.2 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.1858, allocations: 1.006 MB / 463.2 MB, free: 7.055 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.01097/0.1967, allocations: 9.813 MB / 473 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.1983, allocations: 1.105 MB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.1988, allocations: 305.5 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.1988, allocations: 12.98 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1989, allocations: 47.5 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 3.547e-06/0.1989, allocations: 0 / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.003046/0.2019, allocations: 1.33 MB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.202, allocations: 60.41 kB / 475.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.2037, allocations: 1.399 MB / 477.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.2038, allocations: 45.7 kB / 477.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.2044, allocations: 0.749 MB / 478 MB, free: 7.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/0.2048, allocations: 355.7 kB / 478.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008949/0.2057, allocations: 0.6366 MB / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.2059, allocations: 357.9 kB / 479.4 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.2073, allocations: 0.8112 MB / 480.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.2088, allocations: 1.106 MB / 481.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.2109, allocations: 1.539 MB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.211, allocations: 11.94 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=452) (initialization): time 0.004474/0.2154, allocations: 2.718 MB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.2155, allocations: 16 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.2155, allocations: 0 / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.2171, allocations: 297.4 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/0.2194, allocations: 0.6905 MB / 486.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/0.2235, allocations: 3.762 MB / 490.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.2259, allocations: 218 kB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.2261, allocations: 112 kB / 490.6 MB, free: 10.44 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 (440): * Single equations (assignments): 438 * 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 {(12,0)} Notification: Performance of prepare postOptimizeDAE: time 0.0006187/0.2268, allocations: 361.2 kB / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.227, allocations: 150.2 kB / 491.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.2285, allocations: 0.8538 MB / 492 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.2285, allocations: 3.984 kB / 492 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2285, allocations: 11.92 kB / 492 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005799/0.2291, allocations: 335.1 kB / 492.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.2293, allocations: 12 kB / 492.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008984/0.2302, allocations: 43.97 kB / 492.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.2303, allocations: 56.91 kB / 492.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001646/0.232, allocations: 0.8545 MB / 493.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001384/0.2334, allocations: 1.144 MB / 494.4 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003437/0.2337, allocations: 255.9 kB / 494.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.2349, allocations: 0.8667 MB / 495.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of Backend: time 1.492e-06/0.2349, allocations: 4 kB / 495.5 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004193/0.2391, allocations: 2.151 MB / 497.7 MB, free: 3.25 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.003604/0.2427, allocations: 2.547 MB / 0.4885 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of Templates: time 0.2594/0.5021, allocations: 22.25 MB / 0.5102 GB, free: 74.39 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 -s cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)