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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 214.9 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.08404/0.08404, allocations: 16.94 MB / 330.2 MB, free: 2.586 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 71.89 kB / 461.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1123, allocations: 57.74 MB / 0.5069 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.2335/0.3458, allocations: 30.3 MB / 0.5365 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01963/0.3655, allocations: 8.767 MB / 0.545 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006098/0.3716, allocations: 84.78 kB / 0.5451 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004859/0.3764, allocations: 1.148 MB / 0.5462 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.3896, allocations: 3.921 MB / 0.5501 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004895/0.3945, allocations: 1.548 MB / 0.5516 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0131/0.4076, allocations: 6.957 MB / 0.5584 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.409, allocations: 281.3 kB / 0.5586 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005721/0.4148, allocations: 2.394 MB / 0.561 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00627/0.421, allocations: 2.558 MB / 0.5635 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001601/0.4226, allocations: 275.2 kB / 0.5637 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/0.4273, allocations: 0.7945 MB / 0.5645 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.4288, allocations: 0.7147 MB / 0.5652 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005959/0.4348, allocations: 2.218 MB / 0.5674 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.4487, allocations: 5.063 MB / 0.5723 GB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.4487, allocations: 3.984 kB / 0.5723 GB, free: 6.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4487, allocations: 0 / 0.5723 GB, free: 6.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001777/0.4488, allocations: 2.562 kB / 0.5723 GB, free: 6.668 MB / 414.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.02691/0.4758, allocations: 6.441 MB / 0.5786 GB, free: 1.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4758, allocations: 12.03 kB / 0.5786 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.48, allocations: 0.6316 MB / 0.5792 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006489/0.4865, allocations: 2.267 MB / 0.5815 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.4867, allocations: 221.9 kB / 0.5817 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007021/0.4874, allocations: 292.4 kB / 0.5819 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006933/0.4944, allocations: 3.406 MB / 0.5853 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-05/0.4944, allocations: 23.75 kB / 0.5853 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004432/0.4949, allocations: 128 kB / 0.5854 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-05/0.495, allocations: 76 kB / 0.5855 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005489/0.5004, allocations: 2.698 MB / 0.5881 GB, free: 6.855 MB / 430.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.0327/0.5332, allocations: 22.01 MB / 0.6096 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/0.5389, allocations: 2.268 MB / 0.6118 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.5407, allocations: 0.8111 MB / 0.6126 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.5409, allocations: 54.03 kB / 0.6127 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.882e-05/0.541, allocations: 64.56 kB / 0.6127 GB, free: 12.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=251): time 5.16e-06/0.541, allocations: 0 / 0.6127 GB, free: 12.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=251): time 0.0166/0.5576, allocations: 4.511 MB / 0.6171 GB, free: 8.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.5577, allocations: 77.41 kB / 0.6172 GB, free: 8.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007179/0.5648, allocations: 3.209 MB / 0.6203 GB, free: 4.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004477/0.5653, allocations: 81.7 kB / 0.6204 GB, free: 4.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.5672, allocations: 1.627 MB / 0.622 GB, free: 3.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001741/0.569, allocations: 1.058 MB / 0.6231 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004571/0.5735, allocations: 1.636 MB / 0.6246 GB, free: 380 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5737, allocations: 305.1 kB / 0.6249 GB, free: 72 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004721/0.5784, allocations: 2.197 MB / 0.6271 GB, free: 13.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005618/0.584, allocations: 2.941 MB / 0.63 GB, free: 10.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008191/0.5922, allocations: 4.213 MB / 0.6341 GB, free: 6.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-05/0.5923, allocations: 0 / 0.6341 GB, free: 6.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01737/0.6096, allocations: 7.307 MB / 0.6412 GB, free: 15.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-05/0.6097, allocations: 18.89 kB / 0.6412 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.966e-05/0.6098, allocations: 8 kB / 0.6412 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004768/0.6145, allocations: 0.8698 MB / 0.6421 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007202/0.6217, allocations: 1.748 MB / 0.6438 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.6369, allocations: 8.592 MB / 0.6522 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008183/0.6451, allocations: 0.5783 MB / 0.6527 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/0.6466, allocations: 280.1 kB / 0.653 GB, free: 2.668 MB / 494.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.003034/0.6496, allocations: 0.7232 MB / 0.6537 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/0.6513, allocations: 385.5 kB / 0.6541 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006782/0.6581, allocations: 2.571 MB / 0.6566 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/0.6581, allocations: 11.95 kB / 0.6566 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6581, allocations: 0 / 0.6566 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003203/0.6613, allocations: 0.6767 MB / 0.6573 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/0.6629, allocations: 40.88 kB / 0.6573 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003973/0.6669, allocations: 103.9 kB / 0.6574 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004355/0.6673, allocations: 201.5 kB / 0.6576 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006943/0.6742, allocations: 2.484 MB / 0.66 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006142/0.6804, allocations: 3.115 MB / 0.6631 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001299/0.6817, allocations: 0.7223 MB / 0.6638 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003956/0.6856, allocations: 1.922 MB / 0.6656 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of Backend: time 5.51e-07/0.6856, allocations: 0 / 0.6656 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01505/0.7007, allocations: 5.011 MB / 0.6705 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01342/0.7141, allocations: 5.888 MB / 0.6763 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of Templates: time 0.135/0.8491, allocations: 55.37 MB / 0.7304 GB, free: 3.352 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile [Timeout 660] (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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.954907689010724] Failed to read output from testmodel.py, exit status != 0: 0.8601395309669897 1.092525306 0.6405437930000001 Calling exit ...