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.001302/0.001302, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001705/0.001705, allocations: 208.1 kB / 23.01 MB, free: 4.625 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.418/1.418, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.7316/0.7316, allocations: 115.9 MB / 402 MB, free: 16.01 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_CoordinatedVControl",fmuType="me",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.002533/0.002533, allocations: 73.05 kB / 0.5655 GB, free: 43.69 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1524, allocations: 79.03 MB / 0.6427 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl): time 0.006952/0.1593, allocations: 4.042 MB / 0.6467 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008847/0.1682, allocations: 5.021 MB / 0.6516 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006923/0.1689, allocations: 11.94 kB / 0.6516 GB, free: 6.195 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/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:25:3-25: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/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:27:3-27:151: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/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:28:3-28:118:writable] Warning: Connector U0PuVar 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/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:30:3-30: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/SignalN/BaseClasses_INIT/BaseGeneratorSignalN_INIT.mo:32:3-32: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/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:25:3-25: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/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:27:3-27:151: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/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:28:3-28:118:writable] Warning: Connector U0PuVar 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/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:30:3-30: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/SignalN/BaseClasses_INIT/BaseGeneratorSignalNPQDiagram_INIT.mo:32:3-32: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.001104/0.17, allocations: 293.6 kB / 0.6519 GB, free: 5.91 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.001264/0.1712, allocations: 286.1 kB / 0.6521 GB, free: 5.629 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator1.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator1.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator2.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/BaseClasses/BaseGeneratorSimplified.mo:40:5-44:11:writable] Warning: In relation Generator2.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation Bus.terminal.V.re == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Buses/Bus.mo:29:3-33:9:writable] Warning: In relation Bus.terminal.V.im == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.1744, allocations: 1.178 MB / 0.6533 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001888/0.1763, allocations: 1.126 MB / 0.6544 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.1767, allocations: 109 kB / 0.6545 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00079/0.1775, allocations: 482.3 kB / 0.655 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008281/0.1783, allocations: 453.7 kB / 0.6554 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.1785, allocations: 92 kB / 0.6555 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007879/0.1793, allocations: 307.8 kB / 0.6558 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.1797, allocations: 259.1 kB / 0.656 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000547/0.1802, allocations: 394 kB / 0.6564 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1821, allocations: 1.292 MB / 0.6577 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1821, allocations: 0 / 0.6577 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1821, allocations: 3.938 kB / 0.6577 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.511e-05/0.1821, allocations: 0 / 0.6577 GB, free: 15.95 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.006325/0.1885, allocations: 1.835 MB / 0.6594 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.1885, allocations: 8.922 kB / 0.6595 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002657/0.1888, allocations: 122.7 kB / 0.6596 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.1909, allocations: 356 kB / 0.6599 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.1922, allocations: 0.5097 MB / 0.6604 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001114/0.1933, allocations: 1.065 MB / 0.6615 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.1935, allocations: 71.98 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.1955, allocations: 0.986 MB / 0.6625 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1955, allocations: 0 / 0.6625 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1956, allocations: 39.97 kB / 0.6625 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.1956, allocations: 12 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.1972, allocations: 0.7455 MB / 0.6633 GB, free: 9.844 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.005163/0.2024, allocations: 3.167 MB / 0.6664 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.2041, allocations: 0.7348 MB / 0.6671 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/0.2049, allocations: 414.1 kB / 0.6675 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.205, allocations: 24.64 kB / 0.6675 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.2067, allocations: 0.9548 MB / 0.6684 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=112): time 3.546e-06/0.2067, allocations: 4 kB / 0.6684 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.004619/0.2113, allocations: 1.952 MB / 0.6703 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.2115, allocations: 242.5 kB / 0.6706 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2127, allocations: 0.7854 MB / 0.6713 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.2128, allocations: 61.69 kB / 0.6714 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.2132, allocations: 365.3 kB / 0.6717 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.2135, allocations: 325.6 kB / 0.672 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.2139, allocations: 219.1 kB / 0.6723 GB, free: 352 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002728/0.2142, allocations: 414.7 kB / 0.6727 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.2152, allocations: 0.4891 MB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.2164, allocations: 0.7188 MB / 0.6738 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/0.2212, allocations: 2.143 MB / 0.6759 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.2212, allocations: 4 kB / 0.6759 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005234/0.2265, allocations: 2.009 MB / 0.6779 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.2265, allocations: 41.69 kB / 0.6779 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.2266, allocations: 8 kB / 0.6779 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.228, allocations: 0.5843 MB / 0.6785 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.2285, allocations: 123.7 kB / 0.6786 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004426/0.2329, allocations: 3.797 MB / 0.6823 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.234, allocations: 151.3 kB / 0.6825 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.2341, allocations: 55.92 kB / 0.6825 GB, free: 5.34 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 (143): * Single equations (assignments): 139 * 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.0007468/0.2348, allocations: 385.8 kB / 0.6829 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.235, allocations: 115.3 kB / 0.683 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.2376, allocations: 1.368 MB / 0.6843 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.2376, allocations: 15.94 kB / 0.6844 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2376, allocations: 4 kB / 0.6844 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.2377, allocations: 11.97 kB / 0.6844 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.2431, allocations: 2.839 MB / 0.6871 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2431, allocations: 0 / 0.6871 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.2434, allocations: 59.84 kB / 0.6872 GB, free: 472 kB / 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.001525/0.2449, allocations: 0.6439 MB / 0.6878 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-05/0.245, allocations: 39.91 kB / 0.6879 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.2476, allocations: 2.638 MB / 0.6904 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2476, allocations: 4.344 kB / 0.6905 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005855/0.2535, allocations: 2.422 MB / 0.6928 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.2538, allocations: 115.2 kB / 0.6929 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.254, allocations: 35.98 kB / 0.693 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.2547, allocations: 83.97 kB / 0.693 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/0.255, allocations: 140.7 kB / 0.6932 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.2551, allocations: 63.95 kB / 0.6932 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008335/0.2559, allocations: 0.5107 MB / 0.6937 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2559, allocations: 0 / 0.6937 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001081/0.257, allocations: 307.8 kB / 0.694 GB, free: 9.188 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.007571/0.2646, allocations: 3.376 MB / 0.6973 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003783/0.2684, allocations: 1.559 MB / 0.6988 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.2684, allocations: 4 kB / 0.6989 GB, free: 4.309 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:3566:9-3566: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:1569:5-1569:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.6728377416729927] Failed to read output from testmodel.py, exit status != 0: 0.27811622666195035 0.293333991 0.10803436000000001 Calling exit ...