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.001338/0.001338, 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.001629/0.001629, allocations: 212 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.463/1.463, 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.5837/0.5837, allocations: 103.8 MB / 389.9 MB, free: 21.16 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.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: 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.002256/0.002256, allocations: 75.39 kB / 0.5517 GB, free: 58.39 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1383, allocations: 75.99 MB / 0.6259 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01147/0.1498, allocations: 11.26 MB / 0.6369 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.1625, allocations: 6.224 MB / 0.6429 GB, free: 7.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003287/0.1658, allocations: 91.31 kB / 0.643 GB, free: 7.434 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.002501/0.1683, allocations: 0.6772 MB / 0.6437 GB, free: 6.754 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.004755/0.173, allocations: 0.9272 MB / 0.6446 GB, free: 5.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007581/0.1806, allocations: 2.861 MB / 0.6474 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00927/0.1899, allocations: 4.646 MB / 0.6519 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/0.1932, allocations: 1.12 MB / 0.653 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.1966, allocations: 1.693 MB / 0.6547 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/0.1995, allocations: 1.562 MB / 0.6562 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.2012, allocations: 0.4922 MB / 0.6567 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.2033, allocations: 0.6991 MB / 0.6574 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.205, allocations: 0.9889 MB / 0.6583 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.2069, allocations: 1.496 MB / 0.6598 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00815/0.2151, allocations: 6.093 MB / 0.6657 GB, free: 64 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.2151, allocations: 8 kB / 0.6658 GB, free: 56 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2151, allocations: 0 / 0.6658 GB, free: 56 kB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001812/0.2153, allocations: 0 / 0.6658 GB, free: 56 kB / 494.1 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.01257/0.2279, allocations: 4.618 MB / 0.6703 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.2279, allocations: 8.031 kB / 0.6703 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005356/0.2284, allocations: 345.5 kB / 0.6706 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/0.2331, allocations: 0.9196 MB / 0.6715 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006304/0.2395, allocations: 2.436 MB / 0.6739 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008476/0.2403, allocations: 0.8664 MB / 0.6747 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000755/0.2411, allocations: 247.9 kB / 0.675 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008816/0.2499, allocations: 3.617 MB / 0.6785 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.258e-05/0.2499, allocations: 4 kB / 0.6785 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004688/0.2504, allocations: 115.9 kB / 0.6786 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.946e-05/0.2505, allocations: 56 kB / 0.6787 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006926/0.2574, allocations: 2.584 MB / 0.6812 GB, free: 15.59 MB / 0.5137 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.02189/0.2793, allocations: 9.99 MB / 0.6909 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.2866, allocations: 2.456 MB / 0.6933 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002898/0.2895, allocations: 1.133 MB / 0.6944 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.2897, allocations: 22 kB / 0.6945 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003798/0.2935, allocations: 1.71 MB / 0.6961 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=197): time 5.14e-06/0.2935, allocations: 0 / 0.6961 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.0124/0.3059, allocations: 4.147 MB / 0.7002 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003134/0.3062, allocations: 0.4928 MB / 0.7007 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00653/0.3127, allocations: 2.885 MB / 0.7035 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005811/0.3133, allocations: 73.7 kB / 0.7036 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.3152, allocations: 1.484 MB / 0.705 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.3164, allocations: 0.674 MB / 0.7057 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.3178, allocations: 391.8 kB / 0.706 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.318, allocations: 305.1 kB / 0.7063 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.321, allocations: 1.116 MB / 0.7074 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003984/0.3249, allocations: 2.026 MB / 0.7094 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01906/0.344, allocations: 5.834 MB / 0.7151 GB, free: 11.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/0.344, allocations: 0 / 0.7151 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009956/0.354, allocations: 3.431 MB / 0.7184 GB, free: 8.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.354, allocations: 38.64 kB / 0.7185 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.3541, allocations: 12 kB / 0.7185 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.3546, allocations: 320.6 kB / 0.7188 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/0.3574, allocations: 0.511 MB / 0.7193 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.346e-05/0.3575, allocations: 27.92 kB / 0.7193 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.3602, allocations: 346.2 kB / 0.7196 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/0.3605, allocations: 83.98 kB / 0.7197 GB, free: 7.141 MB / 0.545 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004455/0.3649, allocations: 1.7 MB / 0.7214 GB, free: 5.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003813/0.3687, allocations: 1.963 MB / 0.7233 GB, free: 3.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01847/0.3872, allocations: 5.697 MB / 0.7289 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.641e-05/0.3872, allocations: 4 kB / 0.7289 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.009558/0.3968, allocations: 3.319 MB / 0.7321 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/0.3968, allocations: 45.62 kB / 0.7322 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.3969, allocations: 12 kB / 0.7322 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.3974, allocations: 321 kB / 0.7325 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.4001, allocations: 499.3 kB / 0.733 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.575e-05/0.4002, allocations: 27.92 kB / 0.733 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.4029, allocations: 302.8 kB / 0.7333 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.4032, allocations: 79.98 kB / 0.7333 GB, free: 8.68 MB / 0.5606 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.001148/0.4043, allocations: 499.2 kB / 0.7338 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/0.4055, allocations: 345.8 kB / 0.7341 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009272/0.4148, allocations: 3.184 MB / 0.7373 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/0.4148, allocations: 23.94 kB / 0.7373 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.4149, allocations: 8 kB / 0.7373 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/0.4149, allocations: 11.95 kB / 0.7373 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01684/0.4317, allocations: 6.284 MB / 0.7434 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.4317, allocations: 0 / 0.7434 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/0.4344, allocations: 431.5 kB / 0.7438 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.4349, allocations: 312.6 kB / 0.7441 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003151/0.4353, allocations: 63.91 kB / 0.7442 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.115e-05/0.4353, allocations: 8 kB / 0.7442 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4353, allocations: 0 / 0.7442 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.4469, allocations: 4.819 MB / 0.7489 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/0.4489, allocations: 0.6573 MB / 0.7496 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008488/0.4497, allocations: 60.17 kB / 0.7496 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.452, allocations: 203.7 kB / 0.7498 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/0.4525, allocations: 205.6 kB / 0.75 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001847/0.4527, allocations: 63.97 kB / 0.7501 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004258/0.457, allocations: 1.93 MB / 0.752 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.457, allocations: 3.938 kB / 0.752 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004304/0.4613, allocations: 1.099 MB / 0.753 GB, free: 4.371 MB / 0.5762 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.01348/0.4748, allocations: 5.786 MB / 0.7587 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01036/0.4851, allocations: 4.248 MB / 0.7628 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.4851, allocations: 3.938 kB / 0.7628 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003357/0.4885, allocations: 1.431 MB / 0.7642 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.492, allocations: 0.51 MB / 0.7647 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3799/0.8719, allocations: 26.65 MB / 0.7908 GB, free: 146.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.874, allocations: 1.295 MB / 0.792 GB, free: 146.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002581/0.8765, allocations: 398.5 kB / 0.7924 GB, free: 146.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/0.8786, allocations: 1.347 MB / 0.7937 GB, free: 146.6 MB / 0.6075 GB Notification: Performance of SimCode: time 1.433e-06/0.8786, allocations: 0 / 0.7937 GB, free: 146.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/1.014, allocations: 72.51 MB / 0.8645 GB, free: 84.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.48, allocations: 11.81 kB / 0.8645 GB, free: 84.46 MB / 0.6075 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource_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_WTG4ACurrentSource.fmu > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.671370062045753] Failed to read output from testmodel.py, exit status != 0: 16.940875977743417 16.69771617 16.479997826 Calling exit ...