Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl.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.001359/0.001359, allocations: 100.3 kB / 20.5 MB, free: 1.367 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.00149/0.00149, allocations: 219.2 kB / 23.8 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 207.7 MB / 234.6 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6682/0.6682, allocations: 113.7 MB / 400.6 MB, free: 17.56 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.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: "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_CoordinatedVControl",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_CoordinatedVControl",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 68.16 kB / 0.5632 GB, free: 45.14 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1589, allocations: 78.52 MB / 0.6398 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl): time 0.00661/0.1655, allocations: 4 MB / 0.6438 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008432/0.1739, allocations: 4.979 MB / 0.6486 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005395/0.1745, allocations: 15.94 kB / 0.6486 GB, free: 9.676 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:30:3-30:140:writable] Warning: Connector QGenPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:32:3-32:113:writable] Warning: Connector UPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:30:3-30:140:writable] Warning: Connector QGenPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:32:3-32:113:writable] Warning: Connector UPu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Events/Event/EventEquations.mo:23:3-23:39:writable] Warning: Connector state1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:23:3-23:135:writable] Warning: Connector PGen0Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:24:3-24:139:writable] Warning: Connector QGen0Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:26:3-26:114:writable] Warning: Connector u0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:28:3-28:169:writable] Warning: Connector i0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:23:3-23:135:writable] Warning: Connector PGen0Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:24:3-24:139:writable] Warning: Connector QGen0Pu is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:26:3-26:114:writable] Warning: Connector u0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses_INIT/BaseGeneratorParameters_INIT.mo:28:3-28:169:writable] Warning: Connector i0Pu is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009957/0.1755, allocations: 277.8 kB / 0.6489 GB, free: 9.406 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009041/0.1764, allocations: 294.2 kB / 0.6492 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.179, allocations: 1.171 MB / 0.6503 GB, free: 7.949 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.1805, allocations: 1.096 MB / 0.6514 GB, free: 6.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.1807, allocations: 125 kB / 0.6515 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005548/0.1813, allocations: 474.3 kB / 0.652 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.1819, allocations: 0.4978 MB / 0.6524 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.182, allocations: 88 kB / 0.6525 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006992/0.1827, allocations: 307.9 kB / 0.6528 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000299/0.183, allocations: 251.1 kB / 0.6531 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.1835, allocations: 382 kB / 0.6534 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.185, allocations: 1.265 MB / 0.6547 GB, free: 3.477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.185, allocations: 0 / 0.6547 GB, free: 3.477 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.185, allocations: 4 kB / 0.6547 GB, free: 3.473 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.185, allocations: 4 kB / 0.6547 GB, free: 3.469 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005374/0.1904, allocations: 1.82 MB / 0.6564 GB, free: 1.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1905, allocations: 12.03 kB / 0.6565 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.906e-05/0.1905, allocations: 17.5 kB / 0.6565 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.1907, allocations: 122.7 kB / 0.6566 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.1925, allocations: 340.1 kB / 0.6569 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.1934, allocations: 0.5045 MB / 0.6574 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006967/0.1941, allocations: 0.8982 MB / 0.6583 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.1942, allocations: 71.98 kB / 0.6584 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.196, allocations: 0.9453 MB / 0.6593 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.196, allocations: 0 / 0.6593 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.1961, allocations: 39.97 kB / 0.6593 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.1961, allocations: 16 kB / 0.6593 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.1976, allocations: 0.6947 MB / 0.66 GB, free: 13.66 MB / 0.4981 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.004676/0.2023, allocations: 2.956 MB / 0.6629 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.204, allocations: 0.7387 MB / 0.6636 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.2047, allocations: 409 kB / 0.664 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.2049, allocations: 20.64 kB / 0.664 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/0.2065, allocations: 0.964 MB / 0.665 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=112): time 3.377e-06/0.2065, allocations: 3.938 kB / 0.665 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.004696/0.2112, allocations: 1.947 MB / 0.6669 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.2114, allocations: 239.3 kB / 0.6671 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2125, allocations: 0.7387 MB / 0.6678 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.2126, allocations: 65.69 kB / 0.6679 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003115/0.2129, allocations: 357.4 kB / 0.6682 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.2132, allocations: 317.5 kB / 0.6685 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003805/0.2136, allocations: 226.9 kB / 0.6687 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.2138, allocations: 410.7 kB / 0.6691 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000917/0.2147, allocations: 484.8 kB / 0.6696 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.2158, allocations: 0.6878 MB / 0.6703 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004636/0.2205, allocations: 2.139 MB / 0.6724 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.2205, allocations: 4 kB / 0.6724 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005207/0.2257, allocations: 1.966 MB / 0.6743 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/0.2257, allocations: 45.8 kB / 0.6743 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.2258, allocations: 11.98 kB / 0.6743 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.2272, allocations: 0.5918 MB / 0.6749 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.2277, allocations: 115.7 kB / 0.675 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.2322, allocations: 3.779 MB / 0.6787 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.2332, allocations: 135.4 kB / 0.6788 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.2333, allocations: 51.98 kB / 0.6789 GB, free: 9.559 MB / 0.5137 GB Warning: Assuming fixed start value for the following 19 variables: Line1bis.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Line1bis.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Line1.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator1.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator2.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator1.running.value:DISCRETE(flow=false start = Generator1.Running0 fixed = true ) type: Boolean Generator1.limUQDown:DISCRETE(flow=false start = Generator1.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator1.limUQUp:DISCRETE(flow=false start = Generator1.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.running.value:DISCRETE(flow=false start = Generator2.Running0 fixed = true ) type: Boolean Generator2.limUQDown:DISCRETE(flow=false start = Generator2.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.limUQUp:DISCRETE(flow=false start = Generator2.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Line1.running.value:DISCRETE(flow=false start = Line1.Running0 fixed = true ) type: Boolean Line1bis.running.value:DISCRETE(flow=false start = Line1bis.Running0 fixed = true ) type: Boolean SignalNQ.deltaUInt:VARIABLE(start = 0.0 unit = \"kV\" fixed = true protected = true ) \"State of the integrator in kV\" type: Real SignalNQ.frozen:DISCRETE(start = SignalNQ.Frozen0 fixed = true protected = true ) \"True if the integration is frozen\" type: Boolean DisconnectLine.state1.value:DISCRETE(flow=false fixed = true ) type: Boolean Generator2.qStatus:DISCRETE(min = Generator2.QStatus.Standard max = Generator2.QStatus.GenerationMax start = Generator2.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator2.pStatus:DISCRETE(min = Generator2.PStatus.Standard max = Generator2.PStatus.LimitPMax start = Generator2.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Generator1.qStatus:DISCRETE(min = Generator1.QStatus.Standard max = Generator1.QStatus.GenerationMax start = Generator1.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator1.pStatus:DISCRETE(min = Generator1.PStatus.Standard max = Generator1.PStatus.LimitPMax start = Generator1.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 91 ($PRE.Line1bis.state,Line1bis.state,$PRE.Line1.state,Line1.state,$whenCondition28,$PRE.Generator1.state,Generator1.converter.u,Generator1.state,$PRE.Generator2.state,Generator2.converter.u,Generator2.state,Line1bis.switchOffSignal1.value,Line1.switchOffSignal2.value,Line1.switchOffSignal1.value,Generator2.switchOffSignal3.value,Generator2.switchOffSignal2.value,Generator2.switchOffSignal1.value,Generator1.switchOffSignal3.value,Generator1.switchOffSignal2.value,Generator1.switchOffSignal1.value,Generator2_INIT.qStatus0,Generator2_INIT.limUQUp0,Generator2_INIT.limUQDown0,Generator1_INIT.qStatus0,Generator1_INIT.limUQUp0,Generator1_INIT.limUQDown0,$PRE.Generator1.running.value,$PRE.Generator1.limUQDown,$PRE.Generator1.limUQUp,$PRE.Generator2.running.value,$PRE.Generator2.limUQDown,$PRE.Generator2.limUQUp,$PRE.Line1.running.value,$PRE.Line1bis.running.value,$PRE.SignalNQ.frozen,$PRE.DisconnectLine.state1.value,$PRE.Generator2.qStatus,$PRE.Generator2.pStatus,$PRE.Generator1.qStatus,$PRE.Generator1.pStatus,DisconnectLine.state1.value,SignalNQ.frozen,SignalNQ.blockedUp,SignalNQ.blockedDown,Line1bis.running.value,Line1.running.value,Generator2.qStatus,Generator2.pStatus,Generator2.limUQUp,Generator2.limUQDown,Generator2.running.value,Generator1.qStatus,Generator1.pStatus,Generator1.limUQUp,Generator1.limUQDown,Generator1.running.value,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23,$whenCondition25,$whenCondition24,$whenCondition27,$whenCondition26,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition36,$whenCondition35) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007944/0.2341, allocations: 402.2 kB / 0.6793 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.2343, allocations: 119.3 kB / 0.6794 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.2369, allocations: 1.36 MB / 0.6807 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.237, allocations: 12 kB / 0.6807 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.237, allocations: 7.875 kB / 0.6807 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.237, allocations: 11.92 kB / 0.6808 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.2425, allocations: 2.816 MB / 0.6835 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.2425, allocations: 0 / 0.6835 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.2427, allocations: 59.84 kB / 0.6836 GB, free: 4.699 MB / 0.5137 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.2443, allocations: 0.6517 MB / 0.6842 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/0.2444, allocations: 27.97 kB / 0.6842 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.247, allocations: 2.641 MB / 0.6868 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.247, allocations: 0 / 0.6868 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/0.2525, allocations: 2.426 MB / 0.6892 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.2528, allocations: 103.3 kB / 0.6893 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.253, allocations: 35.98 kB / 0.6893 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.2537, allocations: 83.95 kB / 0.6894 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/0.254, allocations: 132.8 kB / 0.6895 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.2541, allocations: 55.95 kB / 0.6896 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007328/0.2549, allocations: 0.4951 MB / 0.69 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2549, allocations: 0 / 0.69 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001037/0.2559, allocations: 303.8 kB / 0.6903 GB, free: 13.47 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (SignalNQ.deltaUInt) * Number of discrete variables: 62 ($whenCondition35,$whenCondition36,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition28,$whenCondition26,$whenCondition27,$whenCondition24,$whenCondition25,$whenCondition23,$whenCondition21,$whenCondition22,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,Generator1.running.value,Generator1.state,Generator1.converter.u,Generator1.limUQDown,Generator1.limUQUp,Generator1.pStatus,Generator1.qStatus,Generator2.running.value,Generator2.state,Generator2.converter.u,Generator2.limUQDown,Generator2.limUQUp,Generator2.pStatus,Generator2.qStatus,Line1.running.value,Line1.state,Line1bis.running.value,Line1bis.state,SignalNQ.blockedDown,SignalNQ.blockedUp,SignalNQ.frozen,DisconnectLine.state1.value,Generator1_INIT.limUQDown0,Generator1_INIT.limUQUp0,Generator2_INIT.limUQDown0,Generator2_INIT.limUQUp0) * Number of discrete states: 9 (Line1.running.value,Generator2.running.value,Generator1.running.value,Line1bis.running.value,Generator2.pStatus,Generator1.pStatus,Generator2.qStatus,Generator1.qStatus,SignalNQ.frozen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007525/0.2634, allocations: 3.354 MB / 0.6936 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003608/0.267, allocations: 1.544 MB / 0.6951 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.267, allocations: 0 / 0.6951 GB, free: 8.629 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/SignalN/GeneratorPQPropDiagramPQ.mo:21:5-21:36:writable] Error: The language feature non-linear equations within when-equations is not supported. Suggested workaround: Perform non-linear operations outside the when-equation (this is slower, but works) Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3565:9-3565:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{47:6}, {48:35}, {49:54}, {52:69}, {51:70}, {50:71}, {53:34}, {61:37}, {62:80}, {63:36}, {54:81}, {64:79}, {58:64}, {44:61}, {43:60}, {57:45}, {45:30}}, {41, 42, 46, 60, 55, 56, 65, 66, 67, 68, 59, 69, 70, 71, 72:38, 55, 20, 48, 63, 21, 49, 31, 46, 18, 19, 28, 11, 29, 10} Size: 15 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1568:5-1568:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.6756711730267853] Failed to read output from testmodel.py, exit status != 0: 0.2771789910038933 0.29406701700000004 0.105569757 Calling exit ...