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.004963/0.004963, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001192/0.001192, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.256/1.256, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1925/0.1925, allocations: 16.78 MB / 307.3 MB, free: 14.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.09 kB / 426.6 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0737/0.07486, allocations: 53.57 MB / 480.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.ENTSOE.PowerFlow): time 0.008562/0.08345, allocations: 13.25 MB / 493.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.0896, allocations: 4.551 MB / 497.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006972/0.09032, allocations: 31.81 kB / 498 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.09135, allocations: 0.5473 MB / 498.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003918/0.09531, allocations: 2.146 MB / 0.4889 GB, free: 8.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.09696, allocations: 0.8875 MB / 0.4898 GB, free: 7.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.09971, allocations: 3.011 MB / 0.4927 GB, free: 4.293 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.1, allocations: 221.4 kB / 0.493 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1011, allocations: 1.019 MB / 0.4939 GB, free: 3.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.1021, allocations: 1.105 MB / 0.495 GB, free: 1.926 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.1023, allocations: 116 kB / 0.4951 GB, free: 1.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008529/0.1031, allocations: 487.7 kB / 0.4956 GB, free: 1.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.1034, allocations: 322.4 kB / 0.4959 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007756/0.1042, allocations: 0.9715 MB / 0.4969 GB, free: 44 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.1063, allocations: 2.274 MB / 0.4991 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1063, allocations: 0 / 0.4991 GB, free: 13.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1063, allocations: 4 kB / 0.4991 GB, free: 13.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.1063, allocations: 0 / 0.4991 GB, free: 13.76 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.008068/0.1144, allocations: 2.935 MB / 0.5019 GB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1145, allocations: 8.031 kB / 0.502 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.1154, allocations: 258.6 kB / 0.5022 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.117, allocations: 1.122 MB / 0.5033 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.1171, allocations: 102.8 kB / 0.5034 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.1172, allocations: 124.4 kB / 0.5035 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.119, allocations: 1.47 MB / 0.5049 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.119, allocations: 11.88 kB / 0.505 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.1191, allocations: 60 kB / 0.505 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.1192, allocations: 32 kB / 0.505 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.1207, allocations: 1.116 MB / 0.5061 GB, free: 6.195 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.008535/0.1293, allocations: 9.692 MB / 0.5156 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.1311, allocations: 0.9865 MB / 0.5166 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.1316, allocations: 365.4 kB / 0.5169 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.1317, allocations: 21.05 kB / 0.5169 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1318, allocations: 47.5 kB / 0.517 GB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 4.158e-06/0.1318, allocations: 4 kB / 0.517 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=101): time 0.003877/0.1357, allocations: 1.717 MB / 0.5187 GB, free: 8.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1357, allocations: 60.41 kB / 0.5187 GB, free: 8.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.1375, allocations: 1.489 MB / 0.5202 GB, free: 7.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.1375, allocations: 45.7 kB / 0.5202 GB, free: 7.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.1381, allocations: 0.7399 MB / 0.5209 GB, free: 6.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/0.1384, allocations: 418.7 kB / 0.5213 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009463/0.1394, allocations: 0.7043 MB / 0.522 GB, free: 5.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1395, allocations: 361.9 kB / 0.5224 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.141, allocations: 0.9331 MB / 0.5233 GB, free: 4.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.1427, allocations: 1.256 MB / 0.5245 GB, free: 2.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.1452, allocations: 1.789 MB / 0.5263 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1452, allocations: 0 / 0.5263 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.004843/0.1501, allocations: 3.113 MB / 0.5293 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1501, allocations: 8 kB / 0.5293 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1501, allocations: 384 / 0.5293 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.1518, allocations: 327.5 kB / 0.5296 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/0.1545, allocations: 0.7568 MB / 0.5304 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004693/0.1592, allocations: 4.2 MB / 0.5345 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.1613, allocations: 241.9 kB / 0.5347 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.1616, allocations: 124 kB / 0.5348 GB, free: 7.844 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.00057/0.1622, allocations: 390.6 kB / 0.5352 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.1625, allocations: 166 kB / 0.5353 GB, free: 7.289 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.1644, allocations: 1.038 MB / 0.5363 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.1644, allocations: 3.984 kB / 0.5364 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1644, allocations: 0 / 0.5364 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000608/0.165, allocations: 378.8 kB / 0.5367 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.1653, allocations: 23.98 kB / 0.5367 GB, free: 5.816 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.1663, allocations: 43.97 kB / 0.5368 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.1664, allocations: 68.89 kB / 0.5368 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002197/0.1686, allocations: 1.042 MB / 0.5379 GB, free: 4.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001791/0.1704, allocations: 1.387 MB / 0.5392 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004291/0.1709, allocations: 327.8 kB / 0.5395 GB, free: 2.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.172, allocations: 0.9158 MB / 0.5404 GB, free: 2.012 MB / 414.1 MB Notification: Performance of Backend: time 2.4e-07/0.172, allocations: 3.938 kB / 0.5404 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004341/0.1764, allocations: 2.453 MB / 0.5428 GB, free: 15.53 MB / 430.1 MB Notification: Performance of SimCode: time 0.003594/0.18, allocations: 2.754 MB / 0.5455 GB, free: 12.74 MB / 430.1 MB Notification: Performance of Templates: time 0.03731/0.2173, allocations: 24.9 MB / 0.5698 GB, free: 3.855 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.ENTSOE.PowerFlow.pipe 2>&1)