Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.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.001411/0.001411, allocations: 76.52 kB / 19.95 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 173.2 kB / 23.24 MB, free: 1.312 MB / 18.57 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.021/1.021, allocations: 158.6 MB / 185 MB, free: 3.059 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.4475/0.4475, allocations: 76.92 MB / 314.2 MB, free: 10.75 MB / 298.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 489.2 MB, free: 27.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.807e-05, allocations: 2.844 kB / 489.2 MB, free: 27.88 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01262/0.01265, allocations: 11.26 MB / 0.4888 GB, free: 20.3 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.02471, allocations: 6.238 MB / 0.4949 GB, free: 15.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004006/0.02871, allocations: 93.66 kB / 0.495 GB, free: 15.75 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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 1.7.0/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). Notification: Performance of NFTyping.typeComponents: time 0.002412/0.03113, allocations: 0.6847 MB / 0.4956 GB, free: 15.32 MB / 442.7 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.004149/0.03527, allocations: 0.9508 MB / 0.4966 GB, free: 14.62 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005673/0.04095, allocations: 2.898 MB / 0.4994 GB, free: 12.79 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.007137/0.04808, allocations: 4.642 MB / 0.5039 GB, free: 10.21 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.05055, allocations: 1.124 MB / 0.505 GB, free: 9.473 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002931/0.05348, allocations: 1.554 MB / 0.5065 GB, free: 8.594 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.05567, allocations: 1.279 MB / 0.5078 GB, free: 7.992 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.05711, allocations: 0.4931 MB / 0.5083 GB, free: 7.992 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.05889, allocations: 0.7057 MB / 0.509 GB, free: 7.926 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000987/0.05988, allocations: 1.008 MB / 0.5099 GB, free: 7.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.06218, allocations: 1.227 MB / 0.5111 GB, free: 6.395 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.0722, allocations: 6.222 MB / 0.5172 GB, free: 3.766 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.07221, allocations: 0 / 0.5172 GB, free: 3.766 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.07221, allocations: 1.594 kB / 0.5172 GB, free: 3.766 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003029/0.07251, allocations: 0 / 0.5172 GB, free: 3.766 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01611/0.08862, allocations: 4.594 MB / 0.5217 GB, free: 1.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.08868, allocations: 9.156 kB / 0.5217 GB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006829/0.08936, allocations: 343.8 kB / 0.522 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003746/0.09311, allocations: 0.9125 MB / 0.5229 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.09839, allocations: 2.429 MB / 0.5253 GB, free: 14.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006133/0.099, allocations: 0.8601 MB / 0.5261 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004893/0.09949, allocations: 247.8 kB / 0.5264 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006304/0.1058, allocations: 3.626 MB / 0.5299 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.1058, allocations: 2.5 kB / 0.5299 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000254/0.1061, allocations: 106.9 kB / 0.53 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.726e-05/0.1062, allocations: 58.56 kB / 0.5301 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005133/0.1113, allocations: 2.59 MB / 0.5326 GB, free: 9.559 MB / 458.7 MB 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.01573/0.127, allocations: 9.971 MB / 0.5423 GB, free: 1.719 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.1312, allocations: 2.466 MB / 0.5448 GB, free: 15.37 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.1328, allocations: 1.117 MB / 0.5458 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.993e-05/0.1329, allocations: 33.97 kB / 0.5459 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.1351, allocations: 1.709 MB / 0.5475 GB, free: 12.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=197): time 4.248e-06/0.1351, allocations: 3.938 kB / 0.5475 GB, free: 12.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.007212/0.1424, allocations: 4.136 MB / 0.5516 GB, free: 8.285 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002072/0.1426, allocations: 496.6 kB / 0.5521 GB, free: 7.688 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003753/0.1463, allocations: 2.889 MB / 0.5549 GB, free: 4.793 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.1465, allocations: 73.7 kB / 0.555 GB, free: 4.715 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.1475, allocations: 1.492 MB / 0.5564 GB, free: 3.211 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006011/0.1481, allocations: 0.6623 MB / 0.5571 GB, free: 2.543 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005182/0.1486, allocations: 383.8 kB / 0.5574 GB, free: 2.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.1487, allocations: 309.1 kB / 0.5577 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.1503, allocations: 1.116 MB / 0.5588 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/0.1524, allocations: 2.018 MB / 0.5608 GB, free: 14.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.1631, allocations: 5.838 MB / 0.5665 GB, free: 8.398 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.1631, allocations: 4 kB / 0.5665 GB, free: 8.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005745/0.1689, allocations: 3.428 MB / 0.5698 GB, free: 4.941 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.169, allocations: 37.7 kB / 0.5699 GB, free: 4.898 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.169, allocations: 11.98 kB / 0.5699 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003955/0.1694, allocations: 316.7 kB / 0.5702 GB, free: 4.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.1708, allocations: 0.5071 MB / 0.5707 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.575e-05/0.1709, allocations: 23.94 kB / 0.5707 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.1727, allocations: 350.2 kB / 0.571 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.1728, allocations: 83.98 kB / 0.5711 GB, free: 3.617 MB / 490.7 MB Warning: Assuming fixed start value for the following 26 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002944/0.1758, allocations: 1.714 MB / 0.5728 GB, free: 1.906 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002187/0.1779, allocations: 1.971 MB / 0.5747 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009998/0.1879, allocations: 5.682 MB / 0.5803 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.638e-06/0.188, allocations: 0 / 0.5803 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.005263/0.1932, allocations: 3.334 MB / 0.5835 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.1933, allocations: 37.69 kB / 0.5835 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1933, allocations: 12 kB / 0.5836 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.1936, allocations: 329.3 kB / 0.5839 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.1949, allocations: 495.3 kB / 0.5843 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/0.1949, allocations: 27.92 kB / 0.5844 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.1963, allocations: 310.8 kB / 0.5847 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.1964, allocations: 76 kB / 0.5847 GB, free: 5.156 MB / 0.4948 GB Warning: Assuming fixed start value for the following 26 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.WTG4A.line.state,WTG4A.line.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3.value,WTG4A.injector.switchOffSignal2.value,WTG4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4A.line.running.value,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.injector.running.value,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.y,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.driveTrainPmConstrant.dOmegaGenerator.local_reset,WTG4A.driveTrainPmConstrant.dOmegaTurbine.local_reset,WTG4A.driveTrainPmConstrant.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008666/0.1973, allocations: 0.4909 MB / 0.5852 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/0.1978, allocations: 345.8 kB / 0.5856 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005142/0.203, allocations: 3.188 MB / 0.5887 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.203, allocations: 20 kB / 0.5887 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.203, allocations: 4 kB / 0.5887 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.203, allocations: 11.91 kB / 0.5887 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009449/0.2125, allocations: 6.272 MB / 0.5948 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.2125, allocations: 0 / 0.5948 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.2139, allocations: 431.5 kB / 0.5952 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/0.2142, allocations: 308.6 kB / 0.5955 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.2144, allocations: 55.97 kB / 0.5956 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.2144, allocations: 11.94 kB / 0.5956 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2144, allocations: 0 / 0.5956 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007289/0.2217, allocations: 4.827 MB / 0.6003 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/0.2229, allocations: 0.6612 MB / 0.601 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.2231, allocations: 67.98 kB / 0.601 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009741/0.2241, allocations: 187.8 kB / 0.6012 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/0.2245, allocations: 209.8 kB / 0.6014 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.2246, allocations: 71.91 kB / 0.6015 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002453/0.2271, allocations: 1.93 MB / 0.6034 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2271, allocations: 0 / 0.6034 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002377/0.2295, allocations: 1.095 MB / 0.6044 GB, free: 0.8555 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.driveTrainPmConstrant.dPhi.y,WTG4A.driveTrainPmConstrant.dOmegaTurbine.y,WTG4A.driveTrainPmConstrant.dOmegaGenerator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WTG4A.line.running.value,WTG4A.line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.y,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 12 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008311/0.2378, allocations: 5.78 MB / 0.6101 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007313/0.2451, allocations: 4.247 MB / 0.6142 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.2451, allocations: 4 kB / 0.6142 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.2471, allocations: 1.416 MB / 0.6156 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.2496, allocations: 0.5311 MB / 0.6161 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05533/0.3049, allocations: 26.94 MB / 0.6424 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.306, allocations: 1.287 MB / 0.6437 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002009/0.308, allocations: 399.1 kB / 0.6441 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/0.3097, allocations: 1.348 MB / 0.6454 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of SimCode: time 1.913e-06/0.3097, allocations: 0 / 0.6454 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4063/0.716, allocations: 72.62 MB / 0.7163 GB, free: 170.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.17, allocations: 8.016 kB / 0.7163 GB, free: 170.3 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource_fmu --startTime=0 --stopTime=20 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Dynawo_Dynawo_Examples_Wind_WECC_WTG4ACurrentSource.fmu > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.134662263095379] Failed to read output from testmodel.py, exit status != 0: 11.319408857263625 11.33290397 11.258302962 Calling exit ...