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.001367/0.001367, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.00161/0.00161, allocations: 214 kB / 23.01 MB, free: 4.992 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.466/1.466, allocations: 207.7 MB / 233.9 MB, free: 9.797 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.6648/0.6648, allocations: 115.9 MB / 402 MB, free: 15.95 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.002257/0.002257, allocations: 78.53 kB / 0.5656 GB, free: 43.88 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1566, allocations: 79.04 MB / 0.6427 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl): time 0.006171/0.1628, allocations: 4.023 MB / 0.6467 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007875/0.1707, allocations: 5.029 MB / 0.6516 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.1711, allocations: 11.94 kB / 0.6516 GB, free: 6.184 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.001048/0.1722, allocations: 282.1 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.0009839/0.1732, allocations: 294.1 kB / 0.6521 GB, free: 5.621 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.002936/0.1761, allocations: 1.181 MB / 0.6533 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.1777, allocations: 1.127 MB / 0.6544 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.178, allocations: 117 kB / 0.6545 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.1787, allocations: 482.3 kB / 0.655 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.1793, allocations: 453.7 kB / 0.6554 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.1795, allocations: 92 kB / 0.6555 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007325/0.1802, allocations: 311.8 kB / 0.6558 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003137/0.1806, allocations: 259.1 kB / 0.656 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.181, allocations: 390 kB / 0.6564 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.1826, allocations: 1.292 MB / 0.6577 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1826, allocations: 0 / 0.6577 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1826, allocations: 0 / 0.6577 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1827, allocations: 4 kB / 0.6577 GB, free: 15.93 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.005334/0.188, allocations: 1.832 MB / 0.6595 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.188, allocations: 8.922 kB / 0.6595 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.1882, allocations: 122.7 kB / 0.6596 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.19, allocations: 348 kB / 0.6599 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.191, allocations: 0.5058 MB / 0.6604 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008215/0.1918, allocations: 1.069 MB / 0.6615 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.1919, allocations: 75.98 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.1938, allocations: 0.9821 MB / 0.6625 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.1938, allocations: 4 kB / 0.6625 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/0.1939, allocations: 35.98 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1939, allocations: 16 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.1954, allocations: 0.7416 MB / 0.6633 GB, free: 9.832 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.005485/0.2009, allocations: 3.167 MB / 0.6664 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.2026, allocations: 0.7387 MB / 0.6671 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.2034, allocations: 414.1 kB / 0.6675 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.2035, allocations: 16.66 kB / 0.6675 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001652/0.2051, allocations: 0.9607 MB / 0.6684 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=112): time 3.116e-06/0.2051, allocations: 0 / 0.6684 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=112): time 0.004465/0.2096, allocations: 1.956 MB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.2098, allocations: 242.5 kB / 0.6706 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2109, allocations: 0.7855 MB / 0.6713 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.2111, allocations: 61.69 kB / 0.6714 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.2114, allocations: 373.3 kB / 0.6717 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.2117, allocations: 321.5 kB / 0.6721 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/0.2121, allocations: 222.9 kB / 0.6723 GB, free: 328 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.2123, allocations: 406.7 kB / 0.6727 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.2133, allocations: 0.493 MB / 0.6731 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.2145, allocations: 0.7189 MB / 0.6738 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004548/0.2191, allocations: 2.143 MB / 0.6759 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2191, allocations: 4 kB / 0.6759 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005113/0.2242, allocations: 2.012 MB / 0.6779 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.2242, allocations: 41.69 kB / 0.6779 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.2243, allocations: 8.125 kB / 0.6779 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.2257, allocations: 0.5843 MB / 0.6785 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.2262, allocations: 119.7 kB / 0.6786 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/0.2305, allocations: 3.797 MB / 0.6823 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.2317, allocations: 159.5 kB / 0.6825 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.2318, allocations: 48 kB / 0.6825 GB, free: 5.32 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.0007864/0.2326, allocations: 385.9 kB / 0.6829 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.2328, allocations: 115.3 kB / 0.683 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.2354, allocations: 1.36 MB / 0.6843 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.2354, allocations: 19.94 kB / 0.6844 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2354, allocations: 0 / 0.6844 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.2354, allocations: 11.97 kB / 0.6844 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005341/0.2407, allocations: 2.84 MB / 0.6871 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2407, allocations: 0 / 0.6871 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.241, allocations: 59.84 kB / 0.6872 GB, free: 460 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.001476/0.2425, allocations: 0.6555 MB / 0.6878 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.2426, allocations: 35.97 kB / 0.6879 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.2451, allocations: 2.638 MB / 0.6905 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.2451, allocations: 4.031 kB / 0.6905 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005626/0.2507, allocations: 2.426 MB / 0.6928 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003781/0.2511, allocations: 111.2 kB / 0.6929 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.2513, allocations: 39.97 kB / 0.693 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/0.252, allocations: 79.91 kB / 0.693 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.2523, allocations: 140.7 kB / 0.6932 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.2524, allocations: 59.97 kB / 0.6932 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008087/0.2532, allocations: 0.5186 MB / 0.6937 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2532, allocations: 0 / 0.6937 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009951/0.2542, allocations: 307.8 kB / 0.694 GB, free: 9.168 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.007324/0.2615, allocations: 3.36 MB / 0.6973 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003602/0.2651, allocations: 1.56 MB / 0.6988 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.2651, allocations: 8.062 kB / 0.6989 GB, free: 4.293 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.5893114022910595] Failed to read output from testmodel.py, exit status != 0: 0.27461923798546195 0.289464345 0.10373212300000001 Calling exit ...