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.001114/0.001114, allocations: 107 kB / 16.27 MB, free: 5.992 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.001094/0.001094, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1293/0.1293, allocations: 16.77 MB / 307.8 MB, free: 14.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 66.28 kB / 372.4 MB, free: 48.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1062, allocations: 53.58 MB / 426 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.00977/0.116, allocations: 13.25 MB / 439.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008095/0.1241, allocations: 4.547 MB / 443.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.126, allocations: 31.81 kB / 443.8 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.1279, allocations: 0.5473 MB / 444.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.1335, allocations: 2.048 MB / 446.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.1356, allocations: 0.8859 MB / 447.3 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003828/0.1394, allocations: 3.003 MB / 450.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.14, allocations: 212.4 kB / 450.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.1416, allocations: 0.9959 MB / 451.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.1434, allocations: 1.105 MB / 452.6 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005402/0.144, allocations: 120 kB / 452.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.1456, allocations: 483.7 kB / 453.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006049/0.1462, allocations: 314.4 kB / 453.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002061/0.1483, allocations: 0.9754 MB / 454.5 MB, free: 60 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003148/0.1515, allocations: 2.233 MB / 456.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1515, allocations: 3.938 kB / 456.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1515, allocations: 4 kB / 456.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.1515, allocations: 0 / 456.7 MB, free: 13.81 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.009634/0.1612, allocations: 2.947 MB / 459.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.1612, allocations: 8.031 kB / 459.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.1624, allocations: 258.7 kB / 459.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.1649, allocations: 1.095 MB / 461 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.165, allocations: 94.77 kB / 461.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.1651, allocations: 120.4 kB / 461.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/0.1682, allocations: 1.47 MB / 462.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.1683, allocations: 11.94 kB / 462.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/0.1685, allocations: 56 kB / 462.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.1685, allocations: 36 kB / 462.8 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.1712, allocations: 1.127 MB / 463.9 MB, free: 6.262 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.01559/0.1869, allocations: 9.727 MB / 473.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.1898, allocations: 0.9899 MB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008446/0.1907, allocations: 379.5 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.163e-05/0.1908, allocations: 17.06 kB / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.1908, allocations: 47.5 kB / 475.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=101): time 1.719e-05/0.1909, allocations: 0 / 475.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=101): time 0.006365/0.1973, allocations: 1.698 MB / 476.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1973, allocations: 72.34 kB / 476.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003826/0.2012, allocations: 1.489 MB / 478.3 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.2014, allocations: 49.69 kB / 478.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/0.2024, allocations: 0.7398 MB / 479.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008189/0.2032, allocations: 418.8 kB / 479.5 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.2049, allocations: 0.7042 MB / 480.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2051, allocations: 353.9 kB / 480.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.2072, allocations: 0.937 MB / 481.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/0.2103, allocations: 1.256 MB / 482.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.2146, allocations: 1.785 MB / 484.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.2146, allocations: 3.984 kB / 484.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008439/0.2231, allocations: 3.109 MB / 487.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.2231, allocations: 4 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/0.2232, allocations: 4 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.2255, allocations: 324.5 kB / 488 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/0.2296, allocations: 0.7607 MB / 488.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.237, allocations: 4.2 MB / 493 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/0.2414, allocations: 253.8 kB / 493.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000609/0.242, allocations: 116 kB / 493.3 MB, free: 7.883 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.001359/0.2434, allocations: 389 kB / 493.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000781/0.2442, allocations: 162 kB / 493.9 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.2473, allocations: 1.042 MB / 494.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.2473, allocations: 11.92 kB / 494.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2473, allocations: 3.938 kB / 494.9 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.2486, allocations: 370.8 kB / 495.3 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005393/0.2492, allocations: 16 kB / 495.3 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.2507, allocations: 47.97 kB / 495.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.2509, allocations: 68.88 kB / 495.4 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00261/0.2535, allocations: 1.049 MB / 496.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002435/0.256, allocations: 1.393 MB / 497.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005681/0.2566, allocations: 323.9 kB / 498.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002044/0.2586, allocations: 0.9119 MB / 499.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of Backend: time 6.72e-07/0.2586, allocations: 0 / 499.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006525/0.2652, allocations: 2.462 MB / 0.4898 GB, free: 15.56 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.005556/0.2707, allocations: 3.678 MB / 0.4934 GB, free: 11.83 MB / 382.1 MB Notification: Performance of Templates: time 0.2283/0.4991, allocations: 28.42 MB / 0.5211 GB, free: 70.7 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)