Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.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.0016/0.0016, allocations: 100.3 kB / 19.72 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 210.1 kB / 23.01 MB, free: 4.621 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.471/1.471, allocations: 207.7 MB / 233.9 MB, free: 9.809 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.6372/0.6372, allocations: 103.8 MB / 389.9 MB, free: 21.37 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.WTG4BCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,fileNamePrefix="Dynawo_Dynawo_Examples_Wind_WECC_WTG4BCurrentSource",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.002298/0.002298, allocations: 76.42 kB / 0.5517 GB, free: 58.35 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1477, allocations: 76 MB / 0.6259 GB, free: 9.297 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01122/0.1589, allocations: 10.65 MB / 0.6363 GB, free: 14.58 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.1726, allocations: 5.99 MB / 0.6421 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.1758, allocations: 87.38 kB / 0.6422 GB, free: 8.488 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.00235/0.1781, allocations: 0.6427 MB / 0.6428 GB, free: 7.844 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.003633/0.1817, allocations: 0.869 MB / 0.6437 GB, free: 6.969 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006169/0.1879, allocations: 2.771 MB / 0.6464 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007462/0.1954, allocations: 4.368 MB / 0.6507 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003006/0.1984, allocations: 1.039 MB / 0.6517 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.2014, allocations: 1.599 MB / 0.6532 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.2042, allocations: 1.457 MB / 0.6547 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001509/0.2057, allocations: 476 kB / 0.6551 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.2078, allocations: 0.6717 MB / 0.6558 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.2094, allocations: 0.9383 MB / 0.6567 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002986/0.2124, allocations: 1.399 MB / 0.658 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00792/0.2203, allocations: 5.711 MB / 0.6636 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2204, allocations: 0 / 0.6636 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2204, allocations: 0 / 0.6636 GB, free: 2.441 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001943/0.2205, allocations: 0 / 0.6636 GB, free: 2.441 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: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01405/0.2346, allocations: 4.37 MB / 0.6679 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/0.2347, allocations: 15.95 kB / 0.6679 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008087/0.2355, allocations: 312.2 kB / 0.6682 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004796/0.2403, allocations: 0.8963 MB / 0.6691 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005843/0.2461, allocations: 2.29 MB / 0.6713 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008347/0.2469, allocations: 0.8426 MB / 0.6721 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007222/0.2477, allocations: 227.9 kB / 0.6724 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006947/0.2546, allocations: 3.411 MB / 0.6757 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.2547, allocations: 4 kB / 0.6757 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.2549, allocations: 96 kB / 0.6758 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.255, allocations: 55.98 kB / 0.6758 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00622/0.2612, allocations: 2.45 MB / 0.6782 GB, free: 2.848 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.01674/0.2779, allocations: 9.033 MB / 0.687 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006248/0.2842, allocations: 2.38 MB / 0.6894 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.2866, allocations: 1.073 MB / 0.6904 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.2867, allocations: 33.92 kB / 0.6905 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003224/0.2899, allocations: 1.663 MB / 0.6921 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=185): time 4.709e-06/0.2899, allocations: 0 / 0.6921 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=185): time 0.01095/0.3009, allocations: 3.987 MB / 0.696 GB, free: 400 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003492/0.3012, allocations: 0.4888 MB / 0.6964 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/0.3062, allocations: 2.746 MB / 0.6991 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.3065, allocations: 69.7 kB / 0.6992 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.308, allocations: 1.382 MB / 0.7005 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000972/0.309, allocations: 0.6275 MB / 0.7012 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007904/0.3098, allocations: 359.4 kB / 0.7015 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.31, allocations: 301.1 kB / 0.7018 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002545/0.3125, allocations: 1.072 MB / 0.7028 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.3159, allocations: 1.929 MB / 0.7047 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/0.3336, allocations: 5.562 MB / 0.7101 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/0.3336, allocations: 4 kB / 0.7102 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008428/0.3421, allocations: 3.264 MB / 0.7133 GB, free: 13.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.3421, allocations: 37.69 kB / 0.7134 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.3422, allocations: 12 kB / 0.7134 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.3427, allocations: 320.9 kB / 0.7137 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.3453, allocations: 487.3 kB / 0.7142 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.198e-05/0.3454, allocations: 27.92 kB / 0.7142 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.3478, allocations: 338.3 kB / 0.7145 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.348, allocations: 75.98 kB / 0.7146 GB, free: 12.7 MB / 0.545 GB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003752/0.3518, allocations: 1.633 MB / 0.7162 GB, free: 11.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003098/0.3549, allocations: 1.867 MB / 0.718 GB, free: 8.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01762/0.3725, allocations: 5.418 MB / 0.7233 GB, free: 3.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.043e-05/0.3725, allocations: 4 kB / 0.7233 GB, free: 3.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.009416/0.3819, allocations: 3.166 MB / 0.7264 GB, free: 164 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.382, allocations: 33.7 kB / 0.7264 GB, free: 124 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.382, allocations: 12 kB / 0.7264 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/0.3826, allocations: 317.5 kB / 0.7267 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.3851, allocations: 471.3 kB / 0.7272 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.012e-05/0.3851, allocations: 31.92 kB / 0.7272 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/0.3877, allocations: 278.9 kB / 0.7275 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.3879, allocations: 75.98 kB / 0.7276 GB, free: 14.96 MB / 0.5606 GB Warning: Assuming fixed start value for the following 26 variables: WTG4B.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4B.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4B.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 WTG4B.line.running.value:DISCRETE(flow=false start = WTG4B.line.Running0 fixed = true ) type: Boolean WTG4B.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4B.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4B.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.injector.running.value:DISCRETE(flow=false start = WTG4B.injector.Running0 fixed = true ) type: Boolean WTG4B.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4B.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4B.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4B.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4B.wecc_repc.leadLag.a_end * WTG4B.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4B.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: 42 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.WTG4B.injector.state,WTG4B.injector.state,$PRE.WTG4B.line.state,WTG4B.line.state,$PRE.line.state,line.state,WTG4B.injector.switchOffSignal3.value,WTG4B.injector.switchOffSignal2.value,WTG4B.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4B.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4B.line.running.value,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4B.injector.running.value,$PRE.WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_repc.freeze,WTG4B.injector.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4B.wecc_repc.limPIDFreeze.I.resetLocal,WTG4B.wecc_repc.limPID.I.local_reset,WTG4B.pll.limIntegrator.local_reset,WTG4B.pll.integrator.local_reset,WTG4B.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4B.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 (244): * Single equations (assignments): 242 * 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.001033/0.389, allocations: 488.5 kB / 0.728 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.39, allocations: 329.9 kB / 0.7283 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/0.3983, allocations: 3.079 MB / 0.7313 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.3983, allocations: 20 kB / 0.7314 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.3983, allocations: 0 / 0.7314 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.3983, allocations: 11.95 kB / 0.7314 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.413, allocations: 6.001 MB / 0.7372 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4131, allocations: 0 / 0.7372 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/0.4157, allocations: 415.5 kB / 0.7376 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004904/0.4162, allocations: 308.6 kB / 0.7379 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/0.4164, allocations: 59.91 kB / 0.738 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/0.4164, allocations: 4 kB / 0.738 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4164, allocations: 8 kB / 0.738 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.4279, allocations: 4.637 MB / 0.7425 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/0.4298, allocations: 0.6303 MB / 0.7431 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007916/0.4306, allocations: 59.98 kB / 0.7432 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/0.4327, allocations: 195.7 kB / 0.7434 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005009/0.4332, allocations: 201.6 kB / 0.7436 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/0.4334, allocations: 63.97 kB / 0.7436 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004202/0.4376, allocations: 1.839 MB / 0.7454 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4376, allocations: 4 kB / 0.7454 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003678/0.4413, allocations: 1.017 MB / 0.7464 GB, free: 11.47 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (WTG4B.wecc_reec.firstOrder.y,WTG4B.wecc_reec.firstOrder1.y,WTG4B.wecc_reec.limPIDFreeze.I.y,WTG4B.wecc_reec.varLimPIDFreeze.I.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4B.wecc_reec.slewRateLimiter.y,WTG4B.wecc_reec.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.firstOrder.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze.y,WTG4B.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4B.pll.integrator.y,WTG4B.pll.limIntegrator.y,WTG4B.wecc_repc.firstOrder.y,WTG4B.wecc_repc.limPID.I.y,WTG4B.wecc_repc.firstOrder1.y,WTG4B.wecc_repc.firstOrder2.y,WTG4B.wecc_repc.firstOrder3.y,WTG4B.wecc_repc.limPIDFreeze.I.y,WTG4B.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,WTG4B.line.running.value,WTG4B.line.state,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_regc.offDelay.y,WTG4B.wecc_regc.offDelay.delaySignal,WTG4B.wecc_regc.offDelay.tNext,WTG4B.injector.running.value,WTG4B.injector.state,WTG4B.wecc_repc.freeze) * Number of discrete states: 12 (WTG4B.injector.running.value,WTG4B.line.running.value,line.running.value,WTG4B.wecc_regc.offDelay.tNext,WTG4B.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4B.wecc_reec.currentLimitsCalculation1.vDip,WTG4B.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4B.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4B.wecc_reec.iqInjectionLogic.vDip,WTG4B.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 173 * 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.01373/0.455, allocations: 5.61 MB / 0.7519 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01052/0.4655, allocations: 4.055 MB / 0.7559 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.4656, allocations: 4 kB / 0.7559 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003565/0.4691, allocations: 1.365 MB / 0.7572 GB, free: 484 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003921/0.473, allocations: 0.4892 MB / 0.7577 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.062/0.535, allocations: 25.25 MB / 0.7823 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.5367, allocations: 1.207 MB / 0.7835 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002061/0.5388, allocations: 378 kB / 0.7839 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/0.541, allocations: 1.253 MB / 0.7851 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/0.541, allocations: 0 / 0.7851 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4277/0.9687, allocations: 69.13 MB / 0.8526 GB, free: 98.53 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.04, allocations: 6.875 kB / 0.8526 GB, free: 98.53 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.sim & python3 -m fmpy simulate --output-file Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource_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_WTG4BCurrentSource.fmu > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.439618044998497] Failed to read output from testmodel.py, exit status != 0: 16.591054037678987 16.260973364 16.038182748 Calling exit ...