Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.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.00136/0.00136, 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.001755/0.001755, allocations: 211.4 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.563/1.563, allocations: 207.7 MB / 233.9 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.6401/0.6401, allocations: 103.8 MB / 389.9 MB, free: 21.24 MB / 318.1 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.WT4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WT4ACurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WT4ACurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WT4ACurrentSource",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.002741/0.002741, allocations: 74.47 kB / 0.5517 GB, free: 58.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1426, allocations: 76 MB / 0.6259 GB, free: 9.086 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WT4ACurrentSource): time 0.00795/0.1505, allocations: 8.591 MB / 0.6343 GB, free: 444 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008718/0.1592, allocations: 4.908 MB / 0.6391 GB, free: 11.51 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.1608, allocations: 59.56 kB / 0.6391 GB, free: 11.45 MB / 478.1 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.001392/0.1622, allocations: 0.5189 MB / 0.6396 GB, free: 10.93 MB / 478.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.001961/0.1641, allocations: 0.6634 MB / 0.6403 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.1681, allocations: 1.961 MB / 0.6422 GB, free: 8.312 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004193/0.1723, allocations: 3.134 MB / 0.6452 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.1738, allocations: 0.7375 MB / 0.646 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.1755, allocations: 1.163 MB / 0.6471 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.1768, allocations: 1.076 MB / 0.6482 GB, free: 2.145 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.1773, allocations: 344 kB / 0.6485 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008852/0.1782, allocations: 0.5077 MB / 0.649 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000682/0.1789, allocations: 0.7086 MB / 0.6497 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.1804, allocations: 1.045 MB / 0.6507 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00635/0.1868, allocations: 4.214 MB / 0.6548 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1868, allocations: 0 / 0.6548 GB, free: 11.31 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1868, allocations: 0 / 0.6548 GB, free: 11.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.1869, allocations: 0 / 0.6548 GB, free: 11.31 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.01013/0.197, allocations: 3.383 MB / 0.6581 GB, free: 7.859 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1971, allocations: 12.03 kB / 0.6581 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/0.1974, allocations: 261.1 kB / 0.6584 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.2011, allocations: 0.733 MB / 0.6591 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/0.2043, allocations: 1.664 MB / 0.6607 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007137/0.2051, allocations: 0.7933 MB / 0.6615 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.2054, allocations: 172 kB / 0.6616 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.2103, allocations: 2.526 MB / 0.6641 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/0.2103, allocations: 7.938 kB / 0.6641 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.2105, allocations: 79.98 kB / 0.6642 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.2106, allocations: 40 kB / 0.6642 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004343/0.2149, allocations: 1.833 MB / 0.666 GB, free: 15.36 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.01333/0.2283, allocations: 7.163 MB / 0.673 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/0.2329, allocations: 1.723 MB / 0.6747 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.2348, allocations: 0.8107 MB / 0.6755 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.2349, allocations: 17.31 kB / 0.6755 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00265/0.2376, allocations: 1.36 MB / 0.6768 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=147): time 3.887e-06/0.2376, allocations: 3.938 kB / 0.6768 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=147): time 0.008676/0.2463, allocations: 3.138 MB / 0.6799 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/0.2464, allocations: 290.3 kB / 0.6802 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003168/0.2496, allocations: 2.013 MB / 0.6822 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.2499, allocations: 65.7 kB / 0.6822 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.2509, allocations: 1.034 MB / 0.6832 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006023/0.2515, allocations: 0.4919 MB / 0.6837 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/0.252, allocations: 295.5 kB / 0.684 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2522, allocations: 305.1 kB / 0.6843 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.2541, allocations: 0.8185 MB / 0.6851 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/0.2564, allocations: 1.366 MB / 0.6864 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/0.2703, allocations: 4.384 MB / 0.6907 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.2703, allocations: 4 kB / 0.6907 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.006895/0.2772, allocations: 2.604 MB / 0.6932 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.2773, allocations: 46.41 kB / 0.6933 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.2773, allocations: 11.98 kB / 0.6933 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/0.2778, allocations: 316.7 kB / 0.6936 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.2798, allocations: 371.5 kB / 0.694 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.2798, allocations: 27.88 kB / 0.694 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.2815, allocations: 246.7 kB / 0.6942 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.2816, allocations: 63.98 kB / 0.6943 GB, free: 1.66 MB / 0.5137 GB Warning: Assuming fixed start value for the following 20 variables: WT4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.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 WT4A.line.running.value:DISCRETE(flow=false start = WT4A.line.Running0 fixed = true ) type: Boolean WT4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.injector.running.value:DISCRETE(flow=false start = WT4A.injector.Running0 fixed = true ) type: Boolean WT4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002973/0.2846, allocations: 1.279 MB / 0.6955 GB, free: 384 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002306/0.2869, allocations: 1.358 MB / 0.6968 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01345/0.3003, allocations: 4.349 MB / 0.7011 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.288e-06/0.3003, allocations: 0 / 0.7011 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.00665/0.307, allocations: 2.581 MB / 0.7036 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.3071, allocations: 45.45 kB / 0.7037 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3071, allocations: 8 kB / 0.7037 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/0.3076, allocations: 316.7 kB / 0.704 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.3096, allocations: 371.4 kB / 0.7043 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.891e-05/0.3096, allocations: 23.92 kB / 0.7043 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.3114, allocations: 203.1 kB / 0.7045 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.3115, allocations: 67.98 kB / 0.7046 GB, free: 6.711 MB / 0.5294 GB Warning: Assuming fixed start value for the following 20 variables: WT4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WT4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WT4A.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 WT4A.line.running.value:DISCRETE(flow=false start = WT4A.line.Running0 fixed = true ) type: Boolean WT4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WT4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WT4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WT4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WT4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WT4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WT4A.injector.running.value:DISCRETE(flow=false start = WT4A.injector.Running0 fixed = true ) type: Boolean WT4A.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: 39 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.WT4A.injector.state,WT4A.injector.state,$PRE.WT4A.line.state,WT4A.line.state,$PRE.line.state,line.state,WT4A.injector.switchOffSignal3.value,WT4A.injector.switchOffSignal2.value,WT4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WT4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WT4A.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WT4A.line.running.value,$PRE.WT4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WT4A.injector.running.value,$PRE.WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.injector.running.value,WT4A.wecc_regc.offDelay.tNext,WT4A.wecc_regc.offDelay.delaySignal,WT4A.wecc_regc.offDelay.y,WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4A.wecc_reec.iqInjectionLogic.vDip,WT4A.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WT4A.driveTrainPmConstrant.dOmegaGenerator.local_reset,WT4A.driveTrainPmConstrant.dOmegaTurbine.local_reset,WT4A.driveTrainPmConstrant.dPhi.local_reset,WT4A.pll.limIntegrator.local_reset,WT4A.pll.integrator.local_reset,WT4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WT4A.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 (199): * Single equations (assignments): 197 * 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.0007272/0.3122, allocations: 426.6 kB / 0.705 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.3127, allocations: 238.5 kB / 0.7052 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006162/0.3188, allocations: 2.45 MB / 0.7076 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.3188, allocations: 16 kB / 0.7076 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.3189, allocations: 4 kB / 0.7077 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.3189, allocations: 7.969 kB / 0.7077 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.3293, allocations: 4.693 MB / 0.7122 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3293, allocations: 0 / 0.7122 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.3312, allocations: 307.6 kB / 0.7125 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005524/0.3318, allocations: 308.7 kB / 0.7128 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.332, allocations: 47.91 kB / 0.7129 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.332, allocations: 4 kB / 0.7129 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.332, allocations: 4 kB / 0.7129 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008908/0.3409, allocations: 3.656 MB / 0.7165 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.3422, allocations: 470.1 kB / 0.7169 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/0.3425, allocations: 51.98 kB / 0.717 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.3436, allocations: 127.8 kB / 0.7171 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/0.3441, allocations: 176.9 kB / 0.7172 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.3442, allocations: 55.97 kB / 0.7173 GB, free: 9.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002256/0.3465, allocations: 1.342 MB / 0.7186 GB, free: 8.195 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3465, allocations: 0 / 0.7186 GB, free: 8.195 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002186/0.3487, allocations: 0.799 MB / 0.7194 GB, free: 7.395 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (WT4A.wecc_reec.firstOrder.y,WT4A.wecc_reec.firstOrder1.y,WT4A.wecc_reec.limPIDFreeze.I.y,WT4A.wecc_reec.varLimPIDFreeze.I.y,WT4A.wecc_reec.rateLimFirstOrderFreeze1.y,WT4A.wecc_reec.slewRateLimiter.y,WT4A.wecc_reec.rateLimFirstOrderFreeze.y,WT4A.wecc_regc.firstOrder.y,WT4A.wecc_regc.rateLimFirstOrderFreeze.y,WT4A.wecc_regc.rateLimFirstOrderFreeze1.y,WT4A.pll.integrator.y,WT4A.pll.limIntegrator.y,WT4A.driveTrainPmConstrant.dPhi.y,WT4A.driveTrainPmConstrant.dOmegaTurbine.y,WT4A.driveTrainPmConstrant.dOmegaGenerator.y) * Number of discrete variables: 31 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WT4A.line.running.value,WT4A.line.state,WT4A.wecc_reec.iqInjectionLogic.vDip,WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4A.wecc_regc.offDelay.y,WT4A.wecc_regc.offDelay.delaySignal,WT4A.wecc_regc.offDelay.tNext,WT4A.injector.running.value,WT4A.injector.state) * Number of discrete states: 12 (WT4A.injector.running.value,WT4A.line.running.value,line.running.value,WT4A.wecc_regc.offDelay.tNext,WT4A.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WT4A.wecc_reec.currentLimitsCalculation1.vDip,WT4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WT4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WT4A.wecc_reec.iqInjectionLogic.vDip,WT4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 135 * 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.01018/0.3588, allocations: 4.591 MB / 0.7239 GB, free: 2.906 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007524/0.3664, allocations: 3.223 MB / 0.727 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.3664, allocations: 8 kB / 0.727 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/0.3689, allocations: 1.079 MB / 0.7281 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.3708, allocations: 377.8 kB / 0.7284 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03963/0.4105, allocations: 19.35 MB / 0.7473 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.4116, allocations: 0.9246 MB / 0.7482 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001384/0.4129, allocations: 269.7 kB / 0.7485 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/0.4143, allocations: 0.9366 MB / 0.7494 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.4143, allocations: 0 / 0.7494 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3864/0.8007, allocations: 52.2 MB / 0.8004 GB, free: 151.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.68, allocations: 17.5 kB / 0.8004 GB, free: 151.6 MB / 0.6075 GB " [Timeout remaining time 645] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Wind.WECC.WT4ACurrentSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Dynawo_Dynawo_Examples_Wind_WECC_WT4ACurrentSource.fmu > Dynawo_Dynawo.Examples.Wind.WECC.WT4ACurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.052065853960812] Failed to read output from testmodel.py, exit status != 0: 15.177297088783234 14.895637091 14.705451978 Calling exit ...