Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.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.001354/0.001354, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00154/0.00154, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.08126/0.08126, allocations: 16.96 MB / 330.2 MB, free: 2.402 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.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization") [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.00203/0.00203, allocations: 63.91 kB / 461.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1307, allocations: 57.74 MB / 0.5068 GB, free: 7.926 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GEN1.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GEN1.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:4:3-5:21:writable] Warning: Parameter GEN2.componentPF.UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/Electrical/BaseClasses/OnePortACVI.mo:6:3-7:21:writable] Warning: Parameter GEN2.componentPF.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization): time 0.325/0.4557, allocations: 81.1 MB / 0.586 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04627/0.502, allocations: 22.42 MB / 0.6079 GB, free: 2.746 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01472/0.5167, allocations: 329.3 kB / 0.6082 GB, free: 2.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.5289, allocations: 2.959 MB / 0.6111 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0302/0.5591, allocations: 8.786 MB / 0.6197 GB, free: 6.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01506/0.5741, allocations: 5.34 MB / 0.6249 GB, free: 1.465 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03299/0.6071, allocations: 20.86 MB / 0.6453 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/0.6193, allocations: 6.118 MB / 0.6513 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01517/0.6345, allocations: 7.193 MB / 0.6583 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01436/0.6488, allocations: 7.283 MB / 0.6654 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.004642/0.6535, allocations: 1.203 MB / 0.6666 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008023/0.6615, allocations: 2.136 MB / 0.6687 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004644/0.6661, allocations: 2.549 MB / 0.6712 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01556/0.6817, allocations: 5.564 MB / 0.6766 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0348/0.7165, allocations: 17.98 MB / 0.6941 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7165, allocations: 0 / 0.6941 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7165, allocations: 4 kB / 0.6941 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005616/0.7171, allocations: 4 kB / 0.6941 GB, free: 10.27 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2006 * Number of variables: 2006 Notification: Performance of Generate backend data structure: time 0.06127/0.7783, allocations: 15.91 MB / 0.7097 GB, free: 10.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.7784, allocations: 15.97 kB / 0.7097 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0204/0.7988, allocations: 2.718 MB / 0.7124 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02196/0.8208, allocations: 7.511 MB / 0.7197 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009261/0.8217, allocations: 0.7471 MB / 0.7204 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002874/0.8246, allocations: 0.8477 MB / 0.7212 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.8496, allocations: 11.06 MB / 0.732 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.8499, allocations: 43.56 kB / 0.7321 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/0.8514, allocations: 356 kB / 0.7324 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001948/0.8516, allocations: 212 kB / 0.7326 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5125/1.364, allocations: 7.698 MB / 0.7402 GB, free: 95.73 MB / 0.5607 GB 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.0819/1.446, allocations: 49.19 MB / 0.7882 GB, free: 69.58 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/1.459, allocations: 6.642 MB / 0.7947 GB, free: 67.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006213/1.465, allocations: 2.747 MB / 0.7974 GB, free: 66.43 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004776/1.465, allocations: 108.4 kB / 0.7975 GB, free: 66.42 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/1.466, allocations: 121.5 kB / 0.7976 GB, free: 66.32 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=725): time 1.16e-05/1.466, allocations: 0 / 0.7976 GB, free: 66.32 MB / 0.5607 GB Notification: Performance of matching and sorting (n=725): time 0.05705/1.523, allocations: 16.49 MB / 0.8137 GB, free: 61.65 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.523, allocations: 357.9 kB / 0.814 GB, free: 61.3 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/1.536, allocations: 7.939 MB / 0.8218 GB, free: 53.84 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.002058/1.538, allocations: 193.7 kB / 0.822 GB, free: 53.64 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004353/1.543, allocations: 4.51 MB / 0.8264 GB, free: 49.64 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.004529/1.547, allocations: 2.937 MB / 0.8292 GB, free: 47.11 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01172/1.559, allocations: 3.635 MB / 0.8328 GB, free: 43.46 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.101e-05/1.559, allocations: 301.1 kB / 0.8331 GB, free: 43.16 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01119/1.57, allocations: 5.812 MB / 0.8387 GB, free: 37.33 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01548/1.586, allocations: 8.533 MB / 0.8471 GB, free: 28.21 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02174/1.608, allocations: 11.32 MB / 0.8581 GB, free: 16.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.904e-05/1.608, allocations: 11.28 kB / 0.8581 GB, free: 16.59 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2597) (initialization): time 0.05673/1.664, allocations: 20.19 MB / 0.8779 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.664, allocations: 18.19 kB / 0.8779 GB, free: 12.56 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.546e-05/1.665, allocations: 28 kB / 0.8779 GB, free: 12.54 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03338/1.698, allocations: 5.295 MB / 0.8831 GB, free: 7.184 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01797/1.716, allocations: 3.802 MB / 0.8868 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08684/1.803, allocations: 54.19 MB / 0.9397 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01994/1.823, allocations: 1.381 MB / 0.9411 GB, free: 9.961 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005369/1.828, allocations: 0.6366 MB / 0.9417 GB, free: 9.324 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0275/1.856, allocations: 7.034 MB / 0.9486 GB, free: 2.277 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02041/1.876, allocations: 8.295 MB / 0.9567 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02887/1.905, allocations: 10.99 MB / 0.9674 GB, free: 14.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001282/1.905, allocations: 8 kB / 0.9674 GB, free: 14.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=2597) (initialization_lambda0): time 0.3532/2.258, allocations: 18.49 MB / 0.9854 GB, free: 254.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/2.258, allocations: 19 kB / 0.9855 GB, free: 254.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/2.258, allocations: 26.5 kB / 0.9855 GB, free: 254.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02697/2.285, allocations: 4.161 MB / 0.9896 GB, free: 254.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01867/2.304, allocations: 3.96 MB / 0.9934 GB, free: 254.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0481/2.352, allocations: 45.88 MB / 1.038 GB, free: 221.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01944/2.372, allocations: 1.103 MB / 1.039 GB, free: 221.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003856/2.375, allocations: 0.6343 MB / 1.04 GB, free: 221.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 20 (NTLV2.componentPF.isSlackBus,GRIDL2.componentPF.isSlackBus,GRIDL1.componentPF.isSlackBus,NTHV2.componentPF.isSlackBus,GEN2.GEN.componentPF.isSlackBus,GEN2.isSlackBus,GEN1.GEN.componentPF.isSlackBus,GEN1.isSlackBus,NTHV1.componentPF.isSlackBus,NTLV1.componentPF.isSlackBus,GEN2.PSS.firstWashoutVsi2.integrator.local_reset,GEN2.PSS.secondWashoutVsi1.integrator.local_reset,GEN2.PSS.firstWashoutVsi1.integrator.local_reset,GEN2.AVR.firstOrderLim.I.local_reset,GEN2.TGOV.firstOrderLim.I.local_reset,GEN1.PSS.firstWashoutVsi2.integrator.local_reset,GEN1.PSS.secondWashoutVsi1.integrator.local_reset,GEN1.PSS.firstWashoutVsi1.integrator.local_reset,GEN1.AVR.firstOrderLim.I.local_reset,GEN1.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2398): * Single equations (assignments): 2372 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 16 systems {(10,0), (32,0), (10,0), (19,0), (32,0), (32,0), (10,0), (40,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0), (2,0)} Notification: Performance of prepare postOptimizeDAE: time 0.005567/2.381, allocations: 1.005 MB / 1.041 GB, free: 220.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004436/2.386, allocations: 0.9716 MB / 1.042 GB, free: 220.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02103/2.407, allocations: 7.835 MB / 1.05 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001998/2.407, allocations: 35.02 kB / 1.05 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/2.407, allocations: 7 kB / 1.05 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008057/2.415, allocations: 1.929 MB / 1.051 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003923/2.419, allocations: 125.8 kB / 1.052 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009553/2.428, allocations: 321 kB / 1.052 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001967/2.43, allocations: 0.5774 MB / 1.052 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02217/2.452, allocations: 7.768 MB / 1.06 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02155/2.474, allocations: 9.582 MB / 1.069 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00498/2.479, allocations: 2.472 MB / 1.072 GB, free: 207.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01162/2.491, allocations: 4.824 MB / 1.076 GB, free: 203.5 MB / 0.67 GB Notification: Performance of Backend: time 8.02e-07/2.491, allocations: 0 / 1.076 GB, free: 203.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.08055/2.571, allocations: 29.08 MB / 1.105 GB, free: 175.4 MB / 0.67 GB Notification: Performance of SimCode: time 0.04352/2.615, allocations: 18.67 MB / 1.123 GB, free: 156.8 MB / 0.67 GB Notification: Performance of Templates: time 0.6253/3.24, allocations: 266.4 MB / 1.383 GB, free: 162.2 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGeneratorsLocalInitialization.pipe 2>&1) [Timeout 50] [Calling os._exit(0), Time elapsed: 19.157105035032146] Failed to read output from testmodel.py, exit status != 0: 3.2497434589313343 3.258696417 2.539535774 Calling exit ...