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.005194/0.005194, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001245/0.001245, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.216/1.216, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05907/0.05907, allocations: 14.18 MB / 284.1 MB, free: 13.86 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.001531/0.001531, allocations: 66.2 kB / 399.3 MB, free: 42.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06529/0.06683, allocations: 50.13 MB / 449.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01578/0.08265, allocations: 18.63 MB / 468 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.09367, allocations: 7.62 MB / 475.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.09575, allocations: 51.81 kB / 475.7 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.0985, allocations: 1.002 MB / 476.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008044/0.1066, allocations: 3.41 MB / 480.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.1084, allocations: 0.7785 MB / 480.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006697/0.1151, allocations: 5.708 MB / 486.6 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000864/0.116, allocations: 386.4 kB / 487 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.1188, allocations: 1.942 MB / 488.9 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.1218, allocations: 2.023 MB / 491 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005464/0.1224, allocations: 200 kB / 491.1 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.1244, allocations: 0.7224 MB / 491.9 MB, free: 296 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005534/0.125, allocations: 0.4939 MB / 492.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.1273, allocations: 1.679 MB / 494 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.1321, allocations: 4.187 MB / 498.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1321, allocations: 4 kB / 498.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1321, allocations: 0 / 498.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.314e-05/0.1322, allocations: 0 / 498.2 MB, free: 9.902 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: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.01371/0.1459, allocations: 4.465 MB / 0.4909 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1459, allocations: 12.03 kB / 0.4909 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.1477, allocations: 457.2 kB / 0.4914 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.1507, allocations: 1.791 MB / 0.4931 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1508, allocations: 164.8 kB / 0.4933 GB, free: 2.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.1511, allocations: 215.9 kB / 0.4935 GB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.1541, allocations: 2.141 MB / 0.4956 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.1542, allocations: 4 kB / 0.4956 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.1544, allocations: 84 kB / 0.4957 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.1544, allocations: 56 kB / 0.4957 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.1576, allocations: 2.172 MB / 0.4978 GB, free: 14.11 MB / 398.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.01749/0.1751, allocations: 15.16 MB / 0.5126 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004139/0.1793, allocations: 3.12 MB / 0.5157 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.1803, allocations: 0.7988 MB / 0.5165 GB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.1805, allocations: 33.97 kB / 0.5165 GB, free: 9.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.1805, allocations: 60.5 kB / 0.5166 GB, free: 9.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.208e-06/0.1805, allocations: 0 / 0.5166 GB, free: 9.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.007865/0.1884, allocations: 3.461 MB / 0.5199 GB, free: 5.473 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1885, allocations: 73.41 kB / 0.52 GB, free: 5.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.1906, allocations: 1.689 MB / 0.5217 GB, free: 3.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.3e-05/0.1907, allocations: 57.7 kB / 0.5217 GB, free: 3.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006912/0.1914, allocations: 1.062 MB / 0.5227 GB, free: 2.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006598/0.1921, allocations: 0.7508 MB / 0.5235 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005661/0.1926, allocations: 432.8 kB / 0.5239 GB, free: 1.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.1928, allocations: 309.1 kB / 0.5242 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.1938, allocations: 0.661 MB / 0.5248 GB, free: 364 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.173/0.3668, allocations: 1.208 MB / 0.526 GB, free: 79.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.3697, allocations: 2.023 MB / 0.528 GB, free: 78.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/0.3698, allocations: 4.781 kB / 0.528 GB, free: 78.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005144/0.3749, allocations: 2.681 MB / 0.5306 GB, free: 77.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.375, allocations: 11.69 kB / 0.5306 GB, free: 77.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/0.375, allocations: 21.11 kB / 0.5306 GB, free: 77.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.3768, allocations: 0.5268 MB / 0.5312 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.3788, allocations: 0.5751 MB / 0.5317 GB, free: 77.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008248/0.3871, allocations: 7.7 MB / 0.5392 GB, free: 71.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.3894, allocations: 187.6 kB / 0.5394 GB, free: 71.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.3897, allocations: 97.61 kB / 0.5395 GB, free: 71.35 MB / 414.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.000812/0.3905, allocations: 492.8 kB / 0.54 GB, free: 70.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.3911, allocations: 235.2 kB / 0.5402 GB, free: 70.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.3948, allocations: 2.15 MB / 0.5423 GB, free: 69.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.3949, allocations: 22.16 kB / 0.5423 GB, free: 69.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.557e-06/0.3949, allocations: 3.453 kB / 0.5423 GB, free: 69.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.3949, allocations: 11.39 kB / 0.5423 GB, free: 69.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/0.4024, allocations: 5.242 MB / 0.5475 GB, free: 67.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.4024, allocations: 3.969 kB / 0.5475 GB, free: 67.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.4038, allocations: 397.2 kB / 0.5478 GB, free: 67.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.4052, allocations: 0.5028 MB / 0.5483 GB, free: 66.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.4053, allocations: 43.25 kB / 0.5484 GB, free: 66.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006562/0.4119, allocations: 7.566 MB / 0.5558 GB, free: 60.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.4119, allocations: 7.328 kB / 0.5558 GB, free: 60.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.4152, allocations: 2.306 MB / 0.558 GB, free: 59.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.4163, allocations: 0.5177 MB / 0.5585 GB, free: 59.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003894/0.4167, allocations: 43.78 kB / 0.5586 GB, free: 59.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.4182, allocations: 54.81 kB / 0.5586 GB, free: 59.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.4184, allocations: 145 kB / 0.5588 GB, free: 59.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.732e-05/0.4185, allocations: 63.12 kB / 0.5588 GB, free: 59.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001374/0.4199, allocations: 1.103 MB / 0.5599 GB, free: 58.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4199, allocations: 0 / 0.5599 GB, free: 58.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002283/0.4222, allocations: 0.8873 MB / 0.5608 GB, free: 58.63 MB / 414.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.0003607/0.4225, allocations: 285.7 kB / 0.561 GB, free: 58.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.4259, allocations: 2.395 MB / 0.5634 GB, free: 57.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4259, allocations: 3.938 kB / 0.5634 GB, free: 57.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.4275, allocations: 1.39 MB / 0.5647 GB, free: 56.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.4292, allocations: 332.5 kB / 0.565 GB, free: 55.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.434, allocations: 3.662 MB / 0.5686 GB, free: 52.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.4348, allocations: 1.485 MB / 0.5701 GB, free: 50.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.4359, allocations: 300.6 kB / 0.5704 GB, free: 50.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.4363, allocations: 159.4 kB / 0.5705 GB, free: 50.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4363, allocations: 0 / 0.5705 GB, free: 50.25 MB / 414.1 MB Notification: Performance of Templates: time 0.03925/0.4756, allocations: 30.9 MB / 0.6007 GB, free: 19.39 MB / 414.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)