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.001442/0.001442, allocations: 112.5 kB / 15.73 MB, free: 76 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.001826/0.001826, allocations: 189.1 kB / 16.67 MB, free: 6.57 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2297/0.2297, allocations: 16.78 MB / 307.3 MB, free: 14.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.64 kB / 426.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09814, allocations: 53.57 MB / 480.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.01043/0.1086, allocations: 13.25 MB / 493.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007765/0.1164, allocations: 4.551 MB / 497.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.1182, allocations: 31.81 kB / 498 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.1199, allocations: 0.5434 MB / 498.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006823/0.1267, allocations: 2.154 MB / 0.4889 GB, free: 8.285 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.1292, allocations: 0.886 MB / 0.4898 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006286/0.1355, allocations: 3.011 MB / 0.4927 GB, free: 4.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000897/0.1364, allocations: 217.5 kB / 0.4929 GB, free: 4.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.1387, allocations: 1.019 MB / 0.4939 GB, free: 3.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.1412, allocations: 1.097 MB / 0.495 GB, free: 2.039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007384/0.142, allocations: 124 kB / 0.4951 GB, free: 1.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.1439, allocations: 487.7 kB / 0.4956 GB, free: 1.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006014/0.1445, allocations: 314.4 kB / 0.4959 GB, free: 1.133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.1467, allocations: 0.9715 MB / 0.4968 GB, free: 160 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004631/0.1514, allocations: 2.296 MB / 0.4991 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1514, allocations: 0 / 0.4991 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1514, allocations: 0 / 0.4991 GB, free: 13.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.679e-05/0.1515, allocations: 0 / 0.4991 GB, free: 13.85 MB / 382.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.009614/0.1611, allocations: 2.984 MB / 0.502 GB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.1612, allocations: 20.02 kB / 0.502 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.1623, allocations: 267.6 kB / 0.5023 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.1645, allocations: 1.127 MB / 0.5034 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.701e-05/0.1646, allocations: 90.77 kB / 0.5035 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.1648, allocations: 124.4 kB / 0.5036 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.1668, allocations: 1.474 MB / 0.505 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.1668, allocations: 11.88 kB / 0.505 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.1669, allocations: 56 kB / 0.5051 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.167, allocations: 36 kB / 0.5051 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.1686, allocations: 1.124 MB / 0.5062 GB, free: 6.215 MB / 382.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.01017/0.1788, allocations: 9.705 MB / 0.5157 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.1808, allocations: 0.9905 MB / 0.5166 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.1813, allocations: 363.8 kB / 0.517 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.389e-05/0.1814, allocations: 13.08 kB / 0.517 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.1815, allocations: 59.48 kB / 0.5171 GB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.276e-06/0.1815, allocations: 3.938 kB / 0.5171 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=101): time 0.004221/0.1857, allocations: 1.715 MB / 0.5187 GB, free: 8.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1857, allocations: 68.41 kB / 0.5188 GB, free: 8.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.1877, allocations: 1.49 MB / 0.5203 GB, free: 7.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.1878, allocations: 49.7 kB / 0.5203 GB, free: 7.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.1884, allocations: 0.7539 MB / 0.521 GB, free: 6.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.1888, allocations: 440.7 kB / 0.5215 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009014/0.1897, allocations: 0.7046 MB / 0.5222 GB, free: 5.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1898, allocations: 353.9 kB / 0.5225 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.1913, allocations: 0.937 MB / 0.5234 GB, free: 3.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.193, allocations: 1.26 MB / 0.5246 GB, free: 2.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.1955, allocations: 1.789 MB / 0.5264 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.1955, allocations: 4 kB / 0.5264 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.005087/0.2006, allocations: 3.114 MB / 0.5294 GB, free: 13.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.2007, allocations: 8 kB / 0.5294 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.2007, allocations: 7.984 kB / 0.5294 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.2023, allocations: 327.7 kB / 0.5298 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.205, allocations: 0.7568 MB / 0.5305 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005155/0.2101, allocations: 4.197 MB / 0.5346 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.2127, allocations: 262.3 kB / 0.5348 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.213, allocations: 120 kB / 0.535 GB, free: 7.785 MB / 414.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.0007155/0.2137, allocations: 381 kB / 0.5353 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.214, allocations: 167 kB / 0.5355 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.2159, allocations: 1.054 MB / 0.5365 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.2159, allocations: 7.984 kB / 0.5365 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2159, allocations: 0 / 0.5365 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005722/0.2165, allocations: 379.8 kB / 0.5369 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/0.2167, allocations: 16 kB / 0.5369 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009643/0.2177, allocations: 43.97 kB / 0.5369 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.2178, allocations: 72.88 kB / 0.537 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002245/0.2201, allocations: 1.052 MB / 0.538 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001889/0.222, allocations: 1.386 MB / 0.5394 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004629/0.2225, allocations: 327.9 kB / 0.5397 GB, free: 2.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.2237, allocations: 0.9157 MB / 0.5406 GB, free: 1.934 MB / 414.1 MB Notification: Performance of Backend: time 1.011e-06/0.2237, allocations: 0 / 0.5406 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00489/0.2286, allocations: 2.475 MB / 0.543 GB, free: 15.43 MB / 430.1 MB Notification: Performance of SimCode: time 0.003756/0.2324, allocations: 2.773 MB / 0.5457 GB, free: 12.61 MB / 430.1 MB Notification: Performance of Templates: time 0.04055/0.273, allocations: 24.91 MB / 0.57 GB, free: 3.727 MB / 446.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)