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.001356/0.001356, allocations: 83.66 kB / 20.54 MB, free: 1.258 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.001436/0.001436, allocations: 164.8 kB / 23.78 MB, free: 4.445 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.288/1.288, allocations: 158.6 MB / 185.5 MB, free: 6.223 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.5539/0.5539, allocations: 76.95 MB / 314.7 MB, free: 13.19 MB / 302.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: translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource") [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.002323/0.002323, allocations: 71.52 kB / 490.2 MB, free: 30.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1222, allocations: 75.96 MB / 0.5529 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4BCurrentSource): time 0.01462/0.1368, allocations: 10.64 MB / 0.5633 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.1482, allocations: 5.994 MB / 0.5691 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.151, allocations: 87.38 kB / 0.5692 GB, free: 11.55 MB / 494.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.002015/0.153, allocations: 0.6429 MB / 0.5698 GB, free: 10.9 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003018/0.156, allocations: 0.8807 MB / 0.5707 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005926/0.1619, allocations: 2.766 MB / 0.5734 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006434/0.1684, allocations: 4.368 MB / 0.5777 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.1705, allocations: 1.035 MB / 0.5787 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.1729, allocations: 1.599 MB / 0.5802 GB, free: 176 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.1751, allocations: 1.465 MB / 0.5817 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000639/0.1757, allocations: 472 kB / 0.5821 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.1768, allocations: 0.6677 MB / 0.5828 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009267/0.1778, allocations: 0.9383 MB / 0.5837 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.1795, allocations: 1.395 MB / 0.5851 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007184/0.1867, allocations: 5.713 MB / 0.5906 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1867, allocations: 4 kB / 0.5906 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1867, allocations: 0 / 0.5906 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001262/0.1869, allocations: 0 / 0.5906 GB, free: 5.488 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.01148/0.1983, allocations: 4.378 MB / 0.5949 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1984, allocations: 12.03 kB / 0.5949 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/0.203, allocations: 0.8885 MB / 0.5958 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.2075, allocations: 2.29 MB / 0.598 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000737/0.2082, allocations: 0.8544 MB / 0.5989 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004181/0.2086, allocations: 227.9 kB / 0.5991 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006417/0.215, allocations: 3.404 MB / 0.6024 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.2151, allocations: 3.938 kB / 0.6024 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.2153, allocations: 95.98 kB / 0.6025 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.2154, allocations: 56 kB / 0.6026 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005993/0.2214, allocations: 2.442 MB / 0.6049 GB, free: 6.227 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.01569/0.2371, allocations: 8.697 MB / 0.6134 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00628/0.2434, allocations: 2.368 MB / 0.6157 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.2458, allocations: 1.078 MB / 0.6168 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.246, allocations: 26 kB / 0.6168 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003303/0.2493, allocations: 1.658 MB / 0.6184 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=185): time 4.368e-06/0.2493, allocations: 0 / 0.6184 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of matching and sorting (n=185): time 0.011/0.2603, allocations: 3.971 MB / 0.6223 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003137/0.2606, allocations: 0.4888 MB / 0.6228 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003897/0.2645, allocations: 2.473 MB / 0.6252 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003308/0.2648, allocations: 77.69 kB / 0.6253 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.2662, allocations: 1.376 MB / 0.6266 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007478/0.267, allocations: 0.6314 MB / 0.6272 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006799/0.2677, allocations: 367.4 kB / 0.6276 GB, free: 14.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2678, allocations: 305.1 kB / 0.6279 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002544/0.2703, allocations: 1.061 MB / 0.6289 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.2736, allocations: 1.929 MB / 0.6308 GB, free: 11.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/0.2916, allocations: 5.566 MB / 0.6362 GB, free: 5.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.2916, allocations: 4 kB / 0.6362 GB, free: 5.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008271/0.2998, allocations: 3.236 MB / 0.6394 GB, free: 2.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.2999, allocations: 41.69 kB / 0.6394 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.2999, allocations: 12.75 kB / 0.6395 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.3004, allocations: 324.7 kB / 0.6398 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.303, allocations: 491.3 kB / 0.6402 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.024e-05/0.3031, allocations: 19.94 kB / 0.6403 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/0.3052, allocations: 302.7 kB / 0.6405 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.3054, allocations: 75.98 kB / 0.6406 GB, free: 0.7734 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.003664/0.309, allocations: 1.633 MB / 0.6422 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003073/0.3121, allocations: 1.867 MB / 0.644 GB, free: 13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01716/0.3293, allocations: 5.422 MB / 0.6493 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-05/0.3293, allocations: 7.938 kB / 0.6493 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.007946/0.3372, allocations: 3.124 MB / 0.6524 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.3373, allocations: 49.66 kB / 0.6524 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.3373, allocations: 8 kB / 0.6524 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.3378, allocations: 320.7 kB / 0.6527 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/0.3402, allocations: 467.3 kB / 0.6532 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.871e-05/0.3403, allocations: 27.92 kB / 0.6532 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.3424, allocations: 282.9 kB / 0.6535 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.3426, allocations: 83.92 kB / 0.6536 GB, free: 3.051 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.0008117/0.3434, allocations: 473 kB / 0.654 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005724/0.344, allocations: 310 kB / 0.6543 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007903/0.3519, allocations: 3.046 MB / 0.6573 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/0.3519, allocations: 23.94 kB / 0.6573 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.3519, allocations: 11.88 kB / 0.6573 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.3519, allocations: 15.94 kB / 0.6573 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.3646, allocations: 5.754 MB / 0.663 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3646, allocations: 0 / 0.663 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/0.3673, allocations: 423.4 kB / 0.6634 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/0.3678, allocations: 300.7 kB / 0.6637 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/0.368, allocations: 51.97 kB / 0.6637 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.368, allocations: 8 kB / 0.6637 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.368, allocations: 7.938 kB / 0.6637 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/0.3788, allocations: 4.617 MB / 0.6682 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.3803, allocations: 0.5914 MB / 0.6688 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/0.3807, allocations: 60 kB / 0.6689 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/0.3824, allocations: 191.8 kB / 0.669 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004326/0.3828, allocations: 197.7 kB / 0.6692 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/0.383, allocations: 63.97 kB / 0.6693 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002636/0.3856, allocations: 1.636 MB / 0.6709 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3856, allocations: 0 / 0.6709 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00254/0.3881, allocations: 1.079 MB / 0.6719 GB, free: 76 kB / 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.001712/0.3899, allocations: 0.5207 MB / 0.6725 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009337/0.3992, allocations: 4.048 MB / 0.6764 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.3992, allocations: 4.938 kB / 0.6764 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/0.4024, allocations: 1.372 MB / 0.6778 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.4046, allocations: 491.3 kB / 0.6782 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.4158, allocations: 5.643 MB / 0.6837 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.4173, allocations: 1.202 MB / 0.6849 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001677/0.4189, allocations: 352.6 kB / 0.6852 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/0.4196, allocations: 180.5 kB / 0.6854 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.4196, allocations: 0 / 0.6854 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of Templates: time 0.2966/0.7162, allocations: 36.51 MB / 0.7211 GB, free: 113.7 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.makefile [Timeout 660] (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 & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4BCurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.753299190080725] Failed to read output from testmodel.py, exit status != 0: 0.7244112580083311 0.7338209 0.54473041 Calling exit ...