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.001508/0.001508, allocations: 110.3 kB / 16.41 MB, free: 6.027 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.001784/0.001784, allocations: 185.7 kB / 17.34 MB, free: 5.633 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.316/1.316, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06308/0.06308, allocations: 14.16 MB / 284.7 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.001754/0.001754, allocations: 65.95 kB / 400 MB, free: 42.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.09113, allocations: 50.14 MB / 450.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01717/0.1083, allocations: 18.61 MB / 468.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.1215, allocations: 7.624 MB / 476.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/0.1248, allocations: 55.81 kB / 476.4 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003469/0.1284, allocations: 0.9979 MB / 477.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009697/0.1381, allocations: 3.25 MB / 480.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.1403, allocations: 0.7782 MB / 481.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008107/0.1484, allocations: 5.705 MB / 487.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.1494, allocations: 390.3 kB / 487.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/0.1529, allocations: 1.938 MB / 489.4 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003912/0.1569, allocations: 2.016 MB / 491.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000869/0.1577, allocations: 204 kB / 491.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003495/0.1613, allocations: 0.7301 MB / 492.4 MB, free: 448 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009961/0.1623, allocations: 0.4937 MB / 492.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00352/0.1658, allocations: 1.672 MB / 494.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.1729, allocations: 4.187 MB / 498.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.173, allocations: 4 kB / 498.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.173, allocations: 0 / 498.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001384/0.1731, allocations: 0 / 498.7 MB, free: 10.06 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.01888/0.192, allocations: 4.465 MB / 0.4914 GB, free: 5.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1921, allocations: 16.03 kB / 0.4914 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.1949, allocations: 453.2 kB / 0.4919 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.1998, allocations: 1.791 MB / 0.4936 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.2, allocations: 160.8 kB / 0.4938 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005217/0.2005, allocations: 219.9 kB / 0.494 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005045/0.2056, allocations: 2.137 MB / 0.4961 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.2057, allocations: 7.938 kB / 0.4961 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/0.206, allocations: 84 kB / 0.4961 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-05/0.2061, allocations: 56 kB / 0.4962 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/0.2102, allocations: 2.176 MB / 0.4983 GB, free: 14.26 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.02191/0.2321, allocations: 15.16 MB / 0.5131 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004525/0.2366, allocations: 3.124 MB / 0.5162 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.2379, allocations: 0.7949 MB / 0.517 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.238, allocations: 29.98 kB / 0.517 GB, free: 9.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.2381, allocations: 64.55 kB / 0.517 GB, free: 9.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.107e-06/0.2381, allocations: 0 / 0.517 GB, free: 9.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.00884/0.2469, allocations: 3.457 MB / 0.5204 GB, free: 5.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.247, allocations: 73.41 kB / 0.5205 GB, free: 5.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00317/0.2502, allocations: 1.685 MB / 0.5221 GB, free: 3.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.2503, allocations: 65.7 kB / 0.5222 GB, free: 3.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008409/0.2512, allocations: 1.062 MB / 0.5232 GB, free: 2.668 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008609/0.252, allocations: 0.7547 MB / 0.524 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006738/0.2527, allocations: 424.9 kB / 0.5244 GB, free: 1.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.2528, allocations: 313.1 kB / 0.5247 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.2539, allocations: 0.6532 MB / 0.5253 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2214/0.4753, allocations: 1.215 MB / 0.5265 GB, free: 78.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.4791, allocations: 2.02 MB / 0.5285 GB, free: 77.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-05/0.4792, allocations: 4.625 kB / 0.5285 GB, free: 77.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005837/0.485, allocations: 2.683 MB / 0.5311 GB, free: 77.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.4851, allocations: 11.66 kB / 0.5311 GB, free: 77.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/0.4851, allocations: 16.31 kB / 0.5311 GB, free: 77.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.487, allocations: 0.5245 MB / 0.5316 GB, free: 77.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.4893, allocations: 0.5785 MB / 0.5322 GB, free: 77.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009161/0.4985, allocations: 7.704 MB / 0.5397 GB, free: 71.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/0.5013, allocations: 189.7 kB / 0.5399 GB, free: 71.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.5015, allocations: 100.7 kB / 0.54 GB, free: 71.12 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.0009249/0.5024, allocations: 483.1 kB / 0.5405 GB, free: 70.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/0.5028, allocations: 241.6 kB / 0.5407 GB, free: 70.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.5071, allocations: 2.148 MB / 0.5428 GB, free: 69.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.5071, allocations: 20.59 kB / 0.5428 GB, free: 69.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5071, allocations: 3.875 kB / 0.5428 GB, free: 69.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/0.5072, allocations: 11.84 kB / 0.5428 GB, free: 69.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007745/0.5149, allocations: 5.246 MB / 0.548 GB, free: 66.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.5149, allocations: 6.938 kB / 0.548 GB, free: 66.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.5164, allocations: 394.6 kB / 0.5483 GB, free: 66.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/0.5179, allocations: 0.5 MB / 0.5488 GB, free: 66.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.518, allocations: 45.78 kB / 0.5489 GB, free: 66.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.5252, allocations: 7.569 MB / 0.5563 GB, free: 60.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5252, allocations: 4.516 kB / 0.5563 GB, free: 60.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003436/0.5287, allocations: 2.305 MB / 0.5585 GB, free: 59.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009976/0.5297, allocations: 0.5101 MB / 0.559 GB, free: 59.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.5302, allocations: 47.8 kB / 0.5591 GB, free: 59.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.5318, allocations: 54.19 kB / 0.5591 GB, free: 59.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.532, allocations: 145.8 kB / 0.5592 GB, free: 59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.054e-05/0.5321, allocations: 61.61 kB / 0.5593 GB, free: 58.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.5335, allocations: 1.106 MB / 0.5604 GB, free: 58.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5335, allocations: 0 / 0.5604 GB, free: 58.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002738/0.5363, allocations: 0.892 MB / 0.5613 GB, free: 58.41 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.0003974/0.5367, allocations: 281.2 kB / 0.5615 GB, free: 58.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.5401, allocations: 2.379 MB / 0.5638 GB, free: 57.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5401, allocations: 10.75 kB / 0.5639 GB, free: 57.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.5417, allocations: 1.4 MB / 0.5652 GB, free: 56.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.5432, allocations: 333.3 kB / 0.5655 GB, free: 55.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004775/0.548, allocations: 3.71 MB / 0.5692 GB, free: 52.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/0.5487, allocations: 1.486 MB / 0.5706 GB, free: 50.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.5493, allocations: 183.4 kB / 0.5708 GB, free: 50.4 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5493, allocations: 0 / 0.5708 GB, free: 50.4 MB / 414.1 MB Notification: Performance of Templates: time 0.05413/0.6034, allocations: 60.06 MB / 0.6294 GB, free: 6.211 MB / 430.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)