Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators.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.001134/0.001134, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001459/0.001459, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.905/0.905, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.04324/0.04324, allocations: 12.52 MB / 272.5 MB, free: 1.133 MB / 250.7 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.TwoGenerators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 403.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.729e-05, allocations: 3.828 kB / 403.6 MB, free: 10.3 MB / 378.7 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.TwoGenerators): time 0.2459/0.2459, allocations: 81.17 MB / 484.8 MB, free: 39.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03068/0.2766, allocations: 22.51 MB / 0.4954 GB, free: 23.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01182/0.2884, allocations: 333.4 kB / 0.4957 GB, free: 22.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.2988, allocations: 2.966 MB / 0.4986 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0239/0.3227, allocations: 8.984 MB / 0.5074 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01262/0.3353, allocations: 5.362 MB / 0.5126 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02471/0.36, allocations: 22.31 MB / 0.5344 GB, free: 15.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.3714, allocations: 6.077 MB / 0.5403 GB, free: 10.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02284/0.3942, allocations: 10.51 MB / 0.5506 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01016/0.4044, allocations: 5.811 MB / 0.5563 GB, free: 10.79 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003836/0.4082, allocations: 1.191 MB / 0.5574 GB, free: 9.594 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007267/0.4155, allocations: 2.124 MB / 0.5595 GB, free: 7.469 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004097/0.4196, allocations: 2.587 MB / 0.562 GB, free: 4.871 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01177/0.4313, allocations: 4.768 MB / 0.5667 GB, free: 92 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02313/0.4545, allocations: 17.91 MB / 0.5842 GB, free: 14.13 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4545, allocations: 4 kB / 0.5842 GB, free: 14.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4545, allocations: 0 / 0.5842 GB, free: 14.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005979/0.4551, allocations: 0 / 0.5842 GB, free: 14.12 MB / 474.7 MB 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.03777/0.4928, allocations: 15.78 MB / 0.5996 GB, free: 14.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.4929, allocations: 8.031 kB / 0.5996 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009738/0.5026, allocations: 2.519 MB / 0.6021 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01638/0.519, allocations: 7.502 MB / 0.6094 GB, free: 4.105 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005329/0.5195, allocations: 0.629 MB / 0.61 GB, free: 3.477 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002454/0.522, allocations: 0.8402 MB / 0.6108 GB, free: 2.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01797/0.54, allocations: 11.05 MB / 0.6216 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001965/0.5402, allocations: 51.69 kB / 0.6217 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.5414, allocations: 359.9 kB / 0.622 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.5416, allocations: 212 kB / 0.6222 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3576/0.8991, allocations: 7.603 MB / 0.6297 GB, free: 146.8 MB / 0.4949 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.05612/0.9553, allocations: 48.88 MB / 0.6774 GB, free: 111.5 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.9656, allocations: 6.685 MB / 0.6839 GB, free: 108.8 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004624/0.9702, allocations: 2.732 MB / 0.6866 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004067/0.9706, allocations: 107.6 kB / 0.6867 GB, free: 107.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.9708, allocations: 123.3 kB / 0.6868 GB, free: 107.5 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=717): time 1.654e-05/0.9708, allocations: 1.094 kB / 0.6868 GB, free: 107.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=717): time 0.04041/1.011, allocations: 15.89 MB / 0.7023 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.011, allocations: 363.3 kB / 0.7027 GB, free: 102.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/1.023, allocations: 8.093 MB / 0.7106 GB, free: 99.77 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002048/1.025, allocations: 190.3 kB / 0.7108 GB, free: 99.61 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003747/1.029, allocations: 4.492 MB / 0.7151 GB, free: 96.63 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003624/1.033, allocations: 2.88 MB / 0.718 GB, free: 94.67 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00848/1.041, allocations: 3.583 MB / 0.7214 GB, free: 92.52 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.181e-05/1.041, allocations: 305.1 kB / 0.7217 GB, free: 92.22 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008363/1.05, allocations: 5.761 MB / 0.7274 GB, free: 86.46 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01498/1.065, allocations: 8.474 MB / 0.7356 GB, free: 77.39 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01999/1.084, allocations: 11.22 MB / 0.7466 GB, free: 65.75 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/1.085, allocations: 11.94 kB / 0.7466 GB, free: 65.74 MB / 0.4949 GB Notification: Performance of matching and sorting (n=2581) (initialization): time 0.05517/1.14, allocations: 19.95 MB / 0.7661 GB, free: 45.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.382e-05/1.14, allocations: 20 kB / 0.7661 GB, free: 45.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-05/1.14, allocations: 28 kB / 0.7661 GB, free: 45.66 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01363/1.154, allocations: 4.899 MB / 0.7709 GB, free: 40.68 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01162/1.165, allocations: 3.791 MB / 0.7746 GB, free: 36.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2545/1.42, allocations: 51.16 MB / 0.8246 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01692/1.437, allocations: 1.371 MB / 0.8259 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003692/1.44, allocations: 0.6344 MB / 0.8265 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01626/1.457, allocations: 6.981 MB / 0.8334 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01296/1.469, allocations: 8.233 MB / 0.8414 GB, free: 138.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0182/1.488, allocations: 10.89 MB / 0.852 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001294/1.488, allocations: 6.062 kB / 0.8521 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2581) (initialization_lambda0): time 0.04368/1.531, allocations: 18.27 MB / 0.8699 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/1.532, allocations: 19.56 kB / 0.8699 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.858e-05/1.532, allocations: 26.53 kB / 0.8699 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/1.543, allocations: 3.818 MB / 0.8737 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/1.554, allocations: 3.935 MB / 0.8775 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.578, allocations: 41.17 MB / 0.9177 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01629/1.594, allocations: 1.101 MB / 0.9188 GB, free: 88.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004179/1.598, allocations: 0.627 MB / 0.9194 GB, free: 87.56 MB / 0.5105 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 (2388): * Single equations (assignments): 2364 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * 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): 14 systems {(38,0), (10,0), (19,0), (60,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.006009/1.604, allocations: 0.9983 MB / 0.9204 GB, free: 86.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004202/1.609, allocations: 0.975 MB / 0.9213 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/1.62, allocations: 7.711 MB / 0.9289 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.415e-05/1.62, allocations: 37.8 kB / 0.9289 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.62, allocations: 0 / 0.9289 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006716/1.626, allocations: 1.914 MB / 0.9308 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002904/1.629, allocations: 124 kB / 0.9309 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006587/1.636, allocations: 317.4 kB / 0.9312 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001338/1.637, allocations: 0.5604 MB / 0.9317 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01076/1.648, allocations: 7.585 MB / 0.9391 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01176/1.66, allocations: 9.481 MB / 0.9484 GB, free: 61.87 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002654/1.662, allocations: 2.437 MB / 0.9508 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005983/1.668, allocations: 4.828 MB / 0.9555 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of Backend: time 6.71e-07/1.668, allocations: 4 kB / 0.9555 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.05188/1.72, allocations: 28.14 MB / 0.983 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of SimCode: time 0.03236/1.753, allocations: 20.46 MB / 1.003 GB, free: 8.715 MB / 0.5105 GB [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 0: GEN1.TGOV.firstOrderLim.G.y >= 0.0 and GEN1.TGOV.firstOrderLim.I.y > GEN1.TGOV.firstOrderLim.lim.uMax or GEN1.TGOV.firstOrderLim.G.y <= 0.0 and GEN1.TGOV.firstOrderLim.I.y < GEN1.TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 1: GEN1.AVR.firstOrderLim.G.y >= 0.0 and GEN1.AVR.firstOrderLim.I.y > GEN1.AVR.firstOrderLim.lim.uMax or GEN1.AVR.firstOrderLim.G.y <= 0.0 and GEN1.AVR.firstOrderLim.I.y < GEN1.AVR.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 2: GEN2.TGOV.firstOrderLim.G.y >= 0.0 and GEN2.TGOV.firstOrderLim.I.y > GEN2.TGOV.firstOrderLim.lim.uMax or GEN2.TGOV.firstOrderLim.G.y <= 0.0 and GEN2.TGOV.firstOrderLim.I.y < GEN2.TGOV.firstOrderLim.lim.uMin. [CodegenCpp.tpl:12351:11-12351:11:writable] Error: Template error: Unsupported zero crossing at 3: GEN2.AVR.firstOrderLim.G.y >= 0.0 and GEN2.AVR.firstOrderLim.I.y > GEN2.AVR.firstOrderLim.lim.uMax or GEN2.AVR.firstOrderLim.G.y <= 0.0 and GEN2.AVR.firstOrderLim.I.y < GEN2.AVR.firstOrderLim.lim.uMin. Error: Internal error SimCode DAEmode: The model PowerGrids.Examples.Tutorial.IslandOperation.TwoGenerators could not be translated " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.927786385640502] Failed to read output from testmodel.py, exit status != 0: 3.2477206783369184 3.254088053 2.797910382 Calling exit ...