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.001666/0.001666, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001914/0.001914, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07636/0.07636, allocations: 16.74 MB / 307.9 MB, free: 14.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.14 kB / 373.2 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07464/0.07588, allocations: 53.57 MB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02169/0.09759, allocations: 29.88 MB / 456.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.1107, allocations: 8.535 MB / 465.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.1137, allocations: 63.69 kB / 465.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002801/0.1165, allocations: 1.133 MB / 466.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009116/0.1257, allocations: 3.67 MB / 470 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.1285, allocations: 1.274 MB / 471.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007595/0.1361, allocations: 6.72 MB / 478 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.1369, allocations: 481.3 kB / 478.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/0.1399, allocations: 2.194 MB / 480.7 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.1427, allocations: 2.388 MB / 483.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004126/0.1431, allocations: 248 kB / 483.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.1448, allocations: 0.7692 MB / 484.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.1453, allocations: 0.6413 MB / 484.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002328/0.1477, allocations: 2.114 MB / 486.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004744/0.1524, allocations: 4.77 MB / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1524, allocations: 0 / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1524, allocations: 0 / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.012e-05/0.1525, allocations: 0 / 491.6 MB, free: 10.89 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 654 * Number of variables: 654 Notification: Performance of Generate backend data structure: time 0.01515/0.1676, allocations: 5.151 MB / 496.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.1677, allocations: 8.031 kB / 496.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.1698, allocations: 0.5547 MB / 497.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/0.1738, allocations: 2.265 MB / 499.6 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1739, allocations: 205.5 kB / 499.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.1742, allocations: 268.4 kB / 0.4883 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/0.1781, allocations: 3.164 MB / 0.4914 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.1782, allocations: 19.81 kB / 0.4914 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.1784, allocations: 116 kB / 0.4915 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/0.1784, allocations: 72 kB / 0.4916 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003478/0.1819, allocations: 2.407 MB / 0.4939 GB, free: 12.03 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.1842/0.3661, allocations: 22.26 MB / 0.5157 GB, free: 62.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003601/0.3697, allocations: 3.177 MB / 0.5188 GB, free: 61.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009485/0.3707, allocations: 0.7826 MB / 0.5196 GB, free: 61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3708, allocations: 27.12 kB / 0.5196 GB, free: 61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3709, allocations: 71.56 kB / 0.5196 GB, free: 60.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=215): time 4.047e-06/0.3709, allocations: 0 / 0.5196 GB, free: 60.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=215): time 0.007399/0.3783, allocations: 3.394 MB / 0.523 GB, free: 60.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3783, allocations: 73.16 kB / 0.523 GB, free: 60.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/0.3819, allocations: 2.996 MB / 0.526 GB, free: 59.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.3821, allocations: 72.7 kB / 0.526 GB, free: 59.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008871/0.383, allocations: 1.589 MB / 0.5276 GB, free: 58.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006086/0.3836, allocations: 0.8751 MB / 0.5284 GB, free: 57.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001937/0.3855, allocations: 1.465 MB / 0.5299 GB, free: 56.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.3856, allocations: 305.8 kB / 0.5302 GB, free: 56.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002749/0.3883, allocations: 1.902 MB / 0.532 GB, free: 55.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.3911, allocations: 2.597 MB / 0.5345 GB, free: 54.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.3952, allocations: 3.636 MB / 0.5381 GB, free: 52.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.3952, allocations: 3.938 kB / 0.5381 GB, free: 52.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.008489/0.4037, allocations: 6.4 MB / 0.5444 GB, free: 48.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.4038, allocations: 8 kB / 0.5444 GB, free: 48.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.4038, allocations: 13.91 kB / 0.5444 GB, free: 48.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003592/0.4074, allocations: 0.7891 MB / 0.5451 GB, free: 47.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005544/0.413, allocations: 1.627 MB / 0.5467 GB, free: 46.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007392/0.4204, allocations: 7.428 MB / 0.554 GB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005773/0.4262, allocations: 0.5035 MB / 0.5545 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005069/0.4267, allocations: 256 kB / 0.5547 GB, free: 37.5 MB / 382.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 (1019): * Single equations (assignments): 1016 * 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 {(12,0), (28,0)} Notification: Performance of prepare postOptimizeDAE: time 0.001147/0.4279, allocations: 0.6776 MB / 0.5554 GB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/0.4284, allocations: 340 kB / 0.5557 GB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.4316, allocations: 2.126 MB / 0.5578 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4316, allocations: 7.969 kB / 0.5578 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4316, allocations: 0 / 0.5578 GB, free: 34.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.433, allocations: 0.6723 MB / 0.5584 GB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/0.4334, allocations: 36.86 kB / 0.5585 GB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.4355, allocations: 99.94 kB / 0.5586 GB, free: 33.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.4357, allocations: 154.5 kB / 0.5587 GB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00381/0.4395, allocations: 2.051 MB / 0.5607 GB, free: 31.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00309/0.4426, allocations: 2.546 MB / 0.5632 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000665/0.4433, allocations: 0.6325 MB / 0.5638 GB, free: 28.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002106/0.4454, allocations: 1.807 MB / 0.5656 GB, free: 26.31 MB / 382.1 MB Notification: Performance of Backend: time 6.11e-07/0.4454, allocations: 0 / 0.5656 GB, free: 26.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007504/0.4529, allocations: 4.813 MB / 0.5703 GB, free: 21.51 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.006504/0.4595, allocations: 5.29 MB / 0.5755 GB, free: 16.21 MB / 382.1 MB Notification: Performance of Templates: time 0.06806/0.5276, allocations: 45.07 MB / 0.6195 GB, free: 3.312 MB / 414.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=480 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)