Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Ignoring simflag -noemit -outputFormat=mat since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_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.008136/0.008136, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001264/0.001265, allocations: 192.5 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06263/0.06263, allocations: 14.16 MB / 284.1 MB, free: 6.855 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 67.84 kB / 399.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3291, allocations: 50.13 MB / 449.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01782/0.347, allocations: 18.64 MB / 468.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.3622, allocations: 7.61 MB / 475.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005295/0.3676, allocations: 51.81 kB / 475.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.3716, allocations: 1.006 MB / 476.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3831, allocations: 3.256 MB / 480 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.3853, allocations: 0.7672 MB / 480.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009356/0.3946, allocations: 5.712 MB / 486.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.3958, allocations: 386.4 kB / 486.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/0.4, allocations: 1.946 MB / 488.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004272/0.4043, allocations: 2.012 MB / 490.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008122/0.4051, allocations: 204 kB / 491 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.4084, allocations: 0.7224 MB / 491.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008205/0.4093, allocations: 0.4899 MB / 492.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003973/0.4132, allocations: 1.675 MB / 493.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007139/0.4204, allocations: 4.202 MB / 498.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4204, allocations: 0 / 498.1 MB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4205, allocations: 4 kB / 498.1 MB, free: 5.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.614e-05/0.4205, allocations: 0 / 498.1 MB, free: 5.918 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: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.01655/0.4371, allocations: 4.465 MB / 0.4908 GB, free: 1.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4372, allocations: 8.031 kB / 0.4908 GB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/0.4394, allocations: 453.2 kB / 0.4912 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/0.4437, allocations: 1.787 MB / 0.493 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.4438, allocations: 160.8 kB / 0.4931 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.4441, allocations: 219.9 kB / 0.4933 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.4478, allocations: 2.145 MB / 0.4954 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.4478, allocations: 3.938 kB / 0.4954 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.448, allocations: 91.94 kB / 0.4955 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.4481, allocations: 52 kB / 0.4956 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00343/0.4515, allocations: 2.172 MB / 0.4977 GB, free: 10.12 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.02108/0.4726, allocations: 15.17 MB / 0.5125 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004498/0.4771, allocations: 3.113 MB / 0.5155 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.4783, allocations: 0.7988 MB / 0.5163 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.4784, allocations: 29.98 kB / 0.5163 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4785, allocations: 52.56 kB / 0.5164 GB, free: 5.035 MB / 398.1 MB Notification: Performance of pre-optimization done (n=217): time 4.018e-06/0.4785, allocations: 0 / 0.5164 GB, free: 5.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=217): time 0.008746/0.4873, allocations: 3.461 MB / 0.5198 GB, free: 1.504 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4873, allocations: 73.41 kB / 0.5198 GB, free: 1.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.4903, allocations: 1.689 MB / 0.5215 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001908/0.4905, allocations: 57.7 kB / 0.5215 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000852/0.4914, allocations: 1.062 MB / 0.5226 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009591/0.4924, allocations: 0.7547 MB / 0.5233 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006026/0.493, allocations: 428.8 kB / 0.5237 GB, free: 13.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4931, allocations: 313 kB / 0.524 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.4942, allocations: 0.661 MB / 0.5247 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.4956, allocations: 1.215 MB / 0.5259 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/0.4983, allocations: 2.02 MB / 0.5278 GB, free: 8.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.4983, allocations: 4 kB / 0.5278 GB, free: 8.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005188/0.5035, allocations: 2.685 MB / 0.5305 GB, free: 5.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.5035, allocations: 16.03 kB / 0.5305 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.5036, allocations: 16 kB / 0.5305 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.5054, allocations: 0.5262 MB / 0.531 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/0.5076, allocations: 0.5812 MB / 0.5316 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009384/0.517, allocations: 7.704 MB / 0.5391 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/0.5201, allocations: 186.5 kB / 0.5393 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.5203, allocations: 100.1 kB / 0.5394 GB, free: 12.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 282 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,26), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001116/0.5214, allocations: 481 kB / 0.5398 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006558/0.5221, allocations: 237.2 kB / 0.54 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/0.526, allocations: 2.148 MB / 0.5421 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.526, allocations: 20 kB / 0.5422 GB, free: 9.469 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.526, allocations: 4 kB / 0.5422 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.5261, allocations: 7.969 kB / 0.5422 GB, free: 9.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00769/0.5338, allocations: 5.262 MB / 0.5473 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5338, allocations: 4.531 kB / 0.5473 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.5354, allocations: 387.5 kB / 0.5477 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/0.537, allocations: 0.5103 MB / 0.5482 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/0.5371, allocations: 40 kB / 0.5482 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009001/0.5462, allocations: 7.557 MB / 0.5556 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5462, allocations: 7.938 kB / 0.5556 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/0.5511, allocations: 2.309 MB / 0.5579 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.5525, allocations: 0.5136 MB / 0.5584 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.5529, allocations: 36 kB / 0.5584 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/0.5545, allocations: 55.92 kB / 0.5585 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003969/0.5549, allocations: 149.7 kB / 0.5586 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.5551, allocations: 52 kB / 0.5586 GB, free: 7.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.5567, allocations: 1.109 MB / 0.5597 GB, free: 6.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5568, allocations: 4 kB / 0.5597 GB, free: 6.695 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002819/0.5596, allocations: 0.89 MB / 0.5606 GB, free: 5.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (176): * Single equations (assignments): 173 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004868/0.5601, allocations: 288.6 kB / 0.5609 GB, free: 5.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003942/0.564, allocations: 2.385 MB / 0.5632 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.5641, allocations: 0 / 0.5632 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.5661, allocations: 1.399 MB / 0.5646 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.568, allocations: 333.5 kB / 0.5649 GB, free: 1.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006141/0.5742, allocations: 3.666 MB / 0.5685 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.5753, allocations: 1.494 MB / 0.5699 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.5766, allocations: 300.9 kB / 0.5702 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.5771, allocations: 159.4 kB / 0.5704 GB, free: 11.59 MB / 462.1 MB Notification: Performance of SimCode: time 2.504e-06/0.5771, allocations: 0 / 0.5704 GB, free: 11.59 MB / 462.1 MB Notification: Performance of Templates: time 0.2964/0.8736, allocations: 30.9 MB / 0.6005 GB, free: 142.8 MB / 478.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)