Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.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.001497/0.001497, allocations: 96.36 kB / 20.47 MB, free: 1.387 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.001783/0.001783, allocations: 222.8 kB / 23.78 MB, free: 4.543 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.469/1.469, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.6617/0.6617, allocations: 114.3 MB / 401.1 MB, free: 17.23 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.WTG4ACurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1") [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.002257/0.002257, allocations: 81 kB / 0.5682 GB, free: 42.42 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1432, allocations: 78.63 MB / 0.645 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1): time 0.01658/0.1598, allocations: 11.91 MB / 0.6566 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.1727, allocations: 6.353 MB / 0.6628 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00373/0.1764, allocations: 91.31 kB / 0.6629 GB, free: 11 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.002896/0.1793, allocations: 0.7903 MB / 0.6637 GB, free: 10.21 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.004269/0.1836, allocations: 0.9933 MB / 0.6647 GB, free: 9.207 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.007436/0.1911, allocations: 3.079 MB / 0.6677 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007979/0.199, allocations: 4.833 MB / 0.6724 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.2016, allocations: 1.219 MB / 0.6736 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.2042, allocations: 1.794 MB / 0.6753 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.2068, allocations: 1.885 MB / 0.6772 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.2081, allocations: 0.5234 MB / 0.6777 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.2099, allocations: 0.8201 MB / 0.6785 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.2111, allocations: 1.067 MB / 0.6795 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.2129, allocations: 1.574 MB / 0.6811 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008484/0.2214, allocations: 6.418 MB / 0.6873 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2214, allocations: 0 / 0.6873 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2214, allocations: 0 / 0.6873 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001911/0.2216, allocations: 0 / 0.6873 GB, free: 1.883 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.01646/0.2381, allocations: 4.987 MB / 0.6922 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.2381, allocations: 8.031 kB / 0.6922 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/0.2434, allocations: 0.9507 MB / 0.6931 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/0.2488, allocations: 2.496 MB / 0.6956 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008401/0.2496, allocations: 0.9286 MB / 0.6965 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006966/0.2503, allocations: 259.9 kB / 0.6967 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008026/0.2583, allocations: 3.666 MB / 0.7003 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.2584, allocations: 3.938 kB / 0.7003 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.2587, allocations: 112 kB / 0.7004 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/0.2588, allocations: 60 kB / 0.7005 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007142/0.2659, allocations: 2.77 MB / 0.7032 GB, free: 1.039 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.02103/0.2869, allocations: 9.929 MB / 0.7129 GB, free: 6.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007055/0.294, allocations: 2.653 MB / 0.7155 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.2971, allocations: 1.187 MB / 0.7166 GB, free: 3.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.2974, allocations: 41.97 kB / 0.7167 GB, free: 3.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003859/0.3013, allocations: 1.736 MB / 0.7184 GB, free: 1.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=215): time 5.33e-06/0.3013, allocations: 0 / 0.7184 GB, free: 1.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=215): time 0.01154/0.3128, allocations: 4.279 MB / 0.7226 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002748/0.3131, allocations: 478.9 kB / 0.723 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004651/0.3178, allocations: 2.816 MB / 0.7258 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000596/0.3184, allocations: 81.69 kB / 0.7258 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.3199, allocations: 1.498 MB / 0.7273 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/0.3211, allocations: 0.7555 MB / 0.728 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.3223, allocations: 0.6164 MB / 0.7286 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3224, allocations: 301.1 kB / 0.7289 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/0.3259, allocations: 1.466 MB / 0.7304 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004239/0.3301, allocations: 2.389 MB / 0.7327 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02353/0.3536, allocations: 7.289 MB / 0.7398 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.3536, allocations: 0 / 0.7398 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01036/0.364, allocations: 4.32 MB / 0.744 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.3641, allocations: 57.69 kB / 0.7441 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.3641, allocations: 8 kB / 0.7441 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.3646, allocations: 337.1 kB / 0.7444 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.3682, allocations: 0.7059 MB / 0.7451 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-05/0.3683, allocations: 31.94 kB / 0.7451 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.371, allocations: 386.1 kB / 0.7455 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/0.3713, allocations: 116 kB / 0.7456 GB, free: 4.652 MB / 0.5762 GB Warning: Assuming fixed start value for the following 29 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_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.005018/0.3763, allocations: 2.102 MB / 0.7477 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004306/0.3806, allocations: 2.331 MB / 0.7499 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0234/0.404, allocations: 7.152 MB / 0.7569 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.427e-05/0.404, allocations: 4 kB / 0.7569 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=421) (initialization_lambda0): time 0.01042/0.4144, allocations: 4.211 MB / 0.761 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.253e-05/0.4145, allocations: 57.67 kB / 0.7611 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.4145, allocations: 16.06 kB / 0.7611 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.415, allocations: 316.7 kB / 0.7614 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003568/0.4186, allocations: 0.6943 MB / 0.7621 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.43e-05/0.4187, allocations: 27.94 kB / 0.7621 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.4215, allocations: 362.6 kB / 0.7625 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.4218, allocations: 116 kB / 0.7626 GB, free: 2.738 MB / 0.5919 GB Warning: Assuming fixed start value for the following 29 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_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_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.wecc_wtgt.dOmegaGenerator.local_reset,WTG4A.wecc_wtgt.dOmegaTurbine.local_reset,WTG4A.wecc_wtgt.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 396 * 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.000994/0.4228, allocations: 0.5016 MB / 0.7631 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000748/0.4236, allocations: 329.9 kB / 0.7634 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008355/0.4319, allocations: 3.303 MB / 0.7666 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/0.4319, allocations: 15.95 kB / 0.7666 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4319, allocations: 0 / 0.7666 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/0.4337, allocations: 0.665 MB / 0.7673 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005022/0.4342, allocations: 67.98 kB / 0.7673 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.436, allocations: 203.8 kB / 0.7675 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005328/0.4366, allocations: 229.5 kB / 0.7677 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008787/0.4453, allocations: 3.38 MB / 0.771 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01022/0.4556, allocations: 4.892 MB / 0.7758 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002884/0.4585, allocations: 1.343 MB / 0.7771 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003351/0.4618, allocations: 1.831 MB / 0.7789 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of Backend: time 8.02e-07/0.4618, allocations: 0 / 0.7789 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.2814/0.7432, allocations: 4.769 MB / 0.7836 GB, free: 130.9 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01109/0.7543, allocations: 5.986 MB / 0.7894 GB, free: 128.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.09016/0.8444, allocations: 70.59 MB / 0.8584 GB, free: 72.3 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe >> ../files/Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.sim & ./Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1 -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.260348080002586] Failed to read output from testmodel.py, exit status != 0: 0.8546759390010266 0.863319791 0.639256539 Calling exit ...