Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108.3 kB / 19.73 MB, free: 1.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 212.8 kB / 23.01 MB, free: 4.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 207.7 MB / 233.9 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo): time 0.6735/0.6735, allocations: 103.8 MB / 389.9 MB, free: 21.15 MB / 318.1 MB " [Timeout remaining time 179] Using package Dynawo with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -noHomotopyOnFirstTry=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRestart=() since it seems broken on HelloWorld Ignoring simflag -noemit -noRootFinding=() since it seems broken on HelloWorld Running command: translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") translateModel(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource") [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.002308/0.002308, allocations: 69.83 kB / 0.5521 GB, free: 58.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1346, allocations: 76 MB / 0.6264 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.Wind.WECC.WTG4ACurrentSource): time 0.01298/0.1476, allocations: 11.25 MB / 0.6373 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.1621, allocations: 6.224 MB / 0.6434 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004421/0.1665, allocations: 91.31 kB / 0.6435 GB, free: 6.938 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:20:3-20:98:writable] Warning: Connector switchOffSignal1 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:21:3-21:125:writable] Warning: Connector switchOffSignal2 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:22:3-22:125:writable] Warning: Connector switchOffSignal3 is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.7.0/Electrical/Controls/Basics/SwitchOff/SwitchOffLogic.mo:24:3-24:105:writable] Warning: Connector running is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.003214/0.1697, allocations: 0.6851 MB / 0.6442 GB, free: 6.25 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004629/0.1744, allocations: 0.9233 MB / 0.6451 GB, free: 5.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007312/0.1817, allocations: 2.876 MB / 0.6479 GB, free: 2.461 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008576/0.1903, allocations: 4.642 MB / 0.6524 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.1934, allocations: 1.112 MB / 0.6535 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.1973, allocations: 1.685 MB / 0.6552 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/0.2006, allocations: 1.566 MB / 0.6567 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001778/0.2024, allocations: 0.4922 MB / 0.6572 GB, free: 8.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.2043, allocations: 0.6952 MB / 0.6578 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.2056, allocations: 1.004 MB / 0.6588 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002286/0.2079, allocations: 1.488 MB / 0.6603 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.2168, allocations: 6.095 MB / 0.6662 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2168, allocations: 0 / 0.6662 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2168, allocations: 0 / 0.6662 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001735/0.217, allocations: 0 / 0.6662 GB, free: 15.55 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: 604 * Number of variables: 604 Notification: Performance of Generate backend data structure: time 0.01408/0.2311, allocations: 4.626 MB / 0.6707 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.686e-05/0.2312, allocations: 8.031 kB / 0.6708 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005761/0.2369, allocations: 0.9235 MB / 0.6717 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006396/0.2433, allocations: 2.432 MB / 0.674 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009437/0.2443, allocations: 0.8704 MB / 0.6749 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008493/0.2451, allocations: 243.9 kB / 0.6751 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007978/0.2531, allocations: 3.62 MB / 0.6786 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.2531, allocations: 3.938 kB / 0.6786 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003118/0.2534, allocations: 119.9 kB / 0.6788 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.853e-05/0.2535, allocations: 60 kB / 0.6788 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007291/0.2608, allocations: 2.584 MB / 0.6813 GB, free: 15.43 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.02087/0.2817, allocations: 9.617 MB / 0.6907 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006944/0.2886, allocations: 2.463 MB / 0.6931 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003322/0.2919, allocations: 1.125 MB / 0.6942 GB, free: 2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/0.2922, allocations: 25.98 kB / 0.6943 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004766/0.297, allocations: 1.717 MB / 0.6959 GB, free: 212 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=197): time 6.623e-06/0.297, allocations: 0 / 0.6959 GB, free: 212 kB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.01316/0.3101, allocations: 4.116 MB / 0.7 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003446/0.3105, allocations: 0.4888 MB / 0.7004 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005882/0.3163, allocations: 2.595 MB / 0.703 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006436/0.317, allocations: 73.7 kB / 0.703 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/0.3189, allocations: 1.482 MB / 0.7045 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.3202, allocations: 0.6702 MB / 0.7051 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009903/0.3212, allocations: 395.8 kB / 0.7055 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3213, allocations: 309.1 kB / 0.7058 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/0.3241, allocations: 1.116 MB / 0.7069 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003592/0.3277, allocations: 2.026 MB / 0.7089 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01987/0.3476, allocations: 5.822 MB / 0.7146 GB, free: 12.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/0.3476, allocations: 4 kB / 0.7146 GB, free: 12.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01007/0.3577, allocations: 3.413 MB / 0.7179 GB, free: 9.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/0.3578, allocations: 37.7 kB / 0.7179 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.3578, allocations: 12 kB / 0.718 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/0.3584, allocations: 316.7 kB / 0.7183 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/0.3614, allocations: 0.5148 MB / 0.7188 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-05/0.3614, allocations: 23.94 kB / 0.7188 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/0.3642, allocations: 318.6 kB / 0.7191 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.3645, allocations: 79.98 kB / 0.7192 GB, free: 7.719 MB / 0.545 GB Warning: Assuming fixed start value for the following 26 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004617/0.3691, allocations: 1.704 MB / 0.7208 GB, free: 6.004 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003519/0.3726, allocations: 1.967 MB / 0.7227 GB, free: 3.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01937/0.392, allocations: 5.686 MB / 0.7283 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.397e-05/0.392, allocations: 0 / 0.7283 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=275) (initialization_lambda0): time 0.01036/0.4023, allocations: 3.299 MB / 0.7315 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.4024, allocations: 41.69 kB / 0.7316 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.4024, allocations: 8 kB / 0.7316 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.403, allocations: 321 kB / 0.7319 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/0.4058, allocations: 0.4953 MB / 0.7324 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-05/0.4058, allocations: 27.92 kB / 0.7324 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.4086, allocations: 298.8 kB / 0.7327 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/0.4089, allocations: 83.98 kB / 0.7328 GB, free: 9.285 MB / 0.5606 GB Warning: Assuming fixed start value for the following 26 variables: WTG4A.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) WTG4A.line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = WTG4A.line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running.value:DISCRETE(flow=false start = line.Running0 fixed = true ) type: Boolean WTG4A.line.running.value:DISCRETE(flow=false start = WTG4A.line.Running0 fixed = true ) type: Boolean WTG4A.wecc_reec.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_reec.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.varLimPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_reec.varLimPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_reec.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_reec.iqInjectionLogic.vDip:DISCRETE(flow=false start = false fixed = true ) \"Ongoing voltage dip\" type: Boolean WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) \"ending time of the voltage dip start (in seconds)\" type: Real WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu:DISCRETE(start = 0.0 unit = \"1\" fixed = true ) type: Real WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime:DISCRETE(start = -1.0 unit = \"s\" fixed = true ) type: Real WTG4A.wecc_regc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_regc.UInj0Pu fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y:VARIABLE(flow=false start = WTG4A.wecc_regc.rateLimFirstOrderFreeze1.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.injector.running.value:DISCRETE(flow=false start = WTG4A.injector.Running0 fixed = true ) type: Boolean WTG4A.wecc_repc.firstOrder.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder1.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder2.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.firstOrder3.y:VARIABLE(flow=false start = WTG4A.wecc_repc.firstOrder3.y_start fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.limPIDFreeze.I.y:VARIABLE(flow=false start = WTG4A.wecc_repc.limPIDFreeze.I.Y0 fixed = true ) \"Connector of Real output signal\" type: Real WTG4A.wecc_repc.leadLag.x_scaled[1]:VARIABLE(start = WTG4A.wecc_repc.leadLag.a_end * WTG4A.wecc_repc.leadLag.x_start[1] fixed = true protected = true ) \"Scaled vector x\" type: Real [1] WTG4A.wecc_reec.currentLimitsCalculation1.vDip:DISCRETE(flow=false fixed = true ) \"Ongoing voltage dip\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.WTG4A.injector.state,WTG4A.injector.state,$PRE.WTG4A.line.state,WTG4A.line.state,$PRE.line.state,line.state,WTG4A.injector.switchOffSignal3.value,WTG4A.injector.switchOffSignal2.value,WTG4A.injector.switchOffSignal1.value,line.switchOffSignal2.value,line.switchOffSignal1.value,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.local_freeze,WTG4A.wecc_regc.rateLimFirstOrderFreeze.local_freeze,$PRE.line.running.value,$PRE.WTG4A.line.running.value,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDip,$PRE.WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,$PRE.WTG4A.injector.running.value,$PRE.WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_repc.freeze,WTG4A.injector.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.y,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.line.running.value,line.running.value,$whenCondition17,$whenCondition16,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,WTG4A.wecc_repc.limPIDFreeze.I.resetLocal,WTG4A.wecc_repc.limPID.I.local_reset,WTG4A.driveTrainPmConstrant.dOmegaGenerator.local_reset,WTG4A.driveTrainPmConstrant.dOmegaTurbine.local_reset,WTG4A.driveTrainPmConstrant.dPhi.local_reset,WTG4A.pll.limIntegrator.local_reset,WTG4A.pll.integrator.local_reset,WTG4A.wecc_reec.varLimPIDFreeze.I.resetLocal,WTG4A.wecc_reec.limPIDFreeze.I.resetLocal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001242/0.4101, allocations: 0.4955 MB / 0.7332 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.4112, allocations: 318 kB / 0.7335 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00963/0.4208, allocations: 3.169 MB / 0.7366 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.4209, allocations: 20 kB / 0.7367 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/0.4209, allocations: 11.88 kB / 0.7367 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.98e-05/0.4209, allocations: 11.95 kB / 0.7367 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/0.4374, allocations: 6.016 MB / 0.7425 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.4374, allocations: 0 / 0.7425 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002835/0.4402, allocations: 427.5 kB / 0.743 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.4407, allocations: 304.7 kB / 0.7432 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002768/0.441, allocations: 59.97 kB / 0.7433 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.101e-05/0.441, allocations: 4 kB / 0.7433 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.441, allocations: 0 / 0.7433 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.4533, allocations: 4.802 MB / 0.748 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/0.4554, allocations: 0.6185 MB / 0.7486 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008136/0.4562, allocations: 63.98 kB / 0.7487 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.4584, allocations: 195.8 kB / 0.7488 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000531/0.4589, allocations: 205.8 kB / 0.749 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/0.4592, allocations: 71.84 kB / 0.7491 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004075/0.4632, allocations: 1.722 MB / 0.7508 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4632, allocations: 0 / 0.7508 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00445/0.4677, allocations: 1.153 MB / 0.7519 GB, free: 5.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (WTG4A.wecc_reec.firstOrder.y,WTG4A.wecc_reec.firstOrder1.y,WTG4A.wecc_reec.limPIDFreeze.I.y,WTG4A.wecc_reec.varLimPIDFreeze.I.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze1.y,WTG4A.wecc_reec.slewRateLimiter.y,WTG4A.wecc_reec.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.firstOrder.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze.y,WTG4A.wecc_regc.rateLimFirstOrderFreeze1.y,WTG4A.pll.integrator.y,WTG4A.pll.limIntegrator.y,WTG4A.driveTrainPmConstrant.dPhi.y,WTG4A.driveTrainPmConstrant.dOmegaTurbine.y,WTG4A.driveTrainPmConstrant.dOmegaGenerator.y,WTG4A.wecc_repc.firstOrder.y,WTG4A.wecc_repc.limPID.I.y,WTG4A.wecc_repc.firstOrder1.y,WTG4A.wecc_repc.firstOrder2.y,WTG4A.wecc_repc.firstOrder3.y,WTG4A.wecc_repc.limPIDFreeze.I.y,WTG4A.wecc_repc.leadLag.x_scaled[1]) * Number of discrete variables: 32 ($whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$whenCondition16,$whenCondition17,line.running.value,line.state,WTG4A.line.running.value,WTG4A.line.state,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxFrzPu,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_regc.offDelay.y,WTG4A.wecc_regc.offDelay.delaySignal,WTG4A.wecc_regc.offDelay.tNext,WTG4A.injector.running.value,WTG4A.injector.state,WTG4A.wecc_repc.freeze) * Number of discrete states: 12 (WTG4A.injector.running.value,WTG4A.line.running.value,line.running.value,WTG4A.wecc_regc.offDelay.tNext,WTG4A.wecc_regc.offDelay.delaySignal,$whenCondition17,$whenCondition16,WTG4A.wecc_reec.currentLimitsCalculation1.vDip,WTG4A.wecc_reec.currentLimitsCalculation1.vDipFrzEndTime,WTG4A.wecc_reec.currentLimitsCalculation1.ipMaxPu,WTG4A.wecc_reec.iqInjectionLogic.vDip,WTG4A.wecc_reec.iqInjectionLogic.vDipInjEndTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(8,56.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002029/0.4697, allocations: 499.9 kB / 0.7524 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0119/0.4816, allocations: 4.259 MB / 0.7566 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.4816, allocations: 0 / 0.7566 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/0.4857, allocations: 1.427 MB / 0.758 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/0.4897, allocations: 0.5047 MB / 0.7584 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.5056, allocations: 6.026 MB / 0.7643 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.5084, allocations: 1.29 MB / 0.7656 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003048/0.5114, allocations: 369.6 kB / 0.7659 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/0.5126, allocations: 183.4 kB / 0.7661 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of SimCode: time 2.104e-06/0.5126, allocations: 0 / 0.7661 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of Templates: time 0.3672/0.8798, allocations: 40.71 MB / 0.8059 GB, free: 141.5 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; mkfifo Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe >> ../files/Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.sim & ./Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource -lv=LOG_STATS -s=ida -maxIntegrationOrder=2 -nls=kinsol -initialStepSize=0.00001 -maxStepSize=10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Dynawo_Dynawo.Examples.Wind.WECC.WTG4ACurrentSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.804675890132785] Failed to read output from testmodel.py, exit status != 0: 1.1913000904023647 0.89894516 0.679616478 Calling exit ...