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.001198/0.001198, allocations: 109.8 kB / 16.41 MB, free: 6.035 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.001169/0.001169, allocations: 183.7 kB / 17.34 MB, free: 5.633 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07531/0.07531, allocations: 16.79 MB / 308 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 427.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.108, allocations: 53.55 MB / 480.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02648/0.1346, allocations: 30.19 MB / 0.499 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2647/0.3993, allocations: 8.652 MB / 0.5075 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00471/0.4041, allocations: 65.53 kB / 0.5075 GB, free: 3.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00533/0.4094, allocations: 1.146 MB / 0.5087 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.4237, allocations: 3.942 MB / 0.5125 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.4283, allocations: 1.522 MB / 0.514 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.4412, allocations: 6.955 MB / 0.5208 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.4432, allocations: 494 kB / 0.5213 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006242/0.4495, allocations: 2.35 MB / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006629/0.4561, allocations: 2.552 MB / 0.526 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001753/0.4579, allocations: 278.3 kB / 0.5263 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004993/0.4629, allocations: 0.7863 MB / 0.5271 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001602/0.4646, allocations: 0.7157 MB / 0.5278 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007111/0.4717, allocations: 2.216 MB / 0.5299 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.4831, allocations: 5.036 MB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4832, allocations: 0 / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4832, allocations: 0 / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002083/0.4834, allocations: 0 / 0.5349 GB, free: 11.41 MB / 398.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.02685/0.5103, allocations: 6.38 MB / 0.5411 GB, free: 7.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.5103, allocations: 7.656 kB / 0.5411 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/0.514, allocations: 0.5718 MB / 0.5417 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007163/0.5212, allocations: 2.337 MB / 0.5439 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.5215, allocations: 221.2 kB / 0.5441 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008687/0.5224, allocations: 288.5 kB / 0.5444 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007347/0.5297, allocations: 3.398 MB / 0.5477 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.5299, allocations: 31.69 kB / 0.5478 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005566/0.5305, allocations: 124 kB / 0.5479 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/0.5305, allocations: 80 kB / 0.548 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00546/0.536, allocations: 2.69 MB / 0.5506 GB, free: 15.12 MB / 414.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.03023/0.5663, allocations: 22.09 MB / 0.5722 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00534/0.5717, allocations: 2.445 MB / 0.5745 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.5734, allocations: 0.916 MB / 0.5754 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002005/0.5736, allocations: 33.34 kB / 0.5755 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/0.5737, allocations: 72.44 kB / 0.5755 GB, free: 4.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=251): time 8.015e-06/0.5737, allocations: 4 kB / 0.5755 GB, free: 4.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=251): time 0.01628/0.59, allocations: 4.739 MB / 0.5802 GB, free: 15.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.5901, allocations: 89.33 kB / 0.5803 GB, free: 15.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00743/0.5975, allocations: 3.197 MB / 0.5834 GB, free: 12.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005856/0.5982, allocations: 77.7 kB / 0.5835 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001889/0.6001, allocations: 1.576 MB / 0.585 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001798/0.6019, allocations: 1.012 MB / 0.586 GB, free: 9.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005779/0.6077, allocations: 1.632 MB / 0.5876 GB, free: 8.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6078, allocations: 301.1 kB / 0.5879 GB, free: 8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00499/0.6128, allocations: 2.201 MB / 0.59 GB, free: 5.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005805/0.6186, allocations: 2.941 MB / 0.5929 GB, free: 2.754 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007994/0.6267, allocations: 4.215 MB / 0.597 GB, free: 14.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-05/0.6267, allocations: 0 / 0.597 GB, free: 14.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01799/0.6447, allocations: 7.309 MB / 0.6041 GB, free: 7.016 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.6448, allocations: 12.36 kB / 0.6042 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.6449, allocations: 11.94 kB / 0.6042 GB, free: 6.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004623/0.6495, allocations: 0.8736 MB / 0.605 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007448/0.657, allocations: 1.736 MB / 0.6067 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.6703, allocations: 8.883 MB / 0.6154 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008617/0.679, allocations: 0.5769 MB / 0.616 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/0.6805, allocations: 276 kB / 0.6162 GB, free: 10.23 MB / 478.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.002689/0.6832, allocations: 0.711 MB / 0.6169 GB, free: 9.512 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/0.6847, allocations: 371.5 kB / 0.6173 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.6904, allocations: 2.602 MB / 0.6198 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.6904, allocations: 11.95 kB / 0.6198 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6904, allocations: 0 / 0.6198 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002616/0.6931, allocations: 0.7384 MB / 0.6205 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/0.6943, allocations: 40 kB / 0.6206 GB, free: 5.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003347/0.6976, allocations: 103.9 kB / 0.6207 GB, free: 5.605 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003312/0.698, allocations: 177.7 kB / 0.6208 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006204/0.7042, allocations: 2.511 MB / 0.6233 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005435/0.7097, allocations: 3.069 MB / 0.6263 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001155/0.7108, allocations: 0.777 MB / 0.6271 GB, free: 15.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00371/0.7146, allocations: 1.922 MB / 0.6289 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Backend: time 9.01e-07/0.7146, allocations: 0 / 0.6289 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01459/0.7292, allocations: 5.634 MB / 0.6344 GB, free: 7.539 MB / 494.1 MB Notification: Performance of SimCode: time 0.01618/0.7454, allocations: 7.084 MB / 0.6413 GB, free: 440 kB / 494.1 MB Notification: Performance of Templates: time 0.09627/0.8417, allocations: 70.52 MB / 0.7102 GB, free: 9.848 MB / 0.5606 GB 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)