Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.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.001367/0.001367, allocations: 96.36 kB / 20.46 MB, free: 1.238 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.001574/0.001574, allocations: 222.4 kB / 23.77 MB, free: 4.156 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.408/1.408, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.6571/0.6571, allocations: 114.3 MB / 401.2 MB, free: 17.18 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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.WTG4ACurrentSource2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2") [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.002275/0.002275, allocations: 81.28 kB / 0.5683 GB, free: 42.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1144, allocations: 78.65 MB / 0.6451 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2): time 0.01646/0.1309, allocations: 11.86 MB / 0.6567 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1435, allocations: 6.367 MB / 0.6629 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002874/0.1464, allocations: 91.38 kB / 0.663 GB, free: 11.04 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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 master/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.002457/0.1489, allocations: 0.7863 MB / 0.6638 GB, free: 10.25 MB / 0.4981 GB [/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.005201/0.1541, allocations: 1.013 MB / 0.6648 GB, free: 9.234 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Wind/WECC/WT4CurrentSource_INIT.mo:54:3-54:99:writable] Warning: In relation Modelica.ComplexMath.'abs'(wt4CurrentSource_INIT.sInj0Pu) == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.007427/0.1615, allocations: 3.082 MB / 0.6678 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007288/0.1688, allocations: 4.849 MB / 0.6725 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.1712, allocations: 1.144 MB / 0.6737 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.1739, allocations: 1.79 MB / 0.6754 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.1763, allocations: 1.694 MB / 0.6771 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.1776, allocations: 0.5234 MB / 0.6776 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.1793, allocations: 0.8006 MB / 0.6783 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.1805, allocations: 1.078 MB / 0.6794 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.1823, allocations: 1.581 MB / 0.6809 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007749/0.1901, allocations: 6.433 MB / 0.6872 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1901, allocations: 0 / 0.6872 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1901, allocations: 0 / 0.6872 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001078/0.1902, allocations: 0 / 0.6872 GB, free: 2.148 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 636 * Number of variables: 636 Notification: Performance of Generate backend data structure: time 0.01384/0.204, allocations: 4.99 MB / 0.6921 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2041, allocations: 12.03 kB / 0.6921 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/0.2092, allocations: 0.9546 MB / 0.693 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/0.2145, allocations: 2.504 MB / 0.6955 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008436/0.2153, allocations: 0.9325 MB / 0.6964 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006662/0.216, allocations: 256 kB / 0.6966 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00806/0.2241, allocations: 3.678 MB / 0.7002 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.835e-05/0.2241, allocations: 3.938 kB / 0.7002 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.2244, allocations: 112 kB / 0.7003 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/0.2245, allocations: 60 kB / 0.7004 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007149/0.2316, allocations: 2.762 MB / 0.7031 GB, free: 1.281 MB / 0.5294 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.02105/0.2527, allocations: 9.96 MB / 0.7128 GB, free: 7.129 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008014/0.2607, allocations: 2.79 MB / 0.7156 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.2638, allocations: 1.194 MB / 0.7167 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.264, allocations: 37.98 kB / 0.7168 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004125/0.2681, allocations: 1.747 MB / 0.7185 GB, free: 1.328 MB / 0.545 GB Notification: Performance of pre-optimization done (n=216): time 5.851e-06/0.2681, allocations: 0 / 0.7185 GB, free: 1.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=216): time 0.01252/0.2806, allocations: 4.31 MB / 0.7227 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003156/0.281, allocations: 474.9 kB / 0.7231 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.2857, allocations: 2.825 MB / 0.7259 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005153/0.2862, allocations: 85.69 kB / 0.726 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.2879, allocations: 1.498 MB / 0.7274 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.289, allocations: 0.771 MB / 0.7282 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.2902, allocations: 0.6047 MB / 0.7288 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2903, allocations: 301.1 kB / 0.7291 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003844/0.2942, allocations: 1.474 MB / 0.7305 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004435/0.2986, allocations: 2.397 MB / 0.7328 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02564/0.3242, allocations: 7.304 MB / 0.74 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.3243, allocations: 4 kB / 0.74 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01177/0.336, allocations: 4.336 MB / 0.7442 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.3361, allocations: 57.67 kB / 0.7443 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.3362, allocations: 8 kB / 0.7443 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.3367, allocations: 336.6 kB / 0.7446 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/0.3407, allocations: 0.6982 MB / 0.7453 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.679e-05/0.3407, allocations: 35.91 kB / 0.7453 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.3438, allocations: 390.1 kB / 0.7457 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005186/0.3444, allocations: 116 kB / 0.7458 GB, free: 4.621 MB / 0.5762 GB Warning: Assuming fixed start value for the following 30 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.PInj0Pu 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005374/0.3497, allocations: 2.111 MB / 0.7478 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004281/0.354, allocations: 2.346 MB / 0.7501 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02445/0.3785, allocations: 7.16 MB / 0.7571 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-05/0.3785, allocations: 4 kB / 0.7571 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of matching and sorting (n=422) (initialization_lambda0): time 0.01126/0.3897, allocations: 4.222 MB / 0.7613 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.647e-05/0.3898, allocations: 57.67 kB / 0.7613 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.3899, allocations: 12.84 kB / 0.7613 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005149/0.3904, allocations: 332.6 kB / 0.7616 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/0.3943, allocations: 0.6865 MB / 0.7623 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-05/0.3944, allocations: 27.94 kB / 0.7623 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00334/0.3977, allocations: 370.6 kB / 0.7627 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/0.3982, allocations: 116 kB / 0.7628 GB, free: 2.648 MB / 0.5919 GB Warning: Assuming fixed start value for the following 30 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.PInj0Pu 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.rateLimFirstOrderFreeze2.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze2.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.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.delaySignal:DISCRETE(start = false fixed = true protected = true ) type: Boolean WTG4A.wecc_regc.offDelay.tNext:DISCRETE(start = -1.0 unit = \"s\" fixed = true protected = true ) 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.X0[1] * WTG4A.wecc_repc.leadLag.a_end fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_wtgt.Pmech.y:VARIABLE(flow=false start = WTG4A.wecc_wtgt.Pmech.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.offDelay.u:DISCRETE(flow=false fixed = true ) \"Boolean input signal\" type: Boolean 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: 46 * Number of states: 0 () * Number of discrete variables: 67 ($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.rateLimFirstOrderFreeze2.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.wecc_regc.offDelay.delaySignal,$PRE.WTG4A.wecc_regc.offDelay.tNext,$PRE.WTG4A.injector.running.value,WTG4A.wecc_regc.Qinj0PuNeg.k,WTG4A.wecc_regc.QInj0PuPos.k,$PRE.WTG4A.wecc_regc.offDelay.u,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.and2.y,WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.u,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,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.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 (399): * Single equations (assignments): 397 * 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.001198/0.3994, allocations: 0.5087 MB / 0.7633 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009663/0.4003, allocations: 333.9 kB / 0.7636 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009984/0.4103, allocations: 3.319 MB / 0.7669 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.4103, allocations: 24 kB / 0.7669 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4103, allocations: 0 / 0.7669 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.172e-05/0.4104, allocations: 15.95 kB / 0.7669 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.4261, allocations: 6.471 MB / 0.7732 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.4261, allocations: 0 / 0.7732 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003315/0.4294, allocations: 483.3 kB / 0.7737 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005404/0.43, allocations: 304.7 kB / 0.774 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003713/0.4303, allocations: 63.91 kB / 0.774 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/0.4304, allocations: 12 kB / 0.774 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.309e-05/0.4304, allocations: 15.86 kB / 0.7741 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/0.4431, allocations: 5.206 MB / 0.7791 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002043/0.4451, allocations: 0.6768 MB / 0.7798 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006831/0.4458, allocations: 63.98 kB / 0.7799 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/0.4481, allocations: 211.8 kB / 0.7801 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006007/0.4487, allocations: 237.5 kB / 0.7803 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/0.4489, allocations: 75.97 kB / 0.7804 GB, free: 476 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.2655/0.7144, allocations: 1.837 MB / 0.7822 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7144, allocations: 0 / 0.7822 GB, free: 129.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004741/0.7191, allocations: 1.376 MB / 0.7835 GB, free: 129.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 23 (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.rateLimFirstOrderFreeze2.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.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],WTG4A.wecc_wtgt.dPhi.y,WTG4A.wecc_wtgt.dOmegaTurbine.y,WTG4A.wecc_wtgt.dOmegaGenerator.y,WTG4A.wecc_wtgt.Pmech.y) * Number of discrete variables: 35 ($whenCondition17,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,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.u,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.and1.u[2],WTG4A.wecc_regc.and1.y,WTG4A.wecc_regc.and2.y,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 9 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.u,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 (219): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001888/0.721, allocations: 0.516 MB / 0.784 GB, free: 129.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01083/0.7318, allocations: 5.352 MB / 0.7892 GB, free: 128 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.7318, allocations: 1.438 kB / 0.7892 GB, free: 128 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004089/0.7359, allocations: 1.696 MB / 0.7909 GB, free: 127.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.7388, allocations: 0.4955 MB / 0.7914 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.7529, allocations: 6.56 MB / 0.7978 GB, free: 124 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/0.7546, allocations: 1.365 MB / 0.7991 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002298/0.7569, allocations: 437.3 kB / 0.7995 GB, free: 123.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/0.7578, allocations: 204.8 kB / 0.7997 GB, free: 123.6 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/0.7578, allocations: 0 / 0.7997 GB, free: 123.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.05959/0.8173, allocations: 44.83 MB / 0.8435 GB, free: 86.07 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1143793140072376] Failed to read output from testmodel.py, exit status != 0: 0.8267387429950759 0.835634334 0.6431562319999999 Calling exit ...