Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.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.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007663/0.007663, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.002004/0.002004, allocations: 195.3 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2121/0.2121, allocations: 16.69 MB / 307.2 MB, free: 14.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 65.89 kB / 426.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07741/0.07932, allocations: 53.56 MB / 480 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02386/0.1032, allocations: 30.18 MB / 0.4983 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.1179, allocations: 8.668 MB / 0.5067 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00345/0.1214, allocations: 63.69 kB / 0.5068 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.1256, allocations: 1.149 MB / 0.5079 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.1372, allocations: 3.708 MB / 0.5115 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.1418, allocations: 1.515 MB / 0.513 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.1547, allocations: 6.957 MB / 0.5198 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1558, allocations: 497.8 kB / 0.5203 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/0.1599, allocations: 2.299 MB / 0.5225 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/0.1639, allocations: 2.552 MB / 0.525 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008947/0.1648, allocations: 279.9 kB / 0.5253 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002507/0.1673, allocations: 0.7849 MB / 0.5261 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007109/0.168, allocations: 0.7075 MB / 0.5267 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003039/0.1711, allocations: 2.227 MB / 0.5289 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007898/0.179, allocations: 5.055 MB / 0.5339 GB, free: 10.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.179, allocations: 0 / 0.5339 GB, free: 10.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.179, allocations: 0 / 0.5339 GB, free: 10.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001077/0.1791, allocations: 0 / 0.5339 GB, free: 10.1 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 710 * Number of variables: 710 Notification: Performance of Generate backend data structure: time 0.02258/0.2017, allocations: 6.479 MB / 0.5402 GB, free: 3.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2018, allocations: 11.97 kB / 0.5402 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.2042, allocations: 0.5957 MB / 0.5408 GB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.2086, allocations: 2.362 MB / 0.5431 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.2088, allocations: 217.9 kB / 0.5433 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.2092, allocations: 288.4 kB / 0.5436 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/0.2143, allocations: 3.402 MB / 0.5469 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-05/0.2144, allocations: 27.75 kB / 0.5469 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.2147, allocations: 132 kB / 0.547 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.548e-05/0.2147, allocations: 76 kB / 0.5471 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004445/0.2192, allocations: 2.69 MB / 0.5497 GB, free: 9.18 MB / 430.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.0257/0.2449, allocations: 22.1 MB / 0.5713 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/0.2496, allocations: 2.457 MB / 0.5737 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.251, allocations: 0.916 MB / 0.5746 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.2512, allocations: 38.08 kB / 0.5747 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.137e-05/0.2513, allocations: 68.55 kB / 0.5747 GB, free: 14.58 MB / 462.1 MB Notification: Performance of pre-optimization done (n=251): time 4.729e-06/0.2513, allocations: 0 / 0.5747 GB, free: 14.58 MB / 462.1 MB Notification: Performance of matching and sorting (n=251): time 0.01489/0.2662, allocations: 4.766 MB / 0.5794 GB, free: 9.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2663, allocations: 77.41 kB / 0.5794 GB, free: 9.652 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005123/0.2714, allocations: 3.205 MB / 0.5826 GB, free: 6.449 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002957/0.2717, allocations: 81.7 kB / 0.5827 GB, free: 6.363 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.2733, allocations: 1.623 MB / 0.5842 GB, free: 4.727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.2746, allocations: 1.058 MB / 0.5853 GB, free: 3.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/0.2772, allocations: 1.632 MB / 0.5869 GB, free: 2.016 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2773, allocations: 305.1 kB / 0.5872 GB, free: 1.715 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2052/0.4825, allocations: 2.193 MB / 0.5893 GB, free: 102.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003898/0.4864, allocations: 2.942 MB / 0.5922 GB, free: 102.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006066/0.4925, allocations: 4.211 MB / 0.5963 GB, free: 101.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.4925, allocations: 1.875 kB / 0.5963 GB, free: 101.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01176/0.5043, allocations: 7.33 MB / 0.6034 GB, free: 98.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.5044, allocations: 10 kB / 0.6035 GB, free: 98.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/0.5044, allocations: 9.078 kB / 0.6035 GB, free: 98.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004005/0.5084, allocations: 0.8824 MB / 0.6043 GB, free: 98.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005325/0.5137, allocations: 1.743 MB / 0.606 GB, free: 98.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.5256, allocations: 8.897 MB / 0.6147 GB, free: 92.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007591/0.5332, allocations: 0.5849 MB / 0.6153 GB, free: 92.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007404/0.534, allocations: 281.4 kB / 0.6156 GB, free: 92.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (NTLV2.isSlackBus,NTHV2.isSlackBus,NTHV1.isSlackBus,NTLV1.isSlackBus,GRIDL2.isSlackBus,GRIDL1.isSlackBus,GEN2.isSlackBus,GEN1.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(17,0), (39,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001424/0.5354, allocations: 0.7233 MB / 0.6163 GB, free: 91.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006075/0.536, allocations: 382.2 kB / 0.6166 GB, free: 91.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/0.5401, allocations: 2.587 MB / 0.6192 GB, free: 90.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.5401, allocations: 11.58 kB / 0.6192 GB, free: 90.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5401, allocations: 0 / 0.6192 GB, free: 90.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.5413, allocations: 0.7535 MB / 0.6199 GB, free: 90.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/0.5418, allocations: 45.56 kB / 0.6199 GB, free: 90.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002183/0.544, allocations: 106.1 kB / 0.62 GB, free: 90.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002401/0.5442, allocations: 185 kB / 0.6202 GB, free: 90.22 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004667/0.5489, allocations: 2.51 MB / 0.6227 GB, free: 88.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004029/0.553, allocations: 3.102 MB / 0.6257 GB, free: 85.32 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008842/0.5539, allocations: 0.7752 MB / 0.6265 GB, free: 84.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002296/0.5562, allocations: 1.922 MB / 0.6283 GB, free: 82.68 MB / 462.1 MB Notification: Performance of Backend: time 6.61e-07/0.5562, allocations: 1.531 kB / 0.6283 GB, free: 82.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/0.5667, allocations: 5.633 MB / 0.6338 GB, free: 77.12 MB / 462.1 MB Notification: Performance of SimCode: time 0.008185/0.5749, allocations: 5.889 MB / 0.6396 GB, free: 71.24 MB / 462.1 MB Notification: Performance of Templates: time 0.1412/0.7162, allocations: 51.38 MB / 0.6898 GB, free: 20.04 MB / 462.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)